@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,6 +1,6 @@
1
1
  protocol: context.indexer.provider/v1
2
2
  id: context-note-indexer
3
- version: 1.0.0
3
+ version: 1.0.1-alpha.1
4
4
  domains:
5
5
  - markdown
6
6
  activation:
@@ -85,7 +85,7 @@ provides:
85
85
  - decision-record
86
86
  logical_units:
87
87
  - id: reader-subject
88
- identity: canonical-subject-key
88
+ identity: stable-article
89
89
  artifacts:
90
90
  recommended:
91
91
  - content
@@ -95,431 +95,62 @@ composition:
95
95
  extensions:
96
96
  - profile: note/monorepo-container
97
97
  extends: monorepo-container
98
- subject_key_schema:
99
- version: 1
100
- namespace:
101
- operator: canonical-source-module-namespace
102
- kinds:
103
- - id: project
104
- local_key:
105
- operator: canonical-module-identity
106
- normalization:
107
- - trim
108
- - unicode-nfc
109
- - preserve-case
110
98
  - profile: note/web-application
111
99
  extends: web-application
112
- subject_key_schema:
113
- version: 1
114
- namespace:
115
- operator: canonical-source-module-namespace
116
- kinds:
117
- - id: application
118
- local_key:
119
- operator: canonical-module-identity
120
- - id: capability
121
- local_key:
122
- operator: canonical-export-family
123
- normalization:
124
- - trim
125
- - unicode-nfc
126
- - preserve-case
127
100
  - profile: note/component-library
128
101
  extends: component-library
129
- subject_key_schema:
130
- version: 1
131
- namespace:
132
- operator: canonical-source-module-namespace
133
- kinds:
134
- - id: component
135
- local_key:
136
- operator: canonical-export-family
137
- normalization:
138
- - trim
139
- - unicode-nfc
140
- - preserve-case
141
102
  - profile: note/sdk-library
142
103
  extends: sdk-library
143
- subject_key_schema:
144
- version: 1
145
- namespace:
146
- operator: canonical-source-module-namespace
147
- kinds:
148
- - id: capability
149
- local_key:
150
- operator: canonical-export-family
151
- normalization:
152
- - trim
153
- - unicode-nfc
154
- - preserve-case
155
104
  - profile: note/cli-tool
156
105
  extends: cli-tool
157
- subject_key_schema:
158
- version: 1
159
- namespace:
160
- operator: canonical-source-module-namespace
161
- kinds:
162
- - id: command-family
163
- local_key:
164
- operator: canonical-module-identity
165
- normalization:
166
- - trim
167
- - unicode-nfc
168
- - preserve-case
169
106
  - profile: note/plugin-extension
170
107
  extends: plugin-extension
171
- subject_key_schema:
172
- version: 1
173
- namespace:
174
- operator: canonical-source-module-namespace
175
- kinds:
176
- - id: extension
177
- local_key:
178
- operator: canonical-module-identity
179
- normalization:
180
- - trim
181
- - unicode-nfc
182
- - preserve-case
183
108
  - profile: note/api-service
184
109
  extends: api-service
185
- subject_key_schema:
186
- version: 1
187
- namespace:
188
- operator: canonical-service-namespace
189
- kinds:
190
- - id: service
191
- local_key:
192
- operator: canonical-module-identity
193
- normalization:
194
- - trim
195
- - unicode-nfc
196
- - preserve-case
197
110
  - profile: note/gateway-facade
198
111
  extends: gateway-facade
199
- subject_key_schema:
200
- version: 1
201
- namespace:
202
- operator: canonical-service-namespace
203
- kinds:
204
- - id: gateway
205
- local_key:
206
- operator: canonical-module-identity
207
- normalization:
208
- - trim
209
- - unicode-nfc
210
- - preserve-case
211
112
  - profile: note/domain-service
212
113
  extends: domain-service
213
- subject_key_schema:
214
- version: 1
215
- namespace:
216
- operator: canonical-service-namespace
217
- kinds:
218
- - id: domain-capability
219
- local_key:
220
- operator: canonical-module-identity
221
- - id: operation-entrypoint
222
- local_key:
223
- operator: canonical-export-family
224
- - id: operation-flow
225
- local_key:
226
- operator: canonical-export-family
227
- - id: runtime-context-family
228
- local_key:
229
- operator: canonical-module-identity
230
- normalization:
231
- - trim
232
- - unicode-nfc
233
- - preserve-case
234
114
  - profile: note/background-runtime
