@bendyline/gilde 0.1.55 → 0.1.56

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.
Files changed (185) hide show
  1. package/authoring/chat-models/glm-5.3-flash-320b-q2.json +129 -0
  2. package/authoring/gstack/wave.json +2 -2
  3. package/data/chat-models/gl/glm-5.3-flash-320b-q2/manifest.json +137 -0
  4. package/data/chat-models/gl/glm-5.3-flash-320b-q2/versions/1.0.0/manifest.json +23 -0
  5. package/data/chat-models/index.json +1 -1
  6. package/data/craftbook-templates/a1/a11y-audit/versions/1.1.3/test.json +16 -8
  7. package/data/craftbook-templates/ac/accessibility-retrofit/versions/2.0.2/craftbook.json +618 -0
  8. package/data/craftbook-templates/ac/accessibility-retrofit/versions/2.0.2/test.json +228 -0
  9. package/data/craftbook-templates/al/album-curate/versions/1.0.3/test.json +6 -3
  10. package/data/craftbook-templates/al/alert-rules/versions/1.0.3/test.json +8 -8
  11. package/data/craftbook-templates/an/anniversary-cut/versions/1.0.5/test.json +10 -5
  12. package/data/craftbook-templates/an/annual-document-review/versions/1.0.3/test.json +16 -8
  13. package/data/craftbook-templates/an/anomaly-scan/versions/1.0.3/test.json +12 -6
  14. package/data/craftbook-templates/ap/apply-review-findings/versions/1.0.2/craftbook.json +602 -0
  15. package/data/craftbook-templates/ap/apply-review-findings/versions/1.0.2/test.json +290 -0
  16. package/data/craftbook-templates/ar/artifact-integrity-review/versions/1.0.3/test.json +18 -9
  17. package/data/craftbook-templates/au/audiobook-master-pack/versions/1.0.5/test.json +10 -5
  18. package/data/craftbook-templates/au/auth-flow/versions/1.0.3/test.json +12 -6
  19. package/data/craftbook-templates/au/auth-flow/versions/1.0.4/craftbook.json +282 -0
  20. package/data/craftbook-templates/au/auth-flow/versions/1.0.4/test.json +143 -0
  21. package/data/craftbook-templates/au/automation-recipe/versions/1.0.3/test.json +12 -6
  22. package/data/craftbook-templates/ba/backup-routine/versions/1.0.4/craftbook.json +282 -0
  23. package/data/craftbook-templates/ba/backup-routine/versions/1.0.4/test.json +108 -0
  24. package/data/craftbook-templates/bl/blog-post/versions/1.0.3/test.json +8 -8
  25. package/data/craftbook-templates/br/branding-website/versions/1.1.3/craftbook.json +335 -0
  26. package/data/craftbook-templates/br/branding-website/versions/1.1.3/test.json +164 -0
  27. package/data/craftbook-templates/br/broadcast-announcement/versions/1.0.3/test.json +8 -8
  28. package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.8/craftbook.json +621 -0
  29. package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.8/test.json +376 -0
  30. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.2/craftbook.json +730 -0
  31. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.2/test.json +221 -0
  32. package/data/craftbook-templates/bu/build-loop/versions/1.1.1/test.json +8 -8
  33. package/data/craftbook-templates/ca/case-study/versions/1.0.3/test.json +8 -8
  34. package/data/craftbook-templates/ch/chapter-narration-run/versions/1.0.4/test.json +10 -5
  35. package/data/craftbook-templates/ch/character-turnaround/versions/1.0.3/test.json +25 -11
  36. package/data/craftbook-templates/ci/ci-pipeline/versions/2.0.2/craftbook.json +587 -0
  37. package/data/craftbook-templates/ci/ci-pipeline/versions/2.0.2/test.json +225 -0
  38. package/data/craftbook-templates/ci/citation-audit/versions/1.0.3/test.json +28 -14
  39. package/data/craftbook-templates/cl/cli-tool/versions/1.1.3/test.json +8 -8
  40. package/data/craftbook-templates/co/codebase-refactoring-review/versions/1.0.3/test.json +16 -8
  41. package/data/craftbook-templates/co/codebase-ux-review/versions/1.0.3/test.json +18 -9
  42. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.2/craftbook.json +605 -0
  43. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.2/test.json +252 -0
  44. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.3/test.json +18 -9
  45. package/data/craftbook-templates/co/competitive-analysis/versions/1.0.3/test.json +23 -15
  46. package/data/craftbook-templates/co/content-accuracy-review/versions/1.0.3/test.json +28 -14
  47. package/data/craftbook-templates/co/content-deck/versions/1.2.3/craftbook.json +4 -4
  48. package/data/craftbook-templates/co/content-deck/versions/1.2.3/test.json +3 -0
  49. package/data/craftbook-templates/co/content-deck/versions/1.2.4/craftbook.json +341 -0
  50. package/data/craftbook-templates/co/content-deck/versions/1.2.4/test.json +169 -0
  51. package/data/craftbook-templates/co/copy-review/versions/1.0.3/test.json +14 -7
  52. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.3/craftbook.json +4 -4
  53. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.3/test.json +3 -0
  54. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/craftbook.json +345 -0
  55. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/test.json +187 -0
  56. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.3/test.json +26 -13
  57. package/data/craftbook-templates/co/cover-letter/versions/1.0.3/test.json +8 -8
  58. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.4/test.json +7 -7
  59. package/data/craftbook-templates/da/dashboard-spec/versions/1.0.3/test.json +7 -7
  60. package/data/craftbook-templates/da/data-export-migrate/versions/1.0.4/craftbook.json +285 -0
  61. package/data/craftbook-templates/da/data-export-migrate/versions/1.0.4/test.json +104 -0
  62. package/data/craftbook-templates/da/data-pipeline-etl/versions/1.0.5/craftbook.json +284 -0
  63. package/data/craftbook-templates/da/data-pipeline-etl/versions/1.0.5/test.json +162 -0
  64. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.3/test.json +38 -19
  65. package/data/craftbook-templates/da/data-to-report/versions/1.0.3/test.json +12 -6
  66. package/data/craftbook-templates/db/db-index-tuning/versions/1.0.4/craftbook.json +286 -0
  67. package/data/craftbook-templates/db/db-index-tuning/versions/1.0.4/test.json +104 -0
  68. package/data/craftbook-templates/de/dependency-audit/versions/1.1.3/test.json +14 -7
  69. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.2/craftbook.json +621 -0
  70. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.2/test.json +235 -0
  71. package/data/craftbook-templates/de/design-review/versions/1.0.3/test.json +16 -8
  72. package/data/craftbook-templates/de/design-system-consultation/versions/2.0.8/craftbook.json +616 -0
  73. package/data/craftbook-templates/de/design-system-consultation/versions/2.0.8/test.json +201 -0
  74. package/data/craftbook-templates/do/doc-intake-pipeline/versions/1.0.4/craftbook.json +285 -0
  75. package/data/craftbook-templates/do/doc-intake-pipeline/versions/1.0.4/test.json +104 -0
  76. package/data/craftbook-templates/do/doc-rewrite/versions/1.0.3/test.json +119 -55
  77. package/data/craftbook-templates/do/dockerize-app/versions/1.0.4/craftbook.json +285 -0
  78. package/data/craftbook-templates/do/dockerize-app/versions/1.0.4/test.json +92 -0
  79. package/data/craftbook-templates/do/documentation-drift-review/versions/1.0.3/test.json +18 -9
  80. package/data/craftbook-templates/dr/draft-social-post/versions/1.0.2/craftbook.json +324 -0
  81. package/data/craftbook-templates/dr/draft-social-post/versions/1.0.2/test.json +161 -0
  82. package/data/craftbook-templates/ed/edit-notes/versions/1.0.3/test.json +11 -4
  83. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.8/craftbook.json +566 -0
  84. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.8/test.json +191 -0
  85. package/data/craftbook-templates/ep/episode-plan/versions/1.0.3/test.json +10 -5
  86. package/data/craftbook-templates/ex/executive-level-review/versions/2.0.7/test.json +7 -10
  87. package/data/craftbook-templates/ex/executive-level-review/versions/2.0.8/craftbook.json +595 -0
  88. package/data/craftbook-templates/ex/executive-level-review/versions/2.0.8/test.json +139 -0
  89. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.4/craftbook.json +277 -0
  90. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.4/test.json +104 -0
  91. package/data/craftbook-templates/fe/feature-flag-rollout/versions/1.1.2/craftbook.json +327 -0
  92. package/data/craftbook-templates/fe/feature-flag-rollout/versions/1.1.2/test.json +162 -0
  93. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.2/craftbook.json +718 -0
  94. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.2/test.json +239 -0
  95. package/data/craftbook-templates/fo/form-fill-batch/versions/1.0.4/craftbook.json +285 -0
  96. package/data/craftbook-templates/fo/form-fill-batch/versions/1.0.4/test.json +162 -0
  97. package/data/craftbook-templates/fo/form-wizard/versions/1.0.3/test.json +8 -8
  98. package/data/craftbook-templates/ho/holiday-card-run/versions/1.0.3/test.json +11 -4
  99. package/data/craftbook-templates/ho/hotfix-flow/versions/2.0.2/craftbook.json +610 -0
  100. package/data/craftbook-templates/ho/hotfix-flow/versions/2.0.2/test.json +220 -0
  101. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.3/craftbook.json +343 -0
  102. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.3/test.json +176 -0
  103. package/data/craftbook-templates/id/idea-office-hours/versions/2.0.8/craftbook.json +566 -0
  104. package/data/craftbook-templates/id/idea-office-hours/versions/2.0.8/test.json +141 -0
  105. package/data/craftbook-templates/im/image-set-index/versions/1.2.3/craftbook.json +298 -0
  106. package/data/craftbook-templates/im/image-set-index/versions/1.2.3/test.json +180 -0
  107. package/data/craftbook-templates/in/insurance-inventory/versions/1.0.3/test.json +11 -4
  108. package/data/craftbook-templates/in/interactive-quiz/versions/1.0.3/test.json +48 -23
  109. package/data/craftbook-templates/in/invitation-design/versions/1.0.3/test.json +1 -1
  110. package/data/craftbook-templates/index.json +1 -1
  111. package/data/craftbook-templates/it/item-intake/versions/1.0.3/test.json +11 -4
  112. package/data/craftbook-templates/le/lead-enrichment/versions/1.0.4/craftbook.json +277 -0
  113. package/data/craftbook-templates/le/lead-enrichment/versions/1.0.4/test.json +104 -0
  114. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.3/test.json +16 -8
  115. package/data/craftbook-templates/me/memory-prompt-session/versions/1.0.3/test.json +3 -0
  116. package/data/craftbook-templates/mo/morning-report/versions/1.0.3/test.json +21 -9
  117. package/data/craftbook-templates/of/office-hours/versions/1.1.1/test.json +8 -8
  118. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.2/craftbook.json +697 -0
  119. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.2/test.json +235 -0
  120. package/data/craftbook-templates/pe/pest-diagnosis/versions/1.0.3/test.json +19 -8
  121. package/data/craftbook-templates/pl/plan/versions/1.0.2/test.json +8 -8
  122. package/data/craftbook-templates/pl/playtest-report/versions/1.0.3/test.json +17 -7
  123. package/data/craftbook-templates/pr/practice-exam/versions/1.0.3/test.json +7 -2
  124. package/data/craftbook-templates/pr/practice-session/versions/1.0.3/test.json +11 -4
  125. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.2/craftbook.json +435 -0
  126. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.2/test.json +141 -0
  127. package/data/craftbook-templates/qu/quarterly-summary/versions/1.0.3/test.json +16 -8
  128. package/data/craftbook-templates/re/receipt-intake/versions/1.0.3/test.json +11 -4
  129. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.4/craftbook.json +277 -0
  130. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.4/test.json +104 -0
  131. package/data/craftbook-templates/re/recipe-capture/versions/1.0.3/test.json +13 -5
  132. package/data/craftbook-templates/re/record-a-relative/versions/1.0.3/test.json +3 -0
  133. package/data/craftbook-templates/re/recurring-invoice-run/versions/1.0.4/craftbook.json +285 -0
  134. package/data/craftbook-templates/re/recurring-invoice-run/versions/1.0.4/test.json +104 -0
  135. package/data/craftbook-templates/re/refactor-module/versions/2.0.2/craftbook.json +695 -0
  136. package/data/craftbook-templates/re/refactor-module/versions/2.0.2/test.json +241 -0
  137. package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.4/craftbook.json +361 -0
  138. package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.4/test.json +138 -0
  139. package/data/craftbook-templates/re/release-notes/versions/1.0.4/test.json +8 -8
  140. package/data/craftbook-templates/re/release-notes/versions/1.0.5/craftbook.json +339 -0
  141. package/data/craftbook-templates/re/release-notes/versions/1.0.5/test.json +111 -0
  142. package/data/craftbook-templates/re/reliability-review/versions/1.0.3/test.json +16 -8
  143. package/data/craftbook-templates/re/research-report/versions/1.0.3/test.json +16 -8
  144. package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.8/craftbook.json +596 -0
  145. package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.8/test.json +157 -0
  146. package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.4/test.json +13 -5
  147. package/data/craftbook-templates/sc/schema-migration/versions/2.0.2/craftbook.json +624 -0
  148. package/data/craftbook-templates/sc/schema-migration/versions/2.0.2/test.json +225 -0
  149. package/data/craftbook-templates/sc/script-automation/versions/1.0.4/craftbook.json +284 -0
  150. package/data/craftbook-templates/sc/script-automation/versions/1.0.4/test.json +162 -0
  151. package/data/craftbook-templates/se/security-architecture-review/versions/2.0.7/test.json +10 -13
  152. package/data/craftbook-templates/se/security-architecture-review/versions/2.0.8/craftbook.json +597 -0
  153. package/data/craftbook-templates/se/security-architecture-review/versions/2.0.8/test.json +157 -0
  154. package/data/craftbook-templates/so/social-digest/versions/1.0.3/craftbook.json +239 -0
  155. package/data/craftbook-templates/so/social-digest/versions/1.0.3/test.json +168 -0
  156. package/data/craftbook-templates/so/source-quality-audit/versions/1.0.3/test.json +25 -11
  157. package/data/craftbook-templates/sp/spec-authoring/versions/2.0.8/craftbook.json +599 -0
  158. package/data/craftbook-templates/sp/spec-authoring/versions/2.0.8/test.json +162 -0
  159. package/data/craftbook-templates/te/technical-documentation/versions/2.0.8/craftbook.json +577 -0
  160. package/data/craftbook-templates/te/technical-documentation/versions/2.0.8/test.json +174 -0
  161. package/data/craftbook-templates/te/test-coverage-review/versions/1.2.1/test.json +16 -8
  162. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.2/craftbook.json +592 -0
  163. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.2/test.json +195 -0
  164. package/data/craftbook-templates/th/thank-you-batch/versions/1.0.3/test.json +6 -3
  165. package/data/craftbook-templates/th/thank-you-sweep/versions/1.0.3/test.json +11 -4
  166. package/data/craftbook-templates/ti/tileset-batch/versions/1.0.3/test.json +9 -3
  167. package/data/craftbook-templates/tr/transcribe-and-shownotes/versions/1.0.3/test.json +10 -5
  168. package/data/craftbook-templates/tr/transcribe-index/versions/1.0.3/test.json +6 -3
  169. package/data/craftbook-templates/tr/translate-content/versions/1.1.3/craftbook.json +140 -0
  170. package/data/craftbook-templates/tr/translate-content/versions/1.1.3/test.json +141 -0
  171. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.2/craftbook.json +594 -0
  172. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.2/test.json +221 -0
  173. package/data/craftbook-templates/ux/ux-update/versions/1.0.2/craftbook.json +606 -0
  174. package/data/craftbook-templates/ux/ux-update/versions/1.0.2/test.json +206 -0
  175. package/data/craftbook-templates/we/weak-spot-drill/versions/1.0.3/test.json +11 -4
  176. package/data/craftbook-templates/we/weekly-walkthrough/versions/1.0.3/test.json +21 -9
  177. package/data/craftbook-templates/wh/whitepaper/versions/1.0.3/test.json +16 -8
  178. package/data/craftbook-templates/ye/year-in-review/versions/1.0.3/test.json +8 -4
  179. package/data/project-types/index.json +1 -1
  180. package/data/project-types/ju/just-chat/manifest.json +1 -1
  181. package/data/project-types/ju/just-chat/versions/1.0.1/about.md +5 -0
  182. package/data/project-types/ju/just-chat/versions/1.0.1/manifest.json +19 -0
  183. package/package.json +1 -1
  184. package/schemas/chat-model-identity.schema.json +27 -0
  185. package/schemas/chat-model-version.schema.json +22 -0
@@ -0,0 +1,577 @@
1
+ {
2
+ "id": "technical-documentation",
3
+ "name": "Technical Documentation",
4
+ "description": "Generate a coherent documentation set from a codebase, organized by the Diataxis model (tutorials, how-to guides, reference, explanation), with cross-links and a coverage pass.",
5
+ "basedOn": {
6
+ "name": "gstack",
7
+ "url": "https://github.com/garrytan/gstack"
8
+ },
9
+ "plan": "Treat documentation as a tested product surface. Research implementation, tests, configuration, and existing prose before writing. Separate learning-oriented tutorials, task-oriented how-to guides, factual reference, and explanatory rationale. Every public claim must trace to a workspace source, every example must be verified when the environment permits, and every produced page must be reachable from the documentation index.",
10
+ "entryStepId": "inventory",
11
+ "triggers": [
12
+ "write docs for this",
13
+ "generate documentation",
14
+ "document this feature",
15
+ "create a tutorial",
16
+ "write a how-to",
17
+ "explain this module",
18
+ "docs for this project"
19
+ ],
20
+ "command": "technical-documentation",
21
+ "steps": [
22
+ {
23
+ "id": "inventory",
24
+ "name": "Inventory the documentation surface",
25
+ "description": "Map readers, public interfaces, source evidence, existing coverage, and gaps.",
26
+ "prompt": "Confirm the requested scope from the task and project context. Inspect the project guide, package or build metadata, entry points, public interfaces, configuration, examples, tests, and current docs with workspace tools. Build an exact inventory of the entities in scope, their source paths, intended readers, existing documentation, missing coverage, and risky claims that need verification. Do not start polished prose yet.\n\nObservable handoff: write the completed result to `notes/documentation-inventory.md` in the project's artifacts drawer with `write_artifact`. Do not merely describe what the file would contain. Re-read it with `read_artifact` before finishing this phase and repair any incomplete sections.",
27
+ "suggestedRole": "technical researcher",
28
+ "advanceWhen": {
29
+ "file": "notes/documentation-inventory.md",
30
+ "minBytes": 900,
31
+ "sniff": "nonempty",
32
+ "requireChange": true,
33
+ "artifact": true,
34
+ "goto": "plan-docs"
35
+ },
36
+ "gate": {
37
+ "at": "completion",
38
+ "checks": [
39
+ {
40
+ "kind": "minBytes",
41
+ "file": "notes/documentation-inventory.md",
42
+ "bytes": 900,
43
+ "artifact": true
44
+ },
45
+ {
46
+ "kind": "sniff",
47
+ "file": "notes/documentation-inventory.md",
48
+ "sniff": "nonempty",
49
+ "artifact": true
50
+ },
51
+ {
52
+ "kind": "contains",
53
+ "file": "notes/documentation-inventory.md",
54
+ "pattern": "^##\\s+Scope",
55
+ "flags": "im",
56
+ "label": "Scope section",
57
+ "artifact": true
58
+ },
59
+ {
60
+ "kind": "contains",
61
+ "file": "notes/documentation-inventory.md",
62
+ "pattern": "^##\\s+Readers",
63
+ "flags": "im",
64
+ "label": "Readers section",
65
+ "artifact": true
66
+ },
67
+ {
68
+ "kind": "contains",
69
+ "file": "notes/documentation-inventory.md",
70
+ "pattern": "^##\\s+Public surface",
71
+ "flags": "im",
72
+ "label": "Public surface section",
73
+ "artifact": true
74
+ },
75
+ {
76
+ "kind": "contains",
77
+ "file": "notes/documentation-inventory.md",
78
+ "pattern": "^##\\s+Source map",
79
+ "flags": "im",
80
+ "label": "Source map section",
81
+ "artifact": true
82
+ },
83
+ {
84
+ "kind": "contains",
85
+ "file": "notes/documentation-inventory.md",
86
+ "pattern": "^##\\s+Coverage gaps",
87
+ "flags": "im",
88
+ "label": "Coverage gaps section",
89
+ "artifact": true
90
+ }
91
+ ],
92
+ "onReject": "inventory",
93
+ "maxAttempts": 3
94
+ },
95
+ "next": "plan-docs",
96
+ "toolPolicy": {
97
+ "disallowBuiltinToolsets": [
98
+ "ai-apps",
99
+ "archives",
100
+ "audio",
101
+ "browser-automation",
102
+ "code-execution",
103
+ "craftbooks",
104
+ "data-tables",
105
+ "entity-intel",
106
+ "git",
107
+ "image-intel",
108
+ "images",
109
+ "role-delegation",
110
+ "role-delegation-escalation",
111
+ "security-intel",
112
+ "team-management",
113
+ "videos",
114
+ "workspace-fs-write"
115
+ ],
116
+ "outputMedium": "artifact",
117
+ "additionalOutputMedia": [
118
+ "task-note"
119
+ ]
120
+ }
121
+ },
122
+ {
123
+ "id": "plan-docs",
124
+ "name": "Design the documentation set",
125
+ "description": "Choose the right document type for each reader need and lock verification criteria.",
126
+ "prompt": "Turn `notes/documentation-inventory.md` into a document plan. For each proposed page, state its reader, job, quadrant, destination path, evidence sources, prerequisites, cross-links, and pass/fail checks. Reuse existing conventions and update existing pages when that is clearer than duplication. Keep the set proportional to the scope, but cover every public item in the inventory or explicitly defer it with a reason. Before working, open `notes/documentation-inventory.md` with `read_artifact`.\n\nObservable handoff: write the completed result to `notes/documentation-plan.md` in the project's artifacts drawer with `write_artifact`. Do not merely describe what the file would contain. Re-read it with `read_artifact` before finishing this phase and repair any incomplete sections.",
127
+ "suggestedRole": "documentation architect",
128
+ "consumes": [
129
+ {
130
+ "file": "notes/documentation-inventory.md",
131
+ "artifact": true
132
+ }
133
+ ],
134
+ "advanceWhen": {
135
+ "file": "notes/documentation-plan.md",
136
+ "minBytes": 900,
137
+ "sniff": "nonempty",
138
+ "requireChange": true,
139
+ "artifact": true,
140
+ "goto": "author-and-verify"
141
+ },
142
+ "gate": {
143
+ "at": "completion",
144
+ "checks": [
145
+ {
146
+ "kind": "minBytes",
147
+ "file": "notes/documentation-plan.md",
148
+ "bytes": 900,
149
+ "artifact": true
150
+ },
151
+ {
152
+ "kind": "sniff",
153
+ "file": "notes/documentation-plan.md",
154
+ "sniff": "nonempty",
155
+ "artifact": true
156
+ },
157
+ {
158
+ "kind": "contains",
159
+ "file": "notes/documentation-plan.md",
160
+ "pattern": "^##\\s+Document matrix",
161
+ "flags": "im",
162
+ "label": "Document matrix section",
163
+ "artifact": true
164
+ },
165
+ {
166
+ "kind": "contains",
167
+ "file": "notes/documentation-plan.md",
168
+ "pattern": "^##\\s+Information architecture",
169
+ "flags": "im",
170
+ "label": "Information architecture section",
171
+ "artifact": true
172
+ },
173
+ {
174
+ "kind": "contains",
175
+ "file": "notes/documentation-plan.md",
176
+ "pattern": "^##\\s+Verification plan",
177
+ "flags": "im",
178
+ "label": "Verification plan section",
179
+ "artifact": true
180
+ },
181
+ {
182
+ "kind": "contains",
183
+ "file": "notes/documentation-plan.md",
184
+ "pattern": "^##\\s+Deferred coverage",
185
+ "flags": "im",
186
+ "label": "Deferred coverage section",
187
+ "artifact": true
188
+ }
189
+ ],
190
+ "onReject": "plan-docs",
191
+ "maxAttempts": 3
192
+ },
193
+ "next": "author-and-verify",
194
+ "toolPolicy": {
195
+ "disallowBuiltinToolsets": [
196
+ "ai-apps",
197
+ "archives",
198
+ "audio",
199
+ "browser-automation",
200
+ "code-execution",
201
+ "craftbooks",
202
+ "data-tables",
203
+ "entity-intel",
204
+ "git",
205
+ "image-intel",
206
+ "images",
207
+ "role-delegation",
208
+ "role-delegation-escalation",
209
+ "security-intel",
210
+ "team-management",
211
+ "videos",
212
+ "web",
213
+ "workspace-fs-write"
214
+ ],
215
+ "outputMedium": "artifact",
216
+ "additionalOutputMedia": [
217
+ "task-note"
218
+ ]
219
+ }
220
+ },
221
+ {
222
+ "id": "author-and-verify",
223
+ "name": "Author, link, and verify the docs",
224
+ "description": "Write the planned pages, validate examples and links, and expose the complete set through one index.",
225
+ "prompt": "Implement the approved document plan in the workspace. Keep reference factual, how-to steps actionable, tutorials quick to first result, and explanations explicit about trade-offs. Verify commands, code examples, option names, defaults, and constraints against implementation and tests; run safe examples where possible and label anything not executed. Add troubleshooting based on real failure paths. Cross-link related pages and write an index that lists every created or updated document, its reader job, quadrant, source evidence, and verification status.\n\nObservable handoff: write the completed result to `docs/documentation-index.md` in the workspace with `write_file`. Do not merely describe what the file would contain. Re-read it with `read_file` before finishing this phase and repair any incomplete sections.",
226
+ "suggestedRole": "technical writer",
227
+ "advanceWhen": {
228
+ "file": "docs/documentation-index.md",
229
+ "minBytes": 1200,
230
+ "sniff": "nonempty",
231
+ "requireChange": true,
232
+ "goto": "evaluate"
233
+ },
234
+ "gate": {
235
+ "at": "completion",
236
+ "checks": [
237
+ {
238
+ "kind": "minBytes",
239
+ "file": "docs/documentation-index.md",
240
+ "bytes": 1200
241
+ },
242
+ {
243
+ "kind": "sniff",
244
+ "file": "docs/documentation-index.md",
245
+ "sniff": "nonempty"
246
+ },
247
+ {
248
+ "kind": "contains",
249
+ "file": "docs/documentation-index.md",
250
+ "pattern": "^##\\s+Documentation map",
251
+ "flags": "im",
252
+ "label": "Documentation map section"
253
+ },
254
+ {
255
+ "kind": "contains",
256
+ "file": "docs/documentation-index.md",
257
+ "pattern": "^##\\s+Tutorials",
258
+ "flags": "im",
259
+ "label": "Tutorials section"
260
+ },
261
+ {
262
+ "kind": "contains",
263
+ "file": "docs/documentation-index.md",
264
+ "pattern": "^##\\s+How-to guides",
265
+ "flags": "im",
266
+ "label": "How-to guides section"
267
+ },
268
+ {
269
+ "kind": "contains",
270
+ "file": "docs/documentation-index.md",
271
+ "pattern": "^##\\s+Reference",
272
+ "flags": "im",
273
+ "label": "Reference section"
274
+ },
275
+ {
276
+ "kind": "contains",
277
+ "file": "docs/documentation-index.md",
278
+ "pattern": "^##\\s+Explanation",
279
+ "flags": "im",
280
+ "label": "Explanation section"
281
+ },
282
+ {
283
+ "kind": "contains",
284
+ "file": "docs/documentation-index.md",
285
+ "pattern": "^##\\s+Verification",
286
+ "flags": "im",
287
+ "label": "Verification section"
288
+ }
289
+ ],
290
+ "onReject": "author-and-verify",
291
+ "maxAttempts": 3
292
+ },
293
+ "next": "evaluate",
294
+ "toolPolicy": {
295
+ "disallowBuiltinToolsets": [
296
+ "ai-apps",
297
+ "archives",
298
+ "artifacts",
299
+ "audio",
300
+ "browser-automation",
301
+ "code-execution",
302
+ "craftbooks",
303
+ "data-tables",
304
+ "entity-intel",
305
+ "git",
306
+ "image-intel",
307
+ "images",
308
+ "role-delegation",
309
+ "role-delegation-escalation",
310
+ "security-intel",
311
+ "team-management",
312
+ "videos",
313
+ "web"
314
+ ],
315
+ "outputMedium": "workspace"
316
+ }
317
+ },
318
+ {
319
+ "id": "evaluate",
320
+ "name": "Evaluate the deliverable",
321
+ "description": "Independently grade the observable deliverable and route it to finish, repair, or user escalation.",
322
+ "prompt": "Review `docs/documentation-index.md`, `notes/documentation-inventory.md`, `notes/documentation-plan.md` against every criterion below. Inspect the underlying evidence files named by the workflow; do not grade from the author's summary alone.\n\n1. Every in-scope public item is documented or explicitly deferred with a reason.\n2. Claims, types, defaults, constraints, and examples agree with the cited implementation or tests.\n3. Tutorial, how-to, reference, and explanation content serve distinct reader jobs without needless duplication.\n4. Commands and examples have credible verification results or are clearly marked unexecuted.\n5. Every produced page is linked from the index and all internal links resolve.\n6. The prose is concrete, readable, and includes real troubleshooting and trade-offs where relevant.\n\nOpen `notes/documentation-inventory.md`, `notes/documentation-plan.md` with `read_artifact`. Open `docs/documentation-index.md` with `read_file`. Write the evidence-backed review to `reviews/technical-documentation-review.md` in the artifacts drawer with `write_artifact`. Give each criterion a PASS or FAIL with a concrete path, excerpt, measurement, or observed behavior. End with exactly `Verdict: PASS` or `Verdict: REVISE`. Then use `advance_task_step` for the active task: PASS routes to `finish`; REVISE routes to `repair` for review rounds 1 through 2, and the 3th REVISE routes to `needs-user`. Never route to finish while a criterion is unmet.",
323
+ "suggestedRole": "technical editor",
324
+ "consumes": [
325
+ {
326
+ "file": "docs/documentation-index.md"
327
+ },
328
+ {
329
+ "file": "notes/documentation-inventory.md",
330
+ "artifact": true
331
+ },
332
+ {
333
+ "file": "notes/documentation-plan.md",
334
+ "artifact": true
335
+ }
336
+ ],
337
+ "gate": {
338
+ "at": "completion",
339
+ "checks": [
340
+ {
341
+ "kind": "minBytes",
342
+ "file": "reviews/technical-documentation-review.md",
343
+ "bytes": 400,
344
+ "artifact": true
345
+ },
346
+ {
347
+ "kind": "contains",
348
+ "file": "reviews/technical-documentation-review.md",
349
+ "pattern": "Verdict:\\s*(?:PASS|REVISE)",
350
+ "flags": "i",
351
+ "label": "explicit PASS or REVISE verdict",
352
+ "artifact": true
353
+ }
354
+ ],
355
+ "onReject": "evaluate",
356
+ "maxAttempts": 3
357
+ },
358
+ "next": "repair",
359
+ "toolPolicy": {
360
+ "disallowBuiltinToolsets": [
361
+ "ai-apps",
362
+ "archives",
363
+ "audio",
364
+ "browser-automation",
365
+ "code-execution",
366
+ "craftbooks",
367
+ "data-tables",
368
+ "entity-intel",
369
+ "git",
370
+ "image-intel",
371
+ "images",
372
+ "role-delegation",
373
+ "role-delegation-escalation",
374
+ "security-intel",
375
+ "team-management",
376
+ "videos",
377
+ "web",
378
+ "workspace-fs-write"
379
+ ],
380
+ "outputMedium": "artifact"
381
+ }
382
+ },
383
+ {
384
+ "id": "repair",
385
+ "name": "Repair the deliverable",
386
+ "description": "Fix only the concrete gaps from the latest independent review.",
387
+ "prompt": "Read `reviews/technical-documentation-review.md` with `read_artifact` and repair every failed criterion in `docs/documentation-index.md`, `notes/documentation-inventory.md`, `notes/documentation-plan.md`. Make changes on each file's declared surface (`write_artifact` for artifact inputs, `write_file` for workspace inputs), not in task notes or a reply. Preserve evidence that already passed. Re-run or re-check anything the reviewer found unproven. Ensure `docs/documentation-index.md` is genuinely updated this turn so the repair is observable, then hand it back for independent evaluation.",
388
+ "suggestedRole": "technical writer",
389
+ "consumes": [
390
+ {
391
+ "file": "reviews/technical-documentation-review.md",
392
+ "artifact": true
393
+ },
394
+ {
395
+ "file": "docs/documentation-index.md"
396
+ },
397
+ {
398
+ "file": "notes/documentation-inventory.md",
399
+ "artifact": true
400
+ },
401
+ {
402
+ "file": "notes/documentation-plan.md",
403
+ "artifact": true
404
+ }
405
+ ],
406
+ "advanceWhen": {
407
+ "file": "docs/documentation-index.md",
408
+ "minBytes": 1200,
409
+ "sniff": "nonempty",
410
+ "requireChange": true,
411
+ "goto": "evaluate"
412
+ },
413
+ "gate": {
414
+ "at": "completion",
415
+ "checks": [
416
+ {
417
+ "kind": "minBytes",
418
+ "file": "docs/documentation-index.md",
419
+ "bytes": 1200
420
+ },
421
+ {
422
+ "kind": "sniff",
423
+ "file": "docs/documentation-index.md",
424
+ "sniff": "nonempty"
425
+ },
426
+ {
427
+ "kind": "contains",
428
+ "file": "docs/documentation-index.md",
429
+ "pattern": "^##\\s+Documentation map",
430
+ "flags": "im",
431
+ "label": "Documentation map section"
432
+ },
433
+ {
434
+ "kind": "contains",
435
+ "file": "docs/documentation-index.md",
436
+ "pattern": "^##\\s+Tutorials",
437
+ "flags": "im",
438
+ "label": "Tutorials section"
439
+ },
440
+ {
441
+ "kind": "contains",
442
+ "file": "docs/documentation-index.md",
443
+ "pattern": "^##\\s+How-to guides",
444
+ "flags": "im",
445
+ "label": "How-to guides section"
446
+ },
447
+ {
448
+ "kind": "contains",
449
+ "file": "docs/documentation-index.md",
450
+ "pattern": "^##\\s+Reference",
451
+ "flags": "im",
452
+ "label": "Reference section"
453
+ },
454
+ {
455
+ "kind": "contains",
456
+ "file": "docs/documentation-index.md",
457
+ "pattern": "^##\\s+Explanation",
458
+ "flags": "im",
459
+ "label": "Explanation section"
460
+ },
461
+ {
462
+ "kind": "contains",
463
+ "file": "docs/documentation-index.md",
464
+ "pattern": "^##\\s+Verification",
465
+ "flags": "im",
466
+ "label": "Verification section"
467
+ }
468
+ ],
469
+ "onReject": "repair",
470
+ "maxAttempts": 3
471
+ },
472
+ "next": "evaluate",
473
+ "toolPolicy": {
474
+ "disallowBuiltinToolsets": [
475
+ "ai-apps",
476
+ "archives",
477
+ "audio",
478
+ "browser-automation",
479
+ "code-execution",
480
+ "craftbooks",
481
+ "data-tables",
482
+ "entity-intel",
483
+ "git",
484
+ "image-intel",
485
+ "images",
486
+ "role-delegation",
487
+ "role-delegation-escalation",
488
+ "security-intel",
489
+ "team-management",
490
+ "videos",
491
+ "web"
492
+ ],
493
+ "outputMedium": "workspace",
494
+ "additionalOutputMedia": [
495
+ "artifact",
496
+ "task-note"
497
+ ]
498
+ }
499
+ },
500
+ {
501
+ "id": "finish",
502
+ "name": "Finish",
503
+ "description": "All deterministic and reviewer criteria passed.",
504
+ "prompt": "The independent review passed. Read `reviews/technical-documentation-review.md` with `read_artifact`, then use `write_task_note` to record a concise DONE summary with the final deliverable paths (`docs/documentation-index.md`, `notes/documentation-inventory.md`, `notes/documentation-plan.md`) and the evidence that each acceptance criterion passed. Report DONE without starting new work.",
505
+ "suggestedRole": "project lead",
506
+ "consumes": [
507
+ {
508
+ "file": "reviews/technical-documentation-review.md",
509
+ "artifact": true
510
+ }
511
+ ],
512
+ "terminal": true,
513
+ "toolPolicy": {
514
+ "disallowBuiltinToolsets": [
515
+ "ai-apps",
516
+ "archives",
517
+ "audio",
518
+ "browser-automation",
519
+ "code-execution",
520
+ "craftbooks",
521
+ "data-tables",
522
+ "entity-intel",
523
+ "git",
524
+ "image-intel",
525
+ "images",
526
+ "role-delegation",
527
+ "role-delegation-escalation",
528
+ "security-intel",
529
+ "team-management",
530
+ "videos",
531
+ "web",
532
+ "workspace-fs-write"
533
+ ],
534
+ "outputMedium": "task-note"
535
+ }
536
+ },
537
+ {
538
+ "id": "needs-user",
539
+ "name": "Escalate unresolved concerns",
540
+ "description": "The bounded repair loop ended without a defensible pass.",
541
+ "prompt": "The deliverable did not pass after 3 review rounds. Do not claim success. Read `reviews/technical-documentation-review.md` with `read_artifact`, then use `write_task_note` to record DONE_WITH_CONCERNS: the unmet criteria, what was attempted, the affected paths, and the smallest user decision or missing input needed to continue.",
542
+ "suggestedRole": "project lead",
543
+ "consumes": [
544
+ {
545
+ "file": "reviews/technical-documentation-review.md",
546
+ "artifact": true
547
+ }
548
+ ],
549
+ "terminal": true,
550
+ "toolPolicy": {
551
+ "disallowBuiltinToolsets": [
552
+ "ai-apps",
553
+ "archives",
554
+ "audio",
555
+ "browser-automation",
556
+ "code-execution",
557
+ "craftbooks",
558
+ "data-tables",
559
+ "entity-intel",
560
+ "git",
561
+ "image-intel",
562
+ "images",
563
+ "role-delegation",
564
+ "role-delegation-escalation",
565
+ "security-intel",
566
+ "team-management",
567
+ "videos",
568
+ "web",
569
+ "workspace-fs-write"
570
+ ],
571
+ "outputMedium": "task-note"
572
+ }
573
+ }
574
+ ],
575
+ "version": "2.0.8",
576
+ "releasedAt": "2026-09-05T03:30:00Z"
577
+ }