@c4a/context-cli 0.7.9 → 0.7.10-alpha.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.
Files changed (345) hide show
  1. package/cli.js +59387 -99747
  2. package/indexers/bundles/context-code-indexer/SKILL.md +19 -44
  3. package/indexers/bundles/context-code-indexer/context-indexer.yaml +2 -19
  4. package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
  5. package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +7 -2
  6. package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +7 -2
  7. package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +7 -2
  8. package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
  9. package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +7 -2
  10. package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +8 -3
  11. package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +9 -4
  12. package/indexers/bundles/context-code-indexer/references/indexer.md +137 -328
  13. package/indexers/bundles/context-code-indexer/references/metrics.md +1 -1
  14. package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
  15. package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
  16. package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
  17. package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
  18. package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
  19. package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
  20. package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
  21. package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
  22. package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
  23. package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
  24. package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
  25. package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
  26. package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +1 -9
  27. package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
  28. package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
  29. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
  30. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
  31. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
  32. package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
  33. package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
  34. package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
  35. package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
  36. package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
  37. package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
  38. package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
  39. package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
  40. package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
  41. package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
  42. package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
  43. package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
  44. package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
  45. package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
  46. package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
  47. package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
  48. package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
  49. package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
  50. package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
  51. package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +1 -9
  52. package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
  53. package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
  54. package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +8 -8
  55. package/indexers/bundles/context-code-indexer/tests/fixtures/profiles.json +240 -48
  56. package/indexers/bundles/context-markdown-indexer/SKILL.md +20 -24
  57. package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +2 -2
  58. package/indexers/bundles/context-markdown-indexer/references/classification.md +28 -63
  59. package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +2 -2
  60. package/indexers/bundles/context-markdown-indexer/references/indexer.md +57 -113
  61. package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +48 -176
  62. package/indexers/bundles/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
  63. package/indexers/bundles/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
  64. package/indexers/bundles/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
  65. package/indexers/bundles/context-note-indexer/SKILL.md +20 -5
  66. package/indexers/bundles/context-note-indexer/context-indexer.yaml +2 -371
  67. package/indexers/bundles/context-note-indexer/references/classification.md +22 -49
  68. package/indexers/bundles/context-note-indexer/references/customization.md +19 -32
  69. package/indexers/bundles/context-note-indexer/references/extension-placement.md +13 -39
  70. package/indexers/bundles/context-note-indexer/references/indexer.md +6 -2
  71. package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +26 -32
  72. package/indexers/bundles/context-note-indexer/references/writing.md +4 -4
  73. package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +0 -54
  74. package/indexers/bundles/context-sessions-indexer/SKILL.md +20 -5
  75. package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +2 -371
  76. package/indexers/bundles/context-sessions-indexer/references/classification.md +22 -50
  77. package/indexers/bundles/context-sessions-indexer/references/customization.md +19 -32
  78. package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +12 -39
  79. package/indexers/bundles/context-sessions-indexer/references/indexer.md +6 -2
  80. package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +26 -32
  81. package/indexers/bundles/context-sessions-indexer/references/writing.md +4 -4
  82. package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
  83. package/indexers/contracts/operator-contract.json +2 -4
  84. package/indexers/contracts/profile-contract.json +246 -940
  85. package/indexers/release-manifest.json +94 -98
  86. package/package.json +12 -12
  87. package/parserEntryWorker.js +2759 -16446
  88. package/plugins/VERSION +1 -1
  89. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  90. package/plugins/claude/commands/context.md +6 -7
  91. package/plugins/claude/skills/context-indexer-create/SKILL.md +31 -70
  92. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
  93. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  94. package/plugins/codex/skills/context/SKILL.md +6 -7
  95. package/plugins/codex/skills/context-indexer-create/SKILL.md +31 -70
  96. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
  97. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  98. package/plugins/cursor/commands/c4a-context.md +6 -7
  99. package/plugins/cursor/skills/context-indexer-create/SKILL.md +31 -70
  100. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
  101. package/plugins/skills/context/SKILL.md +6 -7
  102. package/plugins/skills/context-code-indexer/SKILL.md +19 -44
  103. package/plugins/skills/context-code-indexer/context-indexer.yaml +2 -19
  104. package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
  105. package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +7 -2
  106. package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +7 -2
  107. package/plugins/skills/context-code-indexer/references/composers/event-flow.md +7 -2
  108. package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
  109. package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +7 -2
  110. package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +8 -3
  111. package/plugins/skills/context-code-indexer/references/composers/public-contract.md +9 -4
  112. package/plugins/skills/context-code-indexer/references/indexer.md +137 -328
  113. package/plugins/skills/context-code-indexer/references/metrics.md +1 -1
  114. package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
  115. package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
  116. package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
  117. package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
  118. package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
  119. package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
  120. package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
  121. package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
  122. package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
  123. package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
  124. package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
  125. package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
  126. package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +1 -9
  127. package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
  128. package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
  129. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
  130. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
  131. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
  132. package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
  133. package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
  134. package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
  135. package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
  136. package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
  137. package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
  138. package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
  139. package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
  140. package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
  141. package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
  142. package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
  143. package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
  144. package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
  145. package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
  146. package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
  147. package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
  148. package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
  149. package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
  150. package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
  151. package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +1 -9
  152. package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
  153. package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
  154. package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +8 -8
  155. package/plugins/skills/context-code-indexer/tests/fixtures/profiles.json +240 -48
  156. package/plugins/skills/context-indexer-create/SKILL.md +31 -70
  157. package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
  158. package/plugins/skills/context-markdown-indexer/SKILL.md +20 -24
  159. package/plugins/skills/context-markdown-indexer/context-indexer.yaml +2 -2
  160. package/plugins/skills/context-markdown-indexer/references/classification.md +28 -63
  161. package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +2 -2
  162. package/plugins/skills/context-markdown-indexer/references/indexer.md +57 -113
  163. package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +48 -176
  164. package/plugins/skills/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
  165. package/plugins/skills/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
  166. package/plugins/skills/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
  167. package/plugins/skills/context-note-indexer/SKILL.md +20 -5
  168. package/plugins/skills/context-note-indexer/context-indexer.yaml +2 -371
  169. package/plugins/skills/context-note-indexer/references/classification.md +22 -49
  170. package/plugins/skills/context-note-indexer/references/customization.md +19 -32
  171. package/plugins/skills/context-note-indexer/references/extension-placement.md +13 -39
  172. package/plugins/skills/context-note-indexer/references/indexer.md +6 -2
  173. package/plugins/skills/context-note-indexer/references/updates-and-composition.md +26 -32
  174. package/plugins/skills/context-note-indexer/references/writing.md +4 -4
  175. package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +0 -54
  176. package/plugins/skills/context-sessions-indexer/SKILL.md +20 -5
  177. package/plugins/skills/context-sessions-indexer/context-indexer.yaml +2 -371
  178. package/plugins/skills/context-sessions-indexer/references/classification.md +22 -50
  179. package/plugins/skills/context-sessions-indexer/references/customization.md +19 -32
  180. package/plugins/skills/context-sessions-indexer/references/extension-placement.md +12 -39
  181. package/plugins/skills/context-sessions-indexer/references/indexer.md +6 -2
  182. package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +26 -32
  183. package/plugins/skills/context-sessions-indexer/references/writing.md +4 -4
  184. package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
  185. package/providers/context/actions/approve-production-report.yaml +5 -0
  186. package/providers/context/actions/configure-production-requirements.yaml +5 -0
  187. package/providers/context/actions/prepare-production-stage.yaml +5 -0
  188. package/providers/context/actions/register-source-batch.yaml +1 -1
  189. package/providers/context/actions/run-indexer-lifecycle.yaml +4 -1
  190. package/providers/context/actions/work-production-stage.yaml +5 -0
  191. package/providers/context/codes.yaml +10 -7
  192. package/providers/context/graphs/indexer.yaml +127 -596
  193. package/providers/context/graphs/workspace.yaml +2 -37
  194. package/providers/context/manifest.json +106 -813
  195. package/providers/context/provider.yaml +1 -1
  196. package/providers/context/resources/contracts/indexer-provider-guide.yaml +2 -2
  197. package/providers/context/resources/diagnostics/verification.md +4 -6
  198. package/providers/context/resources/dialogue/source-boundary.md +5 -7
  199. package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +84 -0
  200. package/providers/context/resources/manuals/guides/indexer-provider-and-customization.md +117 -0
  201. package/providers/context/resources/manuals/guides/knowledge-updates.md +35 -14
  202. package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +65 -0
  203. package/providers/context/resources/manuals/reference/package-templates.md +39 -65
  204. package/providers/context/resources/manuals/reference/template-variables.md +2 -3
  205. package/providers/context/resources/procedures/approved-revision.md +28 -35
  206. package/providers/context/resources/procedures/knowledge-review.md +1 -1
  207. package/providers/context/resources/procedures/knowledge-updates.md +35 -14
  208. package/providers/context/resources/procedures/parallel-agent-batch.md +33 -134
  209. package/providers/context/resources/procedures/production-requirements.md +61 -0
  210. package/providers/context/resources/procedures/production-stage-files.md +57 -0
  211. package/providers/context/resources/procedures/source-boundary.md +8 -10
  212. package/providers/context/resources/procedures/task-recovery.md +15 -20
  213. package/providers/context/resources/procedures/work-start-report.md +91 -413
  214. package/providers/context/resources/templates/indexer-agent-worker.md +20 -61
  215. package/providers/context/resources/templates/work-start-report.md +43 -279
  216. package/providers/context/schemas/approved-revision-result.schema.json +61 -2
  217. package/providers/context/schemas/indexer-agent-step-result.schema.json +128 -2043
  218. package/providers/context/schemas/source-batch-input.schema.json +0 -14
  219. package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +11 -50
  220. package/providers/context/skills/run-indexer-agent-step/SKILL.md +19 -425
  221. package/providers/context/skills/run-indexer-lifecycle/SKILL.md +28 -214
  222. package/providers/context/skills/work-production-stage/SKILL.md +35 -0
  223. package/indexers/bundles/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
  224. package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
  225. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
  226. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
  227. package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
  228. package/plugins/claude/skills/context-indexer-create/references/guides/note.md +0 -37
  229. package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +0 -50
  230. package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
  231. package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
  232. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
  233. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
  234. package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
  235. package/plugins/codex/skills/context-indexer-create/references/guides/note.md +0 -37
  236. package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +0 -50
  237. package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
  238. package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
  239. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
  240. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
  241. package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
  242. package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +0 -37
  243. package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +0 -50
  244. package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
  245. package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
  246. package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
  247. package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
  248. package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
  249. package/plugins/skills/context-indexer-create/references/guides/note.md +0 -37
  250. package/plugins/skills/context-indexer-create/references/guides/sessions.md +0 -50
  251. package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
  252. package/plugins/skills/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
  253. package/providers/context/actions/advance-current-indexer-lifecycle.yaml +0 -6
  254. package/providers/context/actions/apply-indexer-project.yaml +0 -7
  255. package/providers/context/actions/authorize-current-indexer-provider-program.yaml +0 -6
  256. package/providers/context/actions/authorize-indexer-dependencies.yaml +0 -7
  257. package/providers/context/actions/authorize-indexer-program-execution.yaml +0 -7
  258. package/providers/context/actions/compile-indexer-candidates.yaml +0 -8
  259. package/providers/context/actions/configure-community-indexer-fallback.yaml +0 -6
  260. package/providers/context/actions/configure-indexer-providers.yaml +0 -6
  261. package/providers/context/actions/confirm-index-requirement-workset.yaml +0 -8
  262. package/providers/context/actions/confirm-subject-reidentification.yaml +0 -8
  263. package/providers/context/actions/discover-markdown-indexer-providers.yaml +0 -6
  264. package/providers/context/actions/finalize-current-indexer-provider-selection.yaml +0 -5
  265. package/providers/context/actions/inspect-indexer-dependencies.yaml +0 -7
  266. package/providers/context/actions/inspect-indexer-program-execution.yaml +0 -7
  267. package/providers/context/actions/inspect-indexer-project-proposal.yaml +0 -7
  268. package/providers/context/actions/inspect-markdown-provider-capture.yaml +0 -7
  269. package/providers/context/actions/maintain-evidence.yaml +0 -6
  270. package/providers/context/actions/materialize-indexer-instructions.yaml +0 -7
  271. package/providers/context/actions/materialize-indexer-workset-view.yaml +0 -7
  272. package/providers/context/actions/observe-indexer-project.yaml +0 -7
  273. package/providers/context/actions/prepare-indexer-customization-project.yaml +0 -7
  274. package/providers/context/actions/propose-indexer-customization.yaml +0 -7
  275. package/providers/context/actions/propose-overlay-question-amendment.yaml +0 -7
  276. package/providers/context/actions/rebind-indexer-selection-to-requirement.yaml +0 -7
  277. package/providers/context/actions/report-indexer-incremental-impact.yaml +0 -8
  278. package/providers/context/actions/resolve-current-indexer-provider.yaml +0 -6
  279. package/providers/context/actions/route-index-requirement-confirmation.yaml +0 -8
  280. package/providers/context/actions/route-indexer-provider-selection.yaml +0 -7
  281. package/providers/context/actions/run-indexer-agent-step.yaml +0 -7
  282. package/providers/context/actions/run-indexer-post-author-composer.yaml +0 -7
  283. package/providers/context/actions/validate-indexer-contract-overlays.yaml +0 -7
  284. package/providers/context/actions/validate-indexer-customization.yaml +0 -7
  285. package/providers/context/actions/validate-indexer-selection-proposal.yaml +0 -7
  286. package/providers/context/actions/validate-main-index-run.yaml +0 -7
  287. package/providers/context/actions/validate-markdown-provider-selection.yaml +0 -7
  288. package/providers/context/actions/validate-subject-key-schemas.yaml +0 -8
  289. package/providers/context/resources/dialogue/evidence-maintenance.md +0 -26
  290. package/providers/context/resources/procedures/evidence-maintenance.md +0 -20
  291. package/providers/context/resources/views/authorized-indexer-workset-view.yaml +0 -15
  292. package/providers/context/resources/views/resolved-indexer-instructions.yaml +0 -21
  293. package/providers/context/schemas/evidence-maintenance-input.schema.json +0 -30
  294. package/providers/context/schemas/indexer-agent-step-input.schema.json +0 -80
  295. package/providers/context/schemas/indexer-authorized-workset-view.schema.json +0 -65
  296. package/providers/context/schemas/indexer-candidate-compile-input.schema.json +0 -57
  297. package/providers/context/schemas/indexer-candidate-compile-output.schema.json +0 -38
  298. package/providers/context/schemas/indexer-contract-overlay-validation-input.schema.json +0 -48
  299. package/providers/context/schemas/indexer-contract-overlay-validation-result.schema.json +0 -63
  300. package/providers/context/schemas/indexer-customization-project-preparation-result.schema.json +0 -44
  301. package/providers/context/schemas/indexer-customization-proposal-draft.schema.json +0 -83
  302. package/providers/context/schemas/indexer-customization-validation-result.schema.json +0 -36
  303. package/providers/context/schemas/indexer-dependency-authorization-input.schema.json +0 -71
  304. package/providers/context/schemas/indexer-dependency-authorization-result.schema.json +0 -138
  305. package/providers/context/schemas/indexer-incremental-impact-input.schema.json +0 -31
  306. package/providers/context/schemas/indexer-incremental-impact-output.schema.json +0 -52
  307. package/providers/context/schemas/indexer-main-lifecycle-input.schema.json +0 -180
  308. package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +0 -194
  309. package/providers/context/schemas/indexer-markdown-provider-capture-input.schema.json +0 -17
  310. package/providers/context/schemas/indexer-markdown-provider-capture-output.schema.json +0 -54
  311. package/providers/context/schemas/indexer-markdown-provider-validation-input.schema.json +0 -34
  312. package/providers/context/schemas/indexer-markdown-provider-validation-output.schema.json +0 -75
  313. package/providers/context/schemas/indexer-materialize-request.schema.json +0 -49
  314. package/providers/context/schemas/indexer-materialized-resource.schema.json +0 -64
  315. package/providers/context/schemas/indexer-overlay-question-amendment.schema.json +0 -13
  316. package/providers/context/schemas/indexer-overlay-question-proposal-input.schema.json +0 -89
  317. package/providers/context/schemas/indexer-overlay-question-rebind-input.schema.json +0 -35
  318. package/providers/context/schemas/indexer-overlay-question-rebind-result.schema.json +0 -25
  319. package/providers/context/schemas/indexer-program-execution-authorization-input.schema.json +0 -145
  320. package/providers/context/schemas/indexer-program-execution-authorization-result.schema.json +0 -60
  321. package/providers/context/schemas/indexer-project-action-result.schema.json +0 -19
  322. package/providers/context/schemas/indexer-project-gate-input.schema.json +0 -100
  323. package/providers/context/schemas/indexer-project-observation-input.schema.json +0 -16
  324. package/providers/context/schemas/indexer-project-observation-result.schema.json +0 -42
  325. package/providers/context/schemas/indexer-provider-route-input.schema.json +0 -55
  326. package/providers/context/schemas/indexer-provider-route-report.schema.json +0 -188
  327. package/providers/context/schemas/indexer-requirement-confirmation-input.schema.json +0 -27
  328. package/providers/context/schemas/indexer-requirement-confirmation-output.schema.json +0 -24
  329. package/providers/context/schemas/indexer-selection-proposal-input.schema.json +0 -12
  330. package/providers/context/schemas/indexer-selection-proposal-validation.schema.json +0 -23
  331. package/providers/context/schemas/indexer-subject-reidentification-input.schema.json +0 -37
  332. package/providers/context/schemas/indexer-subject-reidentification-output.schema.json +0 -31
  333. package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +0 -35
  334. package/providers/context/skills/authorize-current-indexer-provider-program/SKILL.md +0 -20
  335. package/providers/context/skills/configure-indexer-providers/SKILL.md +0 -137
  336. package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +0 -180
  337. package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +0 -471
  338. package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +0 -136
  339. package/providers/context/skills/configure-indexer-providers/references/guides/note.md +0 -37
  340. package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +0 -50
  341. package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +0 -854
  342. package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +0 -31
  343. package/providers/context/skills/propose-indexer-customization/SKILL.md +0 -40
  344. package/providers/context/skills/resolve-current-indexer-provider/SKILL.md +0 -20
  345. package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +0 -122