235
115
  extends: background-runtime
236
- subject_key_schema:
237
- version: 1
238
- namespace:
239
- operator: canonical-service-namespace
240
- kinds:
241
- - id: runtime
242
- local_key:
243
- operator: canonical-module-identity
244
- - id: scheduled-operation
245
- local_key:
246
- operator: canonical-export-family
247
- - id: dispatch-contract
248
- local_key:
249
- operator: canonical-module-identity
250
- - id: dependency-boundary
251
- local_key:
252
- operator: canonical-export-family
253
- normalization:
254
- - trim
255
- - unicode-nfc
256
- - preserve-case
257
116
  - profile: note/event-consumer
258
117
  extends: event-consumer
259
- subject_key_schema:
260
- version: 1
261
- namespace:
262
- operator: canonical-service-namespace
263
- kinds:
264
- - id: consumer
265
- local_key:
266
- operator: canonical-module-identity
267
- normalization:
268
- - trim
269
- - unicode-nfc
270
- - preserve-case
271
118
  - profile: note/data-sync-reconciliation
272
119
  extends: data-sync-reconciliation
273
- subject_key_schema:
274
- version: 1
275
- namespace:
276
- operator: canonical-service-namespace
277
- kinds:
278
- - id: sync-pipeline
279
- local_key:
280
- operator: canonical-module-identity
281
- normalization:
282
- - trim
283
- - unicode-nfc
284
- - preserve-case
285
120
  - profile: note/storage-repository
286
121
  extends: storage-repository
287
- subject_key_schema:
288
- version: 1
289
- namespace:
290
- operator: canonical-service-namespace
291
- kinds:
292
- - id: store
293
- local_key:
294
- operator: canonical-module-identity
295
- normalization:
296
- - trim
297
- - unicode-nfc
298
- - preserve-case
299
122
  - profile: note/adapter-integration
300
123
  extends: adapter-integration
301
- subject_key_schema:
302
- version: 1
303
- namespace:
304
- operator: canonical-source-module-namespace
305
- kinds:
306
- - id: adapter
307
- local_key:
308
- operator: canonical-module-identity
309
- normalization:
310
- - trim
311
- - unicode-nfc
312
- - preserve-case
313
124
  - profile: note/contract-source
314
125
  extends: contract-source
315
- subject_key_schema:
316
- version: 1
317
- namespace:
318
- operator: canonical-service-namespace
319
- kinds:
320
- - id: contract-family
321
- local_key:
322
- operator: canonical-module-identity
323
- normalization:
324
- - trim
325
- - unicode-nfc
326
- - preserve-case
327
126
  - profile: note/derived-generated-source
328
127
  extends: derived-generated-source
329
- subject_key_schema:
330
- version: 1
331
- namespace:
332
- operator: canonical-source-module-namespace
333
- kinds:
334
- - id: generated-surface
335
- local_key:
336
- operator: canonical-module-identity
337
- normalization:
338
- - trim
339
- - unicode-nfc
340
- - preserve-case
341
128
  - profile: note/domain-reference
342
129
  extends: domain-reference
343
- subject_key_schema:
344
- version: 1
345
- namespace:
346
- operator: canonical-source-module-namespace
347
- kinds:
348
- - id: document-section
349
- local_key:
350
- operator: canonical-module-identity
351
- normalization:
352
- - trim
353
- - unicode-nfc
354
- - preserve-case
355
130
  - profile: note/product-requirements
356
131
  extends: product-requirements
357
- subject_key_schema:
358
- version: 1
359
- namespace:
360
- operator: canonical-source-module-namespace
361
- kinds:
362
- - id: document-section
363
- local_key:
364
- operator: canonical-module-identity
365
- normalization:
366
- - trim
367
- - unicode-nfc
368
- - preserve-case
369
132
  - profile: note/technical-guide
370
133
  extends: technical-guide
371
- subject_key_schema:
372
- version: 1
373
- namespace:
374
- operator: canonical-source-module-namespace
375
- kinds:
376
- - id: document-section
377
- local_key:
378
- operator: canonical-module-identity
379
- normalization:
380
- - trim
381
- - unicode-nfc
382
- - preserve-case
383
134
  - profile: note/user-and-developer-guide
384
135
  extends: user-and-developer-guide
