@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,664 +1,195 @@
1
1
  schema: agent-graph.graph.v1
2
2
  id: indexer
3
- description: Static Agent route for digest-bound Indexer work, including ready-theme delivery followed by resumption of remaining planning.
3
+ description: Current directory-based investigation, writing, source updates and
4
+ article maintenance.
4
5
  entrypoints:
6
+ production-planning: configure-production-requirements
7
+ production: confirm-production-report
5
8
  maintenance: advance-knowledge-maintenance
6
9
  source-update: inspect-source-update
7
10
  approved-revision: author-approved-revision
8
11
  approved-revision-recovery: merge-approved-revision
9
12
  update-structure-review: review-current-indexer-structure
10
- agent-step: run-indexer-agent-step
11
- provider-selection: configure-indexer-providers
12
- current-provider-resolution: resolve-current-indexer-provider
13
- current-provider-program-authorization: authorize-current-indexer-provider-program
14
- current-provider-finalization: finalize-current-indexer-provider-selection
15
- markdown-provider: inspect-markdown-provider-capture
16
- requirement-confirmation: route-index-requirement-confirmation
17
- contract-overlay-validation: validate-indexer-contract-overlays
18
- subject-key-validation: validate-subject-key-schemas
19
- dependency-authorization: authorize-indexer-dependencies
20
- program-execution-authorization: authorize-indexer-program-execution
21
- overlay-question-proposal: propose-overlay-question-amendment
22
- overlay-question-rebind: rebind-indexer-selection-to-requirement
23
- project-confirmation: confirm-indexer-project
24
- main-index: advance-current-indexer-lifecycle
25
- current-lifecycle: advance-current-indexer-lifecycle
26
- main-run-validation: validate-main-index-author-result
27
- post-author-composer-step: run-indexer-post-author-composer
28
- candidate-compile: compile-indexer-candidates
29
- incremental-impact: report-indexer-incremental-impact
30
13
  nodes:
31
- - id: merge-approved-revision
32
- kind: action
33
- reasonCode: route.indexer.approved-revision-recovery
34
- action: actions/author-approved-revision.yaml
35
- resources:
36
- required:
37
- - resources/procedures/approved-revision.md
38
- - id: advance-knowledge-maintenance
39
- kind: action
40
- reasonCode: route.indexer.maintenance
41
- action: actions/advance-knowledge-maintenance.yaml
42
- resources:
43
- recommended:
44
- - resources/procedures/knowledge-maintenance.md
45
- - id: inspect-source-update
46
- kind: action
47
- reasonCode: route.indexer.source-update
48
- action: actions/inspect-source-update.yaml
49
- resources:
50
- required:
51
- - resources/procedures/source-update.md
52
- - resources/procedures/knowledge-updates.md
53
- recommended:
54
- - resources/procedures/note.md
55
- - resources/procedures/sessions.md
56
- - id: author-approved-revision
57
- kind: action
58
- reasonCode: route.indexer.approved-revision
59
- action: actions/author-approved-revision.yaml
60
- resources:
61
- required:
62
- - resources/procedures/approved-revision.md
63
- recommended:
64
- - resources/procedures/note.md
65
- - resources/procedures/sessions.md
66
- - id: advance-current-indexer-lifecycle
14
+ - id: configure-production-requirements
67
15
  kind: action
68
- reasonCode: route.indexer.lifecycle-advance
69
- action: actions/advance-current-indexer-lifecycle.yaml
16
+ reasonCode: route.production.requirements-required
17
+ action: actions/configure-production-requirements.yaml
70
18
  satisfiedBy:
71
- - path: indexer_current.advance_complete
19
+ - path: production.requirements_present
72
20
  equals: true
73
21
  resources:
74
22
  required:
75
- - resources/procedures/homogeneous-source-review.md
76
-
77
- - id: run-current-indexer-agent
23
+ - resources/procedures/production-requirements.md
24
+ - resources/views/source-boundary.yaml
25
+ - id: prepare-production-planning
78
26
  kind: action
79
- reasonCode: route.indexer.agent-step
80
- action: actions/run-indexer-agent-step.yaml
81
- satisfiedBy:
82
- - path: indexer_current.agent_complete
83
- equals: true
27
+ reasonCode: route.production.planning-prepare
28
+ action: actions/prepare-production-stage.yaml
84
29
  resources:
85
- required:
86
- - resources/procedures/parallel-agent-batch.md
87
- - resources/procedures/homogeneous-source-review.md
88
- - resources/views/resolved-indexer-instructions.yaml
89
- - resources/views/authorized-indexer-workset-view.yaml
90
30
  recommended:
91
- - resources/templates/indexer-agent-worker.md
92
- - resources/procedures/work-start-report.md
93
- - resources/templates/work-start-report.md
94
- - id: confirm-current-indexer-obsolete-scope
95
- kind: gate
96
- reasonCode: route.indexer.obsolete-scope-confirmation
97
- resolutionAction: actions/resolve-current-indexer-gate.yaml
98
- gate:
99
- id: indexer-obsolete-scope-confirmation
100
- prompt: Resolve the obsolete scope against the current user request and existing requirements. Reuse an applicable explicit include/exclude decision or explicit delegation of this scope choice; managed review authorization alone does not decide scope. Otherwise explain the affected pages, files and consequences, ask the user and wait. This is a scope question, not a CLI failure. Inspect the full structure before submitting its approval or exclusion action.
101
- authority: context.knowledge-review
102
- delegatable: true
31
+ - resources/procedures/production-requirements.md
103
32
  satisfiedBy:
104
- - path: indexer_current.obsolete_scope_confirmed
33
+ - path: production.planning_prepared
105
34
  equals: true
106
- - id: review-current-indexer-structure
107
- kind: gate
108
- reasonCode: route.indexer.semantic-structure-review
109
- resolutionAction: actions/resolve-current-indexer-gate.yaml
110
- gate:
111
- id: indexer-semantic-structure-review
112
- prompt: Review the complete semantic structure and its create-or-enrich targets before authoring.
113
- authority: context.knowledge-review
114
- delegatable: true
115
- satisfiedBy:
116
- - path: indexer_current.structure_review_complete
117
- equals: true
118
- - id: run-current-indexer-composer
35
+ - id: plan-production-stage
119
36
  kind: action
120
- reasonCode: route.indexer.post-author-agent-step
121
- action: actions/run-indexer-post-author-composer.yaml
37
+ reasonCode: route.production.planning-required
38
+ action: actions/work-production-stage.yaml
122
39
  satisfiedBy:
123
- - path: indexer_current.composer_complete
40
+ - path: production.planning_complete
124
41
  equals: true
125
- resources:
126
- required:
127
- - resources/views/resolved-indexer-instructions.yaml
128
- - id: resolve-current-indexer-block
129
- kind: gate
130
- reasonCode: route.indexer.recovery-required
131
- gate:
132
- id: indexer-recovery
133
- prompt: Resolve the reported source, material, or execution failure before retrying the current Indexer lifecycle.
134
- delegatable: false
135
- satisfiedBy:
136
- - path: indexer_current.blockers_clear
137
- equals: true
138
- - id: confirm-current-indexer-layout
42
+ - id: production-planning-ready
43
+ kind: terminal
44
+ terminalOutcome: completed
45
+ - id: confirm-production-report
139
46
  kind: gate
140
- reasonCode: route.indexer.layout-confirmation-required
141
- resolutionAction: actions/resolve-current-indexer-gate.yaml
47
+ reasonCode: route.production.report-required
48
+ resolutionAction: actions/approve-production-report.yaml
142
49
  gate:
143
- id: confirm-layout-change
144
- prompt: Confirm the proposed knowledge layout change or reject it with revision feedback.
50
+ id: production-work-start-report
51
+ prompt: Present the lightweight plan and work-start report, then wait for
52
+ explicit user feedback before writing. Managed authority does not waive
53
+ confirmation.
145
54
  delegatable: false
146
55
  satisfiedBy:
147
- - path: indexer_current.layout_confirmed
56
+ - path: production.report_approved
148
57
  equals: true
149
- - id: current-indexer-ready
150
- kind: terminal
151
- terminalOutcome: completed
152
- - id: configure-indexer-providers
153
- kind: action
154
- reasonCode: route.indexer.provider-configuration
155
- action: actions/configure-indexer-providers.yaml
156
58
  resources:
157
59
  required:
158
- - resources/procedures/homogeneous-source-review.md
159
- - resources/contracts/indexer-provider-guide.yaml
160
- recommended:
161
60
  - resources/procedures/work-start-report.md
