Commit Graph
63 Commits
Author SHA1 Message Date
csh d83707de23 🔧 chore(workflows): migrate to prepare + worktree model and merge checks
- add prepare.yml: install tools + maintain shared bare repo, anchors the workflow_run chain
- add checks.yml: merge lint + full test suite into a single workflow_run consumer job
- remove standards-check.yml and test.yml (superseded by checks.yml)
- convert sync-tsl-playbook and update-thirdparty-skills to worktree-model consumers
- unify workflow/job/step display names and emoji
2026-07-21 17:29:24 +08:00
csh c69278283f feat(tsl-codegen): add decoupled documentation toolkit
Generate TSL API Markdown from YAML or JSON into a configurable project scope.\nAdd file and directory lint modes, tags-aware indexing, and keyword search across tags and descriptions.\nBundle the toolkit through the playbook build and sync workflows.
2026-07-20 09:08:38 +08:00
csh fd63164328 🔧 chore(ci): inline skill sync and standardize git identity 2026-07-20 09:08:36 +08:00
csh ff07c79818 ♻️ refactor(test): consolidate repository checks 2026-07-20 09:08:36 +08:00
cshandClaude Fable 5 265c891e19 🐛 fix(ci): allow kebab-case commit scopes
The scope regex only accepted [a-z0-9_], rejecting hyphenated scopes
like tsl-syntax that dominate the history (12x vs 4x underscore form).
Align both linter copies and the spec doc to accept lower-kebab-case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 11:22:50 +08:00
csh df8c402afb 🔧 chore(ci): scope tsl playbook sync paths 2026-07-13 10:29:23 +08:00
cshandClaude Opus 4.8 94d968d68d 🔒 security(ci): keep sync token out of remote url via GIT_ASKPASS
- inline .gitea/ci/sync_tsl_playbook.sh into sync-tsl-playbook.yml
- clone over plain repo url; credentials flow through an ephemeral
  GIT_ASKPASS helper removed in cleanup
- rewrite tests to extract and exercise the workflow run block

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 13:11:58 +08:00
csh 38ccc67238 🐛 fix(tsl): preserve manual files during playbook sync
Limit tsl-playbook publishing to generated bundle paths so existing branch-local files are not removed.

Add tests for preserving non-generated files and for creating a clean orphan target branch.
2026-07-07 17:10:24 +08:00
csh 6f94cd3ee4 🔧 chore(tsl): add playbook sync workflow 2026-07-07 16:46:40 +08: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 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
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
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 7656ee2907 feat(skills): add uncle-bob-craft third-party skill 2026-05-31 13:43:49 +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 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 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 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 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
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 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 08ca87b74c 📦 deps(skills): add karpathy thirdparty sync 2026-04-23 09:31:45 +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
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 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 278750e3c9 feat(playbook): add plan progress tracking and rules updates 2026-01-26 16:51:23 +08:00
csh b4f712acb4 🗑️ remove(legacy): drop old scripts and tests 2026-01-23 14:58:31 +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 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