385
- subject_key_schema:
386
- version: 1
387
- namespace:
388
- operator: canonical-source-module-namespace
389
- kinds:
390
- - id: document-section
391
- local_key:
392
- operator: canonical-module-identity
393
- normalization:
394
- - trim
395
- - unicode-nfc
396
- - preserve-case
397
136
  - profile: note/public-api-reference
398
137
  extends: public-api-reference
399
- subject_key_schema:
400
- version: 1
401
- namespace:
402
- operator: canonical-source-module-namespace
403
- kinds:
404
- - id: document-section
405
- local_key:
406
- operator: canonical-module-identity
407
- normalization:
408
- - trim
409
- - unicode-nfc
410
- - preserve-case
411
138
  - profile: note/runbook
412
139
  extends: runbook
413
- subject_key_schema:
414
- version: 1
415
- namespace:
416
- operator: canonical-source-module-namespace
417
- kinds:
418
- - id: document-section
419
- local_key:
420
- operator: canonical-module-identity
421
- normalization:
422
- - trim
423
- - unicode-nfc
424
- - preserve-case
425
140
  - profile: note/faq-support
426
141
  extends: faq-support
427
- subject_key_schema:
428
- version: 1
429
- namespace:
430
- operator: canonical-source-module-namespace
431
- kinds:
432
- - id: document-section
433
- local_key:
434
- operator: canonical-module-identity
435
- normalization:
436
- - trim
437
- - unicode-nfc
438
- - preserve-case
439
142
  - profile: note/standard-policy
440
143
  extends: standard-policy
441
- subject_key_schema:
442
- version: 1
443
- namespace:
444
- operator: canonical-source-module-namespace
445
- kinds:
446
- - id: document-section
447
- local_key:
448
- operator: canonical-module-identity
449
- normalization:
450
- - trim
451
- - unicode-nfc
452
- - preserve-case
453
144
  - profile: note/decision-record
454
145
  extends: decision-record
455
- subject_key_schema:
456
- version: 1
457
- namespace:
458
- operator: canonical-source-module-namespace
459
- kinds:
460
- - id: document-section
461
- local_key:
462
- operator: canonical-module-identity
463
- normalization:
464
- - trim
465
- - unicode-nfc
466
- - preserve-case
467
146
  - profile: note/incident-review
468
147
  extends: incident-review
469
- subject_key_schema:
470
- version: 1
471
- namespace:
472
- operator: canonical-source-module-namespace
473
- kinds:
474
- - id: document-section
475
- local_key:
476
- operator: canonical-module-identity
477
- normalization:
478
- - trim
479
- - unicode-nfc
480
- - preserve-case
481
148
  - profile: note/test-validation
482
149
  extends: test-validation
483
- subject_key_schema:
484
- version: 1
485
- namespace:
486
- operator: canonical-source-module-namespace
487
- kinds:
488
- - id: document-section
489
- local_key:
490
- operator: canonical-module-identity
491
- normalization:
492
- - trim
493
- - unicode-nfc
494
- - preserve-case
495
150
  - profile: note/release-migration-guide
496
151
  extends: release-migration-guide
497
- subject_key_schema:
498
- version: 1
499
- namespace:
500
- operator: canonical-source-module-namespace
501
- kinds:
502
- - id: document-section
503
- local_key:
504
- operator: canonical-module-identity
505
- normalization:
506
- - trim
507
- - unicode-nfc
508
- - preserve-case
509
152
  - profile: note/documentation-site
510
153
  extends: documentation-site
511
- subject_key_schema:
512
- version: 1
513
- namespace:
514
- operator: canonical-source-module-namespace
515
- kinds:
516
- - id: document-set
517
- local_key:
518
- operator: canonical-module-identity
519
- normalization:
520
- - trim
521
- - unicode-nfc
522
- - preserve-case
523
154
  provider:
524
155
  instructions:
525
156
  - path: references/indexer.md
@@ -1,55 +1,28 @@
1
1
  # Choose the reader outcome
2
2
 
3
- Classify useful passages, not the entire file. Source type, reader-facing form
4
- and operation are independent choices. One source can correct an existing FAQ,
5
- add a decision explanation and contain irrelevant conversation at the same time.
6
- Explain classifications in the user's language in the work-start report; the
7
- profile IDs below are protocol identifiers, not headings for the reader.
3
+ Read the saved material and compare its reader questions with the current
4
+ article navigation, including topics originally discovered from code. A note
5
+ or session may correct an existing answer, explain a decision, or justify a new
6
+ article. Its filename and source type do not determine the article form.
8
7
 
