@c4a/context-cli 0.7.5 → 0.7.9

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 (702) hide show
  1. package/README.md +63 -2
  2. package/README.zh-CN.md +16 -0
  3. package/cli.js +132471 -111134
  4. package/docs/context-debug-event-v1.schema.json +3 -1
  5. package/docs/debug-tracing.md +17 -1
  6. package/indexers/bundles/context-code-indexer/SKILL.md +10 -1
  7. package/indexers/bundles/context-code-indexer/context-indexer.yaml +3102 -64
  8. package/indexers/bundles/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
  9. package/indexers/bundles/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
  10. package/indexers/bundles/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
  11. package/indexers/bundles/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
  12. package/indexers/bundles/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
  13. package/indexers/bundles/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
  14. package/indexers/bundles/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
  15. package/indexers/bundles/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
  16. package/indexers/bundles/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
  17. package/indexers/bundles/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
  18. package/indexers/bundles/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
  19. package/indexers/bundles/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
  20. package/indexers/bundles/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
  21. package/indexers/bundles/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
  22. package/indexers/bundles/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
  23. package/indexers/bundles/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
  24. package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +13 -1
  25. package/indexers/bundles/context-code-indexer/references/diagrams.md +122 -0
  26. package/indexers/bundles/context-code-indexer/references/indexer.md +184 -8
  27. package/indexers/bundles/context-code-indexer/references/visual-source-processing.md +42 -0
  28. package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
  29. package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
  30. package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
  31. package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
  32. package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
  33. package/indexers/bundles/context-code-indexer/templates/articles/c01.md +49 -0
  34. package/indexers/bundles/context-code-indexer/templates/articles/c02.md +36 -0
  35. package/indexers/bundles/context-code-indexer/templates/articles/c03.md +28 -0
  36. package/indexers/bundles/context-code-indexer/templates/articles/c04.md +29 -0
  37. package/indexers/bundles/context-code-indexer/templates/articles/c05.md +30 -0
  38. package/indexers/bundles/context-code-indexer/templates/articles/c07.md +51 -0
  39. package/indexers/bundles/context-code-indexer/templates/articles/d01.md +31 -0
  40. package/indexers/bundles/context-code-indexer/templates/articles/d02.md +32 -0
  41. package/indexers/bundles/context-code-indexer/templates/articles/d03.md +32 -0
  42. package/indexers/bundles/context-code-indexer/templates/articles/d04.md +38 -0
  43. package/indexers/bundles/context-code-indexer/templates/articles/f01.md +50 -0
  44. package/indexers/bundles/context-code-indexer/templates/articles/f02.md +33 -0
  45. package/indexers/bundles/context-code-indexer/templates/articles/f03.md +38 -0
  46. package/indexers/bundles/context-code-indexer/templates/articles/f04.md +32 -0
  47. package/indexers/bundles/context-code-indexer/templates/articles/f05.md +32 -0
  48. package/indexers/bundles/context-code-indexer/templates/articles/f06.md +32 -0
  49. package/indexers/bundles/context-code-indexer/templates/articles/f07.md +31 -0
  50. package/indexers/bundles/context-code-indexer/templates/articles/f08.md +36 -0
  51. package/indexers/bundles/context-code-indexer/templates/articles/f09.md +32 -0
  52. package/indexers/bundles/context-code-indexer/templates/articles/f10.md +32 -0
  53. package/indexers/bundles/context-code-indexer/templates/articles/f11.md +39 -0
  54. package/indexers/bundles/context-code-indexer/templates/articles/f12.md +59 -0
  55. package/indexers/bundles/context-code-indexer/templates/articles/l01.md +38 -0
  56. package/indexers/bundles/context-code-indexer/templates/articles/l02.md +103 -0
  57. package/indexers/bundles/context-code-indexer/templates/articles/l03.md +92 -0
  58. package/indexers/bundles/context-code-indexer/templates/articles/l04.md +30 -0
  59. package/indexers/bundles/context-code-indexer/templates/articles/l05.md +50 -0
  60. package/indexers/bundles/context-code-indexer/templates/articles/q03.md +29 -0
  61. package/indexers/bundles/context-code-indexer/templates/articles/q05.md +29 -0
  62. package/indexers/bundles/context-code-indexer/templates/articles/q06.md +29 -0
  63. package/indexers/bundles/context-code-indexer/templates/articles/s01.md +31 -0
  64. package/indexers/bundles/context-code-indexer/templates/articles/s02.md +30 -0
  65. package/indexers/bundles/context-code-indexer/templates/articles/s03.md +34 -0
  66. package/indexers/bundles/context-code-indexer/templates/articles/s04.md +35 -0
  67. package/indexers/bundles/context-code-indexer/templates/articles/s05.md +30 -0
  68. package/indexers/bundles/context-code-indexer/templates/articles/s06.md +30 -0
  69. package/indexers/bundles/context-code-indexer/templates/articles/s07.md +33 -0
  70. package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
  71. package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
  72. package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
  73. package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
  74. package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
  75. package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
  76. package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
  77. package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +81 -0
  78. package/indexers/bundles/context-code-indexer/templates/component-library.md +40 -3
  79. package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
  80. package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
  81. package/indexers/bundles/context-code-indexer/templates/contract-source.md +49 -0
  82. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
  83. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
  84. package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
  85. package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
  86. package/indexers/bundles/context-code-indexer/templates/derived-generated-source.md +15 -0
  87. package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
  88. package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
  89. package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
  90. package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
  91. package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
  92. package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
  93. package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
  94. package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
  95. package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
  96. package/indexers/bundles/context-code-indexer/templates/monorepo-container.md +9 -0
  97. package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
  98. package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
  99. package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
  100. package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
  101. package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
  102. package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
  103. package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
  104. package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
  105. package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +81 -0
  106. package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
  107. package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
  108. package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +1 -1
  109. package/indexers/bundles/context-code-indexer/tests/fixtures/scenarios.json +1 -1
  110. package/indexers/bundles/context-markdown-indexer/SKILL.md +7 -1
  111. package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +856 -15
  112. package/indexers/bundles/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  113. package/indexers/bundles/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
  114. package/indexers/bundles/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  115. package/indexers/bundles/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  116. package/indexers/bundles/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  117. package/indexers/bundles/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  118. package/indexers/bundles/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
  119. package/indexers/bundles/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
  120. package/indexers/bundles/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  121. package/indexers/bundles/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
  122. package/indexers/bundles/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  123. package/indexers/bundles/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  124. package/indexers/bundles/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  125. package/indexers/bundles/context-markdown-indexer/references/diagrams.md +122 -0
  126. package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +19 -29
  127. package/indexers/bundles/context-markdown-indexer/references/indexer.md +63 -2
  128. package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +22 -8
  129. package/indexers/bundles/context-markdown-indexer/references/visual-source-processing.md +42 -0
  130. package/indexers/bundles/context-markdown-indexer/templates/articles/c01.md +37 -0
  131. package/indexers/bundles/context-markdown-indexer/templates/articles/c02.md +34 -0
  132. package/indexers/bundles/context-markdown-indexer/templates/articles/c03.md +26 -0
  133. package/indexers/bundles/context-markdown-indexer/templates/articles/c04.md +27 -0
  134. package/indexers/bundles/context-markdown-indexer/templates/articles/c05.md +28 -0
  135. package/indexers/bundles/context-markdown-indexer/templates/articles/c06.md +28 -0
  136. package/indexers/bundles/context-markdown-indexer/templates/articles/c07.md +27 -0
  137. package/indexers/bundles/context-markdown-indexer/templates/articles/d01.md +29 -0
  138. package/indexers/bundles/context-markdown-indexer/templates/articles/d02.md +30 -0
  139. package/indexers/bundles/context-markdown-indexer/templates/articles/d03.md +30 -0
  140. package/indexers/bundles/context-markdown-indexer/templates/articles/d04.md +44 -0
  141. package/indexers/bundles/context-markdown-indexer/templates/articles/f01.md +30 -0
  142. package/indexers/bundles/context-markdown-indexer/templates/articles/f05.md +30 -0
  143. package/indexers/bundles/context-markdown-indexer/templates/articles/f06.md +30 -0
  144. package/indexers/bundles/context-markdown-indexer/templates/articles/f08.md +34 -0
  145. package/indexers/bundles/context-markdown-indexer/templates/articles/f09.md +30 -0
  146. package/indexers/bundles/context-markdown-indexer/templates/articles/l01.md +35 -0
  147. package/indexers/bundles/context-markdown-indexer/templates/articles/l02.md +101 -0
  148. package/indexers/bundles/context-markdown-indexer/templates/articles/l03.md +90 -0
  149. package/indexers/bundles/context-markdown-indexer/templates/articles/l04.md +28 -0
  150. package/indexers/bundles/context-markdown-indexer/templates/articles/l05.md +48 -0
  151. package/indexers/bundles/context-markdown-indexer/templates/articles/q01.md +32 -0
  152. package/indexers/bundles/context-markdown-indexer/templates/articles/q02.md +33 -0
  153. package/indexers/bundles/context-markdown-indexer/templates/articles/q03.md +27 -0
  154. package/indexers/bundles/context-markdown-indexer/templates/articles/q04.md +32 -0
  155. package/indexers/bundles/context-markdown-indexer/templates/articles/q05.md +27 -0
  156. package/indexers/bundles/context-markdown-indexer/templates/articles/q06.md +27 -0
  157. package/indexers/bundles/context-markdown-indexer/templates/articles/q07.md +32 -0
  158. package/indexers/bundles/context-markdown-indexer/templates/articles/s01.md +29 -0
  159. package/indexers/bundles/context-markdown-indexer/templates/articles/s02.md +27 -0
  160. package/indexers/bundles/context-markdown-indexer/templates/articles/s03.md +31 -0
  161. package/indexers/bundles/context-markdown-indexer/templates/articles/s04.md +33 -0
  162. package/indexers/bundles/context-markdown-indexer/templates/articles/s05.md +28 -0
  163. package/indexers/bundles/context-markdown-indexer/templates/articles/s06.md +28 -0
  164. package/indexers/bundles/context-markdown-indexer/templates/articles/s07.md +31 -0
  165. package/indexers/bundles/context-note-indexer/SKILL.md +16 -0
  166. package/indexers/bundles/context-note-indexer/context-indexer.yaml +1459 -0
  167. package/indexers/bundles/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  168. package/indexers/bundles/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  169. package/indexers/bundles/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  170. package/indexers/bundles/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  171. package/indexers/bundles/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  172. package/indexers/bundles/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  173. package/indexers/bundles/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  174. package/indexers/bundles/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  175. package/indexers/bundles/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  176. package/indexers/bundles/context-note-indexer/references/classification.md +55 -0
  177. package/indexers/bundles/context-note-indexer/references/customization.md +36 -0
  178. package/indexers/bundles/context-note-indexer/references/diagrams.md +122 -0
  179. package/indexers/bundles/context-note-indexer/references/extension-placement.md +57 -0
  180. package/indexers/bundles/context-note-indexer/references/indexer.md +43 -0
  181. package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +37 -0
  182. package/indexers/bundles/context-note-indexer/references/visual-source-processing.md +42 -0
  183. package/indexers/bundles/context-note-indexer/references/writing.md +57 -0
  184. package/indexers/bundles/context-note-indexer/templates/articles/c01.md +37 -0
  185. package/indexers/bundles/context-note-indexer/templates/articles/c02.md +34 -0
  186. package/indexers/bundles/context-note-indexer/templates/articles/c03.md +26 -0
  187. package/indexers/bundles/context-note-indexer/templates/articles/c04.md +27 -0
  188. package/indexers/bundles/context-note-indexer/templates/articles/c05.md +28 -0
  189. package/indexers/bundles/context-note-indexer/templates/articles/c06.md +28 -0
  190. package/indexers/bundles/context-note-indexer/templates/articles/c07.md +27 -0
  191. package/indexers/bundles/context-note-indexer/templates/articles/d01.md +29 -0
  192. package/indexers/bundles/context-note-indexer/templates/articles/d02.md +30 -0
  193. package/indexers/bundles/context-note-indexer/templates/articles/d03.md +30 -0
  194. package/indexers/bundles/context-note-indexer/templates/articles/d04.md +36 -0
  195. package/indexers/bundles/context-note-indexer/templates/articles/f01.md +30 -0
  196. package/indexers/bundles/context-note-indexer/templates/articles/f06.md +30 -0
  197. package/indexers/bundles/context-note-indexer/templates/articles/f08.md +34 -0
  198. package/indexers/bundles/context-note-indexer/templates/articles/f09.md +30 -0
  199. package/indexers/bundles/context-note-indexer/templates/articles/l01.md +35 -0
  200. package/indexers/bundles/context-note-indexer/templates/articles/l02.md +101 -0
  201. package/indexers/bundles/context-note-indexer/templates/articles/l03.md +90 -0
  202. package/indexers/bundles/context-note-indexer/templates/articles/l04.md +28 -0
  203. package/indexers/bundles/context-note-indexer/templates/articles/l05.md +48 -0
  204. package/indexers/bundles/context-note-indexer/templates/articles/q01.md +32 -0
  205. package/indexers/bundles/context-note-indexer/templates/articles/q02.md +33 -0
  206. package/indexers/bundles/context-note-indexer/templates/articles/q03.md +27 -0
  207. package/indexers/bundles/context-note-indexer/templates/articles/q04.md +32 -0
  208. package/indexers/bundles/context-note-indexer/templates/articles/q05.md +27 -0
  209. package/indexers/bundles/context-note-indexer/templates/articles/q06.md +27 -0
  210. package/indexers/bundles/context-note-indexer/templates/articles/q07.md +32 -0
  211. package/indexers/bundles/context-note-indexer/templates/articles/s01.md +29 -0
  212. package/indexers/bundles/context-note-indexer/templates/articles/s04.md +33 -0
  213. package/indexers/bundles/context-note-indexer/templates/articles/s05.md +28 -0
  214. package/indexers/bundles/context-note-indexer/templates/articles/s06.md +28 -0
  215. package/indexers/bundles/context-note-indexer/templates/articles/s07.md +31 -0
  216. package/indexers/bundles/context-note-indexer/templates/decision-record.md +33 -0
  217. package/indexers/bundles/context-note-indexer/templates/domain-reference.md +31 -0
  218. package/indexers/bundles/context-note-indexer/templates/faq-support.md +30 -0
  219. package/indexers/bundles/context-note-indexer/templates/incident-review.md +28 -0
  220. package/indexers/bundles/context-note-indexer/templates/product-requirements.md +29 -0
  221. package/indexers/bundles/context-note-indexer/templates/runbook.md +30 -0
  222. package/indexers/bundles/context-note-indexer/templates/technical-guide.md +31 -0
  223. package/indexers/bundles/context-note-indexer/templates/test-validation.md +28 -0
  224. package/indexers/bundles/context-note-indexer/templates/user-and-developer-guide.md +28 -0
  225. package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +281 -0
  226. package/indexers/bundles/context-sessions-indexer/SKILL.md +16 -0
  227. package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +1459 -0
  228. package/indexers/bundles/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  229. package/indexers/bundles/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  230. package/indexers/bundles/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  231. package/indexers/bundles/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  232. package/indexers/bundles/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  233. package/indexers/bundles/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  234. package/indexers/bundles/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  235. package/indexers/bundles/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  236. package/indexers/bundles/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  237. package/indexers/bundles/context-sessions-indexer/references/classification.md +56 -0
  238. package/indexers/bundles/context-sessions-indexer/references/customization.md +36 -0
  239. package/indexers/bundles/context-sessions-indexer/references/diagrams.md +122 -0
  240. package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +63 -0
  241. package/indexers/bundles/context-sessions-indexer/references/indexer.md +48 -0
  242. package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +37 -0
  243. package/indexers/bundles/context-sessions-indexer/references/visual-source-processing.md +42 -0
  244. package/indexers/bundles/context-sessions-indexer/references/writing.md +63 -0
  245. package/indexers/bundles/context-sessions-indexer/templates/articles/c01.md +37 -0
  246. package/indexers/bundles/context-sessions-indexer/templates/articles/c02.md +34 -0
  247. package/indexers/bundles/context-sessions-indexer/templates/articles/c03.md +26 -0
  248. package/indexers/bundles/context-sessions-indexer/templates/articles/c04.md +27 -0
  249. package/indexers/bundles/context-sessions-indexer/templates/articles/c05.md +28 -0
  250. package/indexers/bundles/context-sessions-indexer/templates/articles/c06.md +28 -0
  251. package/indexers/bundles/context-sessions-indexer/templates/articles/c07.md +27 -0
  252. package/indexers/bundles/context-sessions-indexer/templates/articles/d01.md +29 -0
  253. package/indexers/bundles/context-sessions-indexer/templates/articles/d02.md +30 -0
  254. package/indexers/bundles/context-sessions-indexer/templates/articles/d03.md +30 -0
  255. package/indexers/bundles/context-sessions-indexer/templates/articles/d04.md +36 -0
  256. package/indexers/bundles/context-sessions-indexer/templates/articles/f01.md +30 -0
  257. package/indexers/bundles/context-sessions-indexer/templates/articles/f06.md +30 -0
  258. package/indexers/bundles/context-sessions-indexer/templates/articles/f08.md +34 -0
  259. package/indexers/bundles/context-sessions-indexer/templates/articles/f09.md +30 -0
  260. package/indexers/bundles/context-sessions-indexer/templates/articles/l01.md +35 -0
  261. package/indexers/bundles/context-sessions-indexer/templates/articles/l02.md +101 -0
  262. package/indexers/bundles/context-sessions-indexer/templates/articles/l03.md +90 -0
  263. package/indexers/bundles/context-sessions-indexer/templates/articles/l04.md +28 -0
  264. package/indexers/bundles/context-sessions-indexer/templates/articles/l05.md +48 -0
  265. package/indexers/bundles/context-sessions-indexer/templates/articles/q01.md +32 -0
  266. package/indexers/bundles/context-sessions-indexer/templates/articles/q02.md +33 -0
  267. package/indexers/bundles/context-sessions-indexer/templates/articles/q03.md +27 -0
  268. package/indexers/bundles/context-sessions-indexer/templates/articles/q04.md +32 -0
  269. package/indexers/bundles/context-sessions-indexer/templates/articles/q05.md +27 -0
  270. package/indexers/bundles/context-sessions-indexer/templates/articles/q06.md +27 -0
  271. package/indexers/bundles/context-sessions-indexer/templates/articles/q07.md +32 -0
  272. package/indexers/bundles/context-sessions-indexer/templates/articles/s01.md +29 -0
  273. package/indexers/bundles/context-sessions-indexer/templates/articles/s04.md +33 -0
  274. package/indexers/bundles/context-sessions-indexer/templates/articles/s05.md +28 -0
  275. package/indexers/bundles/context-sessions-indexer/templates/articles/s06.md +28 -0
  276. package/indexers/bundles/context-sessions-indexer/templates/articles/s07.md +31 -0
  277. package/indexers/bundles/context-sessions-indexer/templates/decision-record.md +43 -0
  278. package/indexers/bundles/context-sessions-indexer/templates/domain-reference.md +31 -0
  279. package/indexers/bundles/context-sessions-indexer/templates/faq-support.md +33 -0
  280. package/indexers/bundles/context-sessions-indexer/templates/incident-review.md +37 -0
  281. package/indexers/bundles/context-sessions-indexer/templates/product-requirements.md +35 -0
  282. package/indexers/bundles/context-sessions-indexer/templates/runbook.md +32 -0
  283. package/indexers/bundles/context-sessions-indexer/templates/technical-guide.md +31 -0
  284. package/indexers/bundles/context-sessions-indexer/templates/test-validation.md +37 -0
  285. package/indexers/bundles/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
  286. package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
  287. package/indexers/contracts/profile-contract.json +657 -277
  288. package/indexers/release-manifest.json +1120 -32
  289. package/package.json +14 -12
  290. package/parserEntryWorker.js +34606 -0
  291. package/plugins/README.md +24 -6
  292. package/plugins/README_CN.md +21 -5
  293. package/plugins/VERSION +1 -1
  294. package/plugins/claude/.claude-plugin/plugin.json +14 -3
  295. package/plugins/claude/commands/context-inspect-search.md +159 -0
  296. package/plugins/claude/commands/context.md +375 -211
  297. package/plugins/claude/skills/context-indexer-create/SKILL.md +80 -0
  298. package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
  299. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
  300. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
  301. package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
  302. package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
  303. package/plugins/claude/skills/context-indexer-create/references/guides/note.md +37 -0
  304. package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +50 -0
  305. package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
  306. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  307. package/plugins/codex/skills/context/SKILL.md +372 -211
  308. package/plugins/codex/skills/context/agents/openai.yaml +2 -0
  309. package/plugins/codex/skills/context-indexer-create/SKILL.md +80 -0
  310. package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
  311. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
  312. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
  313. package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
  314. package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
  315. package/plugins/codex/skills/context-indexer-create/references/guides/note.md +37 -0
  316. package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +50 -0
  317. package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
  318. package/plugins/codex/skills/context-inspect-search/SKILL.md +159 -0
  319. package/plugins/codex/skills/context-inspect-search/agents/openai.yaml +2 -0
  320. package/plugins/cursor/.cursor-plugin/plugin.json +21 -5
  321. package/plugins/cursor/commands/c4a-context-inspect-search.md +157 -0
  322. package/plugins/cursor/commands/c4a-context.md +371 -214
  323. package/plugins/cursor/skills/context-indexer-create/SKILL.md +80 -0
  324. package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
  325. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
  326. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
  327. package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
  328. package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
  329. package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +37 -0
  330. package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +50 -0
  331. package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
  332. package/plugins/skills/context/SKILL.md +372 -211
  333. package/plugins/skills/context/agents/openai.yaml +2 -0
  334. package/plugins/skills/context-code-indexer/SKILL.md +10 -1
  335. package/plugins/skills/context-code-indexer/context-indexer.yaml +3102 -64
  336. package/plugins/skills/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
  337. package/plugins/skills/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
  338. package/plugins/skills/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
  339. package/plugins/skills/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
  340. package/plugins/skills/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
  341. package/plugins/skills/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
  342. package/plugins/skills/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
  343. package/plugins/skills/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
  344. package/plugins/skills/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
  345. package/plugins/skills/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
  346. package/plugins/skills/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
  347. package/plugins/skills/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
  348. package/plugins/skills/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
  349. package/plugins/skills/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
  350. package/plugins/skills/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
  351. package/plugins/skills/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
  352. package/plugins/skills/context-code-indexer/references/composers/public-contract.md +13 -1
  353. package/plugins/skills/context-code-indexer/references/diagrams.md +122 -0
  354. package/plugins/skills/context-code-indexer/references/indexer.md +184 -8
  355. package/plugins/skills/context-code-indexer/references/visual-source-processing.md +42 -0
  356. package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
  357. package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
  358. package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
  359. package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
  360. package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
  361. package/plugins/skills/context-code-indexer/templates/articles/c01.md +49 -0
  362. package/plugins/skills/context-code-indexer/templates/articles/c02.md +36 -0
  363. package/plugins/skills/context-code-indexer/templates/articles/c03.md +28 -0
  364. package/plugins/skills/context-code-indexer/templates/articles/c04.md +29 -0
  365. package/plugins/skills/context-code-indexer/templates/articles/c05.md +30 -0
  366. package/plugins/skills/context-code-indexer/templates/articles/c07.md +51 -0
  367. package/plugins/skills/context-code-indexer/templates/articles/d01.md +31 -0
  368. package/plugins/skills/context-code-indexer/templates/articles/d02.md +32 -0
  369. package/plugins/skills/context-code-indexer/templates/articles/d03.md +32 -0
  370. package/plugins/skills/context-code-indexer/templates/articles/d04.md +38 -0
  371. package/plugins/skills/context-code-indexer/templates/articles/f01.md +50 -0
  372. package/plugins/skills/context-code-indexer/templates/articles/f02.md +33 -0
  373. package/plugins/skills/context-code-indexer/templates/articles/f03.md +38 -0
  374. package/plugins/skills/context-code-indexer/templates/articles/f04.md +32 -0
  375. package/plugins/skills/context-code-indexer/templates/articles/f05.md +32 -0
  376. package/plugins/skills/context-code-indexer/templates/articles/f06.md +32 -0
  377. package/plugins/skills/context-code-indexer/templates/articles/f07.md +31 -0
  378. package/plugins/skills/context-code-indexer/templates/articles/f08.md +36 -0
  379. package/plugins/skills/context-code-indexer/templates/articles/f09.md +32 -0
  380. package/plugins/skills/context-code-indexer/templates/articles/f10.md +32 -0
  381. package/plugins/skills/context-code-indexer/templates/articles/f11.md +39 -0
  382. package/plugins/skills/context-code-indexer/templates/articles/f12.md +59 -0
  383. package/plugins/skills/context-code-indexer/templates/articles/l01.md +38 -0
  384. package/plugins/skills/context-code-indexer/templates/articles/l02.md +103 -0
  385. package/plugins/skills/context-code-indexer/templates/articles/l03.md +92 -0
  386. package/plugins/skills/context-code-indexer/templates/articles/l04.md +30 -0
  387. package/plugins/skills/context-code-indexer/templates/articles/l05.md +50 -0
  388. package/plugins/skills/context-code-indexer/templates/articles/q03.md +29 -0
  389. package/plugins/skills/context-code-indexer/templates/articles/q05.md +29 -0
  390. package/plugins/skills/context-code-indexer/templates/articles/q06.md +29 -0
  391. package/plugins/skills/context-code-indexer/templates/articles/s01.md +31 -0
  392. package/plugins/skills/context-code-indexer/templates/articles/s02.md +30 -0
  393. package/plugins/skills/context-code-indexer/templates/articles/s03.md +34 -0
  394. package/plugins/skills/context-code-indexer/templates/articles/s04.md +35 -0
  395. package/plugins/skills/context-code-indexer/templates/articles/s05.md +30 -0
  396. package/plugins/skills/context-code-indexer/templates/articles/s06.md +30 -0
  397. package/plugins/skills/context-code-indexer/templates/articles/s07.md +33 -0
  398. package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
  399. package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
  400. package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
  401. package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
  402. package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
  403. package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
  404. package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
  405. package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +81 -0
  406. package/plugins/skills/context-code-indexer/templates/component-library.md +40 -3
  407. package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
  408. package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
  409. package/plugins/skills/context-code-indexer/templates/contract-source.md +49 -0
  410. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
  411. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
  412. package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
  413. package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
  414. package/plugins/skills/context-code-indexer/templates/derived-generated-source.md +15 -0
  415. package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
  416. package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
  417. package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
  418. package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
  419. package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
  420. package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
  421. package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
  422. package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
  423. package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
  424. package/plugins/skills/context-code-indexer/templates/monorepo-container.md +9 -0
  425. package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
  426. package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
  427. package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
  428. package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
  429. package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
  430. package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
  431. package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
  432. package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
  433. package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +81 -0
  434. package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
  435. package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
  436. package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +1 -1
  437. package/plugins/skills/context-code-indexer/tests/fixtures/scenarios.json +1 -1
  438. package/plugins/skills/context-indexer-create/SKILL.md +80 -0
  439. package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
  440. package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
  441. package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
  442. package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
  443. package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
  444. package/plugins/skills/context-indexer-create/references/guides/note.md +37 -0
  445. package/plugins/skills/context-indexer-create/references/guides/sessions.md +50 -0
  446. package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
  447. package/plugins/skills/context-inspect-search/SKILL.md +159 -0
  448. package/plugins/skills/context-inspect-search/agents/openai.yaml +2 -0
  449. package/plugins/skills/context-markdown-indexer/SKILL.md +7 -1
  450. package/plugins/skills/context-markdown-indexer/context-indexer.yaml +856 -15
  451. package/plugins/skills/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  452. package/plugins/skills/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
  453. package/plugins/skills/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  454. package/plugins/skills/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  455. package/plugins/skills/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  456. package/plugins/skills/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  457. package/plugins/skills/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
  458. package/plugins/skills/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
  459. package/plugins/skills/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  460. package/plugins/skills/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
  461. package/plugins/skills/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  462. package/plugins/skills/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  463. package/plugins/skills/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  464. package/plugins/skills/context-markdown-indexer/references/diagrams.md +122 -0
  465. package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +19 -29
  466. package/plugins/skills/context-markdown-indexer/references/indexer.md +63 -2
  467. package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +22 -8
  468. package/plugins/skills/context-markdown-indexer/references/visual-source-processing.md +42 -0
  469. package/plugins/skills/context-markdown-indexer/templates/articles/c01.md +37 -0
  470. package/plugins/skills/context-markdown-indexer/templates/articles/c02.md +34 -0
  471. package/plugins/skills/context-markdown-indexer/templates/articles/c03.md +26 -0
  472. package/plugins/skills/context-markdown-indexer/templates/articles/c04.md +27 -0
  473. package/plugins/skills/context-markdown-indexer/templates/articles/c05.md +28 -0
  474. package/plugins/skills/context-markdown-indexer/templates/articles/c06.md +28 -0
  475. package/plugins/skills/context-markdown-indexer/templates/articles/c07.md +27 -0
  476. package/plugins/skills/context-markdown-indexer/templates/articles/d01.md +29 -0
  477. package/plugins/skills/context-markdown-indexer/templates/articles/d02.md +30 -0
  478. package/plugins/skills/context-markdown-indexer/templates/articles/d03.md +30 -0
  479. package/plugins/skills/context-markdown-indexer/templates/articles/d04.md +44 -0
  480. package/plugins/skills/context-markdown-indexer/templates/articles/f01.md +30 -0
  481. package/plugins/skills/context-markdown-indexer/templates/articles/f05.md +30 -0
  482. package/plugins/skills/context-markdown-indexer/templates/articles/f06.md +30 -0
  483. package/plugins/skills/context-markdown-indexer/templates/articles/f08.md +34 -0
  484. package/plugins/skills/context-markdown-indexer/templates/articles/f09.md +30 -0
  485. package/plugins/skills/context-markdown-indexer/templates/articles/l01.md +35 -0
  486. package/plugins/skills/context-markdown-indexer/templates/articles/l02.md +101 -0
  487. package/plugins/skills/context-markdown-indexer/templates/articles/l03.md +90 -0
  488. package/plugins/skills/context-markdown-indexer/templates/articles/l04.md +28 -0
  489. package/plugins/skills/context-markdown-indexer/templates/articles/l05.md +48 -0
  490. package/plugins/skills/context-markdown-indexer/templates/articles/q01.md +32 -0
  491. package/plugins/skills/context-markdown-indexer/templates/articles/q02.md +33 -0
  492. package/plugins/skills/context-markdown-indexer/templates/articles/q03.md +27 -0
  493. package/plugins/skills/context-markdown-indexer/templates/articles/q04.md +32 -0
  494. package/plugins/skills/context-markdown-indexer/templates/articles/q05.md +27 -0
  495. package/plugins/skills/context-markdown-indexer/templates/articles/q06.md +27 -0
  496. package/plugins/skills/context-markdown-indexer/templates/articles/q07.md +32 -0
  497. package/plugins/skills/context-markdown-indexer/templates/articles/s01.md +29 -0
  498. package/plugins/skills/context-markdown-indexer/templates/articles/s02.md +27 -0
  499. package/plugins/skills/context-markdown-indexer/templates/articles/s03.md +31 -0
  500. package/plugins/skills/context-markdown-indexer/templates/articles/s04.md +33 -0
  501. package/plugins/skills/context-markdown-indexer/templates/articles/s05.md +28 -0
  502. package/plugins/skills/context-markdown-indexer/templates/articles/s06.md +28 -0
  503. package/plugins/skills/context-markdown-indexer/templates/articles/s07.md +31 -0
  504. package/plugins/skills/context-note-indexer/SKILL.md +16 -0
  505. package/plugins/skills/context-note-indexer/context-indexer.yaml +1459 -0
  506. package/plugins/skills/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  507. package/plugins/skills/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  508. package/plugins/skills/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  509. package/plugins/skills/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  510. package/plugins/skills/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  511. package/plugins/skills/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  512. package/plugins/skills/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  513. package/plugins/skills/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  514. package/plugins/skills/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  515. package/plugins/skills/context-note-indexer/references/classification.md +55 -0
  516. package/plugins/skills/context-note-indexer/references/customization.md +36 -0
  517. package/plugins/skills/context-note-indexer/references/diagrams.md +122 -0
  518. package/plugins/skills/context-note-indexer/references/extension-placement.md +57 -0
  519. package/plugins/skills/context-note-indexer/references/indexer.md +43 -0
  520. package/plugins/skills/context-note-indexer/references/updates-and-composition.md +37 -0
  521. package/plugins/skills/context-note-indexer/references/visual-source-processing.md +42 -0
  522. package/plugins/skills/context-note-indexer/references/writing.md +57 -0
  523. package/plugins/skills/context-note-indexer/templates/articles/c01.md +37 -0
  524. package/plugins/skills/context-note-indexer/templates/articles/c02.md +34 -0
  525. package/plugins/skills/context-note-indexer/templates/articles/c03.md +26 -0
  526. package/plugins/skills/context-note-indexer/templates/articles/c04.md +27 -0
  527. package/plugins/skills/context-note-indexer/templates/articles/c05.md +28 -0
  528. package/plugins/skills/context-note-indexer/templates/articles/c06.md +28 -0
  529. package/plugins/skills/context-note-indexer/templates/articles/c07.md +27 -0
  530. package/plugins/skills/context-note-indexer/templates/articles/d01.md +29 -0
  531. package/plugins/skills/context-note-indexer/templates/articles/d02.md +30 -0
  532. package/plugins/skills/context-note-indexer/templates/articles/d03.md +30 -0
  533. package/plugins/skills/context-note-indexer/templates/articles/d04.md +36 -0
  534. package/plugins/skills/context-note-indexer/templates/articles/f01.md +30 -0
  535. package/plugins/skills/context-note-indexer/templates/articles/f06.md +30 -0
  536. package/plugins/skills/context-note-indexer/templates/articles/f08.md +34 -0
  537. package/plugins/skills/context-note-indexer/templates/articles/f09.md +30 -0
  538. package/plugins/skills/context-note-indexer/templates/articles/l01.md +35 -0
  539. package/plugins/skills/context-note-indexer/templates/articles/l02.md +101 -0
  540. package/plugins/skills/context-note-indexer/templates/articles/l03.md +90 -0
  541. package/plugins/skills/context-note-indexer/templates/articles/l04.md +28 -0
  542. package/plugins/skills/context-note-indexer/templates/articles/l05.md +48 -0
  543. package/plugins/skills/context-note-indexer/templates/articles/q01.md +32 -0
  544. package/plugins/skills/context-note-indexer/templates/articles/q02.md +33 -0
  545. package/plugins/skills/context-note-indexer/templates/articles/q03.md +27 -0
  546. package/plugins/skills/context-note-indexer/templates/articles/q04.md +32 -0
  547. package/plugins/skills/context-note-indexer/templates/articles/q05.md +27 -0
  548. package/plugins/skills/context-note-indexer/templates/articles/q06.md +27 -0
  549. package/plugins/skills/context-note-indexer/templates/articles/q07.md +32 -0
  550. package/plugins/skills/context-note-indexer/templates/articles/s01.md +29 -0
  551. package/plugins/skills/context-note-indexer/templates/articles/s04.md +33 -0
  552. package/plugins/skills/context-note-indexer/templates/articles/s05.md +28 -0
  553. package/plugins/skills/context-note-indexer/templates/articles/s06.md +28 -0
  554. package/plugins/skills/context-note-indexer/templates/articles/s07.md +31 -0
  555. package/plugins/skills/context-note-indexer/templates/decision-record.md +33 -0
  556. package/plugins/skills/context-note-indexer/templates/domain-reference.md +31 -0
  557. package/plugins/skills/context-note-indexer/templates/faq-support.md +30 -0
  558. package/plugins/skills/context-note-indexer/templates/incident-review.md +28 -0
  559. package/plugins/skills/context-note-indexer/templates/product-requirements.md +29 -0
  560. package/plugins/skills/context-note-indexer/templates/runbook.md +30 -0
  561. package/plugins/skills/context-note-indexer/templates/technical-guide.md +31 -0
  562. package/plugins/skills/context-note-indexer/templates/test-validation.md +28 -0
  563. package/plugins/skills/context-note-indexer/templates/user-and-developer-guide.md +28 -0
  564. package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +281 -0
  565. package/plugins/skills/context-sessions-indexer/SKILL.md +16 -0
  566. package/plugins/skills/context-sessions-indexer/context-indexer.yaml +1459 -0
  567. package/plugins/skills/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
  568. package/plugins/skills/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
  569. package/plugins/skills/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
  570. package/plugins/skills/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
  571. package/plugins/skills/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
  572. package/plugins/skills/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
  573. package/plugins/skills/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
  574. package/plugins/skills/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
  575. package/plugins/skills/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
  576. package/plugins/skills/context-sessions-indexer/references/classification.md +56 -0
  577. package/plugins/skills/context-sessions-indexer/references/customization.md +36 -0
  578. package/plugins/skills/context-sessions-indexer/references/diagrams.md +122 -0
  579. package/plugins/skills/context-sessions-indexer/references/extension-placement.md +63 -0
  580. package/plugins/skills/context-sessions-indexer/references/indexer.md +48 -0
  581. package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +37 -0
  582. package/plugins/skills/context-sessions-indexer/references/visual-source-processing.md +42 -0
  583. package/plugins/skills/context-sessions-indexer/references/writing.md +63 -0
  584. package/plugins/skills/context-sessions-indexer/templates/articles/c01.md +37 -0
  585. package/plugins/skills/context-sessions-indexer/templates/articles/c02.md +34 -0
  586. package/plugins/skills/context-sessions-indexer/templates/articles/c03.md +26 -0
  587. package/plugins/skills/context-sessions-indexer/templates/articles/c04.md +27 -0
  588. package/plugins/skills/context-sessions-indexer/templates/articles/c05.md +28 -0
  589. package/plugins/skills/context-sessions-indexer/templates/articles/c06.md +28 -0
  590. package/plugins/skills/context-sessions-indexer/templates/articles/c07.md +27 -0
  591. package/plugins/skills/context-sessions-indexer/templates/articles/d01.md +29 -0
  592. package/plugins/skills/context-sessions-indexer/templates/articles/d02.md +30 -0
  593. package/plugins/skills/context-sessions-indexer/templates/articles/d03.md +30 -0
  594. package/plugins/skills/context-sessions-indexer/templates/articles/d04.md +36 -0
  595. package/plugins/skills/context-sessions-indexer/templates/articles/f01.md +30 -0
  596. package/plugins/skills/context-sessions-indexer/templates/articles/f06.md +30 -0
  597. package/plugins/skills/context-sessions-indexer/templates/articles/f08.md +34 -0
  598. package/plugins/skills/context-sessions-indexer/templates/articles/f09.md +30 -0
  599. package/plugins/skills/context-sessions-indexer/templates/articles/l01.md +35 -0
  600. package/plugins/skills/context-sessions-indexer/templates/articles/l02.md +101 -0
  601. package/plugins/skills/context-sessions-indexer/templates/articles/l03.md +90 -0
  602. package/plugins/skills/context-sessions-indexer/templates/articles/l04.md +28 -0
  603. package/plugins/skills/context-sessions-indexer/templates/articles/l05.md +48 -0
  604. package/plugins/skills/context-sessions-indexer/templates/articles/q01.md +32 -0
  605. package/plugins/skills/context-sessions-indexer/templates/articles/q02.md +33 -0
  606. package/plugins/skills/context-sessions-indexer/templates/articles/q03.md +27 -0
  607. package/plugins/skills/context-sessions-indexer/templates/articles/q04.md +32 -0
  608. package/plugins/skills/context-sessions-indexer/templates/articles/q05.md +27 -0
  609. package/plugins/skills/context-sessions-indexer/templates/articles/q06.md +27 -0
  610. package/plugins/skills/context-sessions-indexer/templates/articles/q07.md +32 -0
  611. package/plugins/skills/context-sessions-indexer/templates/articles/s01.md +29 -0
  612. package/plugins/skills/context-sessions-indexer/templates/articles/s04.md +33 -0
  613. package/plugins/skills/context-sessions-indexer/templates/articles/s05.md +28 -0
  614. package/plugins/skills/context-sessions-indexer/templates/articles/s06.md +28 -0
  615. package/plugins/skills/context-sessions-indexer/templates/articles/s07.md +31 -0
  616. package/plugins/skills/context-sessions-indexer/templates/decision-record.md +43 -0
  617. package/plugins/skills/context-sessions-indexer/templates/domain-reference.md +31 -0
  618. package/plugins/skills/context-sessions-indexer/templates/faq-support.md +33 -0
  619. package/plugins/skills/context-sessions-indexer/templates/incident-review.md +37 -0
  620. package/plugins/skills/context-sessions-indexer/templates/product-requirements.md +35 -0
  621. package/plugins/skills/context-sessions-indexer/templates/runbook.md +32 -0
  622. package/plugins/skills/context-sessions-indexer/templates/technical-guide.md +31 -0
  623. package/plugins/skills/context-sessions-indexer/templates/test-validation.md +37 -0
  624. package/plugins/skills/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
  625. package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
  626. package/providers/context/actions/advance-knowledge-maintenance.yaml +5 -0
  627. package/providers/context/actions/author-approved-revision.yaml +6 -0
  628. package/providers/context/actions/finish-rollback.yaml +5 -0
  629. package/providers/context/actions/inspect-source-update.yaml +6 -0
  630. package/providers/context/actions/inspect-task-recovery.yaml +5 -0
  631. package/providers/context/actions/record-workspace-version.yaml +5 -0
  632. package/providers/context/actions/register-source-batch.yaml +1 -1
  633. package/providers/context/actions/repair-project-entry.yaml +9 -0
  634. package/providers/context/actions/resume-workspace-task.yaml +5 -0
  635. package/providers/context/codes.yaml +11 -0
  636. package/providers/context/graphs/indexer.yaml +93 -2
  637. package/providers/context/graphs/workspace.yaml +86 -6
  638. package/providers/context/manifest.json +371 -59
  639. package/providers/context/provider.yaml +1 -1
  640. package/providers/context/resources/contracts/indexer-provider-guide.yaml +6 -0
  641. package/providers/context/resources/contracts/indexer-registry-bootstrap.yaml +6 -0
  642. package/providers/context/resources/diagnostics/verification.md +6 -4
  643. package/providers/context/resources/dialogue/knowledge-review.md +16 -9
  644. package/providers/context/resources/dialogue/package-output.md +18 -5
  645. package/providers/context/resources/dialogue/source-boundary.md +12 -2
  646. package/providers/context/resources/dialogue/workflow-mode-after-creation.md +15 -17
  647. package/providers/context/resources/manuals/guides/knowledge-updates.md +428 -0
  648. package/providers/context/resources/manuals/guides/lark-resources.md +5 -1
  649. package/providers/context/resources/manuals/guides/note.md +43 -0
  650. package/providers/context/resources/manuals/guides/package-outputs.md +231 -60
  651. package/providers/context/resources/manuals/guides/sessions.md +56 -0
  652. package/providers/context/resources/manuals/guides/workspace-commit.md +51 -0
  653. package/providers/context/resources/manuals/guides/workspace-prepare.md +78 -0
  654. package/providers/context/resources/manuals/guides/workspace-restore.md +65 -0
  655. package/providers/context/resources/manuals/reference/code-extractors.md +57 -0
  656. package/providers/context/resources/manuals/reference/package-templates.md +10 -9
  657. package/providers/context/resources/manuals/reference/project-api.md +100 -13
  658. package/providers/context/resources/manuals/reference/template-variables.md +7 -7
  659. package/providers/context/resources/procedures/approved-revision.md +159 -0
  660. package/providers/context/resources/procedures/close-and-build.md +58 -1
  661. package/providers/context/resources/procedures/homogeneous-source-review.md +123 -0
  662. package/providers/context/resources/procedures/knowledge-maintenance.md +68 -0
  663. package/providers/context/resources/procedures/knowledge-review.md +69 -6
  664. package/providers/context/resources/procedures/knowledge-updates.md +428 -0
  665. package/providers/context/resources/procedures/note.md +43 -0
  666. package/providers/context/resources/procedures/package-output.md +20 -1
  667. package/providers/context/resources/procedures/parallel-agent-batch.md +140 -0
  668. package/providers/context/resources/procedures/project-configuration.md +6 -0
  669. package/providers/context/resources/procedures/sessions.md +56 -0
  670. package/providers/context/resources/procedures/source-boundary.md +24 -1
  671. package/providers/context/resources/procedures/source-capture-detailed.md +36 -2
  672. package/providers/context/resources/procedures/source-update.md +50 -0
  673. package/providers/context/resources/procedures/task-recovery.md +71 -0
  674. package/providers/context/resources/procedures/verify-and-repair.md +5 -0
  675. package/providers/context/resources/procedures/work-start-report.md +419 -0
  676. package/providers/context/resources/procedures/workspace-commit.md +51 -0
  677. package/providers/context/resources/procedures/workspace-prepare.md +78 -0
  678. package/providers/context/resources/procedures/workspace-restore.md +65 -0
  679. package/providers/context/resources/templates/indexer-agent-worker.md +67 -0
  680. package/providers/context/resources/templates/recovery-issue.md +54 -0
  681. package/providers/context/resources/templates/work-start-report.md +302 -0
  682. package/providers/context/schemas/approved-revision-result.schema.json +88 -0
  683. package/providers/context/schemas/indexer-agent-step-result.schema.json +2232 -318
  684. package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +1 -2
  685. package/providers/context/schemas/indexer-registry-bootstrap.schema.json +227 -0
  686. package/providers/context/schemas/source-batch-input.schema.json +15 -8
  687. package/providers/context/schemas/source-update-result.schema.json +83 -0
  688. package/providers/context/skills/configure-indexer-providers/SKILL.md +70 -5
  689. package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +180 -0
  690. package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +471 -0
  691. package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +136 -0
  692. package/providers/context/skills/configure-indexer-providers/references/guides/note.md +37 -0
  693. package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +50 -0
  694. package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +854 -0
  695. package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +1 -1
  696. package/providers/context/skills/propose-indexer-customization/SKILL.md +1 -1
  697. package/providers/context/skills/record-workspace-version/SKILL.md +46 -0
  698. package/providers/context/skills/recover-workspace/SKILL.md +15 -0
  699. package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +33 -1
  700. package/providers/context/skills/run-indexer-agent-step/SKILL.md +403 -26
  701. package/providers/context/skills/run-indexer-lifecycle/SKILL.md +188 -1
  702. package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +60 -0
