@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
@@ -1,236 +1,393 @@
1
1
  ---
2
- description: "Build or continue structured, traceable Agent knowledge from documents and code. Use the local `context` CLI for workspace writes."
2
+ description: "Use when the user explicitly invokes Context, asks to reorganize an existing Context knowledge map or website navigation, or continues a Context workflow to build, inspect, update, recover or package knowledge. Do not auto-start for ordinary planning, design or coding."
3
3
  ---
4
4
 
5
- Start or continue a C4A Context knowledge workspace.
6
-
7
- ---
8
-
9
- ## Workflow
10
-
11
- Context is a knowledge management tool built for Agent knowledge workflows. It
12
- compiles Feishu/Lark documents, local Markdown, repository code, and manually
13
- curated business material into structured, traceable knowledge, then produces
14
- knowledge packages, LLM-ready documents, or Agent Skills. The CLI packages all
15
- workflow guidance, knowledge-building procedures, and code-indexing capabilities
16
- needed to produce that knowledge; follow its returned commands and resources
17
- for the next action.
18
-
19
- Use this as the single conversational entry for Context. Let the CLI locate an
20
- existing workspace, relocate into it, initialize a requested workspace, or
21
- evaluate its current workflow. Do not infer the workspace state yourself.
22
-
23
- ### Enter the workspace
24
-
25
- Run:
5
+ # Context
6
+
7
+ Context turns selected sources into reviewed knowledge and packages for readers
8
+ and Agents. The CLI supplies the current workflow, commands and required
9
+ reading; use it for workspace writes.
10
+
11
+ Activate this entry only when the user invokes the Context command or Skill,
12
+ or explicitly starts a Context knowledge workflow in this conversation.
13
+ An explicit request to adjust an existing Context website's navigation or
14
+ knowledge map also activates this entry, including after production is complete.
15
+ Related follow-up requests need no repeated invocation. Ordinary planning,
16
+ design, coding, document editing or discussion of Context implementation does
17
+ not activate it. A workspace, source file, MR or matching phrase alone is not
18
+ an activation signal; unrelated work stays outside an active Context task.
19
+
20
+ Workspace knowledge queries and source attribution have a separate, explicitly
21
+ invoked `context-inspect-search` entry. Do not auto-launch it from production
22
+ progress or ordinary questions. When the user accepts its update suggestion,
23
+ use this production workflow's current Route and preserve existing work.
24
+
25
+ ## Supported requests
26
+
27
+ Within an active Context workflow, requests include, but are not limited to:
28
+
29
+ | Intent | Scope |
30
+ | --- | --- |
31
+ | Build a knowledge base | Clarify the audience and source scope, then create or continue knowledge from selected repositories and documents. |
32
+ | Recover a stuck Context task | Use `context task recover --format json` in the existing workspace; read its recovery Skill even if normal status/Route fails. Repair authorized drafts or restore an available planning baseline; report unresolved failures with the supplied sanitized issue template. |
33
+ | Check progress and results | Explain what is done, where delivered pages are, and what is waiting. |
34
+ | Save notes | Save supplied observations, excerpts or decisions; stop after saving if that is all the user requested. |
35
+ | Preserve conversation insights | Save or use a summary of supplied discussion, not an entire session history. Code-change links are optional. |
36
+ | Update knowledge from source changes | Assess a selected commit, MR/PR or document change against a fixed source version; update affected pages and warranted new topics. |
37
+ | Revise existing content | Correct current drafts or approved pages, including several pages or supported API-table regeneration. |
38
+ | Organize pages and sources | Move pages within a collection, rename supported sources or remove unused sources with reference checks. |
39
+ | Customize the knowledge map | At any time, reorganize the existing site's top navigation, left directory, labels, order or article placements; the same map organizes LLMS. Preserve current production work. |
40
+ | Select or customize indexing | Choose compatible indexing Skills and adjust guidance or templates through the configuration flow. |
41
+ | Deliver a batch early | Review and build complete newly authored pages before all writing finishes. |
42
+ | Package knowledge or adjust output | Build approved content for Agents or LLMs, rebuild a package or change its output template. Rebuilding does not rewrite pages. |
43
+ | Prepare the workspace for a new task | Explicitly discard unfinished task state, retain approved work and restore registered source access. |
44
+ | Commit workspace results | Save selected workspace files in local Git, without pushing or including unrelated changes. |
45
+ | Restore a historical workspace version | Select a saved commit, restore only the agreed workspace scope and make its sources usable again. |
46
+
47
+ ## Read the task before registering sources
48
+
49
+ For a knowledge-map-only request, use the existing workspace directly. Read
50
+ `src/knowledge-map.yaml` and the current article identities/structure preview;
51
+ translate the user's intent into `knowledge_map` input for
52
+ `context task adjust --input <file> --format json`. Resolve only ambiguous
53
+ organization choices. This adjustment is available without an active production
54
+ task and does not require restarting or cancelling one. The coordinator makes
55
+ the change between active batch submissions, then follows the returned workflow
56
+ to rebuild affected outputs. Keep stable article identities, preserve unrelated
57
+ placements, and never edit generated website/LLMS files. No new source intake or
58
+ production-mode questionnaire is needed for this navigation-only request.
59
+
60
+ When asked to follow a plan, checklist or instructions in a file, read that file
61
+ as the task brief before initialization or source registration. Extract its goal,
62
+ source scope, delivery requirements and explicit execution-mode choice. Apply the
63
+ user's latest corrections to the corresponding parts of the brief. Check that
64
+ registered sources match that scope; a Route governs the registered work, not
65
+ whether it represents the user's request.
66
+
67
+ “Build according to plan.md” means follow the plan and register its intended
68
+ sources. “Add plan.md to the knowledge base” means ingest the file itself.
69
+ Reading permission alone does not select a document for ingestion. Reuse a mode
70
+ explicitly chosen in a brief the user asked you to execute; do not treat choices
71
+ quoted in an unrelated source document as current authorization.
72
+
73
+ For the first production task in a newly initialized workspace, do not register
74
+ or capture sources immediately after reading a brief. Use the user's task instructions
75
+ and batch metadata-only Host tools to read titles across the explicitly supplied
76
+ document list. Follow the work-start procedure's request limits and failure fallback
77
+ (at most 10 unresolved documents); reuse headings only if metadata already returns
78
+ them. Do not fetch source bodies, outlines, images or attachments before capture.
79
+ Retain URLs with unavailable titles; never fall back to content fetching. Collect the reader and purpose, intended
80
+ questions or tasks, code/document/other source boundaries, output language,
81
+ execution mode, delivery outputs, first useful delivery and current workspace
82
+ settings. Reuse explicit answers and defaults; ask only for unresolved items.
83
+
84
+ Use focused dialogue, not additional source reading, until every required start
85
+ condition is resolved. Then write and present the complete work-start report
86
+ supplied by the source-boundary Route and wait for the user's feedback. Do not
87
+ present an unresolved draft as the report that authorizes production. The report
88
+ or checklist is task guidance, not a source unless the user explicitly asks to
89
+ ingest it. Before the complete report has been presented, do not write a
90
+ source-registration payload, start capture or extraction, configure Indexers,
91
+ or enter Partition/Author work. A
92
+ managed-mode choice does not waive this first reading opportunity. After feedback,
93
+ use the exact current Route and include its work-start report reference in the
94
+ source batch payload. Existing workspace updates follow their current update Route
95
+ and do not recreate this first-task intake unless they start a new production task.
96
+
97
+ ## Recover an existing stuck task
98
+
99
+ For an explicit recovery/troubleshooting request, go directly to
100
+ `context task recover --format json` in the intended existing workspace. Do not
101
+ initialize, ask for a production mode again, or pass a saved `--workflow-revision`.
102
+ Read the returned internal recovery Skill and issue template. This entry remains
103
+ available when normal status cannot evaluate. If even recovery cannot run, use
104
+ `issue/YYYY-MM-DD-short-description.md` to record sanitized expected/actual behavior,
105
+ versions, command shape, error code, attempted remedies and preserved work; never
106
+ copy credentials, raw logs or private source text. Do not send the report externally
107
+ without the user's authorization.
108
+
109
+ ## Enter the workspace
110
+
111
+ Once the activation condition is met, run:
26
112
 