9
- | Material and reader need | Suitable profile | Action |
10
- | --- | --- | --- |
11
- | A concrete question with a supported answer | faq-support | Update the matching answer; create only if the question is distinct |
12
- | A repeatable task with prerequisites and checks | technical-guide / user-and-developer-guide | Integrate steps into the existing guide or propose a missing task |
13
- | Operational diagnosis and recovery | runbook | Preserve symptoms, checks, safe actions and verification |
14
- | Confirmed choice with rationale and limits | decision-record | Explain the choice, applicability and meaningful alternatives |
15
- | Agreed intended behavior and acceptance conditions | product-requirements | Keep intended behavior distinct from current implementation |
16
- | A reusable term, relationship or domain rule | domain-reference | Define it with scope and useful examples |
17
- | An incident account supported by observations | incident-review | Separate observations, causes and unverified hypotheses |
18
- | A test method or reported validation result | test-validation | Retain method, scope and what the result actually demonstrates |
19
- | Repetition, superseded claims, unresolved speculation without reader value | No new target | Support, defer or exclude with a concrete reason |
20
- | A required reader outcome needs a capability this Provider does not supply | `unsupported` for the affected material | Name the actual missing capability using the current Route; report its scope and recovery |
8
+ A question and supported answer can become a FAQ; repeatable steps belong in a
9
+ guide or runbook; a confirmed choice needs rationale and limits; observations
10
+ about an incident or test retain their actual scope. These are writing choices,
11
+ not required profile registrations or fixed article counts.
21
12
 
22
- “FAQ”, “knowledge improvement” and “knowledge accumulation” are not three source
23
- storage types. FAQ is a reader form; improvement usually revises approved prose;
24
- accumulation may add a topic or enrich an existing one. Decide from the actual
25
- reader question and existing coverage. Never route every note/session into FAQ.
13
+ Reuse the stable article identity when revising the same reader task. Similar
14
+ titles alone do not establish that two articles should merge. Separate different
15
+ versions or audiences when combining them would mislead readers. Several
16
+ authorized sources may contribute to one article, regardless of which skills
17
+ helped investigate them.
26
18
 
27
- Choose the closest applicable declared profile by reader task, then adapt its
28
- outline to the useful content. Headings, grouping and examples are writing
29
- choices, not new capabilities. An existing project template override takes
30
- precedence; use supported customization when a reusable local template is
31
- needed, not as a prerequisite for ordinary writing. Do not invent profile IDs
32
- or claim unsupported tools, source access or output contracts.
19
+ Use the current plan submission for article targets and writing batches. A
20
+ simple source can directly suggest its target; do not manufacture a separate
21
+ per-passage classification ledger. Keep genuinely unfinished investigation in
22
+ the stage's remaining scope. No independent article value may mean supporting
23
+ an existing article, not excluding the source from all production.
33
24
 
34
- Reserve `unsupported` for a real capability gap that prevents the requested
35
- outcome within the authorized scope, not a mismatch with a stock outline. Name
36
- the missing capability in the current Route payload and explain which work is
37
- affected; follow its recovery instead of imposing an extra approval or stopping
38
- unrelated work yourself. Missing metadata or an unresolved claim can usually be
39
- bounded in useful prose. Request material only when the missing evidence is
40
- necessary to answer the reader's question; exclude material with no reader value.
41
-
42
- Reach for it rarely. The forms above are broad, and an awkward fit is not an
43
- absent one — a benchmark result is test-validation, a complaint with a supported
44
- answer is faq-support, an onboarding checklist is a guide. What decides is the
45
- reader question, not how the record happens to be laid out. A messy record, an
46
- unstated applicability boundary and an unfamiliar topic are none of them
47
- capability gaps; the first two are ordinary authoring work and the third is
48
- usually one of these forms under a name you have not seen before.
49
-
50
- Keep one subject identity for the same reader topic across updates. Two topics
51
- with the same title are not necessarily the same page; compare audience, scope
52
- and task. Do not merge different versions or platforms just to reduce page count.
53
- Conversely, do not split a coherent answer into thin pages because the source
54
- has many headings. Close the actual current inventory using the Route schema,
55
- including explicit dispositions for excluded material.
25
+ Do not invent a tool capability or source authorization. Missing essential
26
+ evidence is a scoped gap; an unfamiliar topic or imperfect stock outline is
27
+ ordinary investigation and writing. Long-term exclusions need the applicable
28
+ user authorization, not just a desire to finish sooner.
@@ -1,36 +1,23 @@
1
- # Business replacement and customization
1
+ # Choosing and adapting skills
2
2
 