@@ -6,7 +6,7 @@ description: Resolve the exact validated customization selection and stage its C
6
6
  # Prepare Indexer customization project
7
7
 
8
8
  Read
9
- `node_modules/@c4a/context/docs/guides/indexer-provider-and-customization.md`
9
+ the `context.indexer.provider-guide` resource at the exact path in the current Route
10
10
  before staging a project proposal. If validation reports an invalid local
11
11
  resource or upstream drift, preserve the exact
12
12
  `indexer-customization-invalid`/`indexer-customization-upstream-changed`
@@ -10,7 +10,7 @@ metadata:
10
10
  # Propose Indexer Customization
11
11
 
12
12
  Read
13
- `node_modules/@c4a/context/docs/guides/indexer-provider-and-customization.md`
13
+ the `context.indexer.provider-guide` resource at the exact path in the current Route
14
14
  and follow its six-level ladder. This Action handles the
15
15
  `indexer-customization-required` outcome only; it must not reinterpret
16
16
  `indexer-customization-invalid` or
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: record-workspace-version
3
+ description: Record the completed Context knowledge iteration when the workspace Route selects this action.
4
+ ---
5
+
6
+ Run `context version inspect --format json`. Read the changed formal files and
7
+ the current conversation to write a concise reader-facing changelog. The CLI
8
+ checks real changes and an increasing SemVer; you decide the wording and impact.
9
+ Do not summarize temporary execution progress as knowledge changes.
10
+
11
+ This action is selected at completed-scope delivery, after Review, Close and
12
+ package configuration/template approval, before the final package build.
13
+ Record one version for the completed scope, then follow the returned workspace
14
+ Route to build outputs with that version. A failed build alone does not require
15
+ another version; retry through the Route using the recorded version. Do not
16
+ record a version for each intermediate batch or worker result.
17
+
18
+ Keep each version's details within 1500 visible characters total, including
19
+ punctuation across title, changes, trigger descriptions and actor display name;
20
+ exclude protocol keys, version and date. Before submitting, compress longer
21
+ entries by merging related changes and removing repeated execution narration.
22
+ Retain the main changes, impact and actual triggers. Do not truncate text blindly
23
+ or split one iteration into extra versions to evade the limit.
24
+
25
+ Use the returned digest in `context version record --input <file> --format json`.
26
+ Input fields: `expected_digest`, `version`, `title`, `changes` (nonempty list),
27
+ `triggers` (nonempty list of `{kind, description}`), and optional
28
+ `actor: {name, kind}`. Trigger kinds are initial, note, sessions, mr, module,
29
+ document, navigation, repair, dist, other. Describe what actually triggered the
30
+ iteration, not merely the CLI command. Never include raw private transcripts,
31
+ credentials, local absolute paths or private account IDs in public history.
32
+
33
+ Increment minor for added modules/material that expands knowledge coverage;
34
+ increment patch for repairs, existing-module updates, navigation or persistent
35
+ work-status changes. Major increases require an explicit user instruction.
36
+ Start at 0.1.0 unless the workspace already has a higher version or the user
37
+ specifies one. One completed scope receives one version, not one per worker.
38
+
39
+ Use a Lark user's display name only when explicitly known from the conversation
40
+ (`kind: lark`); otherwise omit actor and let the CLI use Git user.name. Do not
41
+ look up accounts just for attribution. No identity is preferable to guessing.
42
+ Only the coordinator records the version. Consume the returned `workflow.current`
43
+ directly; refresh status only when the response has no Route or configuration changed.
44
+ In managed mode resume `context run --managed --until blocked-or-complete --format json`
45
+ for mechanical execution. Recording a
46
+ version does not authorize a commit, tag, upload or deployment.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: context-recover-workspace
3
+ description: Recover a stuck existing Context task through the independent diagnostic and scoped recovery commands. Internal entry selected by Context recovery intent; usable even when normal Graph evaluation fails.
4
+ ---
5
+
6
+ # Recover a Context workspace
7
+
8
+ Read [the recovery procedure](../../resources/procedures/task-recovery.md).
9
+ Start with `context task recover --format json` in the intended existing workspace,
10
+ without a historical workflow revision. This read-only inspection does not invoke
11
+ normal status, source parsing, project entry execution or Graph evaluation.
12
+ Use the reported operations and current digests, preserving approved work.
13
+
14
+ If no safe operation succeeds, use [the issue template](../../resources/templates/recovery-issue.md)
15
+ to write a sanitized `issue/YYYY-MM-DD-short-description.md` in the workspace.
@@ -14,9 +14,36 @@ Use this Skill only when the current Indexer Route exposes it as
14
14
  schema before deciding.
