Commit Graph
100 Commits
Author SHA1 Message Date
csh c1702a667a 📝 docs(markdown): format tracked markdown and drop stale templates 2026-05-18 16:06:21 +08:00
csh 2325409f53 📝 docs(markdown): clarify optional markdownlint usage 2026-05-18 15:55:01 +08:00
csh 214c44eebc 🔧 chore(markdown): add markdownlint baseline and lint fixes 2026-05-18 15:43:48 +08:00
csh a22b324c5c 📝 docs(templates): add execution and memory-bank prompt templates 2026-05-18 15:43:00 +08:00
cshandClaude Opus 4.6 223a7974b0 📝 docs(templates): update README for Claude Code and current features
- Add CLAUDE.md and AGENT_RULES.local.md to framework templates (A class)
- Move AGENT_RULES.local.md from C class to A class (auto-created now)
- Add CLAUDE.md to deployed directory structure
- Expand config table with all actions and options
- Add CLAUDE.md auto-detection note
- Update codex/skills reference to mention thirdparty/
- Update last-modified date

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-18 10:12:18 +08:00
cshandClaude Opus 4.6 4ac86729d7 📝 docs: simplify README + platform-agnostic tools + auto-create local rules
- Simplify docs/ section to grouped summary with pointer to docs/index.md
- Remove outdated performance metrics table
- Use cross-platform path examples throughout
- Make AGENT_RULES tool usage section platform-agnostic
- Auto-create AGENT_RULES.local.md on sync_rules (empty template)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-18 09:58:13 +08:00
cshandClaude Opus 4.6 2431c9d3ad 📝 docs: add claude_md config and use cross-platform paths
- Add claude_md option to playbook.toml.example with auto-detection docs
- Replace Windows-only C:/tools/playbook paths with /opt/playbook in README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-17 10:35:54 +08:00
cshandClaude Opus 4.6 d64b248adf 📝 docs: fix README.md inaccuracies and add Claude Code info
- Fix ruleset line counts (tsl:45, cpp:46, python:44)
- Add thirdparty/ to Layer 2 architecture diagram
- Fix "三者" → "各规则集" (was referencing 3 but listing 5)
- Add CLAUDE.md auto-creation to deployment behavior section
- Add AGENTS.md and CLAUDE.md to recommended project structure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-17 08:49:01 +08:00
cshandClaude Opus 4.6 c8d6bf21a6 🐛 fix(playbook): use relative paths in CLAUDE.md when not at project root
When CLAUDE.md lives in a subdirectory (e.g. .claude/CLAUDE.md), the
@AGENTS.md import must use ../AGENTS.md since Claude Code resolves @path
relative to the file's directory. Calculate depth automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-17 08:11:48 +08:00
cshandClaude Opus 4.6 6518f0f554 feat(playbook): auto-create CLAUDE.md with path discovery
sync_claude_md now:
- Checks project root CLAUDE.md first, then .claude/CLAUDE.md
- Auto-creates if neither exists (default: project root)
- Supports playbook.claude_md config to override location
- Update test to verify auto-creation behavior

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 13:29:33 +08:00
cshandClaude Opus 4.6 6ec9a45a83 feat(skills): add skill_link symlink support + platform-agnostic prompt
- Add skill_link config option to create a symlink/junction from another
  platform's skills dir to agents_home/skills/ (e.g. ~/.claude -> ~/.agents)
