Pure OpenClaw architecture for 15-17 agent team covering quant research, marketing, content, and engineering. Includes org structure, role definitions, collaboration patterns, scheduling, memory architecture, Discord integration, rollout plan, and JSON schemas. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
514 lines
10 KiB
Markdown
514 lines
10 KiB
Markdown
# AI Agent Company - Schema 模板檔(JSON 規格專用)
|
||
|
||
> 用途:只放 JSON schema template
|
||
> 原則:只保留格式,不放假資料
|
||
|
||
---
|
||
|
||
## 1. 共用欄位
|
||
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "<string>",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "<pending|running|pass|revise|block|done|cancelled>",
|
||
"input_version": "<string>"
|
||
}
|
||
```
|
||
|
||
---
|
||
|
||
## 2. 核心管理層
|
||
|
||
### Chairman_Request_Packet.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "chairman",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "pending",
|
||
"input_version": "<string>",
|
||
"request": "<string>",
|
||
"constraints": ["<string>"],
|
||
"priority": "<low|medium|high>",
|
||
"attachments": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Task_Spec.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "ceo_coo",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "<pending|running|done>",
|
||
"input_version": "<string>",
|
||
"goal": "<string>",
|
||
"success_criteria": ["<string>"],
|
||
"routes": [
|
||
{
|
||
"role": "<string>",
|
||
"subtask": "<string>",
|
||
"required_output": "<string>"
|
||
}
|
||
],
|
||
"priority": "<low|medium|high>",
|
||
"notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Meeting_Summary.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "secretary",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"topic": "<string>",
|
||
"participants": ["<string>"],
|
||
"key_points": ["<string>"],
|
||
"decision": "<string>",
|
||
"unresolved": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### State_Diff.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "secretary",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"added": ["<string>"],
|
||
"changed": ["<string>"],
|
||
"removed": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Todo_List.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "secretary",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"items": [
|
||
{
|
||
"owner": "<string>",
|
||
"task": "<string>",
|
||
"deadline": "<ISO-8601 string>"
|
||
}
|
||
]
|
||
}
|
||
```
|
||
|
||
### Review_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "reviewer",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"verdict": "<pass|revise|block>",
|
||
"issues": [
|
||
{
|
||
"severity": "<low|medium|high>",
|
||
"category": "<string>",
|
||
"evidence": "<string>",
|
||
"required_fix": "<string>"
|
||
}
|
||
],
|
||
"notes": "<string>"
|
||
}
|
||
```
|
||
|
||
### Final_Decision_Packet.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "ceo_coo",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"summary": "<string>",
|
||
"options": [
|
||
{
|
||
"name": "<string>",
|
||
"description": "<string>",
|
||
"pros": ["<string>"],
|
||
"cons": ["<string>"],
|
||
"risk_level": "<low|medium|high>"
|
||
}
|
||
],
|
||
"recommended_option": "<string>",
|
||
"review_verdict": "<pass|revise|block>",
|
||
"decision_needed": ["<string>"]
|
||
}
|
||
```
|
||
|
||
---
|
||
|
||
## 3. 情報與量化線
|
||
|
||
### Finance_Research_Brief.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "finance_intelligence_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"sources": [
|
||
{
|
||
"title": "<string>",
|
||
"url": "<string>",
|
||
"canonical_url": "<string>",
|
||
"published_at": "<ISO-8601 string>",
|
||
"source_type": "<news|blog|forum|official>",
|
||
"summary": "<string>",
|
||
"confidence": "<number>",
|
||
"freshness_bucket": "<string>",
|
||
"dedupe_key": "<string>"
|
||
}
|
||
],
|
||
"conflicts": ["<string>"],
|
||
"takeaways": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Market_Research_Brief.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "market_intelligence_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"sources": [
|
||
{
|
||
"title": "<string>",
|
||
"url": "<string>",
|
||
"canonical_url": "<string>",
|
||
"published_at": "<ISO-8601 string>",
|
||
"source_type": "<news|blog|forum|official>",
|
||
"summary": "<string>",
|
||
"confidence": "<number>",
|
||
"freshness_bucket": "<string>",
|
||
"dedupe_key": "<string>"
|
||
}
|
||
],
|
||
"pain_points": ["<string>"],
|
||
"competitor_patterns": ["<string>"],
|
||
"conflicts": ["<string>"],
|
||
"takeaways": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Market_Structure_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "market_structure_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"timeframes_used": ["<string>"],
|
||
"structure_summary": ["<string>"],
|
||
"liquidity_zones": ["<string>"],
|
||
"poi_candidates": ["<string>"],
|
||
"mss_signals": ["<string>"],
|
||
"notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Bullish_Research_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "bullish_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"bull_case": ["<string>"],
|
||
"supporting_evidence": ["<string>"],
|
||
"expected_edge": ["<string>"],
|
||
"invalidations": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Bearish_Research_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "bearish_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"bear_case": ["<string>"],
|
||
"supporting_evidence": ["<string>"],
|
||
"risk_warnings": ["<string>"],
|
||
"trade_rejection_reasons": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Quant_Strategy_Spec.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "quant_strategy_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"strategy_hypothesis": ["<string>"],
|
||
"entry_rules": ["<string>"],
|
||
"exit_rules": ["<string>"],
|
||
"risk_rules": ["<string>"],
|
||
"bias_checks": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Risk_Control_Spec.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "risk_control_researcher",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"position_sizing": ["<string>"],
|
||
"stop_rules": ["<string>"],
|
||
"take_profit_rules": ["<string>"],
|
||
"bias_checks": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Backtest_Delivery.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "quant_engineer",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"implementation_type": "<pine|python|both>",
|
||
"rules_implemented": ["<string>"],
|
||
"data_used": ["<string>"],
|
||
"assumptions": ["<string>"],
|
||
"artifacts": ["<string>"],
|
||
"handoff_notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Data_Analysis_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "data_analyst",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"kpi_summary": ["<string>"],
|
||
"ab_test_results": ["<string>"],
|
||
"insights": ["<string>"],
|
||
"recommendations": ["<string>"]
|
||
}
|
||
```
|
||
|
||
---
|
||
|
||
## 4. 行銷與創意層
|
||
|
||
### Brand_Strategy_Plan.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "brand_strategy_director",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"usp": ["<string>"],
|
||
"target_audience": ["<string>"],
|
||
"core_messages": ["<string>"],
|
||
"brand_story": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Growth_Strategy_Plan.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "growth_strategy_director",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"campaign_direction": ["<string>"],
|
||
"funnel_plan": ["<string>"],
|
||
"conversion_strategy": ["<string>"],
|
||
"test_plan": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Market_Analysis_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "market_research_analyst",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"market_summary": ["<string>"],
|
||
"trend_signals": ["<string>"],
|
||
"recommendations": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Ads_Performance_Report.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "ads_performance_analyst",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"performance_summary": ["<string>"],
|
||
"diagnosis": ["<string>"],
|
||
"optimization_suggestions": ["<string>"],
|
||
"alerts": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Copywriting_Pack.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "ad_copywriter",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"hooks": ["<string>"],
|
||
"bodies": ["<string>"],
|
||
"ctas": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Video_Script_Pack.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "video_script_writer",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"opening_hook": "<string>",
|
||
"sections": [
|
||
{
|
||
"scene": "<number>",
|
||
"message": "<string>",
|
||
"duration_seconds": "<number>"
|
||
}
|
||
],
|
||
"ending_cta": "<string>"
|
||
}
|
||
```
|
||
|
||
### Static_Creative_Brief.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "static_visual_design_director",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"visual_direction": ["<string>"],
|
||
"must_include": ["<string>"],
|
||
"asset_specs": ["<string>"],
|
||
"qa_notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Storyboard_Brief.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "storyboard_creative_director",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"shots": [
|
||
{
|
||
"scene": "<number>",
|
||
"visual": "<string>",
|
||
"motion": "<string>",
|
||
"caption": "<string>"
|
||
}
|
||
],
|
||
"style_notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
---
|
||
|
||
## 5. 工程層
|
||
|
||
### Frontend_Delivery.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "frontend_engineer",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"components_built": ["<string>"],
|
||
"tracking_added": ["<string>"],
|
||
"ui_changes": ["<string>"],
|
||
"handoff_notes": ["<string>"]
|
||
}
|
||
```
|
||
|
||
### Backend_Delivery.json
|
||
```json
|
||
{
|
||
"task_id": "<string>",
|
||
"project_id": "<string>",
|
||
"role": "backend_engineer",
|
||
"timestamp": "<ISO-8601 string>",
|
||
"status": "done",
|
||
"input_version": "<string>",
|
||
"apis_built": ["<string>"],
|
||
"schema_changes": ["<string>"],
|
||
"automations_added": ["<string>"],
|
||
"handoff_notes": ["<string>"]
|
||
}
|
||
```
|