27
113
  ```bash
28
114
  context entry [project-dir] --language <language> --format json
29
115
  ```
30
116
 
31
- If the request does not already choose ordinary review or fully managed
32
- operation, first use the read-only entry result to state a short execution
33
- plan, then ask the user to choose once. Explain that ordinary review pauses at
34
- human Gates and presents HTML reports, while fully managed operation resolves
35
- delegatable Gates within this conversation but still stops for permissions,
36
- hard validation, or non-delegatable decisions. Prefer the host's native choice
37
- UI. When initialization already needs a confirmation or missing option, combine
38
- the mode choice with that question instead of adding another round. Keep the
39
- answer only in this conversation and do not ask again after initialization,
40
- capture, or resume. An explicit request for review, human confirmation, fully
41
- managed work, or no further review already resolves this choice.
42
-
43
- Use the user's explicit language choice when present; otherwise pass `zh-CN`
44
- for a Chinese conversation and `en` for an English conversation. Pass
45
- `project-dir`, `--name`, `--dev`, or `--debug` only when the user explicitly
46
- requested that initialization choice. Pass `--managed` only after the user
47
- explicitly authorizes fully managed operation in this conversation.
48
-
49
- If the `context` process itself cannot start because the command is missing
50
- (`ENOENT`, or shell exit 127 explicitly identifying `context` as the missing
51
- command, such as `command not found: context` or `context: command not found`),
52
- explain that the global CLI is not installed and ask the user to install or
53
- authorize installation with:
117
+ Use the requested language, otherwise `zh-CN` for Chinese or `en` for English.
118
+ Pass `project-dir`, `--name`, `--dev` and `--debug` only when requested. Add
119
+ `--managed` only with explicit fully managed authorization in this conversation.
54
120
 