15
15
 
16
16
  For `stage: structure-review`, inspect the complete semantic structure Resource
17
- and return either `approved` or `request-adjustment`. Include specific feedback
17
+ and return `approved`, `exclude-obsolete`, or `request-adjustment`. Include specific feedback
18
18
  when requesting adjustment.
19
19
 
20
+ If the preview requires obsolete-scope confirmation, compare the affected
21
+ pages/files and mixed-current pages with the user's current request, existing
22
+ requirements and applicable work-start report. Reuse an explicit include/exclude
23
+ decision for the same scope. When the user explicitly delegated this scope choice,
24
+ make a reasoned recommendation and apply it within that delegation. A generic
25
+ managed/no-review instruction, source-read permission or silence does not choose
26
+ whether to include old APIs. A delegatable Gate permits authorized judgment; it
27
+ does not supply missing scope authorization.
28
+
29
+ If no applicable decision or delegation exists, explain the counts and both
30
+ consequences briefly, recommend an option, ask the user and wait before submitting.
31
+ Report this as a pending scope question, not a tool failure or an issue requiring
32
+ CLI repair. Revisit a prior decision only when newly discovered content materially
33
+ changes its scope or consequences. Do not request the same approval twice.
34
+
35
+ Keep the decision and rationale in existing requirements/report when applicable,
36
+ without inventing an authorization flag or a separate decision ledger. Inspect
37
+ the full structure: these actions also approve it, so ordinary structure review
38
+ still requires the user's approval unless its review authority was delegated.
39
+ Include uses the supplied approval action; exclude uses the supplied exclusion
40
+ action, retaining current API groups without full repartitioning. Do not delete
41
+ sources or accepted knowledge. Use only the current revision and supplied action.
42
+ If exclusion leaves no current pages, explain that there is nothing left to
43
+ generate and stop without submitting an empty Partition or approving the old
44
+ scope. A different scope requires a new user instruction; do not manufacture
45
+ work to continue.
46
+
20
47
  For `stage: layout-confirmation`, use the supplied change reports and the
