@c4a/context-cli 0.6.19 → 0.7.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 (311) hide show
  1. package/README.md +67 -6
  2. package/README.zh-CN.md +42 -5
  3. package/cli.js +77935 -44879
  4. package/indexers/bundles/context-code-indexer/SKILL.md +20 -0
  5. package/indexers/bundles/context-code-indexer/context-indexer.yaml +230 -0
  6. package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +23 -0
  7. package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +22 -0
  8. package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +22 -0
  9. package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +21 -0
  10. package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +22 -0
  11. package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +21 -0
  12. package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +22 -0
  13. package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +23 -0
  14. package/indexers/bundles/context-code-indexer/references/indexer.md +49 -0
  15. package/indexers/bundles/context-code-indexer/references/metrics.md +201 -0
  16. package/{providers/context/resources/semantic/code-index/templates/adapter.md → indexers/bundles/context-code-indexer/templates/adapter-integration.md} +16 -6
  17. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/api-service.md +9 -7
  18. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/background-runtime.md +3 -3
  19. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/cli-tool.md +6 -6
  20. package/indexers/bundles/context-code-indexer/templates/component-library.md +99 -0
  21. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/contract-source.md +4 -4
  22. package/{providers/context/resources/semantic/code-index/templates/cross-module-chain.md → indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md} +11 -12
  23. package/{providers/context/resources/semantic/code-index/templates/derived-source.md → indexers/bundles/context-code-indexer/templates/derived-generated-source.md} +11 -10
  24. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/domain-service.md +4 -4
  25. package/{providers/context/resources/semantic/code-index/templates/event-flow.md → indexers/bundles/context-code-indexer/templates/event-consumer.md} +5 -5
  26. package/{providers/context/resources/semantic/code-index/templates/protocol-boundary.md → indexers/bundles/context-code-indexer/templates/gateway-facade.md} +14 -13
  27. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/monorepo-container.md +11 -11
  28. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/plugin-extension.md +1 -1
  29. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/sdk-library.md +9 -9
  30. package/{providers/context/resources/semantic/code-index/templates/persistence-boundary.md → indexers/bundles/context-code-indexer/templates/storage-repository.md} +3 -3
  31. package/{providers/context/resources/semantic/code-index → indexers/bundles/context-code-indexer}/templates/web-application.md +5 -4
  32. package/indexers/bundles/context-code-indexer/tests/fixtures/chapters.json +226 -0
  33. package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +82 -0
  34. package/indexers/bundles/context-code-indexer/tests/fixtures/profiles.json +210 -0
  35. package/indexers/bundles/context-code-indexer/tests/fixtures/scenarios.json +122 -0
  36. package/indexers/bundles/context-markdown-indexer/SKILL.md +20 -0
  37. package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +147 -0
  38. package/indexers/bundles/context-markdown-indexer/references/classification.md +63 -0
  39. package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +106 -0
  40. package/indexers/bundles/context-markdown-indexer/references/indexer.md +23 -0
  41. package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +146 -0
  42. package/indexers/bundles/context-markdown-indexer/references/structure-and-artifacts.md +109 -0
  43. package/indexers/bundles/context-markdown-indexer/tests/fixtures/anonymous.json +31 -0
  44. package/indexers/bundles/context-markdown-indexer/tests/fixtures/editorial.json +309 -0
  45. package/indexers/bundles/context-markdown-indexer/tests/fixtures/migration-equivalence.json +186 -0
  46. package/indexers/bundles/context-markdown-indexer/tests/fixtures/profiles.json +171 -0
  47. package/indexers/bundles/context-markdown-indexer/tests/fixtures/routing.json +151 -0
  48. package/indexers/capability-manifest.json +35 -0
  49. package/indexers/contracts/hard-rule-conformance.json +2644 -0
  50. package/indexers/contracts/operator-contract.json +35 -0
  51. package/indexers/contracts/profile-contract.json +10162 -0
  52. package/indexers/release-manifest.json +208 -0
  53. package/package.json +5 -4
  54. package/plugins/README.md +17 -109
  55. package/plugins/README_CN.md +11 -89
  56. package/plugins/VERSION +1 -1
  57. package/plugins/claude/.claude-plugin/plugin.json +3 -11
  58. package/plugins/claude/CLAUDE.md +1 -1
  59. package/plugins/claude/README.md +1 -1
  60. package/plugins/claude/commands/context.md +76 -1
  61. package/plugins/codex/.codex-plugin/plugin.json +6 -17
  62. package/plugins/codex/AGENTS.md +1 -1
  63. package/plugins/codex/README.md +1 -1
  64. package/plugins/codex/skills/context/SKILL.md +77 -13
  65. package/plugins/cursor/.cursor-plugin/plugin.json +4 -17
  66. package/plugins/cursor/AGENTS.md +1 -1
  67. package/plugins/cursor/README.md +3 -2
  68. package/plugins/cursor/commands/c4a-context.md +76 -3
  69. package/plugins/skills/{c4a-context → context}/SKILL.md +78 -14
  70. package/plugins/skills/context-code-indexer/SKILL.md +20 -0
  71. package/plugins/skills/context-code-indexer/context-indexer.yaml +230 -0
  72. package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +23 -0
  73. package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +22 -0
  74. package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +22 -0
  75. package/plugins/skills/context-code-indexer/references/composers/event-flow.md +21 -0
  76. package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +22 -0
  77. package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +21 -0
  78. package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +22 -0
  79. package/plugins/skills/context-code-indexer/references/composers/public-contract.md +23 -0
  80. package/plugins/skills/context-code-indexer/references/indexer.md +49 -0
  81. package/plugins/skills/context-code-indexer/references/metrics.md +201 -0
  82. package/plugins/skills/context-code-indexer/templates/adapter-integration.md +119 -0
  83. package/plugins/skills/context-code-indexer/templates/api-service.md +118 -0
  84. package/plugins/skills/context-code-indexer/templates/background-runtime.md +109 -0
  85. package/plugins/skills/context-code-indexer/templates/cli-tool.md +129 -0
  86. package/plugins/skills/context-code-indexer/templates/component-library.md +99 -0
  87. package/plugins/skills/context-code-indexer/templates/contract-source.md +73 -0
  88. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +77 -0
  89. package/plugins/skills/context-code-indexer/templates/derived-generated-source.md +117 -0
  90. package/plugins/skills/context-code-indexer/templates/domain-service.md +109 -0
  91. package/plugins/skills/context-code-indexer/templates/event-consumer.md +62 -0
  92. package/plugins/skills/context-code-indexer/templates/gateway-facade.md +89 -0
  93. package/plugins/skills/context-code-indexer/templates/monorepo-container.md +124 -0
  94. package/plugins/skills/context-code-indexer/templates/plugin-extension.md +52 -0
  95. package/plugins/skills/context-code-indexer/templates/sdk-library.md +132 -0
  96. package/plugins/skills/context-code-indexer/templates/storage-repository.md +56 -0
  97. package/plugins/skills/context-code-indexer/templates/web-application.md +146 -0
  98. package/plugins/skills/context-code-indexer/tests/fixtures/chapters.json +226 -0
  99. package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +82 -0
  100. package/plugins/skills/context-code-indexer/tests/fixtures/profiles.json +210 -0
  101. package/plugins/skills/context-code-indexer/tests/fixtures/scenarios.json +122 -0
  102. package/plugins/skills/context-markdown-indexer/SKILL.md +20 -0
  103. package/plugins/skills/context-markdown-indexer/context-indexer.yaml +147 -0
  104. package/plugins/skills/context-markdown-indexer/references/classification.md +63 -0
  105. package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +106 -0
  106. package/plugins/skills/context-markdown-indexer/references/indexer.md +23 -0
  107. package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +146 -0
  108. package/plugins/skills/context-markdown-indexer/references/structure-and-artifacts.md +109 -0
  109. package/plugins/skills/context-markdown-indexer/tests/fixtures/anonymous.json +31 -0
  110. package/plugins/skills/context-markdown-indexer/tests/fixtures/editorial.json +309 -0
  111. package/plugins/skills/context-markdown-indexer/tests/fixtures/migration-equivalence.json +186 -0
  112. package/plugins/skills/context-markdown-indexer/tests/fixtures/profiles.json +171 -0
  113. package/plugins/skills/context-markdown-indexer/tests/fixtures/routing.json +151 -0
  114. package/providers/context/actions/accept-main-index-run.yaml +7 -0
  115. package/providers/context/actions/accept-material-answer-run.yaml +7 -0
  116. package/providers/context/actions/accept-post-author-composer-run.yaml +7 -0
  117. package/providers/context/actions/actualize-material-answer-bindings.yaml +8 -0
  118. package/providers/context/actions/apply-indexer-project.yaml +7 -0
  119. package/providers/context/actions/audit-material-gap-state.yaml +8 -0
  120. package/providers/context/actions/audit-projected-artifact-fan-out.yaml +8 -0
  121. package/providers/context/actions/authorize-indexer-dependencies.yaml +7 -0
  122. package/providers/context/actions/authorize-indexer-program-execution.yaml +7 -0
  123. package/providers/context/actions/build-main-index-author-worksets.yaml +7 -0
  124. package/providers/context/actions/build-main-index-catalog-fallback.yaml +7 -0
  125. package/providers/context/actions/build-main-index-partition-worksets.yaml +7 -0
  126. package/providers/context/actions/build-material-question-workset.yaml +7 -0
  127. package/providers/context/actions/build-post-author-composer-worksets.yaml +7 -0
  128. package/providers/context/actions/build-question-target-inventory.yaml +7 -0
  129. package/providers/context/actions/build-subject-catalog.yaml +7 -0
  130. package/providers/context/actions/build-target-resolution-views.yaml +7 -0
  131. package/providers/context/actions/checkpoint-material-answer-review.yaml +8 -0
  132. package/providers/context/actions/checkpoint-material-gaps.yaml +8 -0
  133. package/providers/context/actions/close-indexer-approved-knowledge.yaml +8 -0
  134. package/providers/context/actions/compile-indexer-candidates.yaml +8 -0
  135. package/providers/context/actions/compose-indexer-post-author-fragments.yaml +7 -0
  136. package/providers/context/actions/configure-community-indexer-fallback.yaml +6 -0
  137. package/providers/context/actions/configure-indexer-providers.yaml +6 -0
  138. package/providers/context/actions/confirm-index-requirement-workset.yaml +8 -0
  139. package/providers/context/actions/confirm-subject-reidentification.yaml +8 -0
  140. package/providers/context/actions/converge-main-index-partition-run.yaml +7 -0
  141. package/providers/context/actions/discover-markdown-indexer-providers.yaml +6 -0
  142. package/providers/context/actions/evaluate-material-gaps.yaml +8 -0
  143. package/providers/context/actions/fail-main-index-run.yaml +7 -0
  144. package/providers/context/actions/fail-material-answer-run.yaml +7 -0
  145. package/providers/context/actions/fail-post-author-composer-run.yaml +7 -0
  146. package/providers/context/actions/inspect-index-candidate-review-readiness.yaml +8 -0
  147. package/providers/context/actions/inspect-index-profile-failure.yaml +7 -0
  148. package/providers/context/actions/inspect-indexer-dependencies.yaml +7 -0
  149. package/providers/context/actions/inspect-indexer-program-execution.yaml +7 -0
  150. package/providers/context/actions/inspect-indexer-project-proposal.yaml +7 -0
  151. package/providers/context/actions/inspect-markdown-provider-capture.yaml +7 -0
  152. package/providers/context/actions/inspect-material-answer-review.yaml +8 -0
  153. package/providers/context/actions/materialize-indexer-instructions.yaml +7 -0
  154. package/providers/context/actions/observe-indexer-project.yaml +7 -0
  155. package/providers/context/actions/observe-main-index-run-ledger.yaml +7 -0
  156. package/providers/context/actions/observe-material-answer-runs.yaml +7 -0
  157. package/providers/context/actions/observe-post-author-composer-worksets.yaml +7 -0
  158. package/providers/context/actions/override-index-profile-audit.yaml +7 -0
  159. package/providers/context/actions/prepare-indexer-customization-project.yaml +7 -0
  160. package/providers/context/actions/prepare-main-index-run-ledger.yaml +7 -0
  161. package/providers/context/actions/prepare-material-answer-runs.yaml +7 -0
  162. package/providers/context/actions/propose-indexer-customization.yaml +7 -0
  163. package/providers/context/actions/propose-overlay-question-amendment.yaml +7 -0
  164. package/providers/context/actions/rebind-indexer-selection-to-requirement.yaml +7 -0
  165. package/providers/context/actions/reconcile-indexer-results.yaml +7 -0
  166. package/providers/context/actions/record-index-profile-revision.yaml +7 -0
  167. package/providers/context/actions/report-index-profile-failure.yaml +7 -0
  168. package/providers/context/actions/report-indexer-incremental-impact.yaml +8 -0
  169. package/providers/context/actions/resolve-effective-composers.yaml +7 -0
  170. package/providers/context/actions/review-material-answer-candidate.yaml +8 -0
  171. package/providers/context/actions/revise-index-output.yaml +7 -0
  172. package/providers/context/actions/route-index-requirement-confirmation.yaml +8 -0
  173. package/providers/context/actions/route-indexer-provider-selection.yaml +7 -0
  174. package/providers/context/actions/run-indexer-agent-step.yaml +7 -0
  175. package/providers/context/actions/run-indexer-lifecycle.yaml +7 -0
  176. package/providers/context/actions/run-indexer-post-author-composer.yaml +7 -0
  177. package/providers/context/actions/run-material-answer-indexers.yaml +7 -0
  178. package/providers/context/actions/start-main-index-run.yaml +7 -0
  179. package/providers/context/actions/start-material-answer-run.yaml +7 -0
  180. package/providers/context/actions/start-post-author-composer-run.yaml +7 -0
  181. package/providers/context/actions/validate-indexer-contract-overlays.yaml +7 -0
  182. package/providers/context/actions/validate-indexer-customization.yaml +7 -0
  183. package/providers/context/actions/validate-indexer-selection-proposal.yaml +7 -0
  184. package/providers/context/actions/validate-main-index-run.yaml +7 -0
  185. package/providers/context/actions/validate-markdown-provider-selection.yaml +7 -0
  186. package/providers/context/actions/validate-subject-key-schemas.yaml +8 -0
  187. package/providers/context/codes.yaml +69 -23
  188. package/providers/context/graphs/indexer.yaml +1042 -0
  189. package/providers/context/graphs/workspace.yaml +37 -454
  190. package/providers/context/manifest.json +1245 -433
  191. package/providers/context/provider.yaml +3 -2
  192. package/providers/context/resources/diagnostics/projection-stale.md +0 -1
  193. package/providers/context/resources/manuals/reference/project-api.md +41 -40
  194. package/providers/context/resources/views/document-optimization-current.yaml +1 -1
  195. package/providers/context/resources/views/package-current.yaml +1 -1
  196. package/providers/context/resources/views/resolved-indexer-instructions.yaml +23 -0
  197. package/providers/context/resources/views/review-current.yaml +1 -1
  198. package/providers/context/resources/views/source-boundary.yaml +1 -1
  199. package/providers/context/resources/views/source-current.yaml +1 -1
  200. package/providers/context/resources/views/verification-current.yaml +1 -1
  201. package/providers/context/resources/views/workspace-current.yaml +1 -1
  202. package/providers/context/schemas/indexer-agent-step-input.schema.json +30 -0
  203. package/providers/context/schemas/indexer-agent-step-result.schema.json +47 -0
  204. package/providers/context/schemas/indexer-candidate-compile-input.schema.json +57 -0
  205. package/providers/context/schemas/indexer-candidate-compile-output.schema.json +38 -0
  206. package/providers/context/schemas/indexer-candidate-review-readiness-input.schema.json +46 -0
  207. package/providers/context/schemas/indexer-candidate-review-readiness-output.schema.json +104 -0
  208. package/providers/context/schemas/indexer-contract-overlay-validation-input.schema.json +48 -0
  209. package/providers/context/schemas/indexer-contract-overlay-validation-result.schema.json +63 -0
  210. package/providers/context/schemas/indexer-customization-project-preparation-result.schema.json +44 -0
  211. package/providers/context/schemas/indexer-customization-proposal-draft.schema.json +83 -0
  212. package/providers/context/schemas/indexer-customization-validation-result.schema.json +36 -0
  213. package/providers/context/schemas/indexer-dependency-authorization-input.schema.json +71 -0
  214. package/providers/context/schemas/indexer-dependency-authorization-result.schema.json +138 -0
  215. package/providers/context/schemas/indexer-incremental-impact-input.schema.json +31 -0
  216. package/providers/context/schemas/indexer-incremental-impact-output.schema.json +52 -0
  217. package/providers/context/schemas/indexer-lifecycle-continuation.schema.json +15 -0
  218. package/providers/context/schemas/indexer-main-lifecycle-input.schema.json +187 -0
  219. package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +180 -0
  220. package/providers/context/schemas/indexer-markdown-provider-capture-input.schema.json +17 -0
  221. package/providers/context/schemas/indexer-markdown-provider-capture-output.schema.json +54 -0
  222. package/providers/context/schemas/indexer-markdown-provider-validation-input.schema.json +34 -0
  223. package/providers/context/schemas/indexer-markdown-provider-validation-output.schema.json +75 -0
  224. package/providers/context/schemas/indexer-material-answer-lifecycle-input.schema.json +90 -0
  225. package/providers/context/schemas/indexer-material-answer-lifecycle-output.schema.json +80 -0
  226. package/providers/context/schemas/indexer-material-answer-review-inspection-input.schema.json +32 -0
  227. package/providers/context/schemas/indexer-material-answer-review-inspection-output.schema.json +32 -0
  228. package/providers/context/schemas/indexer-material-answer-review-resolution-input.schema.json +19 -0
  229. package/providers/context/schemas/indexer-material-answer-review-resolution-output.schema.json +87 -0
  230. package/providers/context/schemas/indexer-material-gap-lifecycle-input.schema.json +86 -0
  231. package/providers/context/schemas/indexer-material-gap-lifecycle-output.schema.json +19 -0
  232. package/providers/context/schemas/indexer-materialize-request.schema.json +53 -0
  233. package/providers/context/schemas/indexer-materialized-resource.schema.json +57 -0
  234. package/providers/context/schemas/indexer-overlay-question-amendment.schema.json +13 -0
  235. package/providers/context/schemas/indexer-overlay-question-proposal-input.schema.json +40 -0
  236. package/providers/context/schemas/indexer-overlay-question-rebind-input.schema.json +35 -0
  237. package/providers/context/schemas/indexer-overlay-question-rebind-result.schema.json +25 -0
  238. package/providers/context/schemas/indexer-post-author-fragment-request.schema.json +26 -0
  239. package/providers/context/schemas/indexer-post-author-fragment-result.schema.json +18 -0
  240. package/providers/context/schemas/indexer-post-author-lifecycle-input.schema.json +94 -0
  241. package/providers/context/schemas/indexer-post-author-lifecycle-output.schema.json +72 -0
  242. package/providers/context/schemas/indexer-profile-failure-inspection-input.schema.json +13 -0
  243. package/providers/context/schemas/indexer-profile-failure-inspection-result.schema.json +19 -0
  244. package/providers/context/schemas/indexer-profile-failure-report-input.schema.json +22 -0
  245. package/providers/context/schemas/indexer-profile-failure-report-result.schema.json +49 -0
  246. package/providers/context/schemas/indexer-profile-override-decision.schema.json +20 -0
  247. package/providers/context/schemas/indexer-profile-override-result.schema.json +49 -0
  248. package/providers/context/schemas/indexer-profile-revision-agent-input.schema.json +18 -0
  249. package/providers/context/schemas/indexer-profile-revision-record-input.schema.json +31 -0
  250. package/providers/context/schemas/indexer-profile-revision-record-result.schema.json +45 -0
  251. package/providers/context/schemas/indexer-program-execution-authorization-input.schema.json +145 -0
  252. package/providers/context/schemas/indexer-program-execution-authorization-result.schema.json +60 -0
  253. package/providers/context/schemas/indexer-project-action-result.schema.json +19 -0
  254. package/providers/context/schemas/indexer-project-gate-input.schema.json +100 -0
  255. package/providers/context/schemas/indexer-project-observation-input.schema.json +16 -0
  256. package/providers/context/schemas/indexer-project-observation-result.schema.json +42 -0
  257. package/providers/context/schemas/indexer-provider-route-input.schema.json +55 -0
  258. package/providers/context/schemas/indexer-provider-route-report.schema.json +188 -0
  259. package/providers/context/schemas/indexer-requirement-confirmation-input.schema.json +27 -0
  260. package/providers/context/schemas/indexer-requirement-confirmation-output.schema.json +24 -0
  261. package/providers/context/schemas/indexer-result-reconciliation-input.schema.json +59 -0
  262. package/providers/context/schemas/indexer-result-reconciliation-output.schema.json +43 -0
  263. package/providers/context/schemas/indexer-selection-proposal-input.schema.json +12 -0
  264. package/providers/context/schemas/indexer-selection-proposal-validation.schema.json +23 -0
  265. package/providers/context/schemas/indexer-subject-reidentification-input.schema.json +37 -0
  266. package/providers/context/schemas/indexer-subject-reidentification-output.schema.json +31 -0
  267. package/providers/context/skills/configure-indexer-providers/SKILL.md +58 -0
  268. package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +31 -0
  269. package/providers/context/skills/propose-indexer-customization/SKILL.md +40 -0
  270. package/providers/context/skills/revise-index-output/SKILL.md +12 -0
  271. package/providers/context/skills/run-indexer-agent-step/SKILL.md +20 -0
  272. package/providers/context/skills/run-indexer-lifecycle/SKILL.md +36 -0
  273. package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +21 -0
  274. package/providers/context/actions/align-next.yaml +0 -6
  275. package/providers/context/actions/apply-code-index-guidance.yaml +0 -5
  276. package/providers/context/actions/apply-structure-confirmation.yaml +0 -5
  277. package/providers/context/actions/compile-next.yaml +0 -5
  278. package/providers/context/actions/configure-code-extraction.yaml +0 -5
  279. package/providers/context/actions/configure-prose-lifecycle.yaml +0 -5
  280. package/providers/context/actions/extract-next.yaml +0 -5
  281. package/providers/context/actions/inspect-code-extraction.yaml +0 -5
  282. package/providers/context/actions/inspect-document-classification.yaml +0 -5
  283. package/providers/context/actions/inspect-structure.yaml +0 -5
  284. package/providers/context/actions/migrate-codeindex.yaml +0 -5
  285. package/providers/context/actions/optimize-documents.yaml +0 -6
  286. package/providers/context/actions/preview-extraction-batch.yaml +0 -5
  287. package/providers/context/actions/revise-code-index-audit.yaml +0 -5
  288. package/providers/context/actions/submit-code-index-audit.yaml +0 -6
  289. package/providers/context/resources/dialogue/code-extraction.md +0 -87
  290. package/providers/context/resources/dialogue/document-classification.md +0 -33
  291. package/providers/context/resources/dialogue/structure-confirmation.md +0 -44
  292. package/providers/context/resources/dialogue/workflow-mode-after-capture.md +0 -25
  293. package/providers/context/resources/manuals/reference/code-extractors.md +0 -152
  294. package/providers/context/resources/procedures/code-extraction.md +0 -184
  295. package/providers/context/resources/procedures/code-index-audit.md +0 -83
  296. package/providers/context/resources/procedures/document-classification.md +0 -22
  297. package/providers/context/resources/procedures/document-optimization.md +0 -91
  298. package/providers/context/resources/procedures/prose-align.md +0 -68
  299. package/providers/context/resources/procedures/prose-compile.md +0 -23
  300. package/providers/context/resources/semantic/align/candidate-resolution.md +0 -106
  301. package/providers/context/resources/semantic/align/density-profile.md +0 -41
  302. package/providers/context/resources/semantic/align/gates.md +0 -276
  303. package/providers/context/resources/semantic/align/structure-planning.md +0 -337
  304. package/providers/context/resources/semantic/code-index/classification.md +0 -270
  305. package/providers/context/resources/semantic/compile/index.md +0 -31
  306. package/providers/context/resources/views/code-index-audit.yaml +0 -6
  307. package/providers/context/resources/views/extraction-preview.yaml +0 -6
  308. package/providers/context/resources/views/structure-current.yaml +0 -6
  309. package/providers/context/schemas/code-index-audit-decision.schema.json +0 -94
  310. package/providers/context/schemas/document-optimization-decisions.schema.json +0 -57
  311. package/providers/context/schemas/prose-structure-batch.schema.json +0 -35