@@ -1,302 +1,66 @@
1
1
  ---
2
2
  id: template.work-start-report
3
- kind: procedure
3
+ kind: template
4
4
  mediaType: text/markdown
5
5
  ---
6
6
 
7
- # <Task name> | Work-start report
7
+ # Work-start report outline
8
8
 
9
- Before capture, use the request and batch metadata titles across the supplied list;
10
- follow the work-start procedure's 200-entry request limit and fallback to at most
11
- 10 unresolved title lookups. Reuse H1/H2 only if
12
- already returned by metadata;
13
- do not fetch source bodies, outlines, images or attachments to fill this template.
14
- Retain URLs whose titles are unavailable. Body-level findings, counts and detailed
15
- chapter plans belong to the post-capture update, not initial start conditions.
9
+ Write `.tmp/work-start-report.md` in the user's language after lightweight
10
+ investigation and planning. Adapt this outline; omit empty sections and template
11
+ instructions. Headings are not a questionnaire or mandatory schema.
16
12
 
17
- Open with who will use the knowledge, what it will help them do, and the first
18
- pages they can read. Use connected prose. State a concrete reading milestone;
19
- estimate time only when supported by actual conditions.
13
+ ## Readers and first useful delivery
20
14
 
21
- Briefly explain what the agreed execution arrangement and observed debug setting
22
- mean for the reader. Do not announce the language already used in this report.
15
+ Explain who will use the knowledge, what they need to do and what the first
16
+ reviewed delivery enables. Reuse confirmed purpose, scope, priorities, language
17
+ and delivery choices. Describe execution/settings implications only when useful.
23
18
 