21
48
  user's decision. Return either `approved` or `rejected`. Include specific
22
49
  feedback when rejecting. A non-delegatable layout Gate must not be approved on
@@ -25,3 +52,8 @@ the user's behalf.
25
52
  Submit exactly one existing `context.indexer.current-action-input/v2` value to
26
53
  the Route's completion command. Do not invent a lifecycle continuation
27
54
  envelope, a second approval protocol, or additional audit data.
55
+
56
+ For a topic carrying `scope_change`, its old title/task/outline may no longer fit
57
+ its remaining members. Inspect those members explicitly rather than approving
58
+ all titles by count. Author receives the same change and may choose a justified
59
+ page form or a non-publishing result; exclusion does not establish usefulness.
@@ -9,24 +9,107 @@ metadata:
9
9
 
10
10
  # Run one bounded Indexer Agent batch
11
11
 
12
- Read the current Route action input and every required Resource marked `read-required`.
13
- Use only the materialized `resolved-indexer-instructions`, the supplied transport worksets,
14
- and each task's `authorized-indexer-workset-view/task-NNN`. Match Views and outputs only through
15
- the short `task_key`; do not copy internal digests into the semantic result. Each View contains the
16
- exact facts, dependencies, Provider fragments, and Author authority authorized for that task. Do not
12
+ Before dependent bulk work, follow
13
+ [the shared homogeneous-source review](../../resources/procedures/homogeneous-source-review.md).
14
+ Reuse explicit group decisions; when a newly observed group needs user choice,
15
+ present its concrete scope and pause before parsing or submitting dependent work.
16
+
17
+
18
+ Read the current Route action input and required shared instructions. Every
19
+ Resource marked `read-required` must be read by the Agent responsible for that
20
+ work; delegation does not waive reading or permit fabricated receipts.
21
+ For `stage: approved-revision`, follow `procedure.approved-revision`: read the
22
+ supplied approved page and return the revised Markdown using that action's schema.
23
+ The batch instructions below apply to Partition, Author, and Composer worksets.
24
+
25
+ For Partition and Author, follow the current Route's
26
+ `procedure.parallel-agent-batch` before reading task material. When the Host and
27
+ current permissions allow delegation, use 2–4 read-only workers for independent
28
+ tasks; otherwise complete them in this Agent. The coordinator owns all Context
29
+ commands and file writes. This is execution within the selected batch, not a new
30
+ lifecycle or permission to overlap stages. Use `template.indexer-agent-worker`
31
+ for each assignment and the procedure's bounded fallback on worker failure.
32
+
33
+ Use the readable `resolved-indexer-instructions` and each task's
34
+ `authorized-indexer-workset-view/task-NNN`, including its goals, constraints and source material.
35
+ Each task has its own reading file. Read its referenced shared files once;
36
+ relative links resolve beside that task file. Shared resources are also listed
37
+ in the Route. A shared file does not authorize another task to use its references.
38
+ Match each result to its task's own goals, source material and allowed references.
39
+ If the file tool truncates its output, continue with the unread part of that same file;
40
+ do not mistake tool truncation for missing source material or restart the Context task.
41
+ Match Views and outputs only through
42
+ the short `task_key`; do not copy internal digests into the semantic result. The reading contains the
43
+ recommended source material, supplementary facts, Provider fragments, and authority for each task. Do not
17
44
  construct evidence read requests, manage pages or cursors, discover another Skill, read a
