Commit Graph

63 Commits

Author SHA1 Message Date
csh 2c5050de09 ♻️ refactor(skills): rename repo skills source dir
move the repository skills source from `codex/skills` to `skills`.

update vendor/install_skills paths, thirdparty sync pipeline, docs, and regression tests, including deployment-route e2e coverage.
2026-05-19 09:09:54 +08:00
csh 234b335663 feat(workflow): add superpowers planning and execution state tracking 2026-05-18 16:28:06 +08:00
csh 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
csh 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
csh 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
csh 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
csh 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
csh 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 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 da85d4efbb 🐛 fix(thirdparty): prune nested project snapshots 2026-04-01 14:25:25 +08:00
ci[bot] 9df610a0b6 🐛 fix(thirdparty): exclude duplicated superpowers skills 2026-04-01 14:01:33 +08:00
ci[bot] 33dd5bb6ba 🐛 fix(thirdparty): preserve optional manifest fields 2026-04-01 13:55:55 +08:00
csh 91b0ea7458 🐛 fix(thirdparty): preserve manifest during snapshot update 2026-04-01 13:46:54 +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 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 Details
Update and Sync Superpowers / Sync skills to main (push) Has been skipped Details
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 Details
Update and Sync Superpowers / Sync skills to main (push) Failing after 1m26s Details
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 Details
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 Details
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 Details
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 Details
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 Details
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 Details
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 Details
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 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 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 816f036abe test(playbook): add sync and vendor coverage 2026-01-27 16:12:11 +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 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 65d216ef52 test(cli): add basic playbook cli tests 2026-01-23 14:15:12 +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