v5.0.0: mainline v5 — tests, CI, tournament, regime audit - #4
Merged
Merged
Conversation
A. v5 is now the mainline - README leads with v5 learning-loop pitch and tournament example - CHANGELOG v5.0.0 entry - package.json (new) declares name=civagent, version=5.0.0, bin, scripts - bin/civagent help text updated for v5 B. Infrastructure - test/civ-memory.test.mjs — validateRegime traversal, envDirFor, mtime re-seed - test/skill-sediment.test.mjs — cleanTranscript ANSI/JSONL, injection guard - test/regime-validator.mjs — mechanical validation of all 57 regimes, with alias→canonical pattern map (centralized-hierarchy → centralized etc.) - .github/workflows/ci.yml — syntax, tests, regime validation on every PR C. 57 regime audit - regimes/AUDIT.md — reports 40 regimes using alias orchestration patterns, all now normalized at runtime via engine/regime-to-cc.mjs PATTERN_ALIASES - Documents known design limitations (compression, no time dimension) D. Tournament mode - engine/v5/tournament.mjs — parallel N-civ match + gemini judge ranking - bin/civagent tournament --civs a,b,c,d "task" - Writes ~/.civagent/tournaments/<id>/result.md Test evidence: 9/9 unit tests pass, lint:syntax green, validate:regimes reports 0 errors + 40 style warnings.
LeoLin990405
pushed a commit
that referenced
this pull request
Aug 6, 2026
🔴 结构性问题(4个): - #1 新增 CONTRIBUTING.md 贡献指南(项目结构、GUI 开发、PR 检查清单) - #2 GUI README 已有完整说明(确认无需额外修改) - #3 Docker CI/CD 待后续处理(标记为 TODO) - #4 install.sh 末尾自动运行 doctor.sh 健康检查 🟡 文档一致性(4个): - #5 README GUI 章节已完善(确认无需额外修改) - #6 README 基础篇/进阶篇加说明(标注为小红书配套文字稿) - #7 README_EN 同步预装 Skill 章节 + 60+ Skill 措辞 + badge - #8 进阶篇待后续全面更新(标记为 TODO) 🟢 建议优化(5个): - #9 新增 skills/README.md 总索引(7个 Skill 说明 + 安装更多 + 自定义指南) - #10 docker-compose.yml 移除废弃的 version: '3.8' - #11 openclaw.example.json + install.sh 补翰林院 account + binding - #12 Dockerfile COPY skills/ 改用 ${WORKSPACE} 变量 - #13 新增 CHANGELOG.md(v2.0 → v3.5 变更记录)
LeoLin990405
added a commit
that referenced
this pull request
Aug 6, 2026
Merging #4 per 3-round AI review + all CI pieces green locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3. Iterates the entire repo around v5:
A. v5 Mainline
B. Infrastructure
npm run validate:regimes.github/workflows/ci.yml): syntax + tests + regime validation on every PRC. 57 Regime Audit
orchestrationPatternaliases (e.g.centralized-hierarchyinstead ofcentralized)PATTERN_ALIASESnormalizer inengine/regime-to-cc.mjsso the engine actually resolvesengine/modes/<canonical>.mdfor alias regimes (this was a latent v4 bug)regimes/AUDIT.mddocuments the state + design limitationsD. Tournament Mode
civagent tournament --civs a,b,c,d "task"— parallel N-civ matchengine/v5/tournament.mjsspawns isolated civ runs, collects transcripts, gemini judges with ranking table~/.civagent/tournaments/<id>/result.mdTest plan
npm run lint:syntax— greennpm test— 9/9 passingnpm run validate:regimes— 0 errors, 40 style warningsbin/civagent tournament— usage gate worksRisks