18
45
  Provider path, widen source scope, run an unauthorized Indexer or parser, or invent missing
19
46
  evidence.
20
47
 
21
48
  Return exactly one `results[]` entry for every task in the current batch, in task-key order. Each
22
49
  entry carries its `task_key` and the existing stage-specific semantic Result. A single-task batch
23
- still uses the same array shape. Copy dynamic authority values only from the Route input or that
50
+ still uses the same array shape. Prepare distinct results together and submit the batch once;
51
+ do not turn it into a separate CLI round trip for each page. Author group_key may be omitted to inherit the group selected by this current task_key; an explicit different group is rejected. The CLI preview and completion apply the same inheritance. Inventory facts in the reading map exact members to parser names/kinds and usable references; they do not decide coverage. Copy dynamic authority values only from the Route input or that
24
52
  task's authorized View.
25
53
 
26
- For a Partition Result, read `partition-authority` before choosing each group subject. A string
54
+ At the start of Partition, preserve new settled purpose/scope findings in the
55
+ existing work-start report when the earlier setup did not already cover them.
56
+ The current Route exposes `procedure.work-start-report`
57
+ and `template.work-start-report` for that handoff, including the scratch write
58
+ boundary. Reuse an applicable report on continuation; do not recreate it for each
59
+ workset. When planning tasks first become countable, ensure the report's task and
60
+ module breakdown has been shown before bulk planning; for more than 50 planning
61
+ tasks, wait for the required first report feedback before continuing. This
62
+ threshold wait occurs once per continuing production task; later recounts or
63
+ revisions reshow the report without repeating that wait unless a new unresolved
64
+ user choice requires it. Follow the procedure's feedback rules. Unchanged
65
+ continuations reuse the prior handoff. Report text is context, not evidence or authority. Author follows the
66
+ accepted page plan and does not reread these resources or rewrite the report
67
+ unless a material task decision changes.
68
+
69
+ For Partition, apply the grouping rules in `resolved-indexer-instructions` to each
70
+ task's View. Check its material against the settled reader purpose and scope;
71
+ inventory membership is not a requirement to publish a page. A newly discovered
72
+ region with materially different relevance, version or lifecycle may require a
73
+ scope discussion before dependent output, even in managed mode. Explain the
74
+ specific impact and preserve accepted work; refresh the Route after an authorized
75
+ configuration change. Do not silently exclude unresolved work or replay all tasks.
76
+ Context handles strategy selection and retries; do not look up a separate
77
+ strategy definition or submit strategy metadata. Report missing source material or
78
+ unresolvable semantic boundaries through the current Result schema.
79
+
80
+ During Partition, read the whole inventory overview and each member's identity,
81
+ not every implementation body. `partition-navigation` shows the surrounding scope;
82
+ `consumer-anchor overview` links to complete immutable fact details. Open those
83
+ files and the bounded `source-access` paths whenever ownership, lifecycle, a
84
+ shared dependency or the reader task is unclear. Sampling helps orient you but
85
+ cannot justify excluding uninspected members or asserting behavior. Unknown
86
+ material formats remain full required reading. Author can access complete selected
87
+ facts and source text; reduced planning input is not evidence for a final claim.
88
+
89
+ Set a group's `ready_for_author: true` only after its identity, primary ownership,
90
+ reader task and relevant shared dependencies are resolved well enough to write
91
+ an independently useful page. A sample, file boundary or large fact count is
92
+ not sufficient. Leave it absent/false when neighboring material could change the
93
+ boundary. This declaration permits an early wave; it does not mark the remaining
94
+ inventory complete or bypass normal structure/content review. After a wave's
95
+ build, follow the fresh Route back to remaining Partition tasks. Later material
96
+ for the same subject must retain its identity and improve its approved pages,
97
+ not create duplicates. All inventory members still need final dispositions.
98
+
99
+ Read `partition-authority` before choosing each group subject. A string
27
100
  changes only the local key and preserves `base_subject_key` namespace and kind. Use an explicit
