@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,180 +0,0 @@
1
- # Code Indexer Skill authoring
2
-
3
- This guide defines the release checklist for a Code Indexer Provider Skill.
4
- It does not reproduce Context's internal Agent Graph lifecycle. The Provider
5
- receives validated requirements, scopes, worksets and evidence views and
6
- returns only its declared structured Results/fragments.
7
-
8
- ## Minimal package
9
-
10
- Use one `context-indexer.yaml` with protocol
11
- `context.indexer.provider/v1`. Give the Skill a SemVer version and publish the
12
- complete Bundle with a reproducible integrity digest. Instructions, templates,
13
- fixtures and portable program entries live below the Skill root. Do not invent
14
- source-specific manifest names or a second schema tree.
15
-
16
- Programs use a structured `runtime: node`, portable `entry` and literal `args`.
17
- They never use a free-form command. A detector only reports activation signals;
18
- an inspector only returns bounded evidence/enrichment. Neither is a hard-gate
19
- authority. CLI profile contracts and verified data-only overlays own mechanical
20
- rules, metric operators and thresholds.
21
-
22
- ## Author contract checklist
23
-
24
- For generated API tables, test the final Candidate as well as the parser payload
25
- and template preview. Cover direct and supporting references, partial contracts,
26
- shared types with different implementation defaults, ambiguous or cross-file
27
- links, and an approved-page regeneration after the source changes. Keep a known
28
- field when only part of its implementation can be extracted. Do not equate an
29
- accepted result with a corrected page.
30
-
31
- Document what each supported language adapter actually establishes. Preserve
32
- written expressions without evaluating arbitrary code, distinguish declaration
33
- defaults from implementation defaults, and explain unresolved imports or types.
34
- Unknown material, an unsupported parse, and a renderer contradicting a known fact
35
- need different responses. Use existing material requests and repair routes;
36
- neither a new content-quality gate nor a Provider-specific retry ledger is needed.
37
-
38
- 1. **Responsibility.** Classify supported code modules and produce evidence-
39
- bound partitions, logical units, Artifact Bundles and Results. Do not own
40
- source authorization, requirement approval, final review, CLI metrics or
41
- package publication. Source-specific Note/Sessions layers may contribute
42
- declared guidance to a code page; they do not become another primary or
43
- turn a conversation's proposed change into implemented code behavior.
44
- 2. **Manifest.** Use the sole `context-indexer.yaml` field tree. Bind domains,
45
- profiles, operations/fragments, resources, source roles, logical units,
46
- customization support and composition without duplicate aliases.
47
- 3. **Resource composition.** Combine only declared programs, profile-bound
48
- instructions, templates and optional detector/inspector resources. Omitted
49
- capabilities remain unsupported; natural language cannot add them.
50
- Put any Agent-executed grouping rules in those declared instructions or
51
- templates so Context delivers them with the current View. A partition
52
- strategy id or digest is not an instruction resource. Context selects and
53
- records strategy attempts; the Agent returns semantic groups and dispositions,
54
- without discovering strategy implementations or managing fallback order.
55
- 4. **Activation and profiles.** Declare strong/supporting/negative signals.
56
- Dependency names are candidates, not runtime proof. One module may combine
57
- one primary profile with supporting/extensions and selected composers.
58
- 5. **Sources and Artifacts.** Write for a reader outside the indexed module:
59
- make responsibility, stable interfaces/entrypoints, handoffs and the core
60
- state, failure, operation and source-of-truth facts needed for correct use
61
- and attribution discoverable. Declare source roles and logical-unit intent;
62
- select only CLI-registered Artifact kinds/policy variants. Keep logical unit
63
- identity separate from physical Artifact count, and measure useful coverage
64
- by answered profile questions rather than symbol or path counts.
65
- 6. **Inventory protocols.** Close every input member with an explicit
66
- disposition. Use stable aggregation, full-path example identity and
67
- structured chain decisions; do not substitute page prose for inventory.
68
- 7. **Metrics.** Reference registered metric ids as reader-quality guidance.
69
- The CLI may report advisory observations, but a Provider cannot return a
70
- pass, threshold, retry count, or risk-acceptance decision.
71
- 8. **Revision boundary.** Hard contract or source failures block at their
72
- owner. Reader-quality feedback reopens the same Author or Composer through
73
- `context revise`; it does not create a metric retry ledger or risk Gate.
74
- 9. **Reader questions.** Declare reusable question templates with stable refs,
75
- target domains and allowed evidence contracts. Do not make a question id
76
- globally unique to one SubjectKey group.
77
- 10. **Inspector safety.** Accept only the versioned stdin request and bounded
78
- authorized evidence view; emit strict JSON within limits. Never read the
79
- repository, environment or network implicitly, and never expose raw
80
- config values, secrets or unbounded stderr/stdout.
81
- 11. **Base gates.** Do not reduce source scope integrity, identity, evidence,
82
- requirement, disposition, reference-only or provenance gates. Provider
83
- integrity identifies content; it does not grant pass authority.
84
- 12. **Anonymous fixtures.** Cover at least a component library, Web app, API
85
- service, SDK/library and runtime/worker with neutral paths and identifiers.
86
- 13. **Release tests.** Validate the manifest/resource ledger, run positive and
87
- negative fixtures, forward-test the complete Skill, pack it, reinstall the
88
- exact artifact and compare Bundle bytes/digest.
89
- 14. **Content ownership.** Public technology belongs in the community Skill;
90
- company-wide infrastructure belongs in a separate namespaced Provider;
91
- repository, service, team and business mappings belong in business/project
92
- Providers. Community fixtures remain anonymous.
93
- 15. **Marketplace layout.** Archives keep one top-level Skill directory with
94
- `SKILL.md`, the manifest and referenced runtime resources. Exclude tests,
95
- caches, credentials, local paths and Host-specific temporary manifests.
96
- 16. **Material gaps.** Return a canonical question disposition in the same
97
- main Result when required evidence is missing. Never render a gap as an
98
- empty page or speculative prose. Registered Markdown or tool material may
99
- enrich the same main indexing batch before Candidate generation; do not
100
- create a separate answer operation, Candidate, checkpoint or Review. The
101
- CLI projects allowed enrichment material into that same Authorized
102
- Workset View; Providers must not reopen registered sources themselves.
103
- 17. **Backend profiles.** Test neutral RPC/HTTP, Gateway, Event/function,
104
- Cron/worker, sync/reconciliation, stateful service/storage and library
105
- shapes. Local facts remain baseline when optional remote metadata is absent.
106
- 18. **Versioning.** Use Skill/Provider SemVer, exact Provider pins and Bundle
107
- integrity. Fixed dependencies require exact versions and resolved
108
- integrity. `@context-indexer-origin` is required on workspace-local customization
109
- files and grants no authority. It is not required on Provider bundle files.
110
- 19. **Trust boundary.** Skill/manifest describes capabilities; the verified
111
- Bundle supplies bytes; workspace customization supplies project deltas;
112
- CLI contracts supply hard rules. Keep these four authorities distinct.
113
- 20. **Requirement direction.** `IndexRequirementSet` constrains registry,
114
- extractor and Result in one direction. Apply requirement/registry changes
115
- through staged, digest-bound proposals and transactional apply; do not edit
116
- a live registry around the Route.
117
- 21. **Program and remote authority.** Programs must pass static policy and the
118
- applicable trusted/sandbox authorization. Optional remote tools use a
119
- versioned Host Action, exact source-bound request and readable receipt;
120
- they never expand scope or perform writes.
121
- 22. **End-to-end recovery.** Test discovery, exact Provider resolution,
122
- content-addressed staging, controlled execution, Artifact/Evidence Result
123
- validation and crash recovery. A resumed run reuses only complete accepted
124
- records and never infers success from a partial receipt.
125
- 23. **Customization ladder.** Preserve this order: Provider only → config →
126
- instructions append → one template override → program extension →
127
- restricted replace. Document the proof and exit condition at every step;
128
- see [Provider selection and customization](./indexer-provider-and-customization.md).
129
- 24. **Batch neutrality.** Write instructions for one semantic task and accept
130
- that Context may transport several independent tasks in one Agent step.
131
- Never derive identity, ordering, ownership or evidence scope from a task
132
- key or batch position. Partition should decide consumer-facing ownership
133
- from public anchors and unresolved material; detailed supporting Facts are
134
- consumed in the bounded Author View rather than copied into every
135
- Partition decision.
136
-
137
- The current Route delivers readable task material with goals and constraints
138
- first, followed by the authorized sources and facts. For behavioral explanations,
139
- read the complete source excerpts. Copy the displayed `source_items` into the
140
- section's `source_items`; use Fact references in `facts`, not as source items.
141
- Context resolves a text item's authorized source spans internally. Inventory
142
- identities and a repository reference do not identify section source material.
143
- These process-local excerpts are not new Facts or reader-page metadata. Do not
144
- reopen the repository or infer behavior from a locator alone when the supplied
145
- lines do not establish it. Batch size does not define a knowledge page boundary.
146
-
147
- Author task resources may point to one shared batch reading file. Read that path
148
- once, use shared material only for its listed task keys, and consider each task's
149
- own goals and source excerpts. Context shares identical material, not conclusions:
150
- prepare a separate result for each task and submit the `results[]` together through
151
- the current completion command. A retry includes the remaining tasks' material in
152
- full; no earlier batch file or additional reading command is required.
153
-
154
- ## Result and composition rules
155
-
156
- Exactly one primary layer returns a complete partition/author Result for an
157
- operation. Pre-author extensions return only declared fragments and cannot
158
- change ownership, denominator or Subject identity. Post-author composers bind
159
- one current `PrimaryResultView` and return only a derived proposal fragment;
160
- an empty composer run still has a receipt. Composer selection is the
161
- intersection of registry selection, manifest declaration and current profile
162
- applicability, not array order.
163
-
164
- Use canonical SubjectKey schemas and the Context NodeRef formula. All selected
165
- Providers must reuse the same Node when the SubjectKey is equal. An
166
- enricher uses the supplied TargetResolutionView (`resolved`, `absent` or
167
- `ambiguous`) and never guesses identity from a title or path resemblance.
168
-
169
- Every Section uses the exact `document_kind`, `reader_goal` and
170
- `artifact_kind` tuple from the current profile's unique layout mapping. The
171
- Provider never returns a collection name; Context resolves the collection from
172
- that tuple and rejects missing or ambiguous mappings.
173
-
174
- ## Publication gate
175
-
176
- Do not publish until the exact packed artifact passes manifest/schema
177
- validation, anonymous positive/negative fixtures, no-scope-expansion and
178
- secret-leak tests, deterministic Bundle reconstruction, exact-version install,
179
- controlled execution and forward tests. Publishing a new version does not make
180
- existing workspace pins current; workspace selection must re-resolve it.
@@ -1,103 +0,0 @@
1
- # A minimal Provider manifest
2
-
3
- This is the smallest `context-indexer.yaml` that validates. Start from it and add
4
- only what your bundle implements. Reading an installed Provider's manifest is
5
- still worthwhile for behavior, but do not copy its declarations wholesale: they
6
- describe that bundle's resources, not yours.
7
-
8
- ```yaml
9
- protocol: context.indexer.provider/v1
10
- id: context-example-indexer
11
- version: 1.0.0
12
- domains: [markdown]
13
- activation:
14
- target_kinds: [document-set]
15
- required_signals:
16
- - id: prose-source
17
- description: The target contains prose a reader would consult.
18
- supporting_signals: []
19
- negative_signals: []
20
- provides:
21
- profiles: [reader-guide]
22
- operations:
23
- - id: main-index
24
- consumes: context.indexer.main-workset/v2
25
- produces: context.indexer.main-result/v1
26
- provider:
27
- instructions:
28
- - path: references/indexer.md
29
- profiles: [reader-guide]
30
- templates:
31
- - { id: guide, profile: reader-guide, path: templates/reader-guide.md }
32
- customization:
33
- supports: [instructions-append, template-override]
34
- ```
35
-
36
- The three groups below are the reason this file exists: a field being absent from
37
- a manifest means something different depending on which group it belongs to.
38
-
39
- ## Required
40
-
41
- The schema rejects a manifest missing any of these.
42
-
43
- - `protocol`, `id`, `version` — the protocol literal, a discoverable Provider
44
- identity, and a semver version.
45
- - `domains` — at least one. Note and Sessions Providers use `markdown`.
46
- - `activation.target_kinds` — at least one. This is projected into the Provider
47
- selection catalog, so it decides when your Provider can be selected at all.
48
- - `activation.required_signals` — at least one `{ id, description }`.
49
- - `activation.supporting_signals`, `activation.negative_signals` — the arrays
50
- themselves are required; an empty array is the normal value.
51
- - `provides.profiles` — at least one. A profile whose id contains `/` is a
52
- namespaced extension profile and additionally requires a matching
53
- `composition.extensions` entry.
54
- - `provides.operations` — at least one. `main-index` is the only operation.
55
- - `provider` — at least one of `program`, `instructions` or `templates`.
56
-
57
- ## Required once you declare a capability
58
-
59
- Declaring a customization capability without the resource that implements it is
60
- rejected at manifest validation:
61
-
62
- - `customization.supports` containing `config` requires `provider.config_schema`.
63
- - `customization.supports` containing `program-extend` requires
64
- `provider.program`.
65
-
66
- Both inconsistencies used to surface only at use time — a non-empty config while
67
- validating the selection, `program-extend` while preparing the customization
68
- project. Declare only the hooks your bundle actually backs; `instructions-append`
69
- and `template-override` need no additional resource.
70
-
71
- Two related rules hold for every resource. Each `instructions` and `templates`
72
- entry must name a profile that `provides.profiles` declares, and every declared
73
- path must exist inside the bundle. The reverse also matters: a reference file
74
- that no entry declares is never delivered to the Agent, so adding a file is not
75
- the same as making it available.
76
-
77
- ## Optional, and not uniformly enforced
78
-
79
- These are accepted and carry authoring intent. It is worth knowing which ones
80
- have a consumer, because declaring a field is not the same as gaining a check.
81
-
82
- - `quality_guidance.metric_ids` and `quality_guidance.repair` — read when
83
- projecting Provider contract references; the repair path ships as a resource.
84
- - `activation.agent_questions` — questions this Provider wants asked before it
85
- interprets material.
86
- - `provides.partition_strategies`, `provides.logical_units`,
87
- `provides.composers`, `composition.extensions` — declare only what you
88
- implement. Priorities must be unique per profile, and a composer contract
89
- requires a post-author `derived-artifact-proposal` layer fragment.
90
- - `provider.completion_checks`, `provider.forbidden_fallbacks` — the schema
91
- accepts and deduplicates them, and no execution consumer reads them today.
92
- Declaring them records intent for a reader of the manifest; it does not add a
93
- runtime check, and omitting them does not remove one. Material gaps in
94
- particular are handled by result reconciliation, which does not read
95
- `completion_checks`.
96
-
97
- ## Validate it
98
-
99
- Use the installed SDK, as described in [the authoring
100
- guide](indexer-skill-creation.md). `parseIndexerProviderManifest` accepts the
101
- manifest text directly, which is enough to confirm the field tree; loading the
102
- bundle directory additionally confirms that declared resource paths resolve.
103
- Neither establishes that the Provider produces useful pages.