3
- Enable the chosen skill through the host's ordinary skill switch. Install it
4
- through your organization's own channel; Context has no additional business
5
- skill installation or enabled registry. The Agent discovers currently visible
6
- `context-…-indexer…` skills, then reads their real SKILL.md and sibling
7
- context-indexer.yaml. A matching name is a discovery hint, not compatibility.
3
+ Use relevant skills actually available in the current host. In planning,
4
+ declare their names, usable entries when needed, and the scopes and purposes
5
+ for which they help. The current stage returns that temporary guidance during
6
+ planning and writing. A name is a discovery hint, not proof of semantic fitness.
8
7
 
9
- To replace a default, declare the business Provider as the primary for the
10
- selected requirement, using its observed version, supported profiles and actual
11
- distribution coordinates. Do not select the default too. Use the current
12
- Provider selection Route's host_visible_skills observation and indexers payload;
13
- let the host resolution action supply the actual bundle when requested. No host
14
- cache crawling or guessed version/integrity is needed.
8
+ Adapt reader questions, grouping and outlines without registering a profile,
9
+ verifying skill versions or hashes, or attaching a skill identity to formal
10
+ articles. Multiple skills may complement one module or article. Use another
11
+ available skill when it supplies useful interpretation; do not invent a
12
+ missing capability or silently expand source permissions.
15
13
 
16
- For a reusable wording/template change, these defaults support instructions-append
17
- and template-override, not config or program-extend. Ordinary heading and grouping
18
- choices do not require customization. Follow the selected Provider's actual
19
- capabilities if it is a replacement. For independent
20
- source interpretation a standalone business Provider is appropriate. To enrich
21
- another primary, declare extension profiles and compatible fragments in its
22
- manifest and bind them with kind extension. The existing protocol validates
23
- these declarations; CLI never decides which business interpretation is best.
14
+ A reusable specialist skill should describe its source interpretation,
15
+ lightweight skeleton investigation, optional bounded helpers and writing
16
+ guidance. Ordinary note/session work needs no parser program: read the supplied
17
+ material and propose a target. Detailed source analysis belongs only where the
18
+ current reader task needs it.
24
19
 
25
- An override is named by the declared template ID, not its bundle filename:
26
- `src/indexer/<indexer-id>/templates/note-faq-support.md` overrides
27
- `note-faq-support`, whose default file is `templates/faq-support.md`.
28
- Keep the required origin comment pointing to the selected skill, observed
29
- version and profile. The same local override and `instructions.md` apply to
30
- initial writing and approved-page revision; no separate revision template is needed.
31
-
32
- The default template is a writing aid, not a mandatory business taxonomy.
33
- Customize reader questions and examples without changing source identity,
34
- revision authority, provenance or the single-primary rule. Check an unrelated
35
- session, an excerpt with unavailable original, a rejected proposal, an existing
36
- page correction and a mixed-code target before distributing a replacement.
20
+ When adapting guidance, check a source with an unavailable original, an
21
+ unconfirmed proposal, a correction to an existing article and a mixed-code
22
+ target. Preserve source strength, real citations and the current stage's file
23
+ submission contract. Do not create persistent tool-selection or producer logs.
@@ -1,54 +1,28 @@
1
- # Where note material belongs in a base profile's page
1
+ # Place supporting note material
2
2
 
3
- A `note/…` profile is an extension. It does not own a page and does not open a
4
- parallel one. The module stays on its base profile and selected page plan,
5
- including an applicable project template override. Contribute to the relevant
6
- sections; the attachment examples below are guidance, not a heading whitelist.
3
+ Use the current article's reader question and supplied revision base, not a
4
+ profile binding. Integrate relevant explanations into the appropriate sections
5
+ without opening a parallel page or collecting everything under a generic
6
+ "Notes" heading. The article can use several skills.
7
7
 