28
101
  subject object only when its kind is listed in `subject_key_contract.kinds`; never invent a kind
29
102
  from a page title, operation name, framework term, or business vocabulary.
103
+ For a new reader subject, choose a durable, readable namespace and local key:
104
+ the main page defaults to `knowledge/<collection>/<namespace>/<local-key>.md`
105
+ (normalized as readable slugs). `group.key` identifies a group and `title` labels
106
+ its content; neither renames that path. A capture token such as `wiki-a1b2c3d4`
107
+ is not a reader namespace. Use the existing explicit subject object to choose,
108
+ for example, `namespace: sample-web`, `local_key: faq`, with the permitted kind.
109
+ Avoid repeating the same name as both directory and basename. Preserve an
110
+ existing subject when enriching it; changing a title is not a reason to change
111
+ identity. Context preserves approved paths and routes collisions to the existing
112
+ layout confirmation, where readable renames are chosen instead of hash suffixes.
30
113
 
31
114
  `subject_intent` describes the reader-subject outcome, not the source file's role. Use `primary`
32
115
  when the group owns a reader subject. Use `enrich-or-independent` for a publishable supplemental
@@ -34,26 +117,320 @@ view such as test or example behavior: Context reuses a matching subject when av
34
117
  an independent subject otherwise. Do not emit `supporting`; material that must never become a reader
35
118
  subject must not be emitted as a group.
36
119
 