55
- ```bash
56
- npm install -g @c4a/context-cli@latest
57
- context plugin install
58
- ```
121
+ Follow the returned `next_action.command`:
59
122
 
60
- Stop after giving that recovery. Do not run an installation preflight, install
61
- automatically, or mistake a normal Context `not found` diagnostic for a missing
62
- executable.
123
+ - `enter-workspace` and `evaluate-workflow` are read-only.
124
+ - `initialize-workspace` may run immediately if the user requested initialization;
125
+ otherwise confirm the target. Preserve any `init-target-nonempty` confirmation.
126
+ - After initialization, execute its exact setup command, enter the project root,
127
+ read the generated `AGENTS.md`, then run the entry again.
63
128
 
64
- Execute only `next_action.command` returned by `context entry`:
129
+ Use that root as the working directory for every workflow command, including
130
+ after compaction. A previous `cd` may not persist, and an input-file path does
131
+ not select the workspace. A parent directory may be a different Context project.
132
+ Follow workspace-mismatch recovery before refreshing its Route.
65
133
 
66
- - `initialize-workspace` writes a new workspace. Execute it immediately only
67
- when the user explicitly requested initialization through this entry;
68
- otherwise explain the target root and ask for confirmation. Preserve the
69
- `init-target-nonempty` confirmation.
70
- - `enter-workspace` and `evaluate-workflow` are read-only and need no additional
71
- confirmation.
72
- - After initialization, execute the exact setup command returned by `context
73
- init`, enter the project root, read the generated `AGENTS.md`, and run this
74
- entry again.
134
+ For production, if the user has not chosen a mode, state the short plan from
135
+ the read-only result and ask once: ordinary review pauses at human Gates with
136
+ HTML reports; fully managed operation delegates eligible Gates within this
137
+ conversation. Combine this choice with any necessary initialization question.
138
+ Reuse an explicit review/managed choice across capture and continuation. Neither
139
+ mode settles unclear purpose, missing permissions or non-delegatable decisions.
140
+ Status, discussion and save-only requests need no production-mode question.
75
141
 
76
- If the user asks to correct a current Candidate before approval, first let
77
- `context entry` relocate into the workspace and evaluate its current Route.
78
- Start the correction with:
142
+ Enable debug only when requested: use `entry --debug` for initialization or
143
+ `context debug enable` in an existing workspace. It records diagnostics under
144
+ `.tmp/context-runtime/debug/`; it grants no authority and is not source evidence.
145
+
146
+ If the executable cannot start (`ENOENT` or exit 127 naming `context`), explain
147
+ that the CLI is missing and ask the user to install or authorize installation:
79
148
 
80
149
  ```bash
81
- context revise "<candidate title, path, or id>" --instruction "<requested correction>" --format json
150
+ npm install -g @c4a/context-cli@latest
151
+ context plugin install
82
152
  ```
83
153
 