162
61
  - resources/templates/work-start-report.md
163
- - id: resolve-current-indexer-provider
164
- kind: action
165
- reasonCode: route.indexer.provider-host-resolution-required
166
- action: actions/resolve-current-indexer-provider.yaml
167
- - id: authorize-current-indexer-provider-program
168
- kind: gate
169
- reasonCode: route.indexer.program-execution-authorization
170
- resolutionAction: actions/authorize-current-indexer-provider-program.yaml
171
- gate:
172
- id: authorize-indexer-program-execution
173
- prompt: Authorize the exact current Provider program for trusted non-sandboxed execution.
174
- authority: context.indexer-program-execution
175
- delegatable: true
176
- - id: finalize-current-indexer-provider-selection
177
- kind: action
178
- reasonCode: route.indexer.provider-finalization-required
179
- action: actions/finalize-current-indexer-provider-selection.yaml
180
- - id: inspect-markdown-provider-capture
181
- kind: action
182
- reasonCode: route.indexer.markdown-capture-validation
183
- action: actions/inspect-markdown-provider-capture.yaml
184
- - id: discover-markdown-indexer-providers
62
+ - id: prepare-production-stage
185
63
  kind: action
186
- reasonCode: route.indexer.markdown-provider-discovery
187
- action: actions/discover-markdown-indexer-providers.yaml
188
- resources:
189
- required:
190
- - resources/contracts/indexer-provider-guide.yaml
191
- - id: route-markdown-indexer-provider-selection
192
- kind: action
193
- reasonCode: route.indexer.provider-selection
194
- action: actions/route-indexer-provider-selection.yaml
195
- - id: configure-markdown-community-indexer-fallback
64
+ reasonCode: route.production.prepare-required
65
+ action: actions/prepare-production-stage.yaml
66
+ satisfiedBy:
67
+ - path: production.prepared
68
+ equals: true
69
+ - id: work-production-stage
196
70
  kind: action
197
- reasonCode: route.indexer.community-fallback
198
- action: actions/configure-community-indexer-fallback.yaml
71
+ reasonCode: route.production.writing-required
72
+ action: actions/work-production-stage.yaml
73
+ satisfiedBy:
74
+ - path: production.writing_complete
75
+ equals: true
199
76
  resources:
200
77
  required:
201
- - resources/contracts/indexer-provider-guide.yaml
202
- - id: route-markdown-community-indexer-fallback
203
- kind: action
204
- reasonCode: route.indexer.provider-selection
205
- action: actions/route-indexer-provider-selection.yaml
206
- - id: validate-markdown-indexer-selection-proposal
207
- kind: action
208
- join: any
209
- reasonCode: route.indexer.selection-validation
210
- action: actions/validate-indexer-selection-proposal.yaml
211
- - id: validate-markdown-provider-selection
212
- kind: action
213
- reasonCode: route.indexer.markdown-provider-validation
214
- action: actions/validate-markdown-provider-selection.yaml
215
- - id: markdown-document-capture-not-current
216
- kind: terminal
217
- terminalOutcome: blocked
218
- - id: markdown-provider-selection-current
219
- kind: terminal
220
- terminalOutcome: completed
221
- - id: markdown-provider-host-resolution-required
222
- kind: terminal
223
- terminalOutcome: blocked
224
- - id: markdown-provider-selection-invalid
225
- kind: terminal
226
- terminalOutcome: failed
227
- - id: route-index-requirement-confirmation
78
+ - resources/procedures/production-stage-files.md
79
+ recommended:
80
+ - resources/procedures/parallel-agent-batch.md
81
+ - resources/templates/indexer-agent-worker.md
82
+ - id: continue-production-investigation
228
83
  kind: action
229
- reasonCode: route.indexer.requirement-confirmation-routing
230
- action: actions/route-index-requirement-confirmation.yaml
231
- - id: confirm-index-requirements
232
- kind: gate
233
- reasonCode: route.indexer.requirement-confirmation
234
- inspectionAction: actions/route-index-requirement-confirmation.yaml
235
- resolutionAction: actions/confirm-index-requirement-workset.yaml
236
- gate:
237
- id: confirm-index-requirements
238
- prompt: Confirm the exact current Indexer requirement workset.
239
- authority: context.indexer-requirement-confirmation
240
- delegatable: true
84
+ reasonCode: route.production.investigation-required
85
+ action: actions/work-production-stage.yaml
241
86
  satisfiedBy:
242
- - path: indexer_requirements.confirmed
87
+ - path: production.investigation_clear
243
88
  equals: true
244
- - id: confirm-index-requirement-contraction
89
+ - id: resolve-production-gap
245
90
  kind: gate
246
- reasonCode: route.indexer.requirement-contraction
247
- inspectionAction: actions/route-index-requirement-confirmation.yaml
248
- resolutionAction: actions/confirm-index-requirement-workset.yaml
91
+ reasonCode: route.production.scope-incomplete
249
92
  gate:
250
- id: confirm-index-requirement-contraction
251
- prompt: Confirm the exact requirement contraction or incomparable obligation replacement.
252
- authority: context.indexer-requirement-contraction
93
+ id: production-scope-incomplete
94
+ prompt: The stage has unresolved investigation, dependencies or material gaps.
95
+ Resolve the reported scope before calling the stage complete; accepted
96
+ articles remain saved.
253
97
  delegatable: false
254
98
  satisfiedBy:
255
- - path: indexer_requirements.confirmed
99
+ - path: production.complete
256
100
  equals: true
257
- - id: indexer-requirements-confirmed
258
- kind: terminal
259
- join: any
260
- terminalOutcome: completed
261
- - id: route-indexer-provider-selection
262
- kind: action
263
- reasonCode: route.indexer.provider-selection
264
- action: actions/route-indexer-provider-selection.yaml
265
- - id: configure-community-indexer-fallback
101
+ - id: repair-production-articles
266
102
  kind: action
267
- reasonCode: route.indexer.community-fallback
268
- action: actions/configure-community-indexer-fallback.yaml
103
+ reasonCode: route.production.repair-required
104
+ action: actions/work-production-stage.yaml
105
+ satisfiedBy:
106
+ - path: production.review_clear
107
+ equals: true
269
108
  resources:
270
109
  required:
271
- - resources/contracts/indexer-provider-guide.yaml
272
- - id: route-community-indexer-fallback
273
- kind: action
274
- reasonCode: route.indexer.provider-selection
275
- action: actions/route-indexer-provider-selection.yaml
276
- - id: validate-indexer-selection-proposal
277
- kind: action
278
- join: any
279
- reasonCode: route.indexer.selection-validation
280
- action: actions/validate-indexer-selection-proposal.yaml
281
- - id: indexer-provider-conflict
282
- kind: terminal
283
- join: any
284
- terminalOutcome: waiting-user
285
- - id: indexer-capability-gap
286
- kind: terminal
287
- join: any
288
- terminalOutcome: blocked
289
- - id: indexer-customization-required
110
+ - resources/procedures/production-stage-files.md
111
+ - id: production-ready
290
112
  kind: terminal
291
- join: any
292
- terminalOutcome: blocked
293
- - id: propose-indexer-customization
113
+ terminalOutcome: completed
114
+ - id: merge-approved-revision
294
115
  kind: action
295
- join: any
296
- reasonCode: route.indexer.customization-proposal
297
- action: actions/propose-indexer-customization.yaml
116
+ reasonCode: route.indexer.approved-revision-recovery
117
+ action: actions/author-approved-revision.yaml
298
118
  resources:
299
119
  required:
300
- - resources/contracts/indexer-provider-guide.yaml
301
- - id: validate-indexer-customization
120
+ - resources/procedures/approved-revision.md
121
+ - id: advance-knowledge-maintenance
302
122
  kind: action
303
- reasonCode: route.indexer.customization-validation
304
- action: actions/validate-indexer-customization.yaml
305
- - id: prepare-indexer-customization-project
123
+ reasonCode: route.indexer.maintenance
124
+ action: actions/advance-knowledge-maintenance.yaml
125
+ resources:
126
+ recommended:
127
+ - resources/procedures/knowledge-maintenance.md
128
+ - id: inspect-source-update
306
129
  kind: action
307
- reasonCode: route.indexer.customization-project-preparation
308
- action: actions/prepare-indexer-customization-project.yaml
130
+ reasonCode: route.indexer.source-update
131
+ action: actions/inspect-source-update.yaml
309
132
  resources:
310
133
  required:
311
- - resources/contracts/indexer-provider-guide.yaml
312
- - id: indexer-customization-validation-required
313
- kind: terminal
314
- terminalOutcome: partial
315
- - id: indexer-selection-invalid
316
- kind: terminal
317
- terminalOutcome: failed
318
- - id: run-indexer-agent-step
134
+ - resources/procedures/source-update.md
135
+ - resources/procedures/knowledge-updates.md
136
+ recommended:
137
+ - resources/procedures/note.md
138
+ - resources/procedures/sessions.md
139
+ - id: author-approved-revision
319
140
  kind: action
320
- reasonCode: route.indexer.agent-step
321
- action: actions/run-indexer-agent-step.yaml
141
+ reasonCode: route.indexer.approved-revision
142
+ action: actions/author-approved-revision.yaml
322
143
  resources:
323
144
  required:
324
- - resources/procedures/parallel-agent-batch.md
325
- - resources/procedures/homogeneous-source-review.md
326
- - resources/views/resolved-indexer-instructions.yaml
327
- - resources/views/authorized-indexer-workset-view.yaml
145
+ - resources/procedures/approved-revision.md
328
146
  recommended:
329
- - resources/templates/indexer-agent-worker.md
330
- - resources/procedures/work-start-report.md
331
- - resources/templates/work-start-report.md
332
- - id: propose-overlay-question-amendment
333
- kind: action
334
- reasonCode: route.indexer.overlay-question-proposal
335
- action: actions/propose-overlay-question-amendment.yaml
336
- - id: rebind-indexer-selection-to-requirement
337
- kind: action
338
- reasonCode: route.indexer.overlay-question-rebind
339
- action: actions/rebind-indexer-selection-to-requirement.yaml
340
- - id: done
341
- kind: terminal
342
- join: any
343
- terminalOutcome: completed
344
- - id: validate-indexer-contract-overlays
345
- kind: action
346
- reasonCode: route.indexer.contract-overlay-validation
347
- action: actions/validate-indexer-contract-overlays.yaml
348
- - id: contract-overlay-valid
349
- kind: terminal
350
- terminalOutcome: completed
351
- - id: validate-subject-key-schemas
352
- kind: action
353
- reasonCode: route.indexer.subject-key-validation
354
- action: actions/validate-subject-key-schemas.yaml
355
- - id: subject-key-schema-current
356
- kind: terminal
357
- terminalOutcome: completed
358
- - id: subject-reidentification-invalid
359
- kind: terminal
360
- terminalOutcome: failed
361
- - id: confirm-subject-reidentification
147
+ - resources/procedures/note.md
148
+ - resources/procedures/sessions.md
149
+ - id: review-current-indexer-structure
362
150
  kind: gate
363
- reasonCode: route.indexer.subject-reidentification
364
- inspectionAction: actions/validate-subject-key-schemas.yaml
365
- resolutionAction: actions/confirm-subject-reidentification.yaml
151
+ reasonCode: route.indexer.semantic-structure-review
152
+ resolutionAction: actions/resolve-current-indexer-gate.yaml
366
153
  gate:
367
- id: confirm-subject-reidentification
368
- prompt: Confirm the exact collision-free old-to-new Node identity mapping for this breaking SubjectKey schema change.
369
- authority: context.indexer-subject-reidentification
154
+ id: indexer-semantic-structure-review
155
+ prompt: Present the work-start report from the lightweight plan, explain reader
156
+ topics, scope, first delivery and gaps, then wait for explicit user
157
+ feedback before bulk writing. Managed execution does not waive this
158
+ gate. Reuse approval of unchanged scope across batches; task counts add
159
+ no separate confirmation.
160
+ authority: context.knowledge-review
370
161
  delegatable: false
371
162
  satisfiedBy:
372
- - path: indexer_subject_reidentification.authorized
373
- equals: true
374
- - id: subject-reidentification-confirmed
375
- kind: terminal
376
- terminalOutcome: completed
377
- - id: authorize-indexer-dependencies
378
- kind: gate
379
- reasonCode: route.indexer.dependency-authorization
380
- inspectionAction: actions/inspect-indexer-dependencies.yaml
381
- resolutionAction: actions/authorize-indexer-dependencies.yaml
382
- gate:
383
- id: authorize-indexer-dependencies
384
- prompt: Authorize the exact dependency identities and locked artifacts with install scripts disabled.
385
- authority: context.indexer-dependency-install
386
- delegatable: true
387
- satisfiedBy:
388
- - path: indexer_dependencies.authorized
389
- equals: true
390
- - id: dependency-authorization-done
391
- kind: terminal
392
- terminalOutcome: completed
393
- - id: authorize-indexer-program-execution
394
- kind: gate
395
- reasonCode: route.indexer.program-execution-authorization
396
- inspectionAction: actions/inspect-indexer-program-execution.yaml
397
- resolutionAction: actions/authorize-indexer-program-execution.yaml
398
- gate:
399
- id: authorize-indexer-program-execution
400
- prompt: Authorize the exact non-allowlisted Provider program for trusted non-sandboxed execution.
401
- authority: context.indexer-program-execution
402
- delegatable: true
403
- satisfiedBy:
404
- - path: indexer_program_execution.authorized
405
- equals: true
406
- - id: program-execution-authorization-done
407
- kind: terminal
408
- terminalOutcome: completed
409
- - id: confirm-indexer-project
410
- kind: gate
411
- reasonCode: route.indexer.project-confirmation
412
- inspectionAction: actions/inspect-indexer-project-proposal.yaml
413
- resolutionAction: actions/apply-indexer-project.yaml
414
- gate:
415
- id: confirm-indexer-project
416
- prompt: Confirm the exact Indexer registry/customization proposal and dependency intents.
417
- authority: context.indexer-project-confirmation
418
- delegatable: true
419
- satisfiedBy:
420
- - path: indexer_project.confirmed
163
+ - path: indexer_current.structure_review_complete
421
164
  equals: true
422
- - id: project-done
423
- kind: terminal
424
- terminalOutcome: completed
425
- - id: observe-indexer-project
426
- kind: action
427
- reasonCode: route.indexer.project-observation
428
- action: actions/observe-indexer-project.yaml
429
- - id: validate-main-index-author-result
430
- kind: action
431
- reasonCode: route.indexer.main-run-validation
432
- action: actions/validate-main-index-run.yaml
433
- - id: index-target-resolution-ambiguous
434
- kind: terminal
435
- join: any
436
- terminalOutcome: blocked
437
- - id: index-target-resolution-invalid
438
- kind: terminal
439
- join: any
440
- terminalOutcome: failed
441
- - id: run-indexer-post-author-composer
442
- kind: action
443
- reasonCode: route.indexer.post-author-agent-step
444
- action: actions/run-indexer-post-author-composer.yaml
445
165
  resources:
446
166
  required:
447
- - resources/views/resolved-indexer-instructions.yaml
448
- - id: post-author-blocked
449
- kind: terminal
450
- join: any
451
- terminalOutcome: blocked
452
- - id: compile-indexer-candidates
453
- kind: action
454
- reasonCode: route.indexer.candidate-compile
455
- action: actions/compile-indexer-candidates.yaml
456
- - id: indexer-candidates-compiled
457
- kind: terminal
458
- terminalOutcome: completed
459
- - id: report-indexer-incremental-impact
460
- kind: action
461
- reasonCode: route.indexer.incremental-impact
462
- action: actions/report-indexer-incremental-impact.yaml
463
- - id: indexer-incremental-impact-reported
167
+ - resources/procedures/work-start-report.md
168
+ - resources/templates/work-start-report.md
169
+ - id: update-structure-ready
464
170
  kind: terminal
465
171
  terminalOutcome: completed
466
172
  edges:
467
- - { from: advance-current-indexer-lifecycle, to: run-current-indexer-agent }
468
- - { from: run-current-indexer-agent, to: confirm-current-indexer-obsolete-scope }
469
- - { from: confirm-current-indexer-obsolete-scope, to: review-current-indexer-structure, kind: gatedBy }
470
- - { from: review-current-indexer-structure, to: run-current-indexer-composer, kind: gatedBy }
471
- - { from: run-current-indexer-composer, to: resolve-current-indexer-block }
472
- - { from: resolve-current-indexer-block, to: confirm-current-indexer-layout, kind: gatedBy }
473
- - { from: confirm-current-indexer-layout, to: current-indexer-ready, kind: gatedBy }
474
- - from: inspect-markdown-provider-capture
475
- to: discover-markdown-indexer-providers
476
- outcomes: [completed]
477
- - from: inspect-markdown-provider-capture
478
- to: markdown-document-capture-not-current
479
- outcomes: [blocked]
480
- - from: discover-markdown-indexer-providers
481
- to: route-markdown-indexer-provider-selection
482
- outcomes: [completed]
483
- - from: route-markdown-indexer-provider-selection
484
- to: validate-markdown-indexer-selection-proposal
485
- outcomes: [completed]
486
- - from: route-markdown-indexer-provider-selection
487
- to: configure-markdown-community-indexer-fallback
488
- outcomes: [partial]
489
- - from: route-markdown-indexer-provider-selection
490
- to: indexer-provider-conflict
491
- outcomes: [waiting-user]
492
- - from: route-markdown-indexer-provider-selection
493
- to: indexer-customization-required
494
- outcomes: [blocked]
495
- - from: configure-markdown-community-indexer-fallback
496
- to: route-markdown-community-indexer-fallback
497
- outcomes: [completed]
498
- - from: route-markdown-community-indexer-fallback
499
- to: validate-markdown-indexer-selection-proposal
500
- outcomes: [completed]
501
- - from: route-markdown-community-indexer-fallback
502
- to: indexer-provider-conflict
503
- outcomes: [waiting-user]
504
- - from: route-markdown-community-indexer-fallback
505
- to: propose-indexer-customization
506
- outcomes: [partial, blocked]
507
- - from: validate-markdown-indexer-selection-proposal
508
- to: validate-markdown-provider-selection
509
- outcomes: [completed]
510
- - from: validate-markdown-indexer-selection-proposal
511
- to: markdown-provider-selection-invalid
512
- outcomes: [failed]
513
- - from: validate-markdown-provider-selection
514
- to: markdown-provider-selection-current
515
- outcomes: [completed]
516
- - from: validate-markdown-provider-selection
517
- to: markdown-provider-host-resolution-required
518
- outcomes: [partial]
519
- - from: validate-markdown-provider-selection
520
- to: indexer-customization-required
521
- outcomes: [blocked]
522
- - from: validate-markdown-provider-selection
523
- to: markdown-provider-selection-invalid
524
- outcomes: [failed]
525
- - from: configure-indexer-providers
526
- to: route-indexer-provider-selection
527
- outcomes: [completed]
528
- - from: route-index-requirement-confirmation
529
- to: confirm-index-requirements
530
- outcomes: [waiting-user]
531
- - from: route-index-requirement-confirmation
532
- to: confirm-index-requirement-contraction
533
- outcomes: [blocked]
534
- - from: confirm-index-requirements
535
- to: indexer-requirements-confirmed
536
- outcomes: [completed]
537
- - from: confirm-index-requirement-contraction
538
- to: indexer-requirements-confirmed
539
- outcomes: [completed]
540
- - from: route-indexer-provider-selection
541
- to: validate-indexer-selection-proposal
542
- outcomes: [completed]
543
- - from: route-indexer-provider-selection
544
- to: configure-community-indexer-fallback
545
- outcomes: [partial]
546
- - from: route-indexer-provider-selection
547
- to: indexer-provider-conflict
548
- outcomes: [waiting-user]
549
- - from: route-indexer-provider-selection
550
- to: indexer-customization-required
551
- outcomes: [blocked]
552
- - from: configure-community-indexer-fallback
553
- to: route-community-indexer-fallback
554
- outcomes: [completed]
555
- - from: route-community-indexer-fallback
556
- to: validate-indexer-selection-proposal
557
- outcomes: [completed]
558
- - from: route-community-indexer-fallback
559
- to: indexer-provider-conflict
560
- outcomes: [waiting-user]
561
- - from: route-community-indexer-fallback
562
- to: propose-indexer-customization
563
- outcomes: [partial, blocked]
564
- - from: propose-indexer-customization
565
- to: validate-indexer-customization
566
- outcomes: [completed]
567
- - from: propose-indexer-customization
568
- to: indexer-selection-invalid
569
- outcomes: [failed]
570
- - from: validate-indexer-customization
571
- to: prepare-indexer-customization-project
572
- outcomes: [completed]
573
- - from: prepare-indexer-customization-project
574
- to: confirm-indexer-project
575
- outcomes: [completed]
576
- - from: prepare-indexer-customization-project
577
- to: authorize-indexer-dependencies
578
- outcomes: [partial]
579
- - from: prepare-indexer-customization-project
580
- to: authorize-indexer-program-execution
581
- outcomes: [waiting-user]
582
- - from: prepare-indexer-customization-project
583
- to: indexer-selection-invalid
584
- outcomes: [failed]
585
- - from: validate-indexer-customization
586
- to: indexer-selection-invalid
587
- outcomes: [failed]
588
- - from: validate-indexer-selection-proposal
589
- to: done
590
- outcomes: [completed]
591
- - from: validate-indexer-selection-proposal
592
- to: indexer-selection-invalid
593
- outcomes: [failed]
594
- - from: validate-subject-key-schemas
595
- to: subject-key-schema-current
596
- outcomes: [completed]
597
- - from: validate-subject-key-schemas
598
- to: confirm-subject-reidentification
599
- outcomes: [blocked]
600
- - from: validate-subject-key-schemas
601
- to: subject-reidentification-invalid
602
- outcomes: [failed]
603
- - from: confirm-subject-reidentification
604
- to: subject-reidentification-confirmed
605
- outcomes: [completed]
606
- - from: run-indexer-agent-step
607
- to: done
608
- outcomes: [completed]
609
- - from: propose-overlay-question-amendment
610
- to: done
611
- outcomes: [completed]
612
- - from: rebind-indexer-selection-to-requirement
613
- to: done
614
- outcomes: [completed]
615
- - from: validate-indexer-contract-overlays
616
- to: contract-overlay-valid
617
- outcomes: [completed]
618
- - from: authorize-indexer-dependencies
619
- to: prepare-indexer-customization-project
620
- kind: repeat
621
- outcomes: [completed]
622
- - from: authorize-indexer-dependencies
623
- to: indexer-selection-invalid
624
- outcomes: [failed]
625
- - from: authorize-indexer-program-execution
626
- to: prepare-indexer-customization-project
627
- kind: repeat
628
- outcomes: [completed]
629
- - from: authorize-indexer-program-execution
630
- to: indexer-selection-invalid
631
- outcomes: [failed]
632
- - from: confirm-indexer-project
633
- to: observe-indexer-project
634
- outcomes: [completed]
635
- - from: confirm-indexer-project
636
- to: indexer-selection-invalid
637
- outcomes: [failed]
638
- - from: observe-indexer-project
639
- to: validate-indexer-selection-proposal
640
- outcomes: [completed]
641
- - from: observe-indexer-project
642
- to: indexer-selection-invalid
643
- outcomes: [failed]
644
- - from: validate-main-index-author-result
645
- to: done
646
- outcomes: [completed]
647
- - from: validate-main-index-author-result
648
- to: index-target-resolution-ambiguous
649
- outcomes: [blocked]
650
- - from: validate-main-index-author-result
651
- to: index-target-resolution-invalid
652
- outcomes: [failed]
653
- - from: run-indexer-post-author-composer
654
- to: done
655
- outcomes: [completed]
656
- - from: run-indexer-post-author-composer
657
- to: post-author-blocked
658
- outcomes: [failed]
659
- - from: compile-indexer-candidates
660
- to: indexer-candidates-compiled
661
- outcomes: [completed]
662
- - from: report-indexer-incremental-impact
663
- to: indexer-incremental-impact-reported
664
- outcomes: [completed]
173
+ - from: configure-production-requirements
174
+ to: prepare-production-planning
175
+ - from: prepare-production-planning
176
+ to: plan-production-stage
177
+ - from: plan-production-stage
178
+ to: production-planning-ready
179
+ - from: confirm-production-report
180
+ to: prepare-production-stage
181
+ kind: gatedBy
182
+ - from: prepare-production-stage
183
+ to: work-production-stage
184
+ - from: work-production-stage
185
+ to: continue-production-investigation
186
+ - from: continue-production-investigation
187
+ to: resolve-production-gap
188
+ - from: resolve-production-gap
189
+ to: repair-production-articles
190
+ kind: gatedBy
191
+ - from: repair-production-articles
192
+ to: production-ready
193
+ - from: review-current-indexer-structure
194
+ to: update-structure-ready
195
+ kind: gatedBy