37
- For an Author Result, a selected parser Fact is an immutable projection, not material for a new
38
- Fact shape. Build it only from the matching View items:
39
-
40
- - `fact_ref` = the `fact` item's `value.fact_ref`;
41
- - `fact_kind` = the `fact` item's `value.kind`;
42
- - `subject_key` = `author-authority.expected_subject_key`;
43
- - `value` = the `fact` item's `value.payload` exactly, without wrapping, renaming, or adding fields;
44
- - `evidence_refs` = the source-span evidence refs reached through the matching `selected-fact`
45
- dependency node.
46
-
47
- Build each EvidenceBinding from that same source-span dependency's `evidence_ref`, `source_ref`,
48
- `module_ref`, `locator`, and `content_digest`. Do not infer a new locator or digest from prose.
49
- For behavior, read the Author View's `source-text` items. Their `spans` contain the authorized
50
- source lines; `source_span_refs` link back to existing dependency nodes, not new evidence identities.
51
- Overlapping ranges appear once. A signature or call name alone does not establish behavior absent
52
- from those lines. Do not copy these process-only carriers into reader Markdown.
120
+ For an Author Result, write reader-facing `title`, `summary`, and `sections` only when publishing.
121
+ Read the main task and its shared material, then expand details for the claims and
122
+ member decisions you need to make; do not open every optional file as a checklist.
123
+ Style-name rows locate captured CSS, not public interfaces or runtime behavior.
124
+ Rows use the supplied column names; row numbers are never source or member IDs.
125
+ All inventory IDs remain explicit. Supporting style rows without a ref can be
126
+ traced through the source or full parser detail when a fact citation is needed.
127
+ A stylesheet path or inventory ID is not a requirement to read the whole file.
128
+ Use the accepted plan and supplied evidence for supporting/catalog decisions;
129
+ open the relevant rules only when a planned claim or unresolved member decision
130
+ needs layout/state/theme/override/accessibility detail. Do not add visual prose
131
+ merely to cover style records, or infer exclusions from selector names alone.
132
+ Package briefs support the fields explicitly shown. Open the full manifest only
133
+ when a needed import condition, dependency or build detail is missing. Do not
134
+ reread either source solely because it appears in navigation.
135
+ `members_from` reuses an identical Props member list within the same source file;
136
+ combine it with the component's own parameters/defaults and retain any uncertainty.
137
+ Inherit `page_plan.artifact_intent`; omitting `artifact_intent` also uses the saved plan.
138
+ Use `primary_artifact_options` when selecting a policy; derived-page intents are not additional pages to write.
139
+ For mechanical assembly, copy the current Route's recommended `indexer-author-scaffold`
140
+ JSON resource to workspace `.tmp/agent-payloads/`; do not edit the runtime resource.
141
+ It already contains the current task keys, planned intent, unambiguous policy and member IDs.
142
+ Write the prose, references and member decisions. Use a fresh scaffold when the Route's
143
+ revision or task set changes; never reuse accepted tasks from an earlier batch.
144
+ `context action scaffold-current --revision <current-revision>` remains available to
145
+ explicitly recreate the skeleton, but is not an additional required command.
146
+ Empty states are intentional:
147
+ the scaffold never chooses coverage or a publishing decision on your behalf.
148
+ Members with the same state, section and reason can share one disposition entry:
149
+ `{items: [<member-id>, ...], state: covered, section: <section-key>}`.
150
+ Do not also list these members individually. Context expands the groups and performs
151
+ the same per-member ownership and coverage validation.
152
+ For uncertain submissions, add `--preview` to the current Author completion command.
153
+ It validates and renders the current result without accepting tasks or advancing the Route;
154
+ this is optional, not another required round trip. Read failures, repair the payload,
155
+ then submit normally. Preview input errors include `issues` with paths relative to
156
+ each task entry (starting at `result`) and section/member identifiers when available.
157
+ Use those paths to locate edits; errors from conversion or rendering keep their
158
+ original message and do not imply a payload field location. Preview does not replace Review or guarantee a later unchanged revision.
159
+ Each section references supplied source material through `source_items`, `facts`, or both.
160
+ Both are arrays of references, not objects. Authorized Facts already carry their source
161
+ bindings, so do not repeat those bindings in `source_items` merely to satisfy a field.
162
+ A section with neither resolvable sources nor Facts is still invalid.
163
+ Catalog-only and unsupported results publish no Artifact and need no policy selection. Copy `source_items` from the
164
+ task's Source material, or use repository-relative file paths for captured code you read directly,
165
+ not inventory or repository identifiers. Context constructs the internal
166
+ Facts and EvidenceBindings. For `catalog-only`, return the member dispositions without dummy prose
167
+ or sections: Context retains the corresponding authorized facts. Do not use it when the View lacks
168
+ facts for that member; report unsupported or missing material instead.
169
+ For behavior, read source text. Source material is a focused default, not an exclusive reading boundary.
170
+ The task's `source-access` lists captured file paths under `captured_root`; use your file tool to read
171
+ these files directly when excerpts are insufficient. Do not switch to a live checkout or unrelated
172
+ sources. Submit the read files' repository-relative paths in `sections[].source_items`; Context
173
+ resolves the source association without manual fingerprints or a separate CLI call.
174
+ A signature or call name alone does
175
+ not establish behavior absent from those lines. Do not copy process-only carriers into reader Markdown.
176
+ Read shared instructions once while they remain available in the current conversation;
177
+ unchanged instructions do not need rereading for each task. Read every task's own goals and member overview. Large captured files may be linked
178
+ rather than inlined: read the relevant implementations and dependencies by range;
179
+ if scope or behavior is unclear, expand the whole file. Navigation, CSS selectors
180
+ and AST signatures do not establish behavior by themselves. Full parser detail
181
+ files are optional unless needed to resolve a relationship or ambiguity. Known
182
+ carrier metadata may be omitted from the overview; all submission references and
183
+ canonical facts remain available. Never treat absent overview text as absent capability.
184
+ If an explanation needs a dependency body, first read its captured file directly. Only when
185
+ the supplied source access cannot provide the body, use `request-material` with
186
+ specific repository-relative file or directory paths in `material_gaps[].source_hints`.
187
+ Context expands available registered source bodies through the same completion command.
188
+ On `material-expanded`, read the returned task's added material and finish the preserved draft;
189
+ do not recollect, repartition, or repeat accepted peers. Re-requesting supplied files is safe and
190
+ returns usable material again. If a path is unavailable, correct it or describe the remaining gap.
191
+ Installed guidance can be newer than a resumed task. Context owns this compatibility decision;
192
+ follow the current Route without comparing Provider fingerprints or regenerating task identities.
53
193
  Do not invent or manually copy read-receipt, execution-receipt, or stable-result digests. Submit
54
- exactly `context.indexer.current-action-input/v2` through the Route's completion command; Context
194
+ the stage-specific input described by the current Action schema through the Route's completion command; Context
55
195
  derives internal envelopes and performs dependency, schema, owner, scope, and per-workset validation
56
- before reporting each task accepted. Read the completion's `outcomes`, then continue directly from
57
- its `next` Route and ready Resource paths. Do not run `context status` or either Resource materializer
196
+ before reporting each task accepted. Read the completion's `outcomes` and
197
+ `next_route.file` (the exact next Route). Read `result_file` when `details_required`
198
+ is true, output was truncated or the outcome is unclear; an ordinary successful
199
+ summary does not require rereading the full result, which embeds the same Route.
200
+ Continue directly from that Route and ready Resource paths. Do not run `context status` or either Resource materializer
58
201
  between successful batches. A failed item is retried from its returned task-only skeleton; already
59
202
  accepted peers are not repeated. Never report success merely because the envelope or prose looks valid.