84
- When the target is unique, Context invalidates only its derived outputs and
85
- reopens the owning Author workset. Run the returned status command and follow
86
- the current Route. If the target is ambiguous, ask which Candidate the user
87
- means. Never edit `knowledge/`, `dist/`, or create a side-channel revision page.
88
-
89
- ### Conversation modes
90
-
91
- Enable debugging only when the user explicitly requests it. If initialization
92
- is required, pass `--debug` to `context entry` and execute its returned
93
- `context init ... --debug` command; do not run a workspace-only debug command
94
- before initialization. For an existing workspace, run `context debug enable`
95
- before workflow evaluation. Debugging records traces below
96
- `.tmp/context-runtime/debug/` but does not grant workflow authority or provide
97
- source evidence.
98
-
99
- For explicitly authorized fully managed operation, use:
154
+ Stop with that recovery. Do not run an installation preflight or auto-install;
155
+ a normal Context `not found` diagnostic does not mean the executable is missing.
156
+
157
+ ## Match the request to the current work
158
+
159
+ A status question is read-only; an explicit continuation follows the current
160
+ Route. A new write request must first register its target through the relevant
161
+ entry below. The old Route does not incorporate that request or authorize
162
+ continuing unrelated work. Ask only when missing information changes the action
163
+ or scope; discussion and save-only requests can end without production.
164
+
165
+ - **Sources, notes, sessions or changed upstream material:** read
166
+ `guidance.knowledge_updates.path` returned by `context entry`, then use its
167
+ source/update action. This installed guide also covers page/source organization,
168
+ same-task source adjustments, rollback and optional upstream corrections.
169
+ - **Prepare, commit or restore the workspace:** read the matching
170
+ `guidance.workspace_prepare.path`, `guidance.workspace_commit.path` or
171
+ `guidance.workspace_restore.path` from `context entry`. Lead these tasks with
172
+ Host tools and the supplied checks; do not continue unrelated production merely
173
+ because entry also offers a status command. Context owns task-state cleanup;
174
+ Git target selection, commits and environment recovery remain Agent-led.
175
+ - **One page correction:** use the current text through:
176
+
177
+ ```bash
178
+ context revise "<candidate title, path, or id>" --instruction "<requested correction>" --format json
179
+ ```
180
+
181
+ Resolve an ambiguous target with the user. A current Candidate reopens its
182
+ owning Author workset; an approved page uses the local revision flow. Follow
183
+ the returned status command and its new Route.
184
+ - **Several approved pages, program regeneration or a rebuild during production:**
185
+ read the maintenance procedure linked by the knowledge-updates guide and use
186
+ its registration input. Queued means saved, not revised; explain its waiting
187
+ condition and do not register the same request repeatedly.
188
+ - When the user asks to compile, build or deliver a batch, use the current Route
189
+ to choose early delivery or rebuilding; do not guess a command name.
190
+ - **Delivery batch size:** use `context run --delivery-size <1–50|auto> --format json`
191
+ for an explicit user preference; it applies to future theme waves in this task.
192
+ - **Earlier delivery of newly authored pages:** use the Author Route's
193
+ `delivery.request.command` (`context run --deliver --format json`). Finish any
194
+ running command first. Complete the current Author batch, then follow the
195
+ returned composition, Review and build steps. This does not approve content
196
+ or merely rebuild old approved pages; all Author tasks need not finish first.
197
+ - **An independent new task while work remains:** explain saved results,
198
+ unfinished scope and concrete rollback losses. Reuse or obtain the user's
199
+ choice to finish the current task or roll back an explicit scope. Do not
200
+ promise arbitrary task suspension. Same-task adjustments and local maintenance
201
+ preserve unrelated work and use their own routes, not an independent-task reset.
202
+
203
+ Never hand-edit `knowledge/` or `dist/`, create a side-channel revision page, or
204
+ clear runtime state to force a transition. Explicit historical restoration may
205
+ restore exact Git-saved workspace files after the preparation guide has ended
206
+ old task state; it is not an alternative content-writing path. Do not infer sources, extraction
207
+ scope, review decisions or package choices from surrounding files. Operations on
208
+ source repositories—clone, checkout, reset, fetch, install, build or test—require
209
+ explicit authorization for that scope.
210
+
211
+ ## Follow the current Route
212
+
213
+ `workflow.current` is the current-step authority. Preserve returned revisions,
214
+ authority flags and payload contracts. Keep managed authority only in this
215
+ conversation, reuse it for resumed evaluations of the authorized request, and
216
+ stop using it when revoked. Additional `--authority` values also require an
217
+ explicit grant.
218
+
219
+ After continuation is authorized or the new target is registered, both modes
220
+ may use `context run --until blocked-or-complete` for consecutive mechanical
221
+ steps. With explicit managed authorization:
100
222
 