- On Windows, falls back to directory junction when symlink requires admin
- Add _create_skills_symlink() with _is_junction() helper for Windows
- Update playbook.toml.example with skill_link documentation
- Fix templates/README.md prompt example to be platform-agnostic
- Add 3 tests: symlink creation, idempotency, absence when unconfigured

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 13:16:32 +08:00
cshandClaude Opus 4.7 9f8b6b5369 📝 docs: update README and config example for Claude Code support
- Rename SKILLS section heading to include Claude Code
- Update agents_home comment to mention ~/.claude for Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 18:31:18 +08:00
cshandClaude Opus 4.7 79cff6cc34 📝 docs(skills): add Claude Code platform support
- Rename "Codex CLI skills" to "AI agent skills" throughout
- Add platform table: Codex CLI (~/.agents/skills/) vs Claude Code (~/.claude/skills/)
- Document Claude Code enable steps (settings.json) alongside Codex config
- Update install section with per-platform agents_home examples
- Update troubleshooting section for both platforms
- Update playbook.toml.example agents_home comment

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 18:03:15 +08:00
cshandClaude Opus 4.7 452c6f58f9 feat(playbook): auto-inject AGENTS.md into CLAUDE.md
When any sync action runs and the target project already has a CLAUDE.md,
automatically insert @AGENTS.md / @AGENT_RULES.md import block so
Claude Code picks up the same rules as Codex without manual setup.

- Add sync_claude_md() called at end of sync_agents_template()
- Uses <!-- playbook:claude:start/end --> block markers for idempotent updates
- Skips if no CLAUDE.md exists (Codex users unaffected)
- Skips if @AGENTS.md already present (manual setups respected)
- Add 4 tests covering: no file, append, update block, already-referenced

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 17:16:35 +08:00
cshandClaude Opus 4.7 e1dbf3cc45 🐛 fix(skills): remove dual-path from commit-message skill
Drop the vendoring-scenario fallback path from commit-message/SKILL.md.
rewrite_skill_docs_links handles path rewriting at install time, so the
source file only needs the canonical docs/common/ path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 17:15:10 +08:00
cshandClaude Opus 4.7 f3a7259a05 🔧 chore(ci): use prepare_repo.sh in both workflows
Replace duplicated inline checkout logic in standards-check.yml and
test.yml with a call to .gitea/ci/prepare_repo.sh. Also remove the
unused TEST_WORKSPACE env var from test.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 17:14:16 +08:00
cshandClaude Opus 4.7 da08212cd6 🔧 chore(ci): extract prepare_repo.sh and clean up workflows
- Extract shared repo-checkout logic into .gitea/ci/prepare_repo.sh,
  removing ~47 lines of duplication from standards-check.yml and test.yml
- Remove unused TEST_WORKSPACE env var from test.yml

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 15:51:48 +08:00
cshandClaude Opus 4.7 7ade85ea1b 🗑️ remove(tsl): drop syntax_book/, data/ source and build script
- Remove docs/tsl/syntax_book/ (superseded by docs/tsl/syntax/)
- Remove data/tsl_reference_catalog_source/ (catalog already generated
  into docs/tsl/reference/catalog/, source no longer needed)
- Remove scripts/build_tsl_reference_catalog.ps1 (build script for
  the above source)
- Remove test assertion that referenced the deleted data/ source index

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 15:50:49 +08:00
cshandClaude Opus 4.7 f94dba0348 ♻️ refactor(skills): update playbook.py and tests for thirdparty/ layout
- install_skills_action: collect skills from both codex/skills/ (own) and
  codex/skills/thirdparty/ (thirdparty); mode=all installs both, mode=list
  searches both; log [thirdparty] tag for third-party installs
- Update test_thirdparty_skills_pipeline: fix source_list path assertion
- Update SKILLS.md: document thirdparty/ subdirectory structure

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 15:09:15 +08:00
cshandClaude Opus 4.7 b3df41205d ♻️ refactor(skills): separate thirdparty skills into thirdparty/ subdirectory
- Move all third-party skills from codex/skills/ to codex/skills/thirdparty/
- Move .sources/ to codex/skills/thirdparty/.sources/
- Delete systematic-debugging/CREATION-LOG.md (internal dev note, not skill content)
- Update sync_thirdparty_skills.sh paths and conflict detection
- Update thirdparty_skills.json source_list paths
- Update install_skills_action to collect from both own and thirdparty dirs,
  logging [thirdparty] tag for third-party installs