24
- Use CLI `progress.scopes` (or `indexerProgress.scopes` in status) as the
25
- single source for progress in conversation and reports. It separates:
26
- - `overall`: delivered pages and cumulative planning for the current Indexer run;
27
- - `wave`: writing tasks, observed pages and composition for the current wave;
28
- - `slice`: tasks in the currently active Route slice.
19
+ ## What the materials support
29
20
 
30
- Planning completed counts currently valid accepted tasks, not lifetime effort.
31
- When overall.planning.needs_recheck is nonzero, report “规划当前有效 X/Y 项;Z 项因任务绑定变化待复核”.
32
- Do not describe a lower valid count as lost pages or silently restarting from zero.
33
- The CLI reason identifies binding changes, not proof that source code changed;
34
- do not invent a more specific cause.
21
+ Summarize code skeletons, document overviews and relevant selective reading.
22
+ Separate checked evidence, provisional topics and remaining investigation.
23
+ Documents may correct code-derived topic names, form independent articles or
24
+ combine with code. Explain acquisition blockers and proposed limited first scope.
35
25
 
36
- Keep these scopes separate. A wave or pause target never replaces the overall
37
- scope. Preserve overall planning across Author, Composer and Review transitions.
38
- Use each counter's `unit`: task means 项/任务, page means 页. A writing task is
39
- not automatically one page. A null total means 总数待确定, not zero or the
40
- number of currently prepared tasks. Revisions can overlap delivered pages;
41
- do not add wave tasks to delivered pages to invent a page total.
26
+ ## Articles and batches
42
27
 