203
+ If `next` is null and `next_preparation` reports failure, the committed outcomes
204
+ are still saved: run its recovery command, not the previous submission. A stage's
205
+ `progress.stop=complete` does not mean Review, close or package build is finished.
206
+
207
+ For Indexer files that need no read receipt, reuse a fully read resource in this
208
+ conversation only when its source/Provider identity and content digest are unchanged
209
+ and its contents remain available. A new revision alone does not require rereading
210
+ those files. Always read the new Route and task-specific changes; after context loss
211
+ or truncated output, read the missing content. Never invent a receipt or mark an
212
+ unread file as read.
213
+
214
+ ## Reader purpose and saved page plans
215
+
216
+ Use the bound requirement's `purpose` and open `reader_goals` throughout planning,
217
+ authoring and review. During Partition, select `artifact_intent` and `template_id`
218
+ from the current partition authority, retain `reader_task` and `outline`, and use
219
+ `priority` (lower first) and `delivery_boundary` to identify a complete reader task.
220
+ Choose a first representative module of roughly one to three pages. Do not group
221
+ unrelated types because they share a file, or treat every export as a page.
222
+ Author uses the saved choice; do not change it on retries or Provider refresh.
223
+ Integration and maintenance purposes may share contracts without duplicating prose.
224
+ Identify actual module roles from registrations and consumption: a client is not
225
+ a server, a runtime is not a module role, and an application component is not
226
+ a published component library. Preserve behavior needed for the reader's task.
227
+
228
+ For `stage: source-update`, follow the selected source-update procedure and action schema. Read current approved pages and the fixed source changes before deciding which pages need revision, including any new topics absent from existing page references.
229
+
230
+ ## Semantic judgment and narrowed scope
231
+
232
+ Scripts may assemble references, serialize an Agent-authored result and submit it.
233
+ Do not use the first path to name an entire mixed group, classify all inventory
234
+ members as one topic, or generate identical API prose and unconditional publish
235
+ results. Reading a View with a script is not a substitute for understanding its
236
+ sources. Reuse mechanics, not unsupported content claims.
237
+
238
+ When the selected template supplies a program-generated API table, bind the
239
+ applicable facts and let the renderer produce field rows, types and defaults.
240
+ Do not write a second equivalent table or restate every row in prose. Explain
241
+ usage decisions, composition, pitfalls and migration boundaries; mention a
242
+ parameter or default when it helps explain that behavior. This does not waive
243
+ source reading or member coverage. If a generated value conflicts with source,
244
+ identify the field and source location through the current repair flow; do not
245
+ patch the generated block or add a competing answer in prose. Without a suitable
246
+ program block, follow the selected template and write the source-backed explanation
247
+ needed by the reader rather than omitting it.
248
+
249
+ Keep each parameter and default attached to its own callable or type. Missing
250
+ extracted members do not establish that an API has no parameters or callbacks;
251
+ read the referenced source when inherited types or static methods matter to the
252
+ reader. Before extending a first batch, check that its pages answer the promised
253
+ reader tasks, including document-grounded integration or troubleshooting where
254
+ required, rather than only listing exports.
255
+
256
+ For Composer, inspect the selected task's primary page and remaining material
257
+ before choosing an empty proposal list. A script must not decide that every
258
+ Composer is unnecessary. Existing API tables may remove duplicate table work
259
+ without answering the task's examples or usage questions.
260
+
261
+ Use one production driver for this workspace. If a submission process is still
262
+ running, await its completion instead of starting another lifecycle driver from
263
+ an observed status. A local content repair or truncated read is not a reason to
264
+ run `task prepare --apply`: that command ends the old task. When scope decisions
265
+ change, update the existing applicable requirement/report without extending a
266
+ one-task exclusion into a permanent policy.
267
+
268
+ When `page_plan.scope_change` is present, reassess the residual group before
269
+ Author: the previous title, reader task and outline describe the original scope.
270
+ Excluded members remain excluded. Publish only when the remaining sources support
271
+ a useful page, with an accurate title, summary and an allowed artifact intent.
272
+ The old template/intent restriction has been released for this changed group.
273
+ If it should not be a page, use a supported non-publishing outcome and truthful
274
+ member dispositions; catalog-only requires authorized facts. Zero extracted facts
275
+ alone does not prohibit a source-grounded document, and does not establish an API.
276
+ Do not restart unrelated accepted tasks to repair this group's interpretation.
277
+
278
+ ## User-facing progress
279
+
280
+ Use CLI `progress.scopes` (or `indexerProgress.scopes` in status) as the
281
+ single source for progress in conversation and reports. It separates:
282
+ - `overall`: delivered pages and cumulative planning for the current Indexer run;
283
+ - `wave`: writing tasks, observed pages and composition for the current wave;
284
+ - `slice`: tasks in the currently active Route slice.
285
+
286
+ Planning completed counts currently valid accepted tasks, not lifetime effort.
287
+ When overall.planning.needs_recheck is nonzero, report “规划当前有效 X/Y 项;Z 项因任务绑定变化待复核”.
288
+ Do not describe a lower valid count as lost pages or silently restarting from zero.
289
+ The CLI reason identifies binding changes, not proof that source code changed;
290
+ do not invent a more specific cause.
291
+
292
+ Keep these scopes separate. A wave or pause target never replaces the overall
293
+ scope. Preserve overall planning across Author, Composer and Review transitions.
294
+ Use each counter's `unit`: task means 项/任务, page means 页. A writing task is
295
+ not automatically one page. A null total means 总数待确定, not zero or the
296
+ number of currently prepared tasks. Revisions can overlap delivered pages;
297
+ do not add wave tasks to delivered pages to invent a page total.
298
+
299
+ Use two bold progress lines. The first combines `overall` and a clearly labelled
300
+ `wave` supplement; the second describes the current action, using `slice` counts
301
+ when available. Internal wave/slice names need not appear in user-facing text. For example, with matching CLI values:
302
+ **[总体进展:已交付 33 页,总页数待确定;规划完成 50/122 项;本轮写作完成 30/30 项]**
303
+ **[当前进展:补充内容检查 0/8 项]**
304
+
305
+ A completion receipt's `submitted_slice` describes the slice just submitted;
306
+ `progress.scopes.slice` can already describe the next Route. Use the former when
307
+ reporting submission success and the latter when announcing the next slice.
308
+ Never combine their numerators and denominators. A null slice means no active
309
+ Agent task slice, not that the workflow is complete. During Review/build, state
310
+ the returned Route action briefly rather than inventing a slice ratio.
311
+ Before counters exist or after task cleanup, describe the known stage and current
312
+ action instead of repeatedly saying counters are unavailable. For example:
313
+ **[总体进展:正在准备知识工作区]**
314
+ **[当前进展:已读取启动清单,正在整理仓库与文档范围]**
315
+ During review or packaging, name that action rather than a nonexistent slice.
316
+ Do not turn the last wave into the overall scope or report delivery as zero.
317
+ Continue authorized work after an update; only the agreed delivery stop or an
318
+ actual unresolved blocker permits stopping. This format governs progress, not
319
+ answers, review findings or necessary questions.
320
+
321
+ ### Planned articles
322
+
323
+ When the current Partition authority supports an article plan, keep one subject
324
+ and one inventory owner for the topic. Plan stable article keys, the reader task,
325
+ allowed intent and template, required or optional articles and sections, and one
326
+ required article responsible for each primary question target. A shared source
327
+ member may support several articles without being owned several times.
328
+
329
+ For an accepted `page_plan.articles`, submit per-article content using those keys
330
+ and the current Author question identifiers. Keep the group member dispositions
331
+ unique; a covered member identifies its article and section. Follow the current
332
+ schema and returned diagnostics when a required article or its evidence is
333
+ missing. Change the accepted plan through the existing structure adjustment
334
+ route before adding articles or changing their purpose. Legacy single-page
335
+ plans continue to use the single-page submission.
336
+
337
+ For a selected page program, use the current variable catalog and its linked
338
+ article guidance. A semantic `template_variables` value may bind its own
339
+ `value`, `source_items` and `facts`; use current reading-view aliases. This lets
340
+ you supply a supported chapter without writing another copy merely to attach
341
+ evidence. Plain strings retain the existing section-evidence binding behavior.
342
+ Do not populate deterministic variables with prose: the runtime projects them
343
+ from authorized facts. Select a registered reader goal compatible with the
344
+ article intent; the program cannot change an accepted article's purpose.
345
+
346
+ Choose the article form before filling variables. For L03, a system overview
347
+ uses scope, packages, foundations, components, configuration, adoption and
348
+ references; a foundation topic uses purpose, catalog, mapping, consumption,
349
+ rules, platforms and references; runtime adoption uses environment, globals,
350
+ inheritance, resources, ssr, platforms and verification. These are alternatives,
351
+ not a request to fill all slots or produce a page for every token. Use only forms
352
+ supported by the selected source and reader task.
353
+ For F11, a directory emphasizes scope, catalog, contracts and details; a child
354
+ application detail emphasizes ownership, integration, capabilities, navigation
355
+ and delivery. Link common host contracts rather than repeat them in each detail.
356
+ Read each selected article's guidance for chapter responsibilities and examples.
357
+ If a supported chapter does not fit an available variable, submit it in that
358
+ article's `sections` with source evidence; do not put it in an unknown variable,
359
+ which is warned about and ignored. Preserve accepted section identities where
360
+ applicable. Empty scaffolds are input skeletons, never finished reader content.
361
+
362
+ Treat article outlines, writing slots and size recommendations as guidance.
363
+ Keep useful evidence-backed content when a slot is unavailable; assess whether
364
+ to merge, omit or add a chapter. A template or source version difference alone
365
+ does not require approval or a restart: retain the versions, explain relevant
366
+ uncertainty and continue work that the evidence supports. Agent review decides
367
+ relevance, completeness and compatibility; the CLI checks reference identity,
368
+ authorized scope, parseable inputs and concurrent revisions. A missing promised
369
+ article remains unfinished until delivered or the accepted plan is adjusted.
370
+
371
+ When supplied source text contains relevant usage examples, Author may declare
372
+ `example_candidates` with a stable `scenario_key` and the authorized
373
+ `source_item` path or reference. Select examples by reading their contents;
374
+ file names alone are insufficient. The runtime binds the selection to the
375
+ current subject, full path, source version and evidence, then exposes it to a
376
+ selected examples Composer. Distinct files with the same basename remain
377
+ distinct. Do not invent example source items, runtime outcomes or missing demos;
378
+ omit the optional collection when no example is applicable.
379
+
380
+ ### Useful article content
381
+
382
+ Choose one primary location for each explanation. An overview states actual
383
+ capabilities and links to specialist articles; do not fill it with a promise
384
+ that another page has the information. Keep summaries short plain text, not
385
+ source tables. Merge a small overview and source-entry task when they would
386
+ repeat the same file list and reading instructions. Source-entry articles
387
+ should explain why each entry matters and name the next inspection action.
388
+
389
+ For C02 feature details use prerequisites, operations, exceptions, acceptance
390
+ and version when supported. For D04 engineering guides use scope, commands,
391
+ delivery and conventions; operational diagnostics remain separate.
392
+ For Q01 prefer systems/navigation/development/tools for a testing-domain map.
393
+ Q02 lasting strategy uses layers/coverage/collaboration; a change plan uses
394
+ risks/scenarios/environment/execution. Q04 regression selection uses
395
+ smoke/selection/prerequisites/records; results/failures/conclusion describe
396
+ actual recorded runs, never substitute for the selection baseline. Q07
397
+ confirmed incident reviews use triggers/cause/repair/prevention; unresolved
398
+ FAQ answers may omit these and retain investigation/followup.
399
+
400
+ When planning an entry article, mark the source-supported entry and next-step
401
+ sections as suggested required sections in the accepted article outline.
402
+ Existing outline-gap diagnostics are advisory; explain missing material or
403
+ add the supported content, without treating prose warnings as a new gate.
404
+ Template section question_refs label writing responsibilities; actual reader
405
+ coverage and its single primary carrier come from accepted question_targets.
406
+ Do not count template section labels as additional answered user questions.
407
+
408
+ For a deterministic API table, select the authorized contracts relevant to
409
+ that article's task. A page task needs its page inputs and consumed contract
410
+ entries, not every exported constant in the module. Keep caller/route context
411
+ in source-backed prose; a declared API does not prove a live call.
412
+
413
+ ### Diagrams in reader articles
414
+
415
+ Use the selected Provider diagram instructions and the article guidance to choose a diagram only when useful. Put fenced Mermaid in an evidence-backed semantic section; use text trees for hierarchy and tables for exact contracts. Explain the diagram in prose and retain source/next-step coordinates for consumers without rendering. Diagram syntax or missing optional graphics never establish a new completion gate. During review, check the meaning and provenance of arrows, not the diagram count.
416
+
417
+ ### Existing visual sources
418
+
419
+ For Author/Review involving source images or tables, consume the selected Provider `references/visual-source-processing.md`. Read current workspace AGENTS.md and `context.convertVisuals`; explicit user instructions override defaults. Use authorized `visual_resources` and sections[].visuals; reuse accepted unchanged results. Capability absence or unsuitable content retains originals without a new gate. Never edit source snapshots or delete assets yourself.
420
+
421
+ ### Knowledge-map placement during structure review
422
+
423
+ Structure approval includes `knowledge_map`. Read the preview's `knowledge_map_coverage`
424
+ and `article_targets`. Add article entries beneath the agreed category nodes,
425
+ with `target.artifact_ref` and an optional `section_key`; categories alone do not
426
+ place articles. Preserve prior-wave entries. An unchanged knowledge-map revision does
427
+ not imply the new articles are covered. Resolve the CLI's missing/invalid target
428
+ list before resubmitting approval; classification remains your responsibility.
429
+ Report article delivery and navigation coverage separately.
430
+
431
+ For new and revised pages, decide placements against the user's current knowledge
432
+ map: retain, add, move or create a category when the reader purpose warrants it.
433
+ Preserve unrelated entries and stable article identities. The coordinator owns
434
+ map edits; workers may suggest placements but never write the map. Recheck new
435
+ article bindings each wave, even when the map itself has not changed. Website
436
+ navigation and LLMS consume this same accepted map.