hongjr03
5f791c5ce4
chore: restore checker CI gate
2026-07-10 13:46:22 +08:00
hongjr03
1cfda3ccd2
ci(hub): 补齐 Hub 检查和健康 smoke
2026-07-08 15:14:06 +08:00
hongjr03
1abcc495f4
test(hub): 真实 model 集成测试 + Gitea CI workflow
...
real-model.test.ts: 用真 OpenRouter model + 真 cph + 真 workspace 跑 agent
tool-calls 循环,验证 MockProvider 测不到的路径(model 返回 tool_calls →
dispatch → tool_result 回传 → 继续/stop)。没 OPENROUTER_API_KEY 时自动
skip,不阻塞 CI;有 key 时自动跑。
两个 test:(1) list files → cph check → 回答;(2) write file → read back。
hub-check.yml: Gitea CI workflow,对齐 checker-check/spec-check 的纪律:
npm ci → prisma generate → tsc → prisma validate → 装 cph → vitest unit →
vitest integration(postgres service container)→ real-model(可选,从
secrets 注入 key)。
全 suite: 60 passed + 2 skipped(无 key)。tsc rc=0。
2026-07-07 23:45:59 +08:00
sjfhsjfh
c151963967
ci: add Rust checker workflow (fmt + clippy -D warnings + test)
...
Mirrors spec-check's framing: an internal health gate on the implementation
(build/test/lint), not a spec→impl conformance gate (alignment is by review).
Installs fonts-noto-cjk ahead of the typst-compiling crates (WU-4+), since the
engineering files are CJK-heavy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-22 01:28:12 +08:00
sjfhsjfh
3a22669f0a
chore: scaffold monorepo with spec/ Lean project and governance docs
...
- spec/: freshly initialized Lean library project (lake init, v4.31.0), no deps
- .gitea/workflows/spec-check.yml: CI running lake build on spec/ (well-formedness gate, not a spec-to-impl gate)
- README.md: monorepo overview + the 5 "constitution" rules positioning spec/ as upstream semantic master
- CLAUDE.md: global agent manual
- spec/README.md: contract writing conventions (prose+type, PINNED/OPEN/ADR tags, no sorry)
- docs/adr/0001-0004: system-level decision records (retrieved from main)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-21 22:00:18 +08:00