8
- Do not restate a base section the note has nothing to add to, and do not
9
- introduce a "notes" section to hold everything a note said.
10
-
11
- ## What a note can establish that the base sources cannot
12
-
13
- Read the base profile's Chapter blueprint and notice which sections its own
14
- evidence can settle. Structure settles from code and contracts: entry points,
15
- signatures, registrations, schemas, dependency edges. Several sections in every
16
- base blueprint ask for something else — why a limit was chosen, what a timeout
17
- means for a caller, which combination is unsupported, what breaks on upgrade,
18
- which behavior is deliberate. Those are the sections a saved note is for.
19
-
20
- This is the useful division. If a note repeats a signature the code already
21
- establishes, it adds nothing and risks contradicting the authoritative source. If
22
- it carries a constraint, a known pitfall or an applicability boundary, it belongs
23
- in the section that asks for exactly that.
24
-
25
- ## Attachment points by family
26
-
27
- | Family | Base profiles | Sections a note usually reaches |
28
- | --- | --- | --- |
29
- | Applications and containers | `monorepo-container`, `web-application` | `Dependency and layering constraints`, `Shared configuration and tooling`, `Configuration and environment selection`, `Known exclusions and source-of-truth links` |
30
- | Reusable capabilities | `component-library`, `sdk-library`, `cli-tool`, `plugin-extension` | `Compatibility and release constraints`, `Behavior, lifecycle, and errors`, `Recovery and rollback boundaries`, `Configuration, permissions, and isolation`, `Compatibility, failure, diagnostics, and recovery` |
31
- | Services and gateways | `api-service`, `gateway-facade`, `domain-service` | `Error, timeout, and compatibility behavior`, `Timeout, retry, compatibility, and failure translation`, `State, transaction, and idempotency behavior`, `Failure and recovery behavior`, `Configuration, observability, and release` |
32
- | Runtimes and data flow | `background-runtime`, `event-consumer`, `data-sync-reconciliation`, `storage-repository` | `Concurrency, ordering, retry, and idempotency`, `Idempotency, retry, checkpoint, and failure destination`, `Authentication, failure, retry, and fallback`, `Transaction, consistency, cache, and locking behavior`, `Failure recovery and observability` |
33
- | Boundaries and contracts | `adapter-integration`, `contract-source`, `derived-generated-source` | `Error, retry, fallback, and compatibility behavior`, `Versioning, compatibility, and deprecation`, `Generated versus maintained behavior`, `Compatibility and regeneration` |
34
- | Document profiles | `domain-reference`, `product-requirements`, `technical-guide`, `user-and-developer-guide`, `public-api-reference`, `runbook`, `faq-support`, `standard-policy`, `decision-record`, `incident-review`, `test-validation`, `release-migration-guide`, `documentation-site` | The base document blueprint keeps its shape; a note adds applicability, an exception, a correction or a missing definition |
35
-
36
- Read the section names from the actual base template the Route delivered. The
37
- table lists the sections these families most often need and is not the complete
38
- set; a base profile may declare a better-fitting section than the one named here.
8
+ Code may establish entry points, signatures, registrations and current
9
+ branches. Saved material can explain why a limit was chosen, an intentionally
10
+ unsupported case, an operational exception or a known pitfall. Put those
11
+ contributions where the reader needs them; do not repeat signatures or replace
12
+ authoritative behavior with recollection.
39
13
 
40
14
  ## How the material reads once placed
41
15
 
42
- Attribute it. A base page's other sections are backed by code or contracts, so a
16
+ Attribute it. An existing article's other sections are backed by code or contracts, so a
43
17
  sentence sourced from a note has to carry its own strength or a reader will
44
18
  assume the whole page is equally authoritative. "Recorded in an operations note:
45
19
  the retry limit was set to three to stay under the downstream quota" is placeable.
46
20
  "The retry limit is three" is not, unless the code establishes it — and if the
47
- code establishes it, the base section already owns that line.
21
+ code establishes it, the existing section already owns that line.
48
22
 
49
23
  A note may report one occurrence or document an explicitly confirmed rule.
50
24
  Retain that distinction and its attribution. Qualify missing dates or versions
51
- where they affect the base section's meaning; do not generalize a single case
25
+ where they affect the existing section's meaning; do not generalize a single case
52
26
  or demote a confirmed rule merely because either was saved as a note.
53
27
 
54
28
  When a note contradicts what the code establishes, do not silently pick one. The