Commit Graph

90 Commits

Author SHA1 Message Date
csh 540b3c0a1b 📝 docs(tsl): restructure agent-facing reference
Rework TSL syntax, catalog, modules, and routing docs around deterministic agent lookup and generation.

Split large catalog pages into focused function fact pages, remove obsolete pending/verified/unavailable paths, and update consistency tests for the new structure.
2026-06-09 17:24:30 +08:00
csh 9c194170a1 📝 docs(playbook): defer spec plan archival 2026-06-05 09:46:55 +08:00
csh 5d9673cf6e ♻️ refactor(tests): consolidate playbook CLI coverage 2026-06-01 14:22:57 +08:00
csh f2ab57b39f feat(playbook): add install_mode deployment config
BREAKING CHANGE: [vendor] and playbook.deploy_root are no longer supported. Use [playbook].install_mode and playbook.playbook_root instead.
2026-06-01 10:49:16 +08:00
csh c35cf841bc 🐛 fix(playbook): add heading to generated CLAUDE.md 2026-05-31 13:43:59 +08:00
csh 7656ee2907 feat(skills): add uncle-bob-craft third-party skill 2026-05-31 13:43:49 +08:00
csh 7db5e4a697 🐛 fix(scripts): force LF for generated text files 2026-05-30 07:59:56 +08:00
csh c1bce2fb72 📦 deps(skills): sync pathfinding dependency for codebase-recon 2026-05-29 23:12:17 +08:00
csh b7eb57f5da 🐛 fix(thirdparty): use awesome master ref
Point codebase-migrate at the actual awesome-codex-skills master branch while keeping the whole-repo clone plus include_skill_dirs sync model.

Add a manifest assertion so the ref does not regress to main.
2026-05-29 16:29:30 +08:00
csh eaa061fd2b feat(main_loop): harden plan execution state
Validate required Plan Meta before claims, record claim ownership, and persist verification evidence on completion.

Document conditional skill triggers without adding them to automatic main-loop dispatch.
2026-05-29 15:42:03 +08:00
csh 3023aef8a0 feat(skills): curate code workflow skills
Add a Gitea CI triage skill with legacy web-log fallback, document first-party and third-party skill roles, and register selected third-party code workflow sources.

Remove the first-party bulk refactor workflow in favor of the registered codebase migration replacement.
2026-05-29 12:55:10 +08:00
csh d8eb418277 📝 docs(tsl): align agent-facing guidance 2026-05-28 19:12:34 +08:00
csh c48354e0cb 📝 docs(main_loop): keep archive contract tool-neutral 2026-05-28 09:02:26 +08:00
csh e87be183bc 📝 docs(main_loop): enforce plan archive completion gate 2026-05-28 08:57:01 +08:00
csh 0093fbf341 📝 docs(main_loop): make plan archive contract tool-neutral 2026-05-27 16:35:31 +08:00
csh 30c1582186 📝 docs(memory): bound context snapshot sections 2026-05-27 14:53:21 +08:00
csh 16287e207f 📝 docs(main_loop): clarify plan commit contents 2026-05-27 14:17:02 +08:00
csh 1a3ea1f425 🐛 fix(main_loop): enforce plan lifecycle ordering
Claim the first executable plan in plan-file order after resuming any in-progress plan, preserve skipped as its own workflow phase, and document the required post-done commit gate in the agent rules.
2026-05-27 14:07:09 +08:00
csh 61afff9d48 📝 docs(templates): refine superpowers prompt boundaries 2026-05-25 15:02:16 +08:00
csh 25d895d8b3 🐛 fix(gitea_workflow): clean up temp repos after job steps 2026-05-22 16:42:08 +08:00
csh 2bc3b115dc 🐛 fix(gitea_workflow): clean up temporary repo dirs in workflows 2026-05-22 16:39:08 +08:00
csh bc8498f5d6 🐛 fix(ci): install tomli for gitea tests 2026-05-19 10:37:04 +08:00
csh 55cda3bd42 🐛 fix(tests): report missing toml parser clearly 2026-05-19 10:30:02 +08:00
csh c0729c7933 🐛 fix(playbook): import Optional for cli compatibility
restore the missing typing.Optional import in scripts/playbook.py
so older python runtimes can import the CLI module successfully.

add a regression test for typing annotation imports and register it
in the tests README.
2026-05-19 10:09:55 +08:00
csh d2f9356e6a 🐛 fix(ci): isolate gitea workflow repos
use a fresh per-job checkout directory for test, standards, and
thirdparty update workflows instead of reusing a shared repo path.

align the Gitea standards-check template with the same isolation
strategy and expand workflow bootstrap regression coverage.
2026-05-19 09:59:30 +08:00
csh 588b81dae4 🐛 fix(ci): inline gitea workflow bootstrap
remove the pre-checkout dependency on .gitea/ci/prepare_repo.sh
from the root workflows and inline the bootstrap logic instead.

add a regression test for workflow bootstrap ordering and register
it in the tests README.
2026-05-19 09:50:24 +08:00
csh e0b1c3ab1b ♻️ refactor(skills): standardize first-party skill contracts
upgrade commit-message, style-cleanup, and bulk-refactor-workflow
to use trigger-focused frontmatter and a shared contract structure.

add a first-party skill quality test gate and register it in tests
documentation.
2026-05-19 09:38:32 +08:00
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