- Update SKILLS.md directory structure docs
- Update tests to reflect new paths

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 14:50:02 +08:00
csh a2e3cb07de feat(playbook): add no_backup deploy controls
remove obsolete main_language placeholders and language summary template text

limit generated .agents guidance to configured langs and normalize AGENT_RULES trailing newlines

document install_skills no_backup behavior and refresh tests for deployment links and sync flows
2026-04-24 10:06:03 +08:00
csh 8609d59d4a 🐛 fix(docs): repair reference catalog source links 2026-04-23 14:36:00 +08:00
csh 956da11348 🐛 fix(playbook): publish hidden ci test fixes
Unhide the tracked docs and test updates that were left under assume-unchanged, remove the shipped tsl-guide skill, and align the deploy_root-related test coverage with the current external-clone rules.
2026-04-23 14:02:42 +08:00
csh 08ca87b74c 📦 deps(skills): add karpathy thirdparty sync 2026-04-23 09:31:45 +08:00
csh 96b705b00b 📝 docs(tsl): rebuild canonical syntax and routing manual 2026-04-22 16:59:20 +08:00
csh 2e26f98687 🔧 chore(thirdparty): generalize skills sync pipeline
replace the superpowers-only workflow with a manifest-driven pipeline
sync ui-ux-pro-max into codex/skills and document source lists
fix the prettier path test so the Python suite passes on Windows
2026-04-01 13:11:10 +08:00
csh 2f2d34abe2 📝 docs(readme): normalize subtree command spacing 2026-03-19 14:55:19 +08:00
csh 62db7dbd56 🐛 fix(ci): serialize superpowers update and sync 2026-03-19 14:34:43 +08:00
csh 34632234c8 🐛 fix(ci): use literal superpowers sync paths
Update and Sync Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m28s
Update and Sync Superpowers / Sync skills to main (push) Has been skipped
2026-03-19 13:39:27 +08:00
csh 4b23529ca9 🔧 chore(ci): merge superpowers update and sync workflow
Update and Sync Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m30s
Update and Sync Superpowers / Sync skills to main (push) Failing after 1m26s
2026-03-17 18:01:42 +08:00
csh 84bcefab73 🔧 chore(ci): use ci[bot] commit author name
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m27s
2026-03-17 16:53:41 +08:00
csh 7b84daf3bd 🐛 fix(templates): enforce main loop progress tracking
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m20s
replace the old select/record progress flow with a single main_loop claim/finish CLI.

route template execution through main_loop only, remove the legacy plan_progress entry points, and update tests to enforce the new behavior.
2026-03-12 17:47:33 +08:00
csh 51373d7469 🔧 chore(ci): automate superpowers sync workflow
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m19s
run the thirdparty superpowers snapshot updater on a daily schedule.

trigger sync-superpowers automatically when thirdparty/skill is updated and cover the new automation with workflow tests.
2026-03-12 10:25:59 +08:00
csh eaaa39c39b 🐛 fix(ci): prevent stale superpowers sync from restoring skills block
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m17s
remove the stale superpowers list block from SKILLS.md so the document routes to the source list only.

clear assume-unchanged and skip-worktree flags in the sync workflow before refreshing the workspace, and add a regression test for that safeguard.
2026-03-12 09:47:12 +08:00
csh 94395056ea 🐛 fix(playbook): address reported repo issues
normalize Windows path-like TOML config values, regenerate .agents/index.md on sync, keep the SKILLS.md superpowers section route-only, and ignore generated Python cache dirs.