43
- Use two bold progress lines. The first combines `overall` and a clearly labelled
44
- `wave` supplement; the second describes the current action, using `slice` counts
45
- when available. Internal wave/slice names need not appear in user-facing text. For example, with matching CLI values:
46
- **[总体进展:已交付 33 页,总页数待确定;规划完成 50/122 项;本轮写作完成 30/30 项]**
47
- **[当前进展:补充内容检查 0/8 项]**
28
+ Use this table only when several groups need comparison:
48
29
 
49
- A completion receipt's `submitted_slice` describes the slice just submitted;
50
- `progress.scopes.slice` can already describe the next Route. Use the former when
51
- reporting submission success and the latter when announcing the next slice.
52
- Never combine their numerators and denominators. A null slice means no active
53
- Agent task slice, not that the workflow is complete. During Review/build, state
54
- the returned Route action briefly rather than inventing a slice ratio.
55
- Before counters exist or after task cleanup, describe the known stage and current
56
- action instead of repeatedly saying counters are unavailable. For example:
57
- **[总体进展:正在准备知识工作区]**
58
- **[当前进展:已读取启动清单,正在整理仓库与文档范围]**
59
- During review or packaging, name that action rather than a nonexistent slice.
60
- Do not turn the last wave into the overall scope or report delivery as zero.
61
- Continue authorized work after an update; only the agreed delivery stop or an
62
- actual unresolved blocker permits stopping. This format governs progress, not
63
- answers, review findings or necessary questions.
64
-
65
- ## Start conditions
66
-
67
- Place this compact table near the beginning of the report. Fill it from the user's
68
- request, task instructions, conversation, current settings and the title sample
69
- (captured evidence only in later updates).
70
- Use `none` only for an intentionally absent source family. Do not write the source
71
- registration payload while any required row is unresolved.
72
-
73
- | Start condition | Resolved value and basis |
74
- | --- | --- |
75
- | Readers and purpose | |
76
- | Questions or tasks to cover | |
77
- | Code scope | |
78
- | Document scope | |
79
- | Other source scope | |
80
- | Output language | |
81
- | Execution mode | |
82
- | Document optimization, visual conversion and debug | |
83
- | Delivery outputs | |
84
- | First useful delivery | |
85
- | Current version and inclusion boundary | |
86
-
87
- After the table, state that all required conditions are resolved. If any condition
88
- is still missing, ask the remaining focused questions in the
89
- conversation; do not present that draft as the completed report. Remove empty cells
90
- and template instructions from the actual report.
91
-
92
- ## What we read and learned
93
-
94
- Explain useful findings across the materials already read. Say which sources
95
- were only title-sampled before capture; do not imply that their bodies were read.
96
- After capture, explain which sources
97
- explain what, and which links were only retained without reading their targets.
98
- Name actual documents, images or attachments instead of internal processing terms.
99
- Link supporting material beside a conclusion when useful. Do not turn this into
100
- a reading log or claim implementation, completeness or verification beyond what
101
- was actually inspected.
102
-
103
- ## Scope and choices
104
-
105
- When a large homogeneous group needs a decision, use
106
- [the shared scope review](../procedures/homogeneous-source-review.md). Present
107
- repository/revision, directory boundary, relevance, and, only after capture,
108
- file count and sample content,
109
- estimated cost with its basis, proposed treatment and the user’s choice together.
110
- Omit this table when no such group is observed; reuse settled choices on resume.
111
-
112
- Describe what will be covered, what serves as background, what is excluded and
113
- why. Preserve choices about priorities and missing information. Distinguish user
114
- decisions, existing agreements and your proposed arrangements; source access or
115
- managed permission alone does not confirm purpose, depth or version choices.
116
- Name the useful regions and supporting materials rather than copying the source
117
- list. If a meaningful boundary remains unchecked, say what needs checking. When
118
- excess scope is a real concern, briefly explain the extra reading, token use and
119
- duplicate or conflicting output it could cause; do not invent measured savings.
120
-
121
- ## What we will deliver
122
-
123
- Connect each content group to the reader's situation, task and expected page form.
124
- Express supported content categories in these page descriptions, not a separate
125
- internal classification column. Use the table only when comparing several groups
126
- helps; otherwise use a paragraph.
127
-
128
- | Content group | Situation and task it helps with | Page form |
129
- | --- | --- | --- |
130
-
131
- Give an estimated page count or range with its basis in a short paragraph. If no
132
- reliable estimate is possible, state what is already known, the concrete remaining
133
- work needed to estimate it and when you can revisit it. An internal stage name is
134
- not an explanation. Do not invent counts, imply that a check happened, or scan more
135
- material just to fill a number. Explain the delivery order after the first pages.
136
-
137
- ## Enumerated planning scope
138
-
139
- Once CLI tasks are enumerated, replace any unknown planning total with the actual
140
- count and show this updated report to the user. If the total exceeds 50 planning
141
- tasks, pause for confirmation of this breakdown before continuing, including in
142
- managed mode unless the user explicitly waived this feedback wait. Reuse an
143
- applicable prior confirmation for the same continuing production task even when
144
- the above-threshold total is recalculated or revised; show the updated report but
145
- do not pause again solely for the threshold. Do not pause once
146
- per slice, delivery wave or recovery. Keep final page counts separate.
147
- Group by actual repositories, applications/services and document collections;
148
- frontend/backend are useful only when the material supports those categories.
149
-
150
- | Source or Indexer group | Planning tasks | Material scope |
151
- | --- | ---: | --- |
152
-
153
- For each substantial code group, provide:
154
-
155
- | Module or directory group | Planning tasks | Covered material |
156
- | --- | ---: | --- |
157
-
158
- Counts must reconcile to the current inventory. Show representative submodules
159
- where useful; a short conversation may group the remainder, while this report
160
- keeps the full module list. For documents, list their registered titles or group
161
- those titles by evidenced topic. Label directory-based descriptions as material
162
- orientation, not completed semantic analysis. Distinguish unbound modules from
163
- unknown content; do not invent a module classification or extrapolate page counts.
164
- If the current CLI lacks enough task metadata, identify the unavailable detail.
165
-
166
- On a material revision, include a short change note: previous scope → current
167
- scope, reason and delivery impact. Re-share the report link and the changes in
168
- conversation; do not silently update this file. Follow the procedure's existing
169
- feedback rules instead of adding a new CLI gate.
170
-
171
- ## Suggested reading organization
172
-
173
- Recommend one main reading route from representative material and the reader's
174
- purpose. Combine these starting points when useful; they are not required
175
- folders, a closed classification or additional source profiles.
176
-
177
- | Starting point | Reading route | When supported |
178
- | --- | --- | --- |
179
- | Business scenarios | Overview → scenario/domain → rules, frontend and backend entries → investigation | Shared reader tasks across code and product materials |
180
- | Engineering modules | Application/service map → module → entry and specialized articles | Maintenance and implementation questions |
181
- | Component or public library | Getting started → capability/component families → reference → migration | Public APIs or reusable UI, with shared configuration written once |
182
- | Product | Overview → users/scenarios → operations → rules → support and acceptance | Product documents; no technical chapters required without code material |
183
- | Design system | Principles → foundations/tokens → themes/platforms → components → adoption | Actual system materials, not an inferred system from component code alone |
184
- | Operations and quality | Task/problem entry → procedure/investigation → tools → validation/cases | Operational instructions and real quality evidence |
185
-
186
- Use article responsibilities when explaining the proposed chapters: business
187
- navigation combines C01–C03 and D01–D04 with linked F/S/Q entries; engineering
188
- maps combine C01, F01–F12 and S01–S07; public UI libraries use L05/L02, while
189
- SDKs use L01/L04 without UI-only chapters. Product material uses the selected
190
- product, guide and policy profiles, with supported QA articles; design systems
191
- use L03 and link L05/L02 implementations; operations use C05, D04 and Q01–Q07
192
- alongside supported SOP, FAQ or incident articles. IDs are optional explanatory
193
- references, not a questionnaire for the user.
194
-
195
- Select a primary route from actual reader tasks, source kinds and existing
196
- knowledge; repository count does not determine the menu. Distinguish a link-only
197
- navigation group from a sourced overview and a separately useful specialist
198
- article. Reuse the same article under multiple groups. If detailed evidence is
199
- missing, retain a truthful source map or a tentative proposal, never an empty
200
- published page. A pure product workspace needs no frontend/backend hierarchy;
201
- a business workspace may include an internal library without becoming two
202
- workspaces. Explain meaningful alternatives only when a tradeoff exists.
203
-
204
- Show a compact directory tree or a table with proposed entries, article types,
205
- suggested chapters, supporting material and initial priority. Distinguish navigation
206
- groups from proposed articles. For repeated modules expand one representative,
207
- then point to the known module list; do not pretend sampling completed planning.
208
- Explain why an article deserves its own page or could be combined. Suggestions
209
- are not delivered links, confirmed page counts or a reason to create empty pages.
210
-
211
- Keep this proposal inside this report. User feedback changes the proposal and
212
- subsequent formal planning through existing actions. Reuse settled choices and
213
- honor an explicit waiver of the first feedback wait. CLI does not parse this
214
- Markdown to infer approval, source ownership or runtime configuration.
215
-
216
- Reading organization is independent of knowledge collections and KB packaging.
217
- The same article can appear under several reader groups without duplicate bodies;
218
- output channels resolve their own paths. Moving a menu entry does not cancel a
219
- required question, move source files or require parsing again. Record material
220
- scope changes using the existing requirements flow. Suggested headings, writing
221
- style and ordinary version differences are advisory; let the Agent judge content
222
- and preserve source coordinates and a useful next investigation step.
223
-
224
- ## Proposed website layout
225
-
226
- When website delivery is selected or proposed, draw one compact text wireframe
227
- using the proposed organization above. Show the site title and top navigation,
228
- a representative left menu with its hierarchy, article title and main chapters,
229
- and the right on-page outline. Use reader-facing names, not storage directories.
230
- For a narrow screen, briefly describe how menus collapse and body padding stays
231
- readable. Label the sketch as a proposal; it is not a screenshot or a built site.
232
- Keep it in this report without generating a temporary website or empty articles.
233
-
234
- Use this arrangement as a sketch guide; replace labels with the actual proposal
235
- and omit unsupported elements rather than copying placeholders into the report:
236
-
237
- ```text
238
- ┌─────────────────────────────────────────────────────────────┐
239
- │ Site title Top-level entry A Top-level entry B │
240
- ├────────────────┬───────────────────────────┬────────────────┤
241
- │ Selected group │ Representative article │ On this page │
242
- │ Overview │ │ Introduction │
243
- │ Article A │ Introduction │ Main task │
244
- │ Article B │ Main task │ Reference │
245
- │ Another group │ Reference │ │
246
- └────────────────┴───────────────────────────┴────────────────┘
247
- ```
248
-
249
- On material changes, revise this sketch alongside the directory and chapter plan,
250
- and send the report link plus a short change explanation to the user. Do not
251
- silently revise it or repeat the initial feedback pause for routine adjustments.
252
-
253
- ## Delivery outputs (multiple selection)
254
-
255
- Show KB package, documentation website, and LLMS text as selectable channels.
256
- For a new workspace with no explicit preference, mark KB + website as the default;
257
- honor the user's selected subset and existing workspace configuration. User
258
- feedback here carries forward to packaging without a second per-channel question.
259
- Explain briefly that website rendering reuses the proposed knowledge map and approved
260
- articles. Agent edits the package declaration; no webpage coding is required from
261
- the user. Do not promise deployment or a fixed build time. If only website delivery
262
- is selected, explain that the site is generated beside the KB directory as
263
- `dist/<base>-site/`, where `<base>` removes one trailing `-kb` from the package name.
264
-
265
- ## What could be misrepresented
30
+ | Reader topic/question | New or existing article | Supporting scope | Batch/dependency |
31
+ | --- | --- | --- | --- |
266
32
 
