Commit Graph
243 Commits
Author SHA1 Message Date
csh e6bde2cf0e 🔧 chore(git): ignore Python cache artifacts 2026-07-07 16:36:09 +08:00
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00
csh 54c1c11e77 🗑️ remove(tsl): drop special codegen placeholders 2026-07-07 16:35:59 +08:00
csh 14acc39179 🗑️ remove(tsl): delete legacy reference docs 2026-07-07 16:35:58 +08:00
csh 7046f0b60e 📝 docs(tsl): add generated codegen reference 2026-07-07 16:34:27 +08:00
cshandClaude Fable 5 014c23d386 🎨 style(syntax): normalize naming conventions
Align all TSL syntax documentation examples with docs/tsl/naming.md:

- Classes/types: PascalCase, drop Hungarian prefix (THuman→Human)
- Parameters/locals: snake_case with meaningful names (isLeft→is_left, maxb→max_b)
- Private members: snake_case_ with trailing underscore (real_part_, imaginary_part_)
- Public members: PascalCase (value→Value)
- Top-level functions: PascalCase (test→Test)
- Module constants: kPascalCase (kernel_dll→kKernelDll)

Affected: 01-24 syntax docs (23 files)
Verified: 150+ code blocks locally tested, output unchanged
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 16:34:19 +08:00
ci[bot] 23c35fdfda 📦 deps(skills): sync thirdparty skills 2026-07-06 16:03:03 +00:00
ci[bot] c56b5221b5 📦 deps(skills): sync thirdparty skills 2026-07-04 16:04:26 +00:00
ci[bot] 032d65368e 📦 deps(skills): sync thirdparty skills 2026-07-03 16:04:18 +00:00
ci[bot] 2ba6cda440 📦 deps(skills): sync thirdparty skills 2026-07-01 16:02:48 +00:00
ci[bot] dd98ee902e 📦 deps(skills): sync thirdparty skills 2026-06-28 16:02:45 +00:00
ci[bot] afff27b7f0 📦 deps(skills): sync thirdparty skills 2026-06-27 16:04:21 +00:00
csh 9efd0a581f 🔧 chore(test): consolidate playbook config tests
Group playbook.toml-driven behavior tests under a single config-actions file and split parser/template contract coverage into focused files.

Remove obsolete PowerShell audit scripts and tracked validation reports; write template validation reports under reports/templates.
2026-06-26 18:08:04 +08:00
csh 1911d2dda3 🗑️ remove(progress): drop workflow state tracking
Use plan-status as the only machine state source for plan queueing, claiming, and finishing.

Route record-plan through queue insertion and update templates/prompts to match the single-state model.

BREAKING CHANGE: playbook.py -record-spec and main_loop.py record are removed.
2026-06-26 17:10:09 +08:00
ci[bot] c35aba5139 📦 deps(skills): sync thirdparty skills 2026-06-25 16:06:55 +00:00
csh 0f59543409 ♻️ refactor(test): rebuild agent runtime test flow 2026-06-24 11:22:09 +08:00
ci[bot] a34c6444a5 📦 deps(skills): sync thirdparty skills 2026-06-23 16:03:07 +00:00
ci[bot] 1d4a92f874 📦 deps(skills): sync thirdparty skills 2026-06-21 16:02:42 +00:00
cshandClaude Opus 4.6 e46a4a192c 🔧 chore(test): fix test directory path references
Fix incorrect test directory references throughout the repository:
- .gitea/workflows/test.yml: tests/ → test/ (5 locations)
- CONTRIBUTING.md: tests/ → test/ (7 locations)
- test/README.md: update directory structure and commands

Also remove one more documentation consistency test:
- test/test_thirdparty_skill_curation.py: checks YAML config for exact text

All 63 functional tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 18:14:16 +08:00
cshandClaude Opus 4.6 ecaa8e3593 🗑️ remove(test): remove fragile documentation consistency tests
Remove tests that check exact documentation wording and structure:
- test_tsl_entrypoints_consistency.py (78KB): checked TSL docs for exact text
- test_skills_readme.py: checked skills README for specific phrases
- test_firstparty_skills_quality.py: checked skill docs formatting
- test_playbook_docs_index.py: checked docs index structure

These tests break every time documentation is improved or restructured,
creating maintenance burden without catching real issues.

Retain functional tests:
- CLI behavior (test_main_loop_cli.py)
- Deployment logic (test_deployment_routes_e2e.py)
- Template rendering (test_sync_templates_placeholders.py)
- Third-party skills sync (test_thirdparty_skills_pipeline.py)

Update .gitignore:
- Add node_modules/ and package-lock.json for npm-based tooling

All 64 functional tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 18:07:47 +08:00
cshandClaude Opus 4.6 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
cshandClaude Opus 4.6 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
cshandClaude Opus 4.6 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
cshandClaude Opus 4.6 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