add regression coverage for load_config() and the standards sync behavior touched by these fixes.
2026-03-10 10:10:28 +08:00
csh f7f2c57c89 🔧 chore(ci): use ci-bot identity for superpowers sync commits
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m0s
2026-02-28 11:27:35 +08:00
csh a97c333844 🔧 chore(ci): add resilient upstream fetch fallback for superpowers update
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m1s
2026-02-28 11:18:49 +08:00
csh 484f9d3566 🔧 chore(ci): automate thirdparty superpowers refresh and sync base
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Failing after 1m30s
2026-02-28 11:10:01 +08:00
csh c19e53e6f5 📝 docs(playbook): refresh guidance and examples 2026-02-28 10:27:20 +08:00
csh 52046b4351 📝 docs(prompts): add code-review template and align docs flow 2026-02-28 10:22:25 +08:00
csh 9ac8a4c8a4 📝 docs(typescript): clarify ts and js support boundaries 2026-02-25 13:19:48 +08:00
csh 1f46203299 feat(typescript): add standards docs and sync rewrite coverage 2026-02-24 17:30:43 +08:00
csh 872c1afc24 🔧 feat(skills): install to agents home 2026-02-05 15:26:48 +08:00
csh 8b75747587 📝 rules: require simplified Chinese responses 2026-02-03 15:11:36 +08:00
csh a85453439f feat(plan_progress): auto-detect env for blocked plans 2026-01-29 14:54:12 +08:00
csh 0d9a8ec465 🐛 fix(playbook): honor no_backup for sync 2026-01-27 18:00:05 +08:00
csh 2d401fa002 test(templates): update prompts validation 2026-01-27 17:03:31 +08:00
csh e23474ef2f 📝 docs(playbook): update prompts and sync notes 2026-01-27 17:03:15 +08:00
csh 60ff3cd035 🐛 fix(playbook): sync templates per file 2026-01-27 16:54:18 +08:00
csh 816f036abe test(playbook): add sync and vendor coverage 2026-01-27 16:12:11 +08:00
csh 625cabbd63 📝 docs(memory_bank): reformat templates 2026-01-27 16:11:31 +08:00
csh 2554c879e4 📝 docs(prompts): refresh prompt templates 2026-01-27 16:04:48 +08:00
csh 6774a9d4aa feat(plan_progress): track plan status in progress.md 2026-01-27 16:03:53 +08:00
csh 73d5c261b1 🔧 chore(playbook): split sync_templates into sections 2026-01-27 08:49:40 +08:00
csh 278750e3c9 feat(playbook): add plan progress tracking and rules updates 2026-01-26 16:51:23 +08:00
csh 6efd637119 🐛 fix(sync): keep agents block blank lines 2026-01-26 09:34:44 +08:00
csh ea00d43bb8 🐛 fix(playbook): support toml without tomllib 2026-01-23 16:54:53 +08:00
csh ab0dd11afc 📝 docs(playbook): drop docs/plans snapshots 2026-01-23 15:38:47 +08:00
csh 398696c9c2 feat(playbook): merge unified cli 2026-01-23 15:30:52 +08:00
csh d959f80de7 🎨 style(docs): format markdown 2026-01-23 15:07:41 +08:00
csh b4f712acb4 🗑️ remove(legacy): drop old scripts and tests 2026-01-23 14:58:31 +08:00
csh 0c4cd0e037 feat(actions): add install_skills and format_md 2026-01-23 14:40:08 +08:00
csh 3d1582ce9e feat(sync): add templates and standards actions 2026-01-23 14:37:55 +08:00
csh 49bbfa13e4 feat(vendor): add playbook snapshot generation 2026-01-23 14:30:30 +08:00
csh 8cfcc25f98 feat(cli): parse toml config and dispatch actions 2026-01-23 14:24:07 +08:00
csh 05903c33ae feat(cli): add toml config and dispatch order 2026-01-23 14:19:55 +08:00
csh 65d216ef52 test(cli): add basic playbook cli tests 2026-01-23 14:15:12 +08:00
csh f0bcf546b2 📝 docs(plans): add unified playbook cli plan 2026-01-23 14:11:25 +08:00
csh 08853097d9 📝 docs(plans): add unified playbook cli design 2026-01-23 14:06:08 +08:00
csh 3483d8a48b 🔧 chore(git): ignore .worktrees dir 2026-01-23 13:46:47 +08:00
csh eb75036b64 🔧 chore(templates): align agent templates and docs
- drop implementation-plan template and references
- add AGENT_RULES.local.md precedence in templates
- add plan meta guidance and CN updates
2026-01-23 11:37:29 +08:00
csh efb93f14c1 📝 docs(playbook): drop todo/confirm mentions 2026-01-22 18:25:27 +08:00
csh 4a8530660e 🗑️ remove(workflow): drop todo/confirm artifacts
stop generating TODO.md and CONFIRM.md in sync_templates\nupdate templates/prompts and sync_templates tests
2026-01-22 18:05:14 +08:00
csh 9c5ee9f665 🎨 style(markdown): format docs with prettier 2026-01-22 17:42:20 +08:00
csh 5a2925f846 🐛 fix(scripts): repair windows script parsing
fix powershell here-strings and help alias conflicts\nadd windows script lint test and run it in CI
2026-01-22 17:30:15 +08:00
csh 26a35e0ccf test(ci): update required skills list 2026-01-22 16:26:20 +08:00
csh 8df3883ca5 🐛 fix(test): skip external root doc links 2026-01-22 16:16:36 +08:00
csh c03cda0145 🔧 chore(ci): sync from origin main 2026-01-22 15:51:33 +08:00
csh 55e05cbf18 🔧 chore(ci): use superpowers sync script 2026-01-22 15:33:18 +08:00
csh 73c97f3729 🔧 chore(ci): centralize superpowers sync 2026-01-22 15:32:02 +08:00
csh 945704f700 🔧 chore(ci): add superpowers sync workflow 2026-01-22 14:38:10 +08:00
csh e5d2c9399e 🗑️ remove(skills): drop duplicate workflows 2026-01-22 13:31:11 +08:00
csh 3ae970885d 🐛 fix(ci): update tests for flag-only scripts 2026-01-21 17:26:10 +08:00
csh c44b9aa4bb 🔧 chore(scripts): require flag-driven args 2026-01-21 15:19:53 +08:00
csh e4e1d14182 🔧 chore(scripts): unify single-dash options 2026-01-21 14:39:46 +08:00
csh b2eb475a6d test(templates): add template coverage 2026-01-21 10:51:48 +08:00
csh fc230b7ff9 🎨 style(markdown): format markdown files 2026-01-21 10:20:53 +08:00
csh 8dc8924cbe 🔧 chore(markdown): add prettier config and usage 2026-01-21 10:20:19 +08:00
csh 2045dd45c0 feat(vendor_playbook): add apply-templates option 2026-01-21 10:18:48 +08:00
csh 872d8cf98b feat(templates): add sync templates scaffolding 2026-01-21 10:18:24 +08:00
csh 5b1ca45fa5 📝 docs(skills): clarify todo-plan template 2026-01-16 16:28:56 +08:00
csh 054967a1d9 feat(skills): add todo-plan skill 2026-01-16 15:40:05 +08:00
csh cc340f1944 🔧 chore(ci): align standards-check workflow template 2026-01-13 13:14:58 +08:00
csh e9de0aa497 🔧 chore(ci): drop removed skill check 2026-01-13 11:06:14 +08:00
csh e5dd7d9d07 🔧 fix(sync): avoid backtick expansion 2026-01-13 10:56:27 +08:00
csh 087b0b9c75 🔧 chore(sync): align agents block across ps1/bat 2026-01-13 10:52:42 +08:00
csh 9481510154 🔧 chore(sync): scope agents block to existing langs 2026-01-13 10:45:53 +08:00
csh b0ca842c72 🔧 fix(sync): rewrite docs path in agents 2026-01-12 16:16:51 +08:00
csh c98d65c1f1 🔧 chore(sync): rewrite agents docs paths 2026-01-12 16:03:31 +08:00
csh c33611ca02 🗑️ remove(skills): drop unused skills and update references 2026-01-12 10:03:45 +08:00