@@ -0,0 +1,1042 @@
1
+ schema: agent-graph.graph.v1
2
+ id: indexer
3
+ description: Static Agent route for one digest-bound Indexer workset.
4
+ entrypoints:
5
+ agent-step: run-indexer-agent-step
6
+ provider-selection: configure-indexer-providers
7
+ markdown-provider: inspect-markdown-provider-capture
8
+ requirement-confirmation: route-index-requirement-confirmation
9
+ contract-overlay-validation: validate-indexer-contract-overlays
10
+ subject-key-validation: validate-subject-key-schemas
11
+ dependency-authorization: authorize-indexer-dependencies
12
+ program-execution-authorization: authorize-indexer-program-execution
13
+ overlay-question-proposal: propose-overlay-question-amendment
14
+ overlay-question-rebind: rebind-indexer-selection-to-requirement
15
+ project-confirmation: confirm-indexer-project
16
+ main-index: build-question-target-inventory
17
+ main-run-validation: validate-main-index-author-result
18
+ post-author-composer-step: run-indexer-post-author-composer
19
+ material-answer: build-material-question-workset
20
+ material-answer-step: run-material-answer-indexers
21
+ material-answer-review: review-material-answer-candidates
22
+ material-gap-audit: audit-material-gap-state
23
+ material-gap-evaluation: evaluate-material-gaps
24
+ material-answer-actualization: actualize-material-answer-bindings
25
+ approved-knowledge-close: close-indexer-approved-knowledge
26
+ candidate-review: inspect-index-candidate-review-readiness
27
+ candidate-compile: compile-indexer-candidates
28
+ incremental-impact: report-indexer-incremental-impact
29
+ nodes:
30
+ - id: configure-indexer-providers
31
+ kind: action
32
+ reasonCode: route.indexer.provider-configuration
33
+ action: actions/configure-indexer-providers.yaml
34
+ - id: inspect-markdown-provider-capture
35
+ kind: action
36
+ reasonCode: route.indexer.markdown-capture-validation
37
+ action: actions/inspect-markdown-provider-capture.yaml
38
+ - id: discover-markdown-indexer-providers
39
+ kind: action
40
+ reasonCode: route.indexer.markdown-provider-discovery
41
+ action: actions/discover-markdown-indexer-providers.yaml
42
+ - id: route-markdown-indexer-provider-selection
43
+ kind: action
44
+ reasonCode: route.indexer.provider-selection
45
+ action: actions/route-indexer-provider-selection.yaml
46
+ - id: configure-markdown-community-indexer-fallback
47
+ kind: action
48
+ reasonCode: route.indexer.community-fallback
49
+ action: actions/configure-community-indexer-fallback.yaml
50
+ - id: route-markdown-community-indexer-fallback
51
+ kind: action
52
+ reasonCode: route.indexer.provider-selection
53
+ action: actions/route-indexer-provider-selection.yaml
54
+ - id: validate-markdown-indexer-selection-proposal
55
+ kind: action
56
+ join: any
57
+ reasonCode: route.indexer.selection-validation
58
+ action: actions/validate-indexer-selection-proposal.yaml
59
+ - id: validate-markdown-provider-selection
60
+ kind: action
61
+ reasonCode: route.indexer.markdown-provider-validation
62
+ action: actions/validate-markdown-provider-selection.yaml
63
+ - id: markdown-document-capture-not-current
64
+ kind: terminal
65
+ terminalOutcome: blocked
66
+ - id: markdown-provider-selection-current
67
+ kind: terminal
68
+ terminalOutcome: completed
69
+ - id: markdown-provider-host-resolution-required
70
+ kind: terminal
71
+ terminalOutcome: blocked
72
+ - id: markdown-provider-selection-invalid
73
+ kind: terminal
74
+ terminalOutcome: failed
75
+ - id: route-index-requirement-confirmation
76
+ kind: action
77
+ reasonCode: route.indexer.requirement-confirmation-routing
78
+ action: actions/route-index-requirement-confirmation.yaml
79
+ - id: confirm-index-requirements
80
+ kind: gate
81
+ reasonCode: route.indexer.requirement-confirmation
82
+ inspectionAction: actions/route-index-requirement-confirmation.yaml
83
+ resolutionAction: actions/confirm-index-requirement-workset.yaml
84
+ gate:
85
+ id: confirm-index-requirements
86
+ prompt: Confirm the exact current Indexer requirement workset.
87
+ authority: context.indexer-requirement-confirmation
88
+ delegatable: true
89
+ satisfiedBy:
90
+ - path: indexer_requirements.confirmed
91
+ equals: true
92
+ - id: confirm-index-requirement-contraction
93
+ kind: gate
94
+ reasonCode: route.indexer.requirement-contraction
95
+ inspectionAction: actions/route-index-requirement-confirmation.yaml
96
+ resolutionAction: actions/confirm-index-requirement-workset.yaml
97
+ gate:
98
+ id: confirm-index-requirement-contraction
99
+ prompt: Confirm the exact requirement contraction or incomparable obligation replacement.
100
+ authority: context.indexer-requirement-contraction
101
+ delegatable: false
102
+ satisfiedBy:
103
+ - path: indexer_requirements.confirmed
104
+ equals: true
105
+ - id: indexer-requirements-confirmed
106
+ kind: terminal
107
+ join: any
108
+ terminalOutcome: completed
109
+ - id: route-indexer-provider-selection
110
+ kind: action
111
+ reasonCode: route.indexer.provider-selection
112
+ action: actions/route-indexer-provider-selection.yaml
113
+ - id: configure-community-indexer-fallback
114
+ kind: action
115
+ reasonCode: route.indexer.community-fallback
116
+ action: actions/configure-community-indexer-fallback.yaml
117
+ - id: route-community-indexer-fallback
118
+ kind: action
119
+ reasonCode: route.indexer.provider-selection
120
+ action: actions/route-indexer-provider-selection.yaml
121
+ - id: validate-indexer-selection-proposal
122
+ kind: action
123
+ join: any
124
+ reasonCode: route.indexer.selection-validation
125
+ action: actions/validate-indexer-selection-proposal.yaml
126
+ - id: indexer-provider-conflict
127
+ kind: terminal
128
+ join: any
129
+ terminalOutcome: waiting-user
130
+ - id: indexer-capability-gap
131
+ kind: terminal
132
+ join: any
133
+ terminalOutcome: blocked
134
+ - id: indexer-customization-required
135
+ kind: terminal
136
+ join: any
137
+ terminalOutcome: blocked
138
+ - id: propose-indexer-customization
139
+ kind: action
140
+ join: any
141
+ reasonCode: route.indexer.customization-proposal
142
+ action: actions/propose-indexer-customization.yaml
143
+ - id: validate-indexer-customization
144
+ kind: action
145
+ reasonCode: route.indexer.customization-validation
146
+ action: actions/validate-indexer-customization.yaml
147
+ - id: prepare-indexer-customization-project
148
+ kind: action
149
+ reasonCode: route.indexer.customization-project-preparation
150
+ action: actions/prepare-indexer-customization-project.yaml
151
+ - id: indexer-customization-validation-required
152
+ kind: terminal
153
+ terminalOutcome: partial
154
+ - id: indexer-selection-invalid
155
+ kind: terminal
156
+ terminalOutcome: failed
157
+ - id: run-indexer-agent-step
158
+ kind: action
159
+ reasonCode: route.indexer.agent-step
160
+ action: actions/run-indexer-agent-step.yaml
161
+ resources:
162
+ required:
163
+ - resources/views/resolved-indexer-instructions.yaml
164
+ - id: propose-overlay-question-amendment
165
+ kind: action
166
+ reasonCode: route.indexer.overlay-question-proposal
167
+ action: actions/propose-overlay-question-amendment.yaml
168
+ - id: rebind-indexer-selection-to-requirement
169
+ kind: action
170
+ reasonCode: route.indexer.overlay-question-rebind
171
+ action: actions/rebind-indexer-selection-to-requirement.yaml
172
+ - id: done
173
+ kind: terminal
174
+ join: any
175
+ terminalOutcome: completed
176
+ - id: validate-indexer-contract-overlays
177
+ kind: action
178
+ reasonCode: route.indexer.contract-overlay-validation
179
+ action: actions/validate-indexer-contract-overlays.yaml
180
+ - id: contract-overlay-valid
181
+ kind: terminal
182
+ terminalOutcome: completed
183
+ - id: validate-subject-key-schemas
184
+ kind: action
185
+ reasonCode: route.indexer.subject-key-validation
186
+ action: actions/validate-subject-key-schemas.yaml
187
+ - id: subject-key-schema-current
188
+ kind: terminal
189
+ terminalOutcome: completed
190
+ - id: subject-reidentification-invalid
191
+ kind: terminal
192
+ terminalOutcome: failed
193
+ - id: confirm-subject-reidentification
194
+ kind: gate
195
+ reasonCode: route.indexer.subject-reidentification
196
+ inspectionAction: actions/validate-subject-key-schemas.yaml
197
+ resolutionAction: actions/confirm-subject-reidentification.yaml
198
+ gate:
199
+ id: confirm-subject-reidentification
200
+ prompt: Confirm the exact collision-free old-to-new Node identity mapping for this breaking SubjectKey schema change.
201
+ authority: context.indexer-subject-reidentification
202
+ delegatable: false
203
+ satisfiedBy:
204
+ - path: indexer_subject_reidentification.authorized
205
+ equals: true
206
+ - id: subject-reidentification-confirmed
207
+ kind: terminal
208
+ terminalOutcome: completed
209
+ - id: authorize-indexer-dependencies
210
+ kind: gate
211
+ reasonCode: route.indexer.dependency-authorization
212
+ inspectionAction: actions/inspect-indexer-dependencies.yaml
213
+ resolutionAction: actions/authorize-indexer-dependencies.yaml
214
+ gate:
215
+ id: authorize-indexer-dependencies
216
+ prompt: Authorize the exact dependency identities and locked artifacts with install scripts disabled.
217
+ authority: context.indexer-dependency-install
218
+ delegatable: true
219
+ satisfiedBy:
220
+ - path: indexer_dependencies.authorized
221
+ equals: true
222
+ - id: dependency-authorization-done
223
+ kind: terminal
224
+ terminalOutcome: completed
225
+ - id: authorize-indexer-program-execution
226
+ kind: gate
227
+ reasonCode: route.indexer.program-execution-authorization
228
+ inspectionAction: actions/inspect-indexer-program-execution.yaml
229
+ resolutionAction: actions/authorize-indexer-program-execution.yaml
230
+ gate:
231
+ id: authorize-indexer-program-execution
232
+ prompt: Authorize the exact non-allowlisted Provider program for trusted non-sandboxed execution.
233
+ authority: context.indexer-program-execution
234
+ delegatable: true
235
+ satisfiedBy:
236
+ - path: indexer_program_execution.authorized
237
+ equals: true
238
+ - id: program-execution-authorization-done
239
+ kind: terminal
240
+ terminalOutcome: completed
241
+ - id: confirm-indexer-project
242
+ kind: gate
243
+ reasonCode: route.indexer.project-confirmation
244
+ inspectionAction: actions/inspect-indexer-project-proposal.yaml
245
+ resolutionAction: actions/apply-indexer-project.yaml
246
+ gate:
247
+ id: confirm-indexer-project
248
+ prompt: Confirm the exact Indexer registry/customization proposal and dependency intents.
249
+ authority: context.indexer-project-confirmation
250
+ delegatable: true
251
+ satisfiedBy:
252
+ - path: indexer_project.confirmed
253
+ equals: true
254
+ - id: project-done
255
+ kind: terminal
256
+ terminalOutcome: completed
257
+ - id: observe-indexer-project
258
+ kind: action
259
+ reasonCode: route.indexer.project-observation
260
+ action: actions/observe-indexer-project.yaml
261
+ - id: build-question-target-inventory
262
+ kind: action
263
+ reasonCode: route.indexer.question-target-inventory
264
+ action: actions/build-question-target-inventory.yaml
265
+ - id: build-main-index-partition-worksets
266
+ kind: action
267
+ reasonCode: route.indexer.partition-worksets
268
+ action: actions/build-main-index-partition-worksets.yaml
269
+ - id: prepare-main-index-partition-runs
270
+ kind: action
271
+ reasonCode: route.indexer.main-run-ledger-preparation
272
+ action: actions/prepare-main-index-run-ledger.yaml
273
+ - id: observe-main-index-partition-worksets
274
+ kind: action
275
+ reasonCode: route.indexer.main-workset-observation
276
+ action: actions/observe-main-index-run-ledger.yaml
277
+ - id: start-main-index-partition-run
278
+ kind: action
279
+ reasonCode: route.indexer.main-run-start
280
+ action: actions/start-main-index-run.yaml
281
+ - id: run-main-index-partition-workset
282
+ kind: action
283
+ reasonCode: route.indexer.agent-step
284
+ action: actions/run-indexer-agent-step.yaml
285
+ resources:
286
+ required:
287
+ - resources/views/resolved-indexer-instructions.yaml
288
+ - id: converge-main-index-partition-run
289
+ kind: action
290
+ reasonCode: route.indexer.partition-convergence
291
+ action: actions/converge-main-index-partition-run.yaml
292
+ - id: start-main-index-catalog-fallback
293
+ kind: action
294
+ reasonCode: route.indexer.main-run-start
295
+ action: actions/start-main-index-run.yaml
296
+ - id: build-main-index-catalog-fallback
297
+ kind: action
298
+ reasonCode: route.indexer.catalog-fallback
299
+ action: actions/build-main-index-catalog-fallback.yaml
300
+ - id: fail-main-index-partition-run
301
+ kind: action
302
+ reasonCode: route.indexer.main-run-failure
303
+ action: actions/fail-main-index-run.yaml
304
+ - id: build-subject-catalog
305
+ kind: action
306
+ reasonCode: route.indexer.subject-catalog
307
+ action: actions/build-subject-catalog.yaml
308
+ - id: build-target-resolution-views
309
+ kind: action
310
+ reasonCode: route.indexer.target-resolution
311
+ action: actions/build-target-resolution-views.yaml
312
+ - id: audit-projected-artifact-fan-out
313
+ kind: action
314
+ reasonCode: route.indexer.projected-artifact-fan-out
315
+ action: actions/audit-projected-artifact-fan-out.yaml
316
+ - id: build-main-index-author-worksets
317
+ kind: action
318
+ reasonCode: route.indexer.author-worksets
319
+ action: actions/build-main-index-author-worksets.yaml
320
+ - id: validate-main-index-author-result
321
+ kind: action
322
+ reasonCode: route.indexer.main-run-validation
323
+ action: actions/validate-main-index-run.yaml
324
+ - id: index-target-resolution-ambiguous
325
+ kind: terminal
326
+ join: any
327
+ terminalOutcome: blocked
328
+ - id: index-target-resolution-invalid
329
+ kind: terminal
330
+ join: any
331
+ terminalOutcome: failed
332
+ - id: main-index-plan-revision-required
333
+ kind: terminal
334
+ terminalOutcome: partial
335
+ - id: prepare-main-index-author-runs
336
+ kind: action
337
+ reasonCode: route.indexer.main-run-ledger-preparation
338
+ action: actions/prepare-main-index-run-ledger.yaml
339
+ - id: observe-main-index-author-worksets
340
+ kind: action
341
+ reasonCode: route.indexer.main-workset-observation
342
+ action: actions/observe-main-index-run-ledger.yaml
343
+ - id: start-main-index-author-run
344
+ kind: action
345
+ reasonCode: route.indexer.main-run-start
346
+ action: actions/start-main-index-run.yaml
347
+ - id: run-main-index-author-workset
348
+ kind: action
349
+ reasonCode: route.indexer.agent-step
350
+ action: actions/run-indexer-agent-step.yaml
351
+ resources:
352
+ required:
353
+ - resources/views/resolved-indexer-instructions.yaml
354
+ - id: accept-main-index-author-run
355
+ kind: action
356
+ reasonCode: route.indexer.main-run-acceptance
357
+ action: actions/accept-main-index-run.yaml
358
+ - id: fail-main-index-author-run
359
+ kind: action
360
+ reasonCode: route.indexer.main-run-failure
361
+ action: actions/fail-main-index-run.yaml
362
+ - id: main-index-blocked
363
+ kind: terminal
364
+ join: any
365
+ terminalOutcome: blocked
366
+ - id: resolve-effective-composers
367
+ kind: action
368
+ reasonCode: route.indexer.effective-composers
369
+ action: actions/resolve-effective-composers.yaml
370
+ - id: build-post-author-composer-worksets
371
+ kind: action
372
+ reasonCode: route.indexer.post-author-worksets
373
+ action: actions/build-post-author-composer-worksets.yaml
374
+ - id: start-post-author-composer-run
375
+ kind: action
376
+ reasonCode: route.indexer.post-author-run-start
377
+ action: actions/start-post-author-composer-run.yaml
378
+ - id: run-indexer-post-author-composer
379
+ kind: action
380
+ reasonCode: route.indexer.post-author-agent-step
381
+ action: actions/run-indexer-post-author-composer.yaml
382
+ - id: accept-post-author-composer-run
383
+ kind: action
384
+ reasonCode: route.indexer.post-author-run-acceptance
385
+ action: actions/accept-post-author-composer-run.yaml
386
+ - id: fail-post-author-composer-run
387
+ kind: action
388
+ reasonCode: route.indexer.post-author-run-failure
389
+ action: actions/fail-post-author-composer-run.yaml
390
+ - id: observe-post-author-composer-worksets
391
+ kind: action
392
+ reasonCode: route.indexer.post-author-observation
393
+ action: actions/observe-post-author-composer-worksets.yaml
394
+ - id: compose-indexer-post-author-fragments
395
+ kind: action
396
+ reasonCode: route.indexer.post-author-composition
397
+ action: actions/compose-indexer-post-author-fragments.yaml
398
+ - id: reconcile-indexer-results
399
+ kind: action
400
+ join: any
401
+ reasonCode: route.indexer.result-reconciliation
402
+ action: actions/reconcile-indexer-results.yaml
403
+ - id: checkpoint-material-gaps
404
+ kind: action
405
+ join: any
406
+ reasonCode: route.indexer.material-gap-checkpoint
407
+ action: actions/checkpoint-material-gaps.yaml
408
+ - id: audit-material-gap-state
409
+ kind: action
410
+ join: any
411
+ reasonCode: route.indexer.material-gap-audit
412
+ action: actions/audit-material-gap-state.yaml
413
+ - id: material-gap-audit-current
414
+ kind: terminal
415
+ join: any
416
+ terminalOutcome: completed
417
+ - id: indexer-reconciliation-ready
418
+ kind: terminal
419
+ join: any
420
+ terminalOutcome: completed
421
+ - id: index-material-required
422
+ kind: terminal
423
+ join: any
424
+ terminalOutcome: blocked
425
+ - id: build-material-question-workset
426
+ kind: action
427
+ reasonCode: route.indexer.material-question-workset
428
+ action: actions/build-material-question-workset.yaml
429
+ - id: evaluate-material-gaps
430
+ kind: action
431
+ join: any
432
+ reasonCode: route.indexer.material-gap-evaluation
433
+ action: actions/evaluate-material-gaps.yaml
434
+ - id: indexer-layout-ready
435
+ kind: terminal
436
+ join: any
437
+ terminalOutcome: completed
438
+ - id: actualize-material-answer-bindings
439
+ kind: action
440
+ reasonCode: route.indexer.material-answer-actualization
441
+ action: actions/actualize-material-answer-bindings.yaml
442
+ - id: close-indexer-approved-knowledge
443
+ kind: action
444
+ reasonCode: route.indexer.approved-knowledge-close
445
+ action: actions/close-indexer-approved-knowledge.yaml
446
+ - id: indexer-approved-knowledge-closed
447
+ kind: terminal
448
+ terminalOutcome: completed
449
+ - id: prepare-material-answer-runs
450
+ kind: action
451
+ reasonCode: route.indexer.material-answer-run-preparation
452
+ action: actions/prepare-material-answer-runs.yaml
453
+ - id: observe-material-answer-runs
454
+ kind: action
455
+ reasonCode: route.indexer.material-answer-observation
456
+ action: actions/observe-material-answer-runs.yaml
457
+ - id: start-material-answer-run
458
+ kind: action
459
+ reasonCode: route.indexer.material-answer-run-start
460
+ action: actions/start-material-answer-run.yaml
461
+ - id: run-material-answer-indexers
462
+ kind: action
463
+ reasonCode: route.indexer.material-answer-agent-step
464
+ action: actions/run-material-answer-indexers.yaml
465
+ resources:
466
+ required:
467
+ - resources/views/resolved-indexer-instructions.yaml
468
+ - id: accept-material-answer-run
469
+ kind: action
470
+ reasonCode: route.indexer.material-answer-run-acceptance
471
+ action: actions/accept-material-answer-run.yaml
472
+ - id: fail-material-answer-run
473
+ kind: action
474
+ reasonCode: route.indexer.material-answer-run-failure
475
+ action: actions/fail-material-answer-run.yaml
476
+ - id: material-answer-blocked
477
+ kind: terminal
478
+ join: any
479
+ terminalOutcome: blocked
480
+ - id: material-answer-failed
481
+ kind: terminal
482
+ join: any
483
+ terminalOutcome: failed
484
+ - id: review-material-answer-candidates
485
+ kind: gate
486
+ reasonCode: route.indexer.material-answer-review
487
+ inspectionAction: actions/inspect-material-answer-review.yaml
488
+ resolutionAction: actions/review-material-answer-candidate.yaml
489
+ gate:
490
+ id: review-material-answer-candidates
491
+ prompt: Review only the exact question-target and source-span evidence binding for this material answer.
492
+ authority: context.indexer-material-answer-review
493
+ delegatable: true
494
+ satisfiedBy:
495
+ - path: indexer_material_answer_review.state
496
+ equals: approved
497
+ - id: checkpoint-material-answer-review
498
+ kind: action
499
+ reasonCode: route.indexer.material-answer-review-checkpoint
500
+ action: actions/checkpoint-material-answer-review.yaml
501
+ - id: post-author-blocked
502
+ kind: terminal
503
+ join: any
504
+ terminalOutcome: blocked
505
+ - id: inspect-index-candidate-review-readiness
506
+ kind: action
507
+ reasonCode: route.indexer.candidate-review-readiness
508
+ action: actions/inspect-index-candidate-review-readiness.yaml
509
+ - id: compile-indexer-candidates
510
+ kind: action
511
+ reasonCode: route.indexer.candidate-compile
512
+ action: actions/compile-indexer-candidates.yaml
513
+ - id: indexer-candidates-compiled
514
+ kind: terminal
515
+ terminalOutcome: completed
516
+ - id: report-indexer-incremental-impact
517
+ kind: action
518
+ reasonCode: route.indexer.incremental-impact
519
+ action: actions/report-indexer-incremental-impact.yaml
520
+ - id: indexer-incremental-impact-reported
521
+ kind: terminal
522
+ terminalOutcome: completed
523
+ - id: revise-index-output
524
+ kind: action
525
+ reasonCode: route.indexer.profile-revision
526
+ action: actions/revise-index-output.yaml
527
+ - id: record-index-profile-revision
528
+ kind: action
529
+ reasonCode: route.indexer.profile-revision-record
530
+ action: actions/record-index-profile-revision.yaml
531
+ - id: report-index-profile-failure
532
+ kind: action
533
+ reasonCode: route.indexer.profile-failure-report
534
+ action: actions/report-index-profile-failure.yaml
535
+ - id: override-index-profile-audit
536
+ kind: gate
537
+ reasonCode: route.indexer.profile-override
538
+ inspectionAction: actions/inspect-index-profile-failure.yaml
539
+ resolutionAction: actions/override-index-profile-audit.yaml
540
+ gate:
541
+ id: override-index-profile-audit
542
+ prompt: Force approve only the exact current runtime profile risk after reading the complete three-attempt report.
543
+ authority: context.indexer-profile-risk-override
544
+ delegatable: false
545
+ satisfiedBy:
546
+ - path: indexer_profile_override.completed
547
+ equals: true
548
+ - id: review-index-candidates
549
+ kind: gate
550
+ reasonCode: route.indexer.candidate-review
551
+ inspectionAction: actions/inspect-review.yaml
552
+ resolutionAction: actions/apply-forced-review.yaml
553
+ delegated:
554
+ inspection: skip
555
+ resolutionAction: actions/apply-managed-review.yaml
556
+ resources:
557
+ required: []
558
+ recommended: []
559
+ gate:
560
+ id: review-index-candidates
561
+ prompt: Review the exact current candidate set only after both mechanical audit stages are current.
562
+ authority: context.knowledge-review
563
+ delegatable: true
564
+ satisfiedBy:
565
+ - path: indexer_candidate_review.completed
566
+ equals: true
567
+ - id: index-baseline-audit-failed
568
+ kind: terminal
569
+ terminalOutcome: failed
570
+ - id: index-profile-revision-pending
571
+ kind: terminal
572
+ terminalOutcome: blocked
573
+ - id: index-candidate-review-complete
574
+ kind: terminal
575
+ terminalOutcome: completed
576
+ edges:
577
+ - from: inspect-markdown-provider-capture
578
+ to: discover-markdown-indexer-providers
579
+ outcomes: [completed]
580
+ - from: inspect-markdown-provider-capture
581
+ to: markdown-document-capture-not-current
582
+ outcomes: [blocked]
583
+ - from: discover-markdown-indexer-providers
584
+ to: route-markdown-indexer-provider-selection
585
+ outcomes: [completed]
586
+ - from: route-markdown-indexer-provider-selection
587
+ to: validate-markdown-indexer-selection-proposal
588
+ outcomes: [completed]
589
+ - from: route-markdown-indexer-provider-selection
590
+ to: configure-markdown-community-indexer-fallback
591
+ outcomes: [partial]
592
+ - from: route-markdown-indexer-provider-selection
593
+ to: indexer-provider-conflict
594
+ outcomes: [waiting-user]
595
+ - from: route-markdown-indexer-provider-selection
596
+ to: indexer-customization-required
597
+ outcomes: [blocked]
598
+ - from: configure-markdown-community-indexer-fallback
599
+ to: route-markdown-community-indexer-fallback
600
+ outcomes: [completed]
601
+ - from: route-markdown-community-indexer-fallback
602
+ to: validate-markdown-indexer-selection-proposal
603
+ outcomes: [completed]
604
+ - from: route-markdown-community-indexer-fallback
605
+ to: indexer-provider-conflict
606
+ outcomes: [waiting-user]
607
+ - from: route-markdown-community-indexer-fallback
608
+ to: propose-indexer-customization
609
+ outcomes: [partial, blocked]
610
+ - from: validate-markdown-indexer-selection-proposal
611
+ to: validate-markdown-provider-selection
612
+ outcomes: [completed]
613
+ - from: validate-markdown-indexer-selection-proposal
614
+ to: markdown-provider-selection-invalid
615
+ outcomes: [failed]
616
+ - from: validate-markdown-provider-selection
617
+ to: markdown-provider-selection-current
618
+ outcomes: [completed]
619
+ - from: validate-markdown-provider-selection
620
+ to: markdown-provider-host-resolution-required
621
+ outcomes: [partial]
622
+ - from: validate-markdown-provider-selection
623
+ to: indexer-customization-required
624
+ outcomes: [blocked]
625
+ - from: validate-markdown-provider-selection
626
+ to: markdown-provider-selection-invalid
627
+ outcomes: [failed]
628
+ - from: configure-indexer-providers
629
+ to: route-indexer-provider-selection
630
+ outcomes: [completed]
631
+ - from: route-index-requirement-confirmation
632
+ to: confirm-index-requirements
633
+ outcomes: [waiting-user]
634
+ - from: route-index-requirement-confirmation
635
+ to: confirm-index-requirement-contraction
636
+ outcomes: [blocked]
637
+ - from: confirm-index-requirements
638
+ to: indexer-requirements-confirmed
639
+ outcomes: [completed]
640
+ - from: confirm-index-requirement-contraction
641
+ to: indexer-requirements-confirmed
642
+ outcomes: [completed]
643
+ - from: route-indexer-provider-selection
644
+ to: validate-indexer-selection-proposal
645
+ outcomes: [completed]
646
+ - from: route-indexer-provider-selection
647
+ to: configure-community-indexer-fallback
648
+ outcomes: [partial]
649
+ - from: route-indexer-provider-selection
650
+ to: indexer-provider-conflict
651
+ outcomes: [waiting-user]
652
+ - from: route-indexer-provider-selection
653
+ to: indexer-customization-required
654
+ outcomes: [blocked]
655
+ - from: configure-community-indexer-fallback
656
+ to: route-community-indexer-fallback
657
+ outcomes: [completed]
658
+ - from: route-community-indexer-fallback
659
+ to: validate-indexer-selection-proposal
660
+ outcomes: [completed]
661
+ - from: route-community-indexer-fallback
662
+ to: indexer-provider-conflict
663
+ outcomes: [waiting-user]
664
+ - from: route-community-indexer-fallback
665
+ to: propose-indexer-customization
666
+ outcomes: [partial, blocked]
667
+ - from: propose-indexer-customization
668
+ to: validate-indexer-customization
669
+ outcomes: [completed]
670
+ - from: propose-indexer-customization
671
+ to: indexer-selection-invalid
672
+ outcomes: [failed]
673
+ - from: validate-indexer-customization
674
+ to: prepare-indexer-customization-project
675
+ outcomes: [completed]
676
+ - from: prepare-indexer-customization-project
677
+ to: confirm-indexer-project
678
+ outcomes: [completed]
679
+ - from: prepare-indexer-customization-project
680
+ to: authorize-indexer-dependencies
681
+ outcomes: [partial]
682
+ - from: prepare-indexer-customization-project
683
+ to: authorize-indexer-program-execution
684
+ outcomes: [waiting-user]
685
+ - from: prepare-indexer-customization-project
686
+ to: indexer-selection-invalid
687
+ outcomes: [failed]
688
+ - from: validate-indexer-customization
689
+ to: indexer-selection-invalid
690
+ outcomes: [failed]
691
+ - from: validate-indexer-selection-proposal
692
+ to: done
693
+ outcomes: [completed]
694
+ - from: validate-indexer-selection-proposal
695
+ to: indexer-selection-invalid
696
+ outcomes: [failed]
697
+ - from: validate-subject-key-schemas
698
+ to: subject-key-schema-current
699
+ outcomes: [completed]
700
+ - from: validate-subject-key-schemas
701
+ to: confirm-subject-reidentification
702
+ outcomes: [blocked]
703
+ - from: validate-subject-key-schemas
704
+ to: subject-reidentification-invalid
705
+ outcomes: [failed]
706
+ - from: confirm-subject-reidentification
707
+ to: subject-reidentification-confirmed
708
+ outcomes: [completed]
709
+ - from: run-indexer-agent-step
710
+ to: done
711
+ outcomes: [completed]
712
+ - from: propose-overlay-question-amendment
713
+ to: done
714
+ outcomes: [completed]
715
+ - from: rebind-indexer-selection-to-requirement
716
+ to: done
717
+ outcomes: [completed]
718
+ - from: validate-indexer-contract-overlays
719
+ to: contract-overlay-valid
720
+ outcomes: [completed]
721
+ - from: authorize-indexer-dependencies
722
+ to: prepare-indexer-customization-project
723
+ kind: repeat
724
+ outcomes: [completed]
725
+ - from: authorize-indexer-dependencies
726
+ to: indexer-selection-invalid
727
+ outcomes: [failed]
728
+ - from: authorize-indexer-program-execution
729
+ to: prepare-indexer-customization-project
730
+ kind: repeat
731
+ outcomes: [completed]
732
+ - from: authorize-indexer-program-execution
733
+ to: indexer-selection-invalid
734
+ outcomes: [failed]
735
+ - from: confirm-indexer-project
736
+ to: observe-indexer-project
737
+ outcomes: [completed]
738
+ - from: confirm-indexer-project
739
+ to: indexer-selection-invalid
740
+ outcomes: [failed]
741
+ - from: observe-indexer-project
742
+ to: validate-indexer-selection-proposal
743
+ outcomes: [completed]
744
+ - from: observe-indexer-project
745
+ to: indexer-selection-invalid
746
+ outcomes: [failed]
747
+ - from: build-question-target-inventory
748
+ to: build-main-index-partition-worksets
749
+ outcomes: [completed]
750
+ - from: build-main-index-partition-worksets
751
+ to: prepare-main-index-partition-runs
752
+ outcomes: [completed]
753
+ - from: prepare-main-index-partition-runs
754
+ to: observe-main-index-partition-worksets
755
+ outcomes: [completed]
756
+ - from: observe-main-index-partition-worksets
757
+ to: start-main-index-partition-run
758
+ outcomes: [partial]
759
+ - from: observe-main-index-partition-worksets
760
+ to: build-subject-catalog
761
+ outcomes: [completed]
762
+ - from: observe-main-index-partition-worksets
763
+ to: main-index-blocked
764
+ outcomes: [failed, blocked]
765
+ - from: start-main-index-partition-run
766
+ to: run-main-index-partition-workset
767
+ outcomes: [completed]
768
+ - from: run-main-index-partition-workset
769
+ to: converge-main-index-partition-run
770
+ outcomes: [completed]
771
+ - from: run-main-index-partition-workset
772
+ to: fail-main-index-partition-run
773
+ outcomes: [failed]
774
+ - from: converge-main-index-partition-run
775
+ to: observe-main-index-partition-worksets
776
+ kind: repeat
777
+ outcomes: [completed, partial]
778
+ - from: converge-main-index-partition-run
779
+ to: start-main-index-catalog-fallback
780
+ outcomes: [blocked]
781
+ - from: converge-main-index-partition-run
782
+ to: main-index-blocked
783
+ outcomes: [failed]
784
+ - from: start-main-index-catalog-fallback
785
+ to: build-main-index-catalog-fallback
786
+ outcomes: [completed]
787
+ - from: build-main-index-catalog-fallback
788
+ to: observe-main-index-partition-worksets
789
+ kind: repeat
790
+ outcomes: [completed]
791
+ - from: build-main-index-catalog-fallback
792
+ to: main-index-blocked
793
+ outcomes: [failed, blocked]
794
+ - from: fail-main-index-partition-run
795
+ to: observe-main-index-partition-worksets
796
+ kind: repeat
797
+ outcomes: [completed]
798
+ - from: fail-main-index-partition-run
799
+ to: main-index-blocked
800
+ outcomes: [failed, blocked]
801
+ - from: build-subject-catalog
802
+ to: build-target-resolution-views
803
+ outcomes: [completed]
804
+ - from: build-target-resolution-views
805
+ to: audit-projected-artifact-fan-out
806
+ outcomes: [completed]
807
+ - from: build-target-resolution-views
808
+ to: index-target-resolution-ambiguous
809
+ outcomes: [blocked]
810
+ - from: build-target-resolution-views
811
+ to: main-index-blocked
812
+ outcomes: [failed]
813
+ - from: audit-projected-artifact-fan-out
814
+ to: build-main-index-author-worksets
815
+ outcomes: [completed]
816
+ - from: audit-projected-artifact-fan-out
817
+ to: main-index-plan-revision-required
818
+ outcomes: [partial]
819
+ - from: audit-projected-artifact-fan-out
820
+ to: main-index-blocked
821
+ outcomes: [failed]
822
+ - from: build-main-index-author-worksets
823
+ to: prepare-main-index-author-runs
824
+ outcomes: [completed]
825
+ - from: build-main-index-author-worksets
826
+ to: index-target-resolution-ambiguous
827
+ outcomes: [blocked]
828
+ - from: build-main-index-author-worksets
829
+ to: main-index-blocked
830
+ outcomes: [failed]
831
+ - from: prepare-main-index-author-runs
832
+ to: observe-main-index-author-worksets
833
+ outcomes: [completed]
834
+ - from: observe-main-index-author-worksets
835
+ to: start-main-index-author-run
836
+ outcomes: [partial]
837
+ - from: observe-main-index-author-worksets
838
+ to: resolve-effective-composers
839
+ outcomes: [completed]
840
+ - from: observe-main-index-author-worksets
841
+ to: main-index-blocked
842
+ outcomes: [failed, blocked]
843
+ - from: start-main-index-author-run
844
+ to: run-main-index-author-workset
845
+ outcomes: [completed]
846
+ - from: run-main-index-author-workset
847
+ to: validate-main-index-author-result
848
+ outcomes: [completed]
849
+ - from: run-main-index-author-workset
850
+ to: fail-main-index-author-run
851
+ outcomes: [failed]
852
+ - from: validate-main-index-author-result
853
+ to: accept-main-index-author-run
854
+ outcomes: [completed]
855
+ - from: validate-main-index-author-result
856
+ to: index-target-resolution-ambiguous
857
+ outcomes: [blocked]
858
+ - from: validate-main-index-author-result
859
+ to: index-target-resolution-invalid
860
+ outcomes: [failed]
861
+ - from: accept-main-index-author-run
862
+ to: observe-main-index-author-worksets
863
+ kind: repeat
864
+ outcomes: [completed]
865
+ - from: accept-main-index-author-run
866
+ to: main-index-blocked
867
+ outcomes: [failed, blocked]
868
+ - from: fail-main-index-author-run
869
+ to: observe-main-index-author-worksets
870
+ kind: repeat
871
+ outcomes: [completed]
872
+ - from: fail-main-index-author-run
873
+ to: main-index-blocked
874
+ outcomes: [failed, blocked]
875
+ - from: resolve-effective-composers
876
+ to: build-post-author-composer-worksets
877
+ outcomes: [completed]
878
+ - from: build-post-author-composer-worksets
879
+ to: reconcile-indexer-results
880
+ outcomes: [completed]
881
+ - from: build-post-author-composer-worksets
882
+ to: observe-post-author-composer-worksets
883
+ outcomes: [partial]
884
+ - from: build-post-author-composer-worksets
885
+ to: post-author-blocked
886
+ outcomes: [failed, blocked]
887
+ - from: start-post-author-composer-run
888
+ to: run-indexer-post-author-composer
889
+ outcomes: [completed]
890
+ - from: run-indexer-post-author-composer
891
+ to: accept-post-author-composer-run
892
+ outcomes: [completed]
893
+ - from: run-indexer-post-author-composer
894
+ to: fail-post-author-composer-run
895
+ outcomes: [failed]
896
+ - from: accept-post-author-composer-run
897
+ to: observe-post-author-composer-worksets
898
+ kind: repeat
899
+ outcomes: [completed]
900
+ - from: fail-post-author-composer-run
901
+ to: observe-post-author-composer-worksets
902
+ kind: repeat
903
+ outcomes: [completed]
904
+ - from: observe-post-author-composer-worksets
905
+ to: start-post-author-composer-run
906
+ kind: repeat
907
+ outcomes: [partial]
908
+ - from: observe-post-author-composer-worksets
909
+ to: compose-indexer-post-author-fragments
910
+ outcomes: [unverified]
911
+ - from: observe-post-author-composer-worksets
912
+ to: reconcile-indexer-results
913
+ outcomes: [completed]
914
+ - from: observe-post-author-composer-worksets
915
+ to: post-author-blocked
916
+ outcomes: [failed, blocked]
917
+ - from: compose-indexer-post-author-fragments
918
+ to: reconcile-indexer-results
919
+ outcomes: [completed]
920
+ - from: compose-indexer-post-author-fragments
921
+ to: post-author-blocked
922
+ outcomes: [failed, blocked]
923
+ - from: reconcile-indexer-results
924
+ to: checkpoint-material-gaps
925
+ outcomes: [completed, partial, blocked]
926
+ - from: audit-material-gap-state
927
+ to: checkpoint-material-gaps
928
+ outcomes: [partial]
929
+ - from: audit-material-gap-state
930
+ to: close-indexer-approved-knowledge
931
+ outcomes: [unverified]
932
+ - from: audit-material-gap-state
933
+ to: material-answer-blocked
934
+ outcomes: [blocked]
935
+ - from: audit-material-gap-state
936
+ to: material-gap-audit-current
937
+ outcomes: [completed]
938
+ - from: checkpoint-material-gaps
939
+ to: indexer-reconciliation-ready
940
+ outcomes: [completed]
941
+ - from: checkpoint-material-gaps
942
+ to: build-material-question-workset
943
+ outcomes: [partial]
944
+ - from: checkpoint-material-gaps
945
+ to: indexer-capability-gap
946
+ outcomes: [blocked]
947
+ - from: build-material-question-workset
948
+ to: prepare-material-answer-runs
949
+ outcomes: [completed]
950
+ - from: prepare-material-answer-runs
951
+ to: observe-material-answer-runs
952
+ outcomes: [completed]
953
+ - from: observe-material-answer-runs
954
+ to: start-material-answer-run
955
+ outcomes: [partial]
956
+ - from: observe-material-answer-runs
957
+ to: review-material-answer-candidates
958
+ outcomes: [unverified]
959
+ - from: observe-material-answer-runs
960
+ to: evaluate-material-gaps
961
+ outcomes: [completed]
962
+ - from: observe-material-answer-runs
963
+ to: material-answer-blocked
964
+ outcomes: [blocked]
965
+ - from: observe-material-answer-runs
966
+ to: material-answer-failed
967
+ outcomes: [failed]
968
+ - from: start-material-answer-run
969
+ to: run-material-answer-indexers
970
+ outcomes: [completed]
971
+ - from: run-material-answer-indexers
972
+ to: accept-material-answer-run
973
+ outcomes: [completed]
974
+ - from: run-material-answer-indexers
975
+ to: fail-material-answer-run
976
+ outcomes: [failed]
977
+ - from: accept-material-answer-run
978
+ to: observe-material-answer-runs
979
+ kind: repeat
980
+ outcomes: [completed]
981
+ - from: fail-material-answer-run
982
+ to: observe-material-answer-runs
983
+ kind: repeat
984
+ outcomes: [completed]
985
+ - from: review-material-answer-candidates
986
+ to: checkpoint-material-answer-review
987
+ outcomes: [completed]
988
+ - from: checkpoint-material-answer-review
989
+ to: evaluate-material-gaps
990
+ outcomes: [completed]
991
+ - from: evaluate-material-gaps
992
+ to: indexer-reconciliation-ready
993
+ outcomes: [completed]
994
+ - from: evaluate-material-gaps
995
+ to: indexer-layout-ready
996
+ outcomes: [partial]
997
+ - from: evaluate-material-gaps
998
+ to: material-answer-blocked
999
+ outcomes: [blocked]
1000
+ - from: actualize-material-answer-bindings
1001
+ to: indexer-reconciliation-ready
1002
+ outcomes: [completed]
1003
+ - from: actualize-material-answer-bindings
1004
+ to: material-answer-blocked
1005
+ outcomes: [blocked]
1006
+ - from: close-indexer-approved-knowledge
1007
+ to: indexer-approved-knowledge-closed
1008
+ outcomes: [completed]
1009
+ - from: inspect-index-candidate-review-readiness
1010
+ to: review-index-candidates
1011
+ outcomes: [completed]
1012
+ - from: compile-indexer-candidates
1013
+ to: indexer-candidates-compiled
1014
+ outcomes: [completed]
1015
+ - from: report-indexer-incremental-impact
1016
+ to: indexer-incremental-impact-reported
1017
+ outcomes: [completed]
1018
+ - from: inspect-index-candidate-review-readiness
1019
+ to: index-baseline-audit-failed
1020
+ outcomes: [failed]
1021
+ - from: inspect-index-candidate-review-readiness
1022
+ to: revise-index-output
1023
+ outcomes: [blocked]
1024
+ - from: revise-index-output
1025
+ to: record-index-profile-revision
1026
+ outcomes: [completed]
1027
+ - from: record-index-profile-revision
1028
+ to: index-profile-revision-pending
1029
+ outcomes: [partial]
1030
+ - from: record-index-profile-revision
1031
+ to: report-index-profile-failure
1032
+ outcomes: [completed]
1033
+ - from: report-index-profile-failure
1034
+ to: override-index-profile-audit
1035
+ outcomes: [completed]
1036
+ - from: override-index-profile-audit
1037
+ to: inspect-index-candidate-review-readiness
1038
+ kind: repeat
1039
+ outcomes: [completed]
1040
+ - from: review-index-candidates
1041
+ to: index-candidate-review-complete
1042
+ outcomes: [completed]