267
- For one to three actual pitfalls, name the objects that could be confused or the
268
- information that could be lost, and explain the consequence for the reader.
269
- Avoid generic warnings; omit this section when no concrete pitfall is known.
33
+ Keep material counts separate from article counts. Do not produce a per-file
34
+ accounting table. One article may use several sources and Indexers. Batches are
35
+ execution groupings, not fixed article templates or mandatory route transitions.
270
36
 
271
- ## Indexer choices for this work
37
+ ## Reading organization and delivery
272
38
 
273
- An Indexer is a skill that turns particular source material into useful knowledge.
274
- Use the current Route's catalog, visible relevant Indexer Skills, actual selection
275
- and source reading to fill this table dynamically. Include the available Indexers
276
- not selected and why. Do not copy a fixed list of skills from this template.
39
+ Propose navigation that fits actual reader tasks: business scenarios, engineering
40
+ modules, public capabilities, product operations or another evidenced structure.
41
+ Distinguish navigation groups from sourced articles; reuse articles rather than
42
+ duplicating bodies. Retain existing KB, website and LLMS delivery choices.
277
43
 
278
- | Indexing skill | What it helps explain | This work's choice | Expected effect on module or text coverage | Reason |
279
- | --- | --- | --- | --- | --- |
44
+ For website delivery, add a compact sketch showing the site title, top-level
45
+ groups, a representative left menu, article chapters and on-page outline.
46
+ Briefly explain mobile menus when relevant. A sketch is not a built website or
47
+ permission to create empty pages. Do not infer business semantics from code paths.
280
48
 
