Commit Graph

223 Commits

Author SHA1 Message Date
csh 565071c11f 🎨 style(md): lint and format all Markdown files
- Update .markdownlint.json: disable MD024 (duplicate headings) and MD025 (multiple h1)
  - MD024: test cases intentionally use duplicate headings for test IDs
  - MD025: function catalog files use multiple h1 for different function groups
- Fix MD040: add language identifiers to fenced code blocks in test/agent/README.md
- Fix MD031: add blank lines around fenced code blocks
- Run prettier to format all Markdown files consistently
- Fix table alignment and spacing issues

All markdownlint errors are now resolved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:37:29 +08:00
csh 0dc244f1b4 test(tsl): adjust overly strict test assertions
- Remove "当前" from forbidden phrase list (allow technical terms like "当前单元格值")
- Remove outdated assertions about toolchain fact filling requirements in README
- Keep only meaningful assertions that match current documentation structure

These tests were preventing legitimate technical terminology and expecting
documentation patterns that are no longer applicable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:29:22 +08:00
csh e9ddc1e0b3 Merge branch 'main' of https://git.mytsl.cn/csh/playbook 2026-06-21 17:15:56 +08:00
csh e6b0859a09 🔧 chore(ci): enable cancel-in-progress for update-thirdparty workflow
Change `cancel-in-progress` from false to true to prevent concurrent runs
when multiple triggers (push, schedule, manual) occur simultaneously.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:15:40 +08:00
ci[bot] a21149872f 📦 deps(skills): sync thirdparty skills 2026-06-21 09:15:28 +00:00
csh cfd0d2136a Merge branch 'main' of https://git.mytsl.cn/csh/playbook 2026-06-21 17:09:29 +08:00
csh 8b93311cae 📝 docs(tsl): clarify syntax constraints and enhance test infrastructure
- Add TSF file naming constraint to syntax/02_core_model.md
- Clarify semicolon rules: syntax facts vs style preferences
- Separate control flow end semicolon rules (syntax allows both)
- Add function body semicolon requirements to syntax/05_functions_and_calls.md
- Move style preferences to code_style.md (control flow end semicolons)
- Remove cross-references from syntax docs to maintain independence
- Enhance Gitea workflow emoji for better CI output readability
- Fix CI test path from tests/ to test/
- Organize agent test results under test/agent/result/ directory
- Add complete Chinese translation of test cases (test_cases_zh.md)
- Clean up .gitignore to use unified test/agent/result/ directory
- Remove obsolete agent test artifacts (REPORTS_LOCATION.md, old results)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:04:50 +08:00
ci[bot] e9790f1efe 📦 deps(skills): sync thirdparty skills 2026-06-19 16:05:53 +00:00
ci[bot] da3e48a6ee 📦 deps(skills): sync thirdparty skills 2026-06-18 16:04:42 +00:00
csh 6026401907 📝 docs(templates): clarify agent rules bootstrap 2026-06-16 14:05:44 +08:00
csh c0c2ffb6eb 📝 docs(tsl): expand syntax operator and object coverage 2026-06-10 15:25:42 +08:00
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 02ad5e5f4a feat(playbook): add playbook root boundary placeholder 2026-06-01 14:22:11 +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 2c3a559a30 📦 deps(skills): sync thirdparty skills 2026-05-31 13:44:08 +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
ci[bot] b4c88b32be 📦 deps(skills): sync thirdparty skills 2026-05-29 08:33:55 +00: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 98c3f305f9 📝 docs(agent_rules): allow plan execution on current branch 2026-05-20 15:49:40 +08:00
csh 16c7230c03 📝 docs(prompts): define custom verify layering 2026-05-19 12:54:23 +08:00
csh 8efc4dde65 🐛 fix(skills): quote commit-message description 2026-05-19 12:53:44 +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
ci[bot] 63e24bfe54 📦 deps(skills): sync thirdparty skills 2026-05-19 02:01:06 +00: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 f049dfbe10 📦 deps(skills): drop duplicate first-party superpowers skills 2026-05-18 16:34:39 +08:00
csh 234b335663 feat(workflow): add superpowers planning and execution state tracking 2026-05-18 16:28:06 +08:00
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