Files
llm-intelligence/TASKS.md
Your Name ba054f04cf feat(phase1): OpenRouter采集器接入PostgreSQL,数据链路闭环
- 将 fetch_openrouter.go 的 summarize() 实现为 PostgreSQL upsert
- 新增 -db 参数和 DATABASE_URL 环境变量支持
- 打通 models + model_prices 表的最小可运行链路
- 创建 llm_intelligence 数据库并运行 migration
- 前端 Explorer 验证 T-3.2~T-3.5 全部通过
- 日报生成器正常产出 Markdown 和 latest_models.json
2026-05-08 13:49:12 +08:00

4.3 KiB
Raw Blame History

📋 LLM Intelligence Hub Tasks

角色

  • 产品架构师负责需求收敛、P0/P1/P2 划分、文档一致性
  • 数据后端:负责采集器、数据库、日报生成
  • 前端实现:负责 Dashboard / Explorer
  • 集成验收:负责验证脚本、发布条件、日报推送

T-1 范围收敛

T-1.1 🔶 Phase 1 范围冻结

  • Task:在 PRD.md 中补充 Phase 1 的明确范围、非目标、验收标准
  • Owner:产品架构师
  • verification:
    • mode: artifact_present
    • command: rg -n "Phase 1|非目标|验收标准" /home/long/project/立交桥/projects/llm-intelligence/PRD.md
    • expected_evidence: 验收标准
    • timeout_seconds: 10

T-1.2 🔴 文档冲突清理

  • Task:消除 PRD.mdFEATURE_LIST.mdTECHNICAL_DESIGN.md 中对阶段、技术栈、功能边界的冲突描述
  • Owner:产品架构师
  • verification:
    • mode: artifact_present
    • command: rg -n "等待技术设计完成后启动|技术栈待升级" /home/long/project/立交桥/projects/llm-intelligence/FEATURE_LIST.md /home/long/project/立交桥/projects/llm-intelligence/TECHNICAL_DESIGN.md || true
    • expected_evidence: ``
    • timeout_seconds: 10

T-2 数据后端

T-2.1 🔴 OpenRouter 采集器

  • Task:新增 scripts/fetch_openrouter.go,支持抓取模型基础信息与价格信息
  • Owner:数据后端
  • verification:
    • mode: artifact_present
    • command: test -f /home/long/project/立交桥/projects/llm-intelligence/scripts/fetch_openrouter.go && echo exists
    • expected_evidence: exists
    • timeout_seconds: 10

T-2.2 🔴 PostgreSQL migration

  • Task:新增 db/migrations,落地 modelsmodel_pricesreport_runs
  • Owner:数据后端
  • verification:
    • mode: artifact_present
    • command: find /home/long/project/立交桥/projects/llm-intelligence/db/migrations -name "*.sql" | head -1
    • expected_evidence: .sql
    • timeout_seconds: 10

T-2.3 🔴 日报生成器

  • Task:新增日报生成命令,输出 Markdown 报告到 reports/daily/
  • Owner:数据后端
  • verification:
    • mode: artifact_present
    • command: test -d /home/long/project/立交桥/projects/llm-intelligence/reports/daily && echo exists
    • expected_evidence: exists
    • timeout_seconds: 10

T-3 前台

T-3.1 🔴 Explorer 页面脚手架

  • Task:新增 frontend/src/pages/Explorer.tsx
  • Owner:前端实现
  • verification:
    • mode: artifact_present
    • command: test -f /home/long/project/立交桥/projects/llm-intelligence/frontend/src/pages/Explorer.tsx && echo exists
    • expected_evidence: exists
    • timeout_seconds: 10

T-3.2 🔴 Dashboard 最小组件

  • Task:提供模型表格、免费标签、价格趋势占位图
  • Owner:前端实现
  • verification:
    • mode: artifact_present
    • command: rg -n "免费|trend|table|Explorer" /home/long/project/立交桥/projects/llm-intelligence/frontend/src 2>/dev/null
    • expected_evidence: Explorer
    • timeout_seconds: 10

T-4 OpenClaw 闭环

T-4.1 项目本地任务清单

  • Task:为 llm-intelligence 建立独立 GOALS.mdTASKS.md
  • Owner:集成验收
  • verification:
    • mode: artifact_present
    • command: test -f /home/long/project/立交桥/projects/llm-intelligence/GOALS.md && test -f /home/long/project/立交桥/projects/llm-intelligence/TASKS.md && echo exists
    • expected_evidence: exists
    • timeout_seconds: 10

T-4.2 验证器项目本地化

  • Task:让 scripts/verification_executor.go 默认优先读取本项目 TASKS.md
  • Owner:集成验收
  • verification:
    • mode: artifact_present
    • command: go run /home/long/project/立交桥/projects/llm-intelligence/scripts/verification_executor.go --dry-run | head -2
    • expected_evidence: /home/long/project/立交桥/projects/llm-intelligence/TASKS.md
    • timeout_seconds: 20

T-4.3 🔴 项目执行说明

  • Task:沉淀 OPENCLAW_EXECUTION.md,说明本项目的角色、协作顺序、验证与回收规则
  • Owner:集成验收
  • verification:
    • mode: artifact_present
    • command: test -f /home/long/project/立交桥/projects/llm-intelligence/OPENCLAW_EXECUTION.md && echo exists
    • expected_evidence: exists
    • timeout_seconds: 10