281
- Name the actual modules, documents or text groups each choice would affect and
282
- what knowledge it would add or leave out. State whether a choice is proposed,
283
- already configured, or not selected; distinguish unavailable from unnecessary.
284
- Describe expected coverage, not completed work or edits to the source materials.
285
- If the catalog or impact is not yet known, say what remains to be checked rather
286
- than treating missing information as a decision not to use a skill.
49
+ ## Relevant indexing guidance
287
50
 
288
- ## Remaining gaps
51
+ Summarize selected skills' scopes and uses; refer to temporary
52
+ `indexer-usage.yaml` when helpful. Do not reproduce hashes, versions, ownership
53
+ or an exhaustive catalog. Explain unselected skills only for a meaningful choice.
289
54
 
290
- Include unresolved local gaps with a handling plan. Settled choices belong in
291
- scope; core purpose/scope questions must be resolved through discussion before
292
- dependent work, not hidden here.
55
+ ## Decisions and remaining gaps
293
56
 
294
- | Missing information | Affected content | Current handling | When to discuss again |
295
- | --- | --- | --- | --- |
57
+ Distinguish confirmed choices from recommendations. Explain material conflicts,
58
+ proposed exclusions, unchecked coverage and their effect on first delivery.
59
+ Do not hide missing purpose or required evidence behind optimistic counts.
296
60
 
