@bendyline/gilde 0.2.7 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/authoring/chat-models/nanbeige4.2-3b-q4.json +1 -1
- package/authoring/chat-models/nemotron3.5-bolt-e4b-q4.json +137 -0
- package/authoring/tactical/wave.json +18 -18
- package/data/chat-models/index.json +1 -1
- package/data/chat-models/na/nanbeige4.2-3b-q4/manifest.json +1 -1
- package/data/chat-models/ne/nemotron3.5-bolt-e4b-q4/manifest.json +142 -0
- package/data/chat-models/ne/nemotron3.5-bolt-e4b-q4/versions/1.0.0/manifest.json +14 -0
- package/data/chat-models/ne/nemotron3.5-bolt-e4b-q4/versions/1.0.1/manifest.json +14 -0
- package/data/chat-models/raw-index.json +1 -1
- package/data/craftbook-templates/an/anniversary-cut/versions/1.0.8/craftbook.json +411 -0
- package/data/craftbook-templates/an/anniversary-cut/versions/1.0.8/test.json +100 -0
- package/data/craftbook-templates/au/automation-recipe/versions/1.0.6/craftbook.json +354 -0
- package/data/craftbook-templates/au/automation-recipe/versions/1.0.6/test.json +223 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/craftbook.json +736 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/test.json +221 -0
- package/data/craftbook-templates/ch/character-sheet/versions/1.0.6/craftbook.json +242 -0
- package/data/craftbook-templates/ch/character-sheet/versions/1.0.6/test.json +143 -0
- package/data/craftbook-templates/ch/character-turnaround/versions/1.0.6/craftbook.json +284 -0
- package/data/craftbook-templates/ch/character-turnaround/versions/1.0.6/test.json +189 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/craftbook.json +607 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/test.json +252 -0
- package/data/craftbook-templates/co/comprehensive-codebase-review/manifest.json +1 -1
- package/data/craftbook-templates/co/comprehensive-codebase-review/versions/1.0.3/craftbook.json +548 -0
- package/data/craftbook-templates/co/comprehensive-codebase-review/versions/1.0.3/test.json +160 -0
- package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/craftbook.json +625 -0
- package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/test.json +235 -0
- package/data/craftbook-templates/dr/draft-social-post/versions/1.0.6/craftbook.json +343 -0
- package/data/craftbook-templates/dr/draft-social-post/versions/1.0.6/test.json +161 -0
- package/data/craftbook-templates/ed/edit-notes/versions/1.0.5/craftbook.json +341 -0
- package/data/craftbook-templates/ed/edit-notes/versions/1.0.5/test.json +150 -0
- package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/craftbook.json +720 -0
- package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/test.json +239 -0
- package/data/craftbook-templates/in/invitation-design/versions/1.0.5/craftbook.json +269 -0
- package/data/craftbook-templates/in/invitation-design/versions/1.0.5/test.json +121 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.8/craftbook.json +405 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.8/test.json +140 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/ju/juice-pass/versions/1.0.5/craftbook.json +257 -0
- package/data/craftbook-templates/ju/juice-pass/versions/1.0.5/test.json +116 -0
- package/data/craftbook-templates/mo/mock-interview/versions/1.0.6/craftbook.json +300 -0
- package/data/craftbook-templates/mo/mock-interview/versions/1.0.6/test.json +82 -0
- package/data/craftbook-templates/mo/morning-report/versions/1.0.5/craftbook.json +319 -0
- package/data/craftbook-templates/mo/morning-report/versions/1.0.5/test.json +259 -0
- package/data/craftbook-templates/ni/nightly-fix-sweep/manifest.json +2 -1
- package/data/craftbook-templates/ni/nightly-fix-sweep/versions/1.0.3/craftbook.json +244 -0
- package/data/craftbook-templates/ni/nightly-fix-sweep/versions/1.0.3/test.json +120 -0
- package/data/craftbook-templates/pa/page-spread/versions/1.0.6/craftbook.json +243 -0
- package/data/craftbook-templates/pa/page-spread/versions/1.0.6/test.json +132 -0
- package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/craftbook.json +699 -0
- package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/test.json +235 -0
- package/data/craftbook-templates/pr/practice-exam/versions/1.0.5/craftbook.json +326 -0
- package/data/craftbook-templates/pr/practice-exam/versions/1.0.5/test.json +119 -0
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/re/reception-report/versions/1.0.6/craftbook.json +327 -0
- package/data/craftbook-templates/re/reception-report/versions/1.0.6/test.json +168 -0
- package/data/craftbook-templates/re/refactor-module/versions/2.0.6/craftbook.json +699 -0
- package/data/craftbook-templates/re/refactor-module/versions/2.0.6/test.json +241 -0
- package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.6/craftbook.json +332 -0
- package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.6/test.json +142 -0
- package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/craftbook.json +626 -0
- package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/test.json +225 -0
- package/data/craftbook-templates/sh/ship/versions/1.1.4/craftbook.json +353 -0
- package/data/craftbook-templates/sh/ship/versions/1.1.4/test.json +235 -0
- package/data/craftbook-templates/so/social-digest/versions/1.0.7/craftbook.json +271 -0
- package/data/craftbook-templates/so/social-digest/versions/1.0.7/test.json +168 -0
- package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/craftbook.json +596 -0
- package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/test.json +195 -0
- package/data/craftbook-templates/th/thank-you-sweep/versions/1.0.5/craftbook.json +310 -0
- package/data/craftbook-templates/th/thank-you-sweep/versions/1.0.5/test.json +146 -0
- package/data/craftbook-templates/ti/tileset-batch/versions/1.0.6/craftbook.json +349 -0
- package/data/craftbook-templates/ti/tileset-batch/versions/1.0.6/test.json +162 -0
- package/data/craftbook-templates/tr/transcribe-index/versions/1.0.5/craftbook.json +359 -0
- package/data/craftbook-templates/tr/transcribe-index/versions/1.0.5/test.json +157 -0
- package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/craftbook.json +596 -0
- package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/test.json +221 -0
- package/data/craftbook-templates/we/weak-spot-drill/versions/1.0.5/craftbook.json +321 -0
- package/data/craftbook-templates/we/weak-spot-drill/versions/1.0.5/test.json +128 -0
- package/data/craftbook-templates/we/weekly-pipeline-review/versions/1.0.6/craftbook.json +244 -0
- package/data/craftbook-templates/we/weekly-pipeline-review/versions/1.0.6/test.json +80 -0
- package/data/gezel-templates/aa/aanjager/manifest.json +2 -2
- package/data/gezel-templates/aa/aanjager/versions/1.0.1/about.md +22 -0
- package/data/gezel-templates/aa/aanjager/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/ar/archivaris/manifest.json +4 -3
- package/data/gezel-templates/ar/archivaris/versions/1.0.2/about.md +26 -0
- package/data/gezel-templates/ar/archivaris/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/bo/boekwachter/manifest.json +2 -2
- package/data/gezel-templates/bo/boekwachter/versions/1.1.1/about.md +29 -0
- package/data/gezel-templates/bo/boekwachter/versions/1.1.1/manifest.json +16 -0
- package/data/gezel-templates/bu/builder/versions/1.5.1/about.md +34 -0
- package/data/gezel-templates/bu/builder/versions/1.5.1/manifest.json +16 -0
- package/data/gezel-templates/ca/career-coach/manifest.json +2 -2
- package/data/gezel-templates/ca/career-coach/versions/1.0.1/about.md +29 -0
- package/data/gezel-templates/ca/career-coach/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/ce/ceremoniemeester/manifest.json +4 -3
- package/data/gezel-templates/ce/ceremoniemeester/versions/1.0.1/about.md +24 -0
- package/data/gezel-templates/ce/ceremoniemeester/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/ch/checkers-player/manifest.json +2 -2
- package/data/gezel-templates/ch/checkers-player/versions/1.0.2/about.md +24 -0
- package/data/gezel-templates/ch/checkers-player/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/ch/chess-player/manifest.json +2 -2
- package/data/gezel-templates/ch/chess-player/versions/1.0.2/about.md +21 -0
- package/data/gezel-templates/ch/chess-player/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/de/developer/manifest.json +1 -1
- package/data/gezel-templates/de/developer/versions/1.5.1/about.md +34 -0
- package/data/gezel-templates/de/developer/versions/1.5.1/manifest.json +21 -0
- package/data/gezel-templates/go/go-player/manifest.json +2 -2
- package/data/gezel-templates/go/go-player/versions/1.0.2/about.md +22 -0
- package/data/gezel-templates/go/go-player/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/hu/huismeester/manifest.json +2 -2
- package/data/gezel-templates/hu/huismeester/versions/1.0.1/about.md +24 -0
- package/data/gezel-templates/hu/huismeester/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/ka/kantoormeester/manifest.json +4 -3
- package/data/gezel-templates/ka/kantoormeester/versions/1.0.1/about.md +22 -0
- package/data/gezel-templates/ka/kantoormeester/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/ke/keurmeester/manifest.json +4 -3
- package/data/gezel-templates/ke/keurmeester/versions/1.0.1/about.md +17 -0
- package/data/gezel-templates/ke/keurmeester/versions/1.0.1/manifest.json +6 -0
- package/data/gezel-templates/ma/maaltijdplanner/manifest.json +4 -3
- package/data/gezel-templates/ma/maaltijdplanner/versions/1.0.1/about.md +21 -0
- package/data/gezel-templates/ma/maaltijdplanner/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/me/meester/versions/1.4.1/about.md +26 -0
- package/data/gezel-templates/me/meester/versions/1.4.1/manifest.json +9 -0
- package/data/gezel-templates/mo/mock-interviewer/manifest.json +2 -2
- package/data/gezel-templates/mo/mock-interviewer/versions/1.0.1/about.md +28 -0
- package/data/gezel-templates/mo/mock-interviewer/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/om/omroeper/manifest.json +5 -3
- package/data/gezel-templates/om/omroeper/versions/1.0.1/about.md +33 -0
- package/data/gezel-templates/om/omroeper/versions/1.0.1/manifest.json +23 -0
- package/data/gezel-templates/pe/penningmeester/manifest.json +4 -3
- package/data/gezel-templates/pe/penningmeester/versions/1.0.2/about.md +23 -0
- package/data/gezel-templates/pe/penningmeester/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/pu/puzzelaar/manifest.json +4 -3
- package/data/gezel-templates/pu/puzzelaar/versions/1.0.1/about.md +18 -0
- package/data/gezel-templates/pu/puzzelaar/versions/1.0.1/manifest.json +16 -0
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/gezel-templates/re/reisleider/manifest.json +4 -3
- package/data/gezel-templates/re/reisleider/versions/1.0.1/about.md +22 -0
- package/data/gezel-templates/re/reisleider/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/re/reviewer/versions/1.4.1/about.md +49 -0
- package/data/gezel-templates/re/reviewer/versions/1.4.1/manifest.json +21 -0
- package/data/gezel-templates/sc/schrijfmaat/manifest.json +4 -3
- package/data/gezel-templates/sc/schrijfmaat/versions/1.0.1/about.md +25 -0
- package/data/gezel-templates/sc/schrijfmaat/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/st/study-buddy/manifest.json +4 -3
- package/data/gezel-templates/st/study-buddy/versions/1.0.1/about.md +21 -0
- package/data/gezel-templates/st/study-buddy/versions/1.0.1/manifest.json +10 -0
- package/data/gezel-templates/ve/veiligheidsmeester/manifest.json +1 -1
- package/data/gezel-templates/ve/veiligheidsmeester/versions/1.0.1/about.md +27 -0
- package/data/gezel-templates/ve/veiligheidsmeester/versions/1.0.1/manifest.json +21 -0
- package/data/gezel-templates/ve/vertaler/manifest.json +1 -1
- package/data/gezel-templates/ve/vertaler/versions/1.0.1/about.md +26 -0
- package/data/gezel-templates/ve/vertaler/versions/1.0.1/manifest.json +13 -0
- package/data/gezel-templates/vo/voorman/manifest.json +4 -3
- package/data/gezel-templates/vo/voorman/versions/1.6.1/about.md +37 -0
- package/data/gezel-templates/vo/voorman/versions/1.6.1/manifest.json +9 -0
- package/data/gezel-templates/wo/woordsmid/manifest.json +4 -3
- package/data/gezel-templates/wo/woordsmid/versions/1.0.1/about.md +18 -0
- package/data/gezel-templates/wo/woordsmid/versions/1.0.1/manifest.json +16 -0
- package/data/gezel-templates/zo/zorgcoordinator/manifest.json +4 -3
- package/data/gezel-templates/zo/zorgcoordinator/versions/1.0.2/about.md +23 -0
- package/data/gezel-templates/zo/zorgcoordinator/versions/1.0.2/manifest.json +10 -0
- package/data/project-types/ca/caregiving-binder/manifest.json +1 -1
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/about.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/care.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/manifest.json +178 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/meds.json +8 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/mission.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.2/pages/dashboard/index.html +265 -0
- package/data/project-types/ch/checkers/manifest.json +1 -1
- package/data/project-types/ch/checkers/versions/1.2.4/about.md +9 -0
- package/data/project-types/ch/checkers/versions/1.2.4/game.json +77 -0
- package/data/project-types/ch/checkers/versions/1.2.4/manifest.json +182 -0
- package/data/project-types/ch/checkers/versions/1.2.4/mission.md +9 -0
- package/data/project-types/ch/checkers/versions/1.2.4/pages/board/index.html +1158 -0
- package/data/project-types/ch/chess/manifest.json +1 -1
- package/data/project-types/ch/chess/versions/1.0.7/about.md +9 -0
- package/data/project-types/ch/chess/versions/1.0.7/game.json +127 -0
- package/data/project-types/ch/chess/versions/1.0.7/manifest.json +196 -0
- package/data/project-types/ch/chess/versions/1.0.7/mission.md +8 -0
- package/data/project-types/ch/chess/versions/1.0.7/pages/board/index.html +851 -0
- package/data/project-types/ev/event-planner/manifest.json +1 -1
- package/data/project-types/ev/event-planner/versions/1.0.3/about.md +7 -0
- package/data/project-types/ev/event-planner/versions/1.0.3/budget.json +5 -0
- package/data/project-types/ev/event-planner/versions/1.0.3/guests.json +10 -0
- package/data/project-types/ev/event-planner/versions/1.0.3/manifest.json +171 -0
- package/data/project-types/ev/event-planner/versions/1.0.3/mission.md +6 -0
- package/data/project-types/ev/event-planner/versions/1.0.3/pages/dashboard/index.html +283 -0
- package/data/project-types/fl/flashcards/manifest.json +1 -1
- package/data/project-types/fl/flashcards/versions/1.2.1/about.md +8 -0
- package/data/project-types/fl/flashcards/versions/1.2.1/deck.json +7 -0
- package/data/project-types/fl/flashcards/versions/1.2.1/manifest.json +207 -0
- package/data/project-types/fl/flashcards/versions/1.2.1/mission.md +6 -0
- package/data/project-types/fl/flashcards/versions/1.2.1/pages/review/index.html +549 -0
- package/data/project-types/fr/freelance-office/manifest.json +1 -1
- package/data/project-types/fr/freelance-office/versions/1.0.3/about.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.0.3/invoices.json +9 -0
- package/data/project-types/fr/freelance-office/versions/1.0.3/manifest.json +143 -0
- package/data/project-types/fr/freelance-office/versions/1.0.3/mission.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.0.3/pages/dashboard/index.html +258 -0
- package/data/project-types/fu/fundraiser-hq/manifest.json +1 -1
- package/data/project-types/fu/fundraiser-hq/versions/1.0.3/about.md +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.3/donations.json +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.3/manifest.json +127 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.3/mission.md +6 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.3/pages/dashboard/index.html +261 -0
- package/data/project-types/go/go/manifest.json +1 -1
- package/data/project-types/go/go/versions/1.0.5/about.md +9 -0
- package/data/project-types/go/go/versions/1.0.5/game.json +103 -0
- package/data/project-types/go/go/versions/1.0.5/manifest.json +182 -0
- package/data/project-types/go/go/versions/1.0.5/mission.md +8 -0
- package/data/project-types/go/go/versions/1.0.5/pages/board/index.html +855 -0
- package/data/project-types/ho/household-budget/manifest.json +1 -1
- package/data/project-types/ho/household-budget/versions/1.0.4/about.md +6 -0
- package/data/project-types/ho/household-budget/versions/1.0.4/ledger.json +5 -0
- package/data/project-types/ho/household-budget/versions/1.0.4/manifest.json +164 -0
- package/data/project-types/ho/household-budget/versions/1.0.4/mission.md +5 -0
- package/data/project-types/ho/household-budget/versions/1.0.4/pages/dashboard/index.html +340 -0
- package/data/project-types/ho/household-manual/manifest.json +1 -1
- package/data/project-types/ho/household-manual/versions/1.0.3/about.md +7 -0
- package/data/project-types/ho/household-manual/versions/1.0.3/manifest.json +153 -0
- package/data/project-types/ho/household-manual/versions/1.0.3/mission.md +8 -0
- package/data/project-types/ho/household-manual/versions/1.0.3/pages/dashboard/index.html +258 -0
- package/data/project-types/ho/household-manual/versions/1.0.3/systems.json +8 -0
- package/data/project-types/im/image-feed/art.json +1 -1
- package/data/project-types/im/image-feed/manifest.json +1 -1
- package/data/project-types/im/image-feed/versions/1.0.2/about.md +21 -0
- package/data/project-types/im/image-feed/versions/1.0.2/manifest.json +330 -0
- package/data/project-types/im/image-feed/versions/1.0.2/mission.md +10 -0
- package/data/project-types/im/image-feed/versions/1.0.2/pages/gallery/index.html +830 -0
- package/data/project-types/im/image-feed/versions/1.0.2/posts/index.json +4 -0
- package/data/project-types/im/image-feed/versions/1.0.2/style-guide.md +24 -0
- package/data/project-types/index.json +1 -1
- package/data/project-types/jo/job-hunt/versions/1.0.4/about.md +10 -0
- package/data/project-types/jo/job-hunt/versions/1.0.4/activity.json +4 -0
- package/data/project-types/jo/job-hunt/versions/1.0.4/manifest.json +212 -0
- package/data/project-types/jo/job-hunt/versions/1.0.4/mission.md +9 -0
- package/data/project-types/jo/job-hunt/versions/1.0.4/pages/dashboard/index.html +430 -0
- package/data/project-types/jo/job-hunt/versions/1.0.4/pipeline.json +6 -0
- package/data/project-types/li/life-binder/manifest.json +1 -1
- package/data/project-types/li/life-binder/versions/1.0.4/about.md +7 -0
- package/data/project-types/li/life-binder/versions/1.0.4/documents.json +145 -0
- package/data/project-types/li/life-binder/versions/1.0.4/manifest.json +138 -0
- package/data/project-types/li/life-binder/versions/1.0.4/mission.md +6 -0
- package/data/project-types/li/life-binder/versions/1.0.4/pages/dashboard/index.html +248 -0
- package/data/project-types/me/meal-planner/manifest.json +1 -1
- package/data/project-types/me/meal-planner/versions/1.0.3/about.md +6 -0
- package/data/project-types/me/meal-planner/versions/1.0.3/manifest.json +160 -0
- package/data/project-types/me/meal-planner/versions/1.0.3/menu.json +5 -0
- package/data/project-types/me/meal-planner/versions/1.0.3/mission.md +5 -0
- package/data/project-types/me/meal-planner/versions/1.0.3/pages/dashboard/index.html +248 -0
- package/data/project-types/me/meal-planner/versions/1.0.3/pantry.json +9 -0
- package/data/project-types/no/novel-writing-room/manifest.json +1 -1
- package/data/project-types/no/novel-writing-room/versions/1.0.3/about.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.3/chapters.json +10 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.3/manifest.json +158 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.3/mission.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.3/pages/dashboard/index.html +264 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.3/sessions.json +6 -0
- package/data/project-types/raw-index.json +1 -1
- package/data/project-types/so/social-feed/art.json +1 -1
- package/data/project-types/so/social-feed/manifest.json +1 -1
- package/data/project-types/so/social-feed/versions/1.0.3/about.md +19 -0
- package/data/project-types/so/social-feed/versions/1.0.3/manifest.json +348 -0
- package/data/project-types/so/social-feed/versions/1.0.3/mission.md +10 -0
- package/data/project-types/so/social-feed/versions/1.0.3/pages/dashboard/index.html +754 -0
- package/data/project-types/so/social-feed/versions/1.0.3/posts/index.json +4 -0
- package/data/project-types/so/social-feed/versions/1.0.3/voice-guide.md +22 -0
- package/data/project-types/so/software-project/art.json +1 -1
- package/data/project-types/so/software-project/manifest.json +1 -1
- package/data/project-types/so/software-project/versions/1.0.1/about.md +3 -0
- package/data/project-types/so/software-project/versions/1.0.1/manifest.json +41 -0
- package/data/project-types/so/software-project/versions/1.0.1/mission.md +4 -0
- package/data/project-types/tr/trip-planner/manifest.json +1 -1
- package/data/project-types/tr/trip-planner/versions/1.0.4/about.md +7 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/journal.json +4 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/manifest.json +226 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/mission.md +4 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/packing.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/pages/dashboard/index.html +368 -0
- package/data/project-types/tr/trip-planner/versions/1.0.4/trip.json +8 -0
- package/data/project-types/wo/word-clues/manifest.json +1 -1
- package/data/project-types/wo/word-clues/versions/1.0.2/about.md +7 -0
- package/data/project-types/wo/word-clues/versions/1.0.2/game.json +14 -0
- package/data/project-types/wo/word-clues/versions/1.0.2/manifest.json +205 -0
- package/data/project-types/wo/word-clues/versions/1.0.2/mission.md +3 -0
- package/data/project-types/wo/word-clues/versions/1.0.2/pages/board/index.html +399 -0
- package/data/project-types/wo/word-clues/versions/1.0.2/words.json +216 -0
- package/package.json +1 -1
- package/schemas/craftbook-doc.schema.json +26 -0
- package/schemas/craftbook-template-version.schema.json +26 -0
- package/schemas/craftbook-test.schema.json +1 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "Expand/contract data migration with no record stranded",
|
|
4
|
+
"objective": "The craftbook drives an expand/contract migration of a JSON user store from a flat name field to a nested profile shape: a plan grounded in the real files, accessors changed at their real sites with the suite green between stages, the data transformed with every value surviving exactly, and the old shape fully retired - verified mechanically, including a pure-nested-record probe proving the dual-read did not linger.",
|
|
5
|
+
"tags": [
|
|
6
|
+
"code",
|
|
7
|
+
"schema-migration",
|
|
8
|
+
"expand-contract",
|
|
9
|
+
"tactical-fleet"
|
|
10
|
+
],
|
|
11
|
+
"prompt": "Use the Schema / Type Migration craftbook for this: migrate our user records from the flat name field to the nested profile shape described in source/migration-brief.md. No record may be lost, the accessors in src/users.js must keep working at every stage, and when it is done nothing may read the flat field any more.",
|
|
12
|
+
"setup": {
|
|
13
|
+
"projectName": "Crew Roster",
|
|
14
|
+
"about": "A tiny user-roster module backed by a JSON data file. Tests run with `npm run test` (node --test).",
|
|
15
|
+
"files": [
|
|
16
|
+
{
|
|
17
|
+
"path": "package.json",
|
|
18
|
+
"content": "{\n \"name\": \"crew-roster\",\n \"private\": true,\n \"version\": \"1.0.0\",\n \"type\": \"module\",\n \"scripts\": {\n \"test\": \"node --test\"\n }\n}\n"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "data/users.json",
|
|
22
|
+
"content": "[\n { \"id\": 1, \"name\": \"Ada Lovelace\", \"email\": \"ada@example.com\" },\n { \"id\": 2, \"name\": \"Grace Hopper\", \"email\": \"grace@example.com\" },\n { \"id\": 3, \"name\": \"Annie Easley\", \"email\": \"annie@example.com\" }\n]\n"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "src/users.js",
|
|
26
|
+
"content": "import { readFileSync } from 'node:fs';\n\nconst DB_URL = new URL('../data/users.json', import.meta.url);\n\nexport function loadUsers() {\n return JSON.parse(readFileSync(DB_URL, 'utf8'));\n}\n\nexport function fullName(user) {\n return user.name;\n}\n\nexport function byFullName(users, wanted) {\n return users.find((user) => user.name === wanted);\n}\n"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"path": "tests/users.test.mjs",
|
|
30
|
+
"content": "import assert from 'node:assert/strict';\nimport { test } from 'node:test';\nimport { byFullName, fullName, loadUsers } from '../src/users.js';\n\ntest('loads every user record', () => {\n assert.equal(loadUsers().length, 3);\n});\n\ntest('fullName renders the display name', () => {\n assert.deepEqual(loadUsers().map(fullName), [\n 'Ada Lovelace',\n 'Grace Hopper',\n 'Annie Easley',\n ]);\n});\n\ntest('byFullName finds a user by display name', () => {\n assert.equal(byFullName(loadUsers(), 'Grace Hopper').email, 'grace@example.com');\n});\n"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "source/migration-brief.md",
|
|
34
|
+
"content": "# Migration brief: nested profile shape\n\nWe sort and filter by last name now, so the flat `name` field has to go.\n\nCurrent record shape in `data/users.json`:\n\n { \"id\": 1, \"name\": \"Ada Lovelace\", \"email\": \"ada@example.com\" }\n\nTarget record shape:\n\n { \"id\": 1, \"profile\": { \"first\": \"Ada\", \"last\": \"Lovelace\" }, \"email\": \"ada@example.com\" }\n\nRules:\n\n- Every existing record must survive the migration exactly - same people, same\n emails, names split on the single space between first and last name.\n- The accessors in `src/users.js` must keep working for their callers at every\n stage: `fullName` and `byFullName` keep returning the same display names as\n today.\n- When the migration is done, nothing reads the flat `name` field any more.\n"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "tests/verify-migration.mjs",
|
|
38
|
+
"content": "import assert from 'node:assert/strict';\nimport { execFileSync } from 'node:child_process';\nimport { readFileSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { pathToFileURL } from 'node:url';\n\nconst root = process.cwd();\n\n// 1) The data moved to the target shape with no record stranded.\nconst records = JSON.parse(readFileSync(join(root, 'data/users.json'), 'utf8'));\nassert.ok(Array.isArray(records), 'data/users.json must stay a JSON array');\nassert.equal(records.length, 3, 'all three records must survive the migration');\nconst expected = new Map([\n ['ada@example.com', ['Ada', 'Lovelace']],\n ['grace@example.com', ['Grace', 'Hopper']],\n ['annie@example.com', ['Annie', 'Easley']],\n]);\nfor (const record of records) {\n assert.ok(record && typeof record === 'object', 'each record must stay an object');\n assert.ok(!('name' in record), `record ${record.id} still carries the flat name field`);\n const want = expected.get(record.email);\n assert.ok(want, `record ${record.id} lost or changed its email`);\n assert.equal(record.profile?.first, want[0], `record ${record.id} must keep its first name exactly`);\n assert.equal(record.profile?.last, want[1], `record ${record.id} must keep its last name exactly`);\n}\nconsole.log('SCHEMAMIG_ORACLE data intact');\n\n// 2) The accessors read the new shape - a pure nested record, no flat fallback.\nconst users = await import(pathToFileURL(join(root, 'src/users.js')).href);\nassert.equal(\n users.fullName({ profile: { first: 'Test', last: 'User' } }),\n 'Test User',\n 'fullName must read profile.first and profile.last',\n);\nassert.equal(\n users.byFullName([{ profile: { first: 'Grace', last: 'Hopper' }, email: 'x' }], 'Grace Hopper')?.email,\n 'x',\n 'byFullName must match display names on the new shape',\n);\nconsole.log('SCHEMAMIG_ORACLE accessors migrated');\n\n// 3) Contract landed: no flat-shape read remains in the accessor module.\nconst accessorSource = readFileSync(join(root, 'src/users.js'), 'utf8');\nassert.ok(\n !/\\.name\\b|\\[[\"']name[\"']\\]/.test(accessorSource),\n 'src/users.js still reads the flat name field',\n);\nconsole.log('SCHEMAMIG_ORACLE contract complete');\n\n// 4) The suite is green on the migrated tree, and the seeded test file survives.\nreadFileSync(join(root, 'tests/users.test.mjs'));\nfunction runSuite(cwd) {\n try {\n execFileSync(process.execPath, ['--test'], { cwd, stdio: 'pipe', timeout: 30000 });\n return 0;\n } catch (err) {\n return typeof err.status === 'number' ? err.status : 1;\n }\n}\nassert.equal(runSuite(root), 0, 'the suite must be green after the migration');\nconsole.log('SCHEMAMIG_ORACLE suite green');\nconsole.log('SCHEMAMIG_ORACLE done');\n",
|
|
39
|
+
"surface": "harness"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"craftbookParams": {
|
|
43
|
+
"scope": "Migrate data/users.json and src/users.js from the flat name field to profile.first/profile.last per source/migration-brief.md, with no record loss and reads working at every stage."
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"mocks": [],
|
|
47
|
+
"success": {
|
|
48
|
+
"summary": "Every record reaches the nested profile shape with its values intact, the accessors read the new shape with the dual-read retired, the flat field is gone from data and code, the suite is green, and every fleet artifact exists with honest receipts.",
|
|
49
|
+
"deliverables": [
|
|
50
|
+
{
|
|
51
|
+
"path": "{{task.dir}}/migration-plan.md",
|
|
52
|
+
"kind": "markdown-notes",
|
|
53
|
+
"artifact": true,
|
|
54
|
+
"minBytes": 700,
|
|
55
|
+
"checks": [
|
|
56
|
+
{
|
|
57
|
+
"kind": "contains",
|
|
58
|
+
"file": "{{task.dir}}/migration-plan.md",
|
|
59
|
+
"pattern": "^##\\s+Current shape[\\s\\S]*^##\\s+Target shape[\\s\\S]*^##\\s+Stages[\\s\\S]*^##\\s+Data safety[\\s\\S]*^##\\s+Rollback per stage",
|
|
60
|
+
"flags": "im",
|
|
61
|
+
"label": "plan sections in order"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "contains",
|
|
65
|
+
"file": "{{task.dir}}/migration-plan.md",
|
|
66
|
+
"pattern": "data/users\\.json",
|
|
67
|
+
"label": "names the real data file"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "citationsResolve",
|
|
71
|
+
"file": "{{task.dir}}/migration-plan.md",
|
|
72
|
+
"minCitations": 2,
|
|
73
|
+
"artifact": true
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "{{task.dir}}/change-notes.md",
|
|
79
|
+
"kind": "markdown-notes",
|
|
80
|
+
"artifact": true,
|
|
81
|
+
"minBytes": 700,
|
|
82
|
+
"checks": [
|
|
83
|
+
{
|
|
84
|
+
"kind": "contains",
|
|
85
|
+
"file": "{{task.dir}}/change-notes.md",
|
|
86
|
+
"pattern": "^##\\s+Stages executed[\\s\\S]*^##\\s+Files touched[\\s\\S]*^##\\s+Data transformed[\\s\\S]*^##\\s+Deviations",
|
|
87
|
+
"flags": "im",
|
|
88
|
+
"label": "change-notes sections in order"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "citationsResolve",
|
|
92
|
+
"file": "{{task.dir}}/change-notes.md",
|
|
93
|
+
"minCitations": 2,
|
|
94
|
+
"artifact": true
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "{{task.dir}}/verification.md",
|
|
100
|
+
"kind": "markdown-notes",
|
|
101
|
+
"artifact": true,
|
|
102
|
+
"minBytes": 500,
|
|
103
|
+
"checks": [
|
|
104
|
+
{
|
|
105
|
+
"kind": "contains",
|
|
106
|
+
"file": "{{task.dir}}/verification.md",
|
|
107
|
+
"pattern": "^##\\s+Old shape check[\\s\\S]*^##\\s+Data integrity[\\s\\S]*^##\\s+Suite[\\s\\S]*^##\\s+Result",
|
|
108
|
+
"flags": "im",
|
|
109
|
+
"label": "verification sections in order"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "{{task.dir}}/review.md",
|
|
115
|
+
"kind": "markdown-report",
|
|
116
|
+
"artifact": true,
|
|
117
|
+
"minBytes": 400,
|
|
118
|
+
"checks": [
|
|
119
|
+
{
|
|
120
|
+
"kind": "contains",
|
|
121
|
+
"file": "{{task.dir}}/review.md",
|
|
122
|
+
"pattern": "Verdict:\\s*(?:PASS|REVISE)",
|
|
123
|
+
"flags": "i",
|
|
124
|
+
"label": "explicit reviewer verdict"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"checks": [
|
|
130
|
+
{
|
|
131
|
+
"kind": "notContains",
|
|
132
|
+
"file": "data/users.json",
|
|
133
|
+
"pattern": "\"name\"\\s*:",
|
|
134
|
+
"label": "the flat name field is gone from the data"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"kind": "notContains",
|
|
138
|
+
"file": "src/users.js",
|
|
139
|
+
"pattern": "\\.name\\b|\\[[\"']name[\"']\\]",
|
|
140
|
+
"label": "no flat-shape read remains in the accessors"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "sourceParses",
|
|
144
|
+
"file": "src/users.js"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "sniff",
|
|
148
|
+
"file": "data/users.json",
|
|
149
|
+
"sniff": "json-valid"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "nodeRuns",
|
|
153
|
+
"file": "tests/users.test.mjs"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "nodeScriptPasses",
|
|
157
|
+
"script": "tests/verify-migration.mjs",
|
|
158
|
+
"timeoutMs": 60000,
|
|
159
|
+
"requiredOutput": [
|
|
160
|
+
{
|
|
161
|
+
"pattern": "SCHEMAMIG_ORACLE data intact",
|
|
162
|
+
"label": "every record migrated with values intact"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"pattern": "SCHEMAMIG_ORACLE accessors migrated",
|
|
166
|
+
"label": "accessors read the new shape"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"pattern": "SCHEMAMIG_ORACLE contract complete",
|
|
170
|
+
"label": "the dual-read retired with the old shape"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"pattern": "SCHEMAMIG_ORACLE suite green",
|
|
174
|
+
"label": "suite green on the migrated tree"
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"taskNotes": {
|
|
180
|
+
"minBytes": 120,
|
|
181
|
+
"checks": [
|
|
182
|
+
{
|
|
183
|
+
"kind": "contains",
|
|
184
|
+
"file": "task-notes.md",
|
|
185
|
+
"pattern": "\\bDONE\\b[\\s\\S]*(npm\\s+run\\s+test|node\\s+--test)",
|
|
186
|
+
"flags": "i",
|
|
187
|
+
"label": "DONE note names the real test command"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"taskGraph": {
|
|
192
|
+
"requireCraftbookTask": true,
|
|
193
|
+
"requireTerminalStep": true
|
|
194
|
+
},
|
|
195
|
+
"unchangedFixtures": [
|
|
196
|
+
"source/migration-brief.md",
|
|
197
|
+
"package.json"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"rubric": {
|
|
201
|
+
"artifact": {
|
|
202
|
+
"path": "{{task.dir}}/change-notes.md",
|
|
203
|
+
"kind": "markdown"
|
|
204
|
+
},
|
|
205
|
+
"axes": [
|
|
206
|
+
{
|
|
207
|
+
"name": "Expand/contract discipline",
|
|
208
|
+
"description": "The stages genuinely followed expand, migrate, contract in order - readers accepted both shapes while the data moved, and the old shape was dropped only after the transform completed with a green suite."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "Data preservation",
|
|
212
|
+
"description": "The transform is real and lossless: every record reached the target shape with names and emails surviving exactly, proven by counts and spot-checks rather than asserted."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "Honest verification",
|
|
216
|
+
"description": "Verification searched for leftover old-shape reads, quoted what it found, ran the real suite, and labeled anything unrun as unverified instead of claiming it."
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"qualityFocus": [
|
|
221
|
+
"expand/contract data safety",
|
|
222
|
+
"no record stranded",
|
|
223
|
+
"real-site accessor changes"
|
|
224
|
+
]
|
|
225
|
+
}
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "ship",
|
|
3
|
+
"name": "Ship",
|
|
4
|
+
"description": "End-to-end release procedure for an already-published feature branch. Six normal\nsteps + one halt step the branches divert to on failure:\n\n1. **Preflight** — verify branch, clean tree, upstream, and commit scope\n2. **Run tests** — project's primary test command\n3. **Self-review pass** — last walk through the published diff\n4. **Open PR** — create the PR from the published branch\n5. **Wait for CI** — poll until green or failure\n6. **Summary** — final DONE\n7. **Halt** (branched target) — DONE_WITH_CONCERNS on any failure\n\nThe branches are the load-bearing piece. If tests fail, PR creation fails,\nCI fails, or the poll times out, the recipe routes to `halt` rather than\nblasting through. The upstream procedure encoded that safety property in\nimperative if/else; the craftbook schema makes it explicit.\n\nScripts:\n- `run-tests.ts` — wraps `run_package_script` with the right test command\n- `open-pr.ts` — calls `github_pr_create` for the already-published branch\n- `wait-checks.ts` — polls `github_check_status` until settled\n\n## Applicability\n\nThe craftbook declares two manifest-level `requirements` so the launcher\nand command registry only offer it where it can actually run:\n\n- **github** — the project must be connected to a GitHub repo (the\n `open-pr` and `wait-checks` scripts call `github_pr_create` /\n `github_check_status` directly; without a connected repo they cannot\n create or observe the pull request).\n- **non-main-branch** — the project's checkout must be on a branch\n other than `main` / `master`. Preflight re-checks this snapshot, requires\n a clean tree and an existing upstream, and stops instead of inventing a\n push capability when the branch has not yet been published.\n\nRequires the github toolset configured. Both gates evaluate via\n`unmetCraftbookRequirements` in `@bendyline/gezel` and are surfaced\nthrough `/api/projects/:id/craftbooks` so the Commands panel hides the\ncraftbook in projects that do not qualify rather than letting the user\nlaunch it and watch PR creation fail.\n",
|
|
5
|
+
"basedOn": {
|
|
6
|
+
"name": "gstack",
|
|
7
|
+
"url": "https://github.com/garrytan/gstack"
|
|
8
|
+
},
|
|
9
|
+
"entryStepId": "preflight",
|
|
10
|
+
"triggers": [
|
|
11
|
+
"ship this",
|
|
12
|
+
"ship it",
|
|
13
|
+
"open a pr",
|
|
14
|
+
"open the pr",
|
|
15
|
+
"release this"
|
|
16
|
+
],
|
|
17
|
+
"requirements": [
|
|
18
|
+
{
|
|
19
|
+
"kind": "github"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"kind": "non-main-branch"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"commands": [
|
|
26
|
+
{
|
|
27
|
+
"scope": "script",
|
|
28
|
+
"name": "test",
|
|
29
|
+
"reason": "The release runs the project's tests before it commits, pushes and opens the pull request; a red or unrun suite stops the ship."
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"paramSchema": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"branch": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"title": "Published source branch",
|
|
38
|
+
"description": "Exact non-main branch to ship. It must already exist on the connected GitHub remote; preflight verifies the checkout and upstream before any PR is created."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"branch"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"steps": [
|
|
46
|
+
{
|
|
47
|
+
"id": "preflight",
|
|
48
|
+
"name": "Preflight",
|
|
49
|
+
"description": "Confirm the working tree is shippable: the checked-out branch matches the requested branch, has an upstream, is clean, and contains the intended commits.",
|
|
50
|
+
"prompt": "Before creating a pull request, verify the exact state with read-only repository tools:\n\n1. Call `run_git({ subcommand: \"status\", args: [\"--short\", \"--branch\"] })` and confirm the checked-out branch is exactly `{{branch}}`, is not `main`/`master`, and has no uncommitted changes.\n2. Call `run_git({ subcommand: \"rev-parse\", args: [\"--abbrev-ref\", \"--symbolic-full-name\", \"@{upstream}\"] })` to prove the branch is already published. This craftbook creates a PR but does not push.\n3. Call `run_git({ subcommand: \"log\", args: [\"-n\", \"10\", \"--oneline\", \"--decorate\"] })` and confirm the recent commits match the intended scope.\n\nIf the branch is wrong, dirty, on trunk, missing an upstream, or contains unexpected commits, write the exact blocker to task notes and report DONE_WITH_CONCERNS without advancing. Otherwise write the verified branch, upstream, clean status, ahead/behind state, and commit scope to task notes, then advance.",
|
|
51
|
+
"suggestedRole": "developer",
|
|
52
|
+
"toolPolicy": {
|
|
53
|
+
"disallowBuiltinToolsets": [
|
|
54
|
+
"ai-apps",
|
|
55
|
+
"archives",
|
|
56
|
+
"artifacts",
|
|
57
|
+
"audio",
|
|
58
|
+
"browser-automation",
|
|
59
|
+
"code-execution",
|
|
60
|
+
"craftbooks",
|
|
61
|
+
"data-tables",
|
|
62
|
+
"entity-intel",
|
|
63
|
+
"image-intel",
|
|
64
|
+
"images",
|
|
65
|
+
"role-delegation",
|
|
66
|
+
"role-delegation-escalation",
|
|
67
|
+
"security-intel",
|
|
68
|
+
"team-management",
|
|
69
|
+
"videos",
|
|
70
|
+
"web",
|
|
71
|
+
"workspace-fs-write"
|
|
72
|
+
],
|
|
73
|
+
"outputMedium": "task-note"
|
|
74
|
+
},
|
|
75
|
+
"next": "run-tests"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "run-tests",
|
|
79
|
+
"name": "Run tests",
|
|
80
|
+
"description": "Run the project's test command. Branches on failure to a triage step; on success advances to the review pass.",
|
|
81
|
+
"prompt": "Advance this step to execute its `run-tests` on-exit script exactly once. The script picks the project's primary test command and returns `{ passed: boolean, summary: string }`; the task routes automatically to self-review on success or to the halt step on failure. Do not call the script manually. If the task routes to halt, report DONE_WITH_CONCERNS with the recorded test failure and let the user fix it before re-running the craftbook.",
|
|
82
|
+
"suggestedRole": "developer",
|
|
83
|
+
"toolPolicy": {
|
|
84
|
+
"disallowBuiltinToolsets": [
|
|
85
|
+
"ai-apps",
|
|
86
|
+
"archives",
|
|
87
|
+
"artifacts",
|
|
88
|
+
"audio",
|
|
89
|
+
"browser-automation",
|
|
90
|
+
"craftbooks",
|
|
91
|
+
"data-tables",
|
|
92
|
+
"entity-intel",
|
|
93
|
+
"git",
|
|
94
|
+
"image-intel",
|
|
95
|
+
"images",
|
|
96
|
+
"role-delegation",
|
|
97
|
+
"role-delegation-escalation",
|
|
98
|
+
"security-intel",
|
|
99
|
+
"team-management",
|
|
100
|
+
"videos",
|
|
101
|
+
"web",
|
|
102
|
+
"workspace-fs-write"
|
|
103
|
+
],
|
|
104
|
+
"outputMedium": "task-note"
|
|
105
|
+
},
|
|
106
|
+
"onExit": {
|
|
107
|
+
"name": "run-tests",
|
|
108
|
+
"autoAdvanceWhen": {
|
|
109
|
+
"op": "equals",
|
|
110
|
+
"field": "passed",
|
|
111
|
+
"value": true
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"next": "review-pass",
|
|
115
|
+
"branches": [
|
|
116
|
+
{
|
|
117
|
+
"when": {
|
|
118
|
+
"op": "equals",
|
|
119
|
+
"field": "passed",
|
|
120
|
+
"value": false
|
|
121
|
+
},
|
|
122
|
+
"goto": "halt"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"when": {
|
|
126
|
+
"op": "exists",
|
|
127
|
+
"field": "passed",
|
|
128
|
+
"negate": true
|
|
129
|
+
},
|
|
130
|
+
"goto": "halt"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "review-pass",
|
|
136
|
+
"name": "Self-review pass",
|
|
137
|
+
"description": "Walk your own diff before opening the PR. Last chance to catch obvious mistakes.",
|
|
138
|
+
"prompt": "Call `run_git({ subcommand: \"diff\", args: [\"@{upstream}...\"] })` and review the exact change set that will enter the pull request. Look for:\n\n- Debug prints or console logging left in\n- Commented-out code\n- Filenames that do not match the intended rename\n- Tests or migrations missing from the published branch\n- Changes outside the stated scope\n\nIf anything is wrong, write the concrete findings to task notes and report DONE_WITH_CONCERNS without advancing; the user must correct, commit, and publish the branch before rerunning. If the diff is clean, record that verdict in task notes and advance.",
|
|
139
|
+
"suggestedRole": "reviewer",
|
|
140
|
+
"toolPolicy": {
|
|
141
|
+
"disallowBuiltinToolsets": [
|
|
142
|
+
"ai-apps",
|
|
143
|
+
"archives",
|
|
144
|
+
"artifacts",
|
|
145
|
+
"audio",
|
|
146
|
+
"browser-automation",
|
|
147
|
+
"code-execution",
|
|
148
|
+
"craftbooks",
|
|
149
|
+
"data-tables",
|
|
150
|
+
"entity-intel",
|
|
151
|
+
"image-intel",
|
|
152
|
+
"images",
|
|
153
|
+
"role-delegation",
|
|
154
|
+
"role-delegation-escalation",
|
|
155
|
+
"security-intel",
|
|
156
|
+
"team-management",
|
|
157
|
+
"videos",
|
|
158
|
+
"web",
|
|
159
|
+
"workspace-fs-write"
|
|
160
|
+
],
|
|
161
|
+
"outputMedium": "task-note"
|
|
162
|
+
},
|
|
163
|
+
"next": "open-pr"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "open-pr",
|
|
167
|
+
"name": "Open PR",
|
|
168
|
+
"description": "Open a pull request for the already-published branch.",
|
|
169
|
+
"prompt": "Advance this step to execute its `open-pr` on-exit script exactly once for the verified `{{branch}}` branch. The script calls `github_pr_create`; it does not push. The task advances only when the script returns a PR URL and otherwise routes to the halt step. Do not call the script manually or retry a failed creation blindly.",
|
|
170
|
+
"suggestedRole": "developer",
|
|
171
|
+
"toolPolicy": {
|
|
172
|
+
"disallowBuiltinToolsets": [
|
|
173
|
+
"ai-apps",
|
|
174
|
+
"archives",
|
|
175
|
+
"artifacts",
|
|
176
|
+
"audio",
|
|
177
|
+
"browser-automation",
|
|
178
|
+
"craftbooks",
|
|
179
|
+
"data-tables",
|
|
180
|
+
"entity-intel",
|
|
181
|
+
"image-intel",
|
|
182
|
+
"images",
|
|
183
|
+
"role-delegation",
|
|
184
|
+
"role-delegation-escalation",
|
|
185
|
+
"security-intel",
|
|
186
|
+
"team-management",
|
|
187
|
+
"videos",
|
|
188
|
+
"web",
|
|
189
|
+
"workspace-fs-write"
|
|
190
|
+
],
|
|
191
|
+
"outputMedium": "none"
|
|
192
|
+
},
|
|
193
|
+
"onExit": {
|
|
194
|
+
"name": "open-pr",
|
|
195
|
+
"inputs": {
|
|
196
|
+
"head": "{{branch}}"
|
|
197
|
+
},
|
|
198
|
+
"autoAdvanceWhen": {
|
|
199
|
+
"op": "exists",
|
|
200
|
+
"field": "url"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"next": "wait-checks",
|
|
204
|
+
"branches": [
|
|
205
|
+
{
|
|
206
|
+
"when": {
|
|
207
|
+
"op": "exists",
|
|
208
|
+
"field": "url",
|
|
209
|
+
"negate": true
|
|
210
|
+
},
|
|
211
|
+
"goto": "halt"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "wait-checks",
|
|
217
|
+
"name": "Wait for CI",
|
|
218
|
+
"description": "Poll workflow runs / check status until the gate is green or fails.",
|
|
219
|
+
"prompt": "Advance this step to execute its `wait-checks` on-exit script exactly once for `{{branch}}` with the default ten-minute timeout. It polls `github_check_status` until the state settles. Do not call the script manually. The task routes automatically to summary on success and to halt on failure, timeout, or a missing result.",
|
|
220
|
+
"suggestedRole": "developer",
|
|
221
|
+
"toolPolicy": {
|
|
222
|
+
"disallowBuiltinToolsets": [
|
|
223
|
+
"ai-apps",
|
|
224
|
+
"archives",
|
|
225
|
+
"artifacts",
|
|
226
|
+
"audio",
|
|
227
|
+
"browser-automation",
|
|
228
|
+
"craftbooks",
|
|
229
|
+
"data-tables",
|
|
230
|
+
"entity-intel",
|
|
231
|
+
"image-intel",
|
|
232
|
+
"images",
|
|
233
|
+
"role-delegation",
|
|
234
|
+
"role-delegation-escalation",
|
|
235
|
+
"security-intel",
|
|
236
|
+
"team-management",
|
|
237
|
+
"videos",
|
|
238
|
+
"web",
|
|
239
|
+
"workspace-fs-write"
|
|
240
|
+
],
|
|
241
|
+
"outputMedium": "task-note"
|
|
242
|
+
},
|
|
243
|
+
"onExit": {
|
|
244
|
+
"name": "wait-checks",
|
|
245
|
+
"inputs": {
|
|
246
|
+
"ref": "{{branch}}"
|
|
247
|
+
},
|
|
248
|
+
"autoAdvanceWhen": {
|
|
249
|
+
"op": "equals",
|
|
250
|
+
"field": "state",
|
|
251
|
+
"value": "success"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"next": "summary",
|
|
255
|
+
"branches": [
|
|
256
|
+
{
|
|
257
|
+
"when": {
|
|
258
|
+
"op": "equals",
|
|
259
|
+
"field": "state",
|
|
260
|
+
"value": "failure"
|
|
261
|
+
},
|
|
262
|
+
"goto": "halt"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"when": {
|
|
266
|
+
"op": "equals",
|
|
267
|
+
"field": "state",
|
|
268
|
+
"value": "timeout"
|
|
269
|
+
},
|
|
270
|
+
"goto": "halt"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"when": {
|
|
274
|
+
"op": "exists",
|
|
275
|
+
"field": "state",
|
|
276
|
+
"negate": true
|
|
277
|
+
},
|
|
278
|
+
"goto": "halt"
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "summary",
|
|
284
|
+
"name": "Summary",
|
|
285
|
+
"description": "Stamp a final summary. PR opened, CI green, ready to merge.",
|
|
286
|
+
"prompt": "Write a one-paragraph DONE summary: PR number, URL, scope (one line), test result, CI verdict. Save to task notes. Report DONE.",
|
|
287
|
+
"suggestedRole": "developer",
|
|
288
|
+
"toolPolicy": {
|
|
289
|
+
"disallowBuiltinToolsets": [
|
|
290
|
+
"ai-apps",
|
|
291
|
+
"archives",
|
|
292
|
+
"artifacts",
|
|
293
|
+
"audio",
|
|
294
|
+
"browser-automation",
|
|
295
|
+
"code-execution",
|
|
296
|
+
"craftbooks",
|
|
297
|
+
"data-tables",
|
|
298
|
+
"entity-intel",
|
|
299
|
+
"image-intel",
|
|
300
|
+
"images",
|
|
301
|
+
"role-delegation",
|
|
302
|
+
"role-delegation-escalation",
|
|
303
|
+
"security-intel",
|
|
304
|
+
"team-management",
|
|
305
|
+
"videos",
|
|
306
|
+
"web",
|
|
307
|
+
"workspace-fs-write"
|
|
308
|
+
],
|
|
309
|
+
"outputMedium": "none"
|
|
310
|
+
},
|
|
311
|
+
"terminal": true
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "halt",
|
|
315
|
+
"name": "Halted",
|
|
316
|
+
"description": "Something blocked the ship — tests, CI, or push. Report DONE_WITH_CONCERNS.",
|
|
317
|
+
"prompt": "Report DONE_WITH_CONCERNS with the specific failure surfaced upstream. Do not retry, do not push past — the user needs to see this and decide.",
|
|
318
|
+
"suggestedRole": "developer",
|
|
319
|
+
"toolPolicy": {
|
|
320
|
+
"disallowBuiltinToolsets": [
|
|
321
|
+
"ai-apps",
|
|
322
|
+
"archives",
|
|
323
|
+
"artifacts",
|
|
324
|
+
"audio",
|
|
325
|
+
"browser-automation",
|
|
326
|
+
"code-execution",
|
|
327
|
+
"craftbooks",
|
|
328
|
+
"data-tables",
|
|
329
|
+
"entity-intel",
|
|
330
|
+
"git",
|
|
331
|
+
"image-intel",
|
|
332
|
+
"images",
|
|
333
|
+
"role-delegation",
|
|
334
|
+
"role-delegation-escalation",
|
|
335
|
+
"security-intel",
|
|
336
|
+
"team-management",
|
|
337
|
+
"videos",
|
|
338
|
+
"web",
|
|
339
|
+
"workspace-fs-write"
|
|
340
|
+
],
|
|
341
|
+
"outputMedium": "none"
|
|
342
|
+
},
|
|
343
|
+
"terminal": true
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"scripts": {
|
|
347
|
+
"run-tests": "import { defineScript, gezel } from '@bendyline/gezel-sdk';\n\nexport const meta = defineScript({\n name: 'run-tests',\n description:\n 'Run the project test command via run_package_script. Stamps {passed: boolean, summary: string}.',\n inputs: {\n scriptName: {\n type: 'string',\n description: 'Override the npm script name. Defaults to \"test\".',\n default: 'test',\n },\n },\n outputs: {\n passed: { type: 'boolean', description: 'True iff the test command exited 0.' },\n summary: { type: 'string', description: 'Last ~2KB of stdout/stderr.' },\n },\n requires: ['workspace.read'],\n});\n\ninterface PackageScriptResult {\n exitCode: number;\n stdout?: string;\n stderr?: string;\n}\n\nasync function main(): Promise<void> {\n const input = gezel.input as { scriptName?: string };\n const scriptName = input.scriptName ?? 'test';\n const raw = await gezel.mcp.call('run_package_script', { script: scriptName });\n let parsed: PackageScriptResult | null = null;\n if (typeof raw === 'string') {\n try {\n parsed = JSON.parse(raw) as PackageScriptResult;\n } catch {\n // The MCP tool returns a text blob, not always JSON. We treat\n // \"non-zero exit code\" / \"failed\" / \"FAIL \" markers as failure.\n }\n }\n const text = typeof raw === 'string' ? raw : JSON.stringify(raw);\n const looksFailed =\n parsed?.exitCode !== undefined\n ? parsed.exitCode !== 0\n : /(?:^|\\b)(?:fail|error|exit code [1-9]|✗)\\b/i.test(text);\n const tail = text.length > 2048 ? text.slice(-2048) : text;\n gezel.log(`pnpm ${scriptName}: ${looksFailed ? 'failed' : 'passed'}`);\n gezel.output({ passed: !looksFailed, summary: tail });\n}\n\nawait main();\n",
|
|
348
|
+
"open-pr": "import { defineScript, gezel } from '@bendyline/gezel-sdk';\n\nexport const meta = defineScript({\n name: 'open-pr',\n description:\n 'Open a pull request for the current branch via the GitHub MCP tools. Stamps {number, url} on success.',\n inputs: {\n title: { type: 'string', description: 'PR title. Falls back to a derived placeholder.' },\n body: { type: 'string', description: 'PR body. Markdown.' },\n head: {\n type: 'string',\n description: 'Source branch. Defaults to the current branch (caller must resolve).',\n required: true,\n },\n base: { type: 'string', description: 'Target branch.', default: 'main' },\n draft: { type: 'boolean', description: 'Open as draft.', default: false },\n },\n outputs: {\n number: { type: 'number', description: 'Created PR number.' },\n url: { type: 'string', description: 'PR URL.' },\n },\n requires: ['network'],\n});\n\nasync function main(): Promise<void> {\n const input = gezel.input as {\n title?: string;\n body?: string;\n head: string;\n base?: string;\n draft?: boolean;\n };\n const title = input.title ?? `Ship: ${input.head}`;\n const args: Record<string, unknown> = {\n title,\n head: input.head,\n base: input.base ?? 'main',\n };\n if (input.body) args.body = input.body;\n if (input.draft !== undefined) args.draft = input.draft;\n const raw = await gezel.mcp.call('github_pr_create', args);\n const text = typeof raw === 'string' ? raw : '';\n const m = /Opened PR #(\\d+) — (\\S+)/.exec(text);\n if (!m) {\n throw new Error(`unexpected github_pr_create response: ${text.slice(0, 200)}`);\n }\n gezel.output({ number: Number(m[1]), url: m[2]! });\n}\n\nawait main();\n",
|
|
349
|
+
"wait-checks": "import { defineScript, gezel } from '@bendyline/gezel-sdk';\n\nexport const meta = defineScript({\n name: 'wait-checks',\n description:\n 'Poll github_check_status for a ref until it settles. Returns {state: success|failure|pending|timeout, checks[]}.',\n inputs: {\n ref: { type: 'string', description: 'Branch name or commit sha.', required: true },\n timeoutMs: {\n type: 'number',\n description: 'How long to wait before giving up.',\n default: 600_000,\n integer: true,\n },\n pollIntervalMs: {\n type: 'number',\n description: 'How long between polls.',\n default: 15_000,\n integer: true,\n },\n },\n outputs: {\n state: { type: 'string', description: 'Final state: success / failure / timeout.' },\n checks: { type: 'array', description: 'Per-check breakdown.', itemType: 'object' },\n },\n requires: ['network'],\n});\n\ninterface CheckBlock {\n name: string;\n status: string;\n conclusion: string | null;\n url?: string;\n}\n\nfunction parseChecks(text: string): { state: string; checks: CheckBlock[] } {\n const lines = text.split('\\n');\n const stateLine = lines[0] ?? '';\n const stateMatch = /^State:\\s*(\\w+)/i.exec(stateLine);\n const state = stateMatch?.[1]?.toLowerCase() ?? 'unknown';\n const checks: CheckBlock[] = [];\n for (let i = 1; i < lines.length; i++) {\n const m = /^• (.+?) — (\\S+?)(?:\\s*\\/\\s*(\\S+))?$/.exec(lines[i] ?? '');\n if (!m) continue;\n checks.push({\n name: m[1]!,\n status: m[2]!,\n conclusion: m[3] ?? null,\n });\n }\n return { state, checks };\n}\n\nasync function main(): Promise<void> {\n const input = gezel.input as { ref: string; timeoutMs?: number; pollIntervalMs?: number };\n const deadline = Date.now() + (input.timeoutMs ?? 600_000);\n const poll = input.pollIntervalMs ?? 15_000;\n let lastState = 'unknown';\n let lastChecks: CheckBlock[] = [];\n while (Date.now() < deadline) {\n const raw = await gezel.mcp.call('github_check_status', { ref: input.ref });\n const text = typeof raw === 'string' ? raw : '';\n const parsed = parseChecks(text);\n lastState = parsed.state;\n lastChecks = parsed.checks;\n gezel.log(`checks for ${input.ref}: ${parsed.state} (${parsed.checks.length} check(s))`);\n if (parsed.state === 'success' || parsed.state === 'failure') {\n gezel.output({ state: parsed.state, checks: parsed.checks });\n return;\n }\n await new Promise((r) => setTimeout(r, poll));\n }\n gezel.output({ state: 'timeout', checks: lastChecks });\n}\n\nawait main();\n"
|
|
350
|
+
},
|
|
351
|
+
"version": "1.1.4",
|
|
352
|
+
"releasedAt": "2026-10-27T12:00:00Z"
|
|
353
|
+
}
|