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