101
223
  ```bash
102
224
  context run --managed --until blocked-or-complete --format json
103
225
  ```
104
226
 
105
- Use `--managed` for every resumed workflow evaluation in the same active
106
- request. Never persist or reuse that authority in another conversation, and
107
- stop using it when the conversation ends or the user revokes it. Pass any
108
- additional `--authority` only when the user explicitly grants that authority in
109
- this conversation.
110
-
111
- The managed loop executes only Route-selected work and returns the current
112
- `workflow.current` whenever Agent reading, project configuration, a human Gate,
113
- host execution, diagnostics, or a non-unique plan needs attention. Resume from
114
- that returned Route; never reconstruct a command from an earlier step.
115
-
116
- Code knowledge is published under `codeindex`. Context mechanically audits each
117
- module's input analysis, stable boundaries, facts, explanation, evidence scope,
118
- and page shape without producing a total score. Blocking mechanical failures
119
- reopen the owning Author or Composer workset; advisory metrics remain warnings
120
- and do not create a retry ledger or override Gate. If a legacy workspace returns
121
- `route.extract.codeindex-migration-required`, execute only its migration
122
- command; do not rename `codegraph` paths manually.
123
-
124
- ### Select Indexer Providers
125
-
126
- For `indexer-provider-required`, `indexer-provider-unavailable`,
127
- `indexer-customization-required`, `indexer-customization-invalid`, or
128
- `indexer-customization-upstream-changed`, read
129
- `node_modules/@c4a/context/docs/guides/indexer-provider-and-customization.md`
130
- before proposing a selection or project change. It defines the registry-only
131
- default, six-level customization ladder, upgrade conflict handling, debugging
132
- commands, and the exit condition for each level. Do not replace it with a
133
- remembered or host-specific workflow.
134
-
135
- When the current Route starts a new Code or Markdown indexing task, its
136
- `configure-indexer-providers` Action input already contains the exact applied
137
- requirements and CLI-bundled Provider catalog. Select applicable Providers from
138
- the Skills already visible to the Host and that supplied catalog. Do not add a
139
- catalog command, installation preflight, discovery report, or discovery-only
140
- confirmation to the normal workflow. The main entry being visible is not proof
141
- that every Provider is available; the CLI checks the selected distribution
142
- when it is used and returns any missing/version-conflict recovery.
143
-
144
- Use the supplied CLI-bundled identity for a selected shipped Provider, including
145
- when the same Skill/version is also visible as an installed projection. Do not
146
- resolve that copy through the Host or re-read its installed metadata. For a
147
- relevant external Skill, read only the exact Host-exposed frontmatter and
148
- sibling `context-indexer.yaml` needed for selection; do not guess a version or
149
- scan caches. Different versions remain distinct. Read Provider guidance only
150
- when selected. Discovery is not a durable workspace artifact.
151
-
152
- Return only `stage: provider-selection`, the non-CLI
153
- `host_visible_skills`, and the selected semantic `indexers` through the exact
154
- `context action complete-current` command returned by the Route. The CLI owns
155
- construction of the full registry payload, fallback/conflict checks, static
156
- validation, Provider resolution and staging, final validation, and atomic
157
- application of `src/indexers.yaml`. Do not call their low-level commands as a
158
- second production workflow.
159
-
160
- If a selected external Provider needs Host resolution, the next current Route
161
- contains one `context.resolve-indexer-provider/v1` Host Action and its exact
162
- request. Invoke that Host Action once, then submit
163
- `stage: provider-resolution` with the returned Host result through the Route's
164
- `complete-current` command. If the Bundle carries a non-allowlisted program,
165
- the following current Route presents the existing program-execution Gate; wait
166
- for its user/session-authority decision and submit that decision through
167
- `complete-current`. A recovered `provider-finalization` Route consumes
168
- only its fixed Action input; it must not resolve or install the Provider again.
169
-
170
- ### Follow the current Route
171
-
172
- Treat `workflow.current` as the current-step authority:
173
-
174
- 1. Read every `resources.required` item whose `read_state` is `read-required`.
175
- Read a returned `path` completely, or execute a returned resource `command`
176
- and read its complete output file. For a current Indexer Partition, Author,
177
- Composer or structure-review Route, read the materialized files and then use
178
- the Route's immediate completion command; do not create or submit a read
179
- receipt. Other workflow resources may still require the returned receipt
180
- command. Materializing a resource is not reading it. Keep those receipts only
181
- in this conversation and submit them with
182
- the exact returned `context status --resource-receipts @<file>` command. Use
183
- `after_read_receipts` only after the full resource has been read. The exact
184
- `resources.after_read.command` already returns the re-evaluated
185
- `workflow.current`; continue from it without an additional status call.
186
- 2. At a Gate, keep inspection and resolution phase-local. Read an
187
- `inspection_action` resource only while inspecting the decision, and read a
188
- `resolution_action` resource only after the user confirms the Gate. Neither
189
- replaces ordinary required resources.
190
- For ordinary Knowledge Review, follow the Route-selected dialogue: do not
191
- advertise force approval in the initial prompt. If the user cannot access
192
- the report, only their exact current-conversation reply `强制批准` authorizes
193
- the returned force-approval resolution command; generic approval wording
194
- does not.
195
- 3. Execute only `commands` returned by the Route, preserving revision and
196
- authority flags exactly. A command marked `after-human-confirmation` waits
197
- for the current Gate decision. Run a command whose `execution.target` is `agent-host`
198
- as an exact top-level host action with the required host access,
199
- not inside a restricted child sandbox. Follow the Route-selected procedure
200
- for its audit and approval contract; never invent a payload, destination, or
201
- substitute command.
202
- A Context command is complete only after its process returns an exit code and
203
- receipt. If the host reports that it is still running, keep polling that same
204
- invocation; never start a second Context write command in parallel.
205
- Treat a code-extraction batch preview as one Route action. Read its complete
206
- index-unit report and keep same-kind capability or scale decisions in the
207
- single returned Gate; do not ask about modules one by one. A non-delegatable
208
- extraction Gate must stop even in fully managed mode.
209
- 4. If `configuration` is present, edit only the named project file and use the
210
- selected resources as its contract.
211
- 5. After every action or configuration change, run status again. The managed
212
- loop performs this re-evaluation internally. A phase-local `next_action` can
213
- continue that operation but never replaces the workspace Route.
214
-
215
- Explain, ask, confirm, and summarize in the user's current conversation
216
- language. Keep commands, flags, paths, ids, status values, JSONL keys,
217
- `source_ref` values, and copied CLI tokens unchanged.
218
-
219
- Keep a conversation-local list of HTML review reports that the user actually
220
- used to make a review decision. Preserve each exact report URL or local path
221
- and its reviewed scope when the Route provides them. In the final completion
222
- summary, include one compact `Review reports` section containing those exact
223
- references. Do not scan workspace internals to reconstruct the list, persist a
224
- second ledger, invent a public URL, or describe an inaccessible report or a
225
- fully managed/force approval as user-reviewed.
226
-
227
- When the user explicitly asks to publish a completed build, treat publication
228
- as a downstream distribution step outside the Context Route. Use only an
229
- explicitly installed distribution tool and its documented complete-output
230
- upload command. If no such tool is available, stop after the local build and
231
- explain that Context itself does not publish to a hosted service.
232
-
233
- Do not infer repo sources, extraction scope, review decisions, or package output
234
- choices from surrounding files. Do not call source-repo operations such as
235
- clone, checkout, reset, fetch, install, build, or test without explicit user
236
- approval.
227
+ The CLI loop returns when Agent work, configuration, a Gate, host execution or
228
+ a blocker needs handling. A return for Agent work hands execution to you; it
229
+ does not end the authorized task. Follow the returned Route within existing
230
+ authority; do not reconstruct commands from earlier steps.
231
+
232
+ **Read.** Read each `resources.required` item marked `read-required`, including
233
+ the complete returned file and any required direct files it names. If a resource
234
+ has a `command`, execute it and read its output; materializing is not reading.
235
+ Current Indexer Partition, Author, Composer and structure-review files need no
236
+ read receipt: use their immediate completion command after reading.
237
+ For Indexer files that need no read receipt, reuse a fully read resource in this
238
+ conversation only when its source/Provider identity and content digest are unchanged
239
+ and its contents remain available. A new revision alone does not require rereading
240
+ those files. Always read the new Route and task-specific changes; after context loss
241
+ or truncated output, read the missing content. Never invent a receipt or mark an
242
+ unread file as read.
243
+ For other
244
+ resources, follow the returned receipt instructions, keep receipts in this
245
+ conversation, and use the latest `next_action.command` carrying that context.
246
+ When only direct files remain, `resources.after_read.command` acknowledges them
247
+ together. Do not assemble receipts or reuse an older after-read command.
248
+
249
+ **Act.** Execute the Route's commands. A command marked
250
+ `after-human-confirmation` waits for the current Gate decision. Keep Gate
251
+ inspection and resolution separate: inspection resources apply while inspecting;
252
+ resolution resources apply once the decision is authorized. Neither replaces
253
+ ordinary required reading. For ordinary Knowledge Review, use its selected
254
+ dialogue; only the exact reply `强制批准` authorizes the report-inaccessible
255
+ force-approval route. Do not offer that shortcut initially or treat generic
256
+ approval as equivalent.
257
+
258
+ For `execution.target: agent-host`, use the exact top-level host action with
259
+ its required access, not a restricted child sandbox. For `configuration`, edit
260
+ only the named file using the selected resources. A code-extraction preview is
261
+ one batch decision: read its whole index-unit report and group same-kind
262
+ capability/scale questions rather than asking module by module. Non-delegatable
263
+ Gates still stop managed execution.
264
+
265
+ A write is complete only when its process returns an exit code and receipt.
266
+ Poll the same running invocation; never start a second workspace writer.
267
+ Mechanical blockers follow the returned repair/recovery action; advisory
268
+ warnings do not independently require rewriting content. Migration also uses
269
+ its returned command, not manual path renames.
270
+
271
+ **Continue.** Read `next_route.file` for the full Route after a compact receipt;
272
+ `result_file` is for full diagnostics. Otherwise use the returned workspace
273
+ Route (`next`, `continuation.next` or `workflow.current`). Do not call status
274
+ again when that Route is present; refresh after configuration changes or when
275
+ none was returned. A phase-local `next_action` is not a workspace Route.
276
+ If `next_preparation` fails after committed outcomes, execute its recovery
277
+ without resubmitting accepted work. Stage completion is not workspace completion:
278
+ Changed delivery content must finish Review, close and build through their Routes.
279
+ An empty Composer result is a decision not to add derived content, not an API
280
+ regeneration or proof that existing pages meet a later revision request. Do not
281
+ infer maintenance targets from Composer task names or count.
282
+
283
+ When the Graph reports complete, compare the user's original and subsequent
284
+ requests with actual delivered results and registered maintenance targets.
285
+ `next: null` alone can also mean next-step preparation failed; inspect the receipt.
286
+ A complete registered workflow or empty queue does not settle unregistered
287
+ conversational requests. Continue already authorized outstanding work through the
288
+ normal Context revision/update entry and its fresh Route, respecting existing
289
+ Gates. Do not ask for another "continue" solely because production finished.
290
+ Report a blocker only when a required input, permission or actual entry failure
291
+ prevents progress; do not invent a missing Review/build after an empty Composer.
292
+
293
+ For an authorized end-to-end task, continue while the current Route is actionable
294
+ within that authority. Report batch progress during execution, without ending
295
+ the turn to wait for another “continue”. End when the requested scope is complete,
296
+ the user asks to pause, or a required decision, permission, unresolved blocker or
297
+ actual Host limit prevents further work. If ending early, state the specific
298
+ reason and remaining work; do not describe a CLI return or batch completion as
299
+ that reason. Fully managed mode does not waive required human decisions.
300
+
301
+ When the user's full production scope has finished close/build with no remaining
302
+ work, mention once that the workspace results can be committed locally. This is
303
+ optional, not a Gate or an automatic commit; omit it for intermediate deliveries
304
+ and when the user declined it. Use the commit guide if the user chooses it.
305
+
306
+ ## When selecting or customizing Indexers
307
+
308
+ Read `context.indexer.provider-guide` at the path supplied by the Route and the
309
+ selected Action's instructions. They own the selection schema, layer rules,
310
+ customization ladder, program authorization and upgrade recovery.
311
+
312
+ Use the supplied requirements and CLI-bundled catalog. Discover relevant
313
+ external Providers only among Host-visible `context-…-indexer…` Skills and read
314
+ their exposed manifest. Host switches and installation channels determine
315
+ availability; the catalog does not override a disabled Skill or a chosen
316
+ business replacement. Do not scan caches, run a discovery preflight, or create
317
+ a second enabled-Skill registry.
318
+
319
+ Copy bundled Provider identities from the catalog, even if the same version
320
+ is Host-visible. Read only selected Provider guidance. Keep one primary for an
321
+ existing page; supporting note/session material belongs in its evidence/read
322
+ scope, with compatible extension guidance when needed. Source type alone does
323
+ not require a new page. Submit the selection through the Route's
324
+ `complete-current` contract; the CLI validates, resolves and applies it. Follow
325
+ returned Host-resolution and program Gates without calling low-level commands
326
+ as a parallel workflow. Provider finalization consumes its existing input and
327
+ must not resolve or install the Provider again.
328
+
329
+ ## Progress reporting format
330
+
331
+ For production progress updates, use two bold lines in this order. Describe
332
+ the actual stage when counters are unavailable; include counts only when supplied:
333
+
334
+ **[总体进展:已交付 33/125 页]**
335
+ **[当前进展:已规划 3/8 项]**
336
+
337
+ Use CLI `progress.scopes` (or `indexerProgress.scopes` in status) as the
338
+ single source for progress in conversation and reports. It separates:
339
+ - `overall`: delivered pages and cumulative planning for the current Indexer run;
340
+ - `wave`: writing tasks, observed pages and composition for the current wave;
341
+ - `slice`: tasks in the currently active Route slice.
342
+
343
+ Planning completed counts currently valid accepted tasks, not lifetime effort.
344
+ When overall.planning.needs_recheck is nonzero, report “规划当前有效 X/Y 项;Z 项因任务绑定变化待复核”.
345
+ Do not describe a lower valid count as lost pages or silently restarting from zero.
346
+ The CLI reason identifies binding changes, not proof that source code changed;
347
+ do not invent a more specific cause.
348
+
349
+ Keep these scopes separate. A wave or pause target never replaces the overall
350
+ scope. Preserve overall planning across Author, Composer and Review transitions.
351
+ Use each counter's `unit`: task means 项/任务, page means 页. A writing task is
352
+ not automatically one page. A null total means 总数待确定, not zero or the
353
+ number of currently prepared tasks. Revisions can overlap delivered pages;
354
+ do not add wave tasks to delivered pages to invent a page total.
355
+
356
+ Use two bold progress lines. The first combines `overall` and a clearly labelled
357
+ `wave` supplement; the second describes the current action, using `slice` counts
358
+ when available. Internal wave/slice names need not appear in user-facing text. For example, with matching CLI values:
359
+ **[总体进展:已交付 33 页,总页数待确定;规划完成 50/122 项;本轮写作完成 30/30 项]**
360
+ **[当前进展:补充内容检查 0/8 项]**
361
+
362
+ A completion receipt's `submitted_slice` describes the slice just submitted;
363
+ `progress.scopes.slice` can already describe the next Route. Use the former when
364
+ reporting submission success and the latter when announcing the next slice.
365
+ Never combine their numerators and denominators. A null slice means no active
366
+ Agent task slice, not that the workflow is complete. During Review/build, state
367
+ the returned Route action briefly rather than inventing a slice ratio.
368
+ Before counters exist or after task cleanup, describe the known stage and current
369
+ action instead of repeatedly saying counters are unavailable. For example:
370
+ **[总体进展:正在准备知识工作区]**
371
+ **[当前进展:已读取启动清单,正在整理仓库与文档范围]**
372
+ During review or packaging, name that action rather than a nonexistent slice.
373
+ Do not turn the last wave into the overall scope or report delivery as zero.
374
+ Continue authorized work after an update; only the agreed delivery stop or an
375
+ actual unresolved blocker permits stopping. This format governs progress, not
376
+ answers, review findings or necessary questions.
377
+
378
+ ## Report the actual outcome
379
+
380
+ Use the conversation language for explanations and questions; preserve commands,
381
+ flags, paths, ids, `source_ref` values and copied CLI tokens. Distinguish saved
382
+ sources, accepted drafts and delivered pages. Use the required two-label format
383
+ above for every progress summary.
384
+
385
+ Keep the exact HTML review report links the user actually used in this
386
+ conversation. Include those links in a compact final `Review reports` section
387
+ when applicable; do not reconstruct them from runtime files or describe managed,
388
+ force-approved or inaccessible reports as user-reviewed.
389
+
390
+ Publication is outside the Context production Route. When explicitly requested,
391
+ use an installed distribution tool and its documented complete-output upload
392
+ command. If publication is requested but no such tool is available, stop after
393
+ the local build and explain that gap; do not invent a hosted publishing step.