297
- Omit this section if empty. Remove template instructions, empty tables and
298
- placeholders from the actual report. Write in the user's language.
299
-
300
- ---
61
+ ## Feedback
301
62
 
302
- Related requirement: <link to existing requirement or workspace location; add existing names/IDs only as needed>
63
+ Show the report link and plan summary. Wait for user feedback before bulk writing,
64
+ including in managed mode. Reuse approval across batches in unchanged scope.
65
+ There is no separate 50-task pause; file existence and digests do not prove
66
+ approval. Reference existing requirements, not a new permanent process record.
@@ -10,6 +10,63 @@
10
10
  "markdown": {
11
11
  "type": "string",
12
12
  "minLength": 1
13
+ },
14
+ "sections": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "object",
18
+ "properties": {
19
+ "section_id": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "references": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "source_ref": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "locator": {
33
+ "type": "object",
34
+ "properties": {
35
+ "path": {
36
+ "type": "string"
37
+ },
38
+ "start_line": {
39
+ "type": "integer",
40
+ "minimum": 1
41
+ },
42
+ "end_line": {
43
+ "type": "integer",
44
+ "minimum": 1
45
+ }
46
+ },
47
+ "required": [
48
+ "path",
49
+ "start_line",
50
+ "end_line"
51
+ ],
52
+ "additionalProperties": false
53
+ }
54
+ },
55
+ "required": [
56
+ "source_ref",
57
+ "locator"
58
+ ],
59
+ "additionalProperties": false
60
+ },
61
+ "maxItems": 3
62
+ }
63
+ },
64
+ "required": [
65
+ "section_id",
66
+ "references"
67
+ ],
68
+ "additionalProperties": false
69
+ }
13
70
  }
14
71
  },
15
72
  "required": [
@@ -66,11 +123,13 @@
66
123
  ]
67
124
  },
68
125
  "minItems": 1
126
+ },
127
+ "references": {
128
+ "$ref": "#/anyOf/0/properties/sections/items/properties/references"
69
129
  }
70
130
  },
71
131
  "required": [
72
- "section_id",
73
- "content"
132
+ "section_id"
74
133
  ],
75
134
  "additionalProperties": false
76
135
  },