@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,6 +1,6 @@
1
1
  schema: agent-graph.provider.v1
2
2
  id: c4a/context
3
- version: 0.7.5
3
+ version: 0.7.9
4
4
  name: Context workflow
5
5
  description: Internal work contract for Context knowledge workspaces.
6
6
  graphs:
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.resource.file.v1
2
+ id: context.indexer.provider-guide
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ path: skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md
6
+ description: Current registry examples, Provider selection and customization instructions with bundled linked manuals.
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.resource.file.v1
2
+ id: context.indexer.registry-bootstrap
3
+ kind: schema
4
+ mediaType: application/schema+json
5
+ path: schemas/indexer-registry-bootstrap.schema.json
6
+ description: Initial src/indexers.yaml requirements before Provider selection; not an Action Result.
@@ -10,10 +10,12 @@ Context reports one root diagnostic with counts and keeps derived findings in a
10
10
  separate detail view. Codes are stable machine identifiers; this document gives
11
11
  the shared recovery boundary.
12
12
 
13
- Content or provenance failures require a new source-bound candidate or an
14
- explicit evidence-maintenance decision. Projection-only failures can be
15
- repaired by deterministic close. A warning does not become success by being
16
- omitted from output.
13
+ Broken source references or invalid stored structure require a corrected
14
+ candidate or an explicit evidence-maintenance decision. Projection-only
15
+ failures can be repaired by deterministic close. Content-quality suggestions,
16
+ including suspected unfilled placeholders, are advisory: they do not change a
17
+ successful CLI outcome or add a gate. The existing Agent or user Review decides
18
+ whether the content needs revision.
17
19
 
18
20
  `approved-source-orphaned` is a persistent warning produced only after an
19
21
  explicit `keep-orphaned` decision. It records that the page remains usable by
@@ -11,11 +11,17 @@ Markdown. In ordinary mode:
11
11
 
12
12
  1. open the complete current Review report;
13
13
  2. let the user approve or reject candidates;
14
- 3. ask them to copy the decision Payload back into the conversation; and
15
- 4. apply only that exact Payload through the returned command.
14
+ 3. ask them to copy the review code back into the conversation; and
15
+ 4. apply only that exact review code through the returned command.
16
16
 
17
17
  The user does not need to create a payload file; the Agent may write the pasted
18
- payload to ignored scratch storage for the CLI command. Never derive a payload
18
+ review code to ignored scratch storage for the CLI command. Preserve it exactly;
19
+ do not decode, regenerate, summarize, or edit it. Each segment is at most 980
20
+ characters. If there are multiple segments, collect all of them and write one
21
+ segment per line in the same input file before applying once. Never apply a
22
+ partial set. If CLI reports missing, mixed, damaged, or stale segments, follow
23
+ its diagnostic; ask for missing segments or a fresh review code as appropriate.
24
+ Never derive a payload
19
25
  from HTML, candidate ids, snapshots, or a default decision.
20
26
 
21
27
  When the user completes a decision from the report, retain the exact report URL
@@ -25,8 +31,8 @@ report as user-reviewed when it was inaccessible, fully managed, or bypassed by
25
31
  force approval.
26
32
 
27
33
  Do not mention force approval when first presenting Review. If the user replies
28
- without a Payload that they approve or want to continue, explain that the
29
- report Payload remains the normal path. Only at that point, when the report is
34
+ without a review code that they approve or want to continue, explain that the
35
+ report review code remains the normal path. Only at that point, when the report is
30
36
  unavailable to them, tell them they may explicitly reply with the exact phrase
31
37
  `强制批准` to approve the complete current scope without per-candidate choices.
32
38
  Execute the Route's `after-human-confirmation` force-approval command only after
@@ -39,7 +45,8 @@ state that existing approvals were preserved and no Review gate remains.
39
45
 
40
46
  When the user explicitly requested fully managed operation, materialize the
41
47
  required `context.review-current` Markdown Resource once, read its index and
42
- every listed reader-facing batch, then use only the revision-bound atomic
43
- approve command returned by the managed route. Do not open HTML, synthesize
44
- per-candidate approval calls, persist review receipts, or approve any subset
45
- before all batches have been judged.
48
+ the pages being decided, then use the revision-bound atomic apply command with
49
+ the index's current scope template. Approve only pages actually reviewed; leave
50
+ undecided and repair pages pending. Do not open HTML or persist a parallel review
51
+ ledger. A partial review code in ordinary mode likewise leaves pending pages
52
+ unchanged; all segments of that code are still required.
@@ -10,8 +10,19 @@ Explain output shapes before SDK factory names. Offer:
10
10
 
11
11
  - an Agent knowledge-base package with `AGENTS.md`, a knowledge-query Skill,
12
12
  approved OKF roots, and adaptive indexes;
13
- - one LLM text bundle for model context or RAG import; or
14
- - no package yet, leaving approved Markdown in `knowledge/`.
13
+ - a searchable documentation website with the approved knowledge map, source cards and local-time update timestamps;
14
+ - one LLM text bundle for model context or RAG import.
15
+
16
+ These are multi-select channels, not exclusive options. For a new workspace with
17
+ no explicit preference, propose KB + website as the default in the work-start
18
+ report. Reuse that decision or session delegation at packaging; do not ask again
19
+ for each channel. Preserve an existing workspace's configured output choices.
20
+ A user can add a website later by asking to generate a documentation website.
21
+
22
+ The user may postpone packaging and keep the approved Markdown in `knowledge/`.
23
+ When a user decision is required by the current Route and no session authority exists, collect the choices together; postponing is not a
24
+ package declaration or a completed delivery. Do not write a `none` factory or
25
+ claim that `packages: []` records a finished output choice.
15
26
 
16
27
  For the Agent knowledge-base package, show a compact tree and explain that
17
28
  small directory contents are linked from the parent index while a directory
@@ -31,6 +42,8 @@ explicit omission only when the author asks for another delivery policy. Git
31
42
  raw uses an immutable derived URL or an author-provided HTTPS `urlPrefix`;
32
43
  publishing and access remain the author's responsibility.
33
44
 
34
- Do not offer a hidden `both` shortcut. If the user wants multiple outputs,
35
- declare and inspect one first, then obtain confirmation for the next. Mention
36
- `kbPackage` and `llmsPackage` only after the semantic output choice.
45
+ Map KB + website to one `kbPackage` with `site` configured, and LLM text to an
46
+ additional `llmsPackage`. There is no `both` factory. If only a website is wanted,
47
+ explain that it is built alongside the KB and only the sibling `dist/<base>-site/` directory needs
48
+ to be distributed. The Agent makes the small SDK configuration edit; users do
49
+ not need to write webpage code. Do not add a separate confirmation per output.
@@ -6,12 +6,20 @@ mediaType: text/markdown
6
6
 
7
7
  # Source-boundary dialogue
8
8
 
9
+ For the first production task in a new workspace, use the required work-start
10
+ procedure before presenting this source registration action. Read a supplied
11
+ plan as task guidance, read batch metadata titles under that procedure's limits and
12
+ 10-document failure fallback (no bodies or outlines; retain URLs when titles are unavailable),
13
+ resolve every required start condition, present the report and wait for feedback.
14
+ Do not register the plan itself or begin capture merely because it contains source
15
+ paths. Once confirmed, include the report path required by the current input schema.
16
+
9
17
  Describe the boundary in user terms before showing a registration command. For
10
18
  code, distinguish a whole repository/subspace from one concrete package or
11
19
  subdirectory. For documents, distinguish one file, a local document directory,
12
20
  a documentation site, and a remote document.
13
21
 
14
- Explain the observable impact:
22
+ For repo/file/lark registration, explain the observable impact:
15
23
 
16
24
  - the date is one capture batch;
17
25
  - every confirmed source is a module inside that batch;
@@ -23,7 +31,9 @@ Do not invent `-A`, `-B`, or sequence suffixes. If today's batch exists, append
23
31
  the newly confirmed module to it.
24
32
 
25
33
  When the current request already lists exact local modules or documents, do not
26
- repeat the source-boundary question in either ordinary or fully managed mode.
34
+ repeat those source names as a separate question in either ordinary or fully managed
35
+ mode. Their presence does not by itself settle reader purpose, output language,
36
+ delivery choices or other required work-start information.
27
37
  Resolve each named module to one unique existing local path inside the
28
38
  user-scoped root, then pass that path in the batch payload. Repository paths are
29
39
  relative to the Context project root; the CLI may mechanically read their Git
@@ -6,22 +6,20 @@ mediaType: text/markdown
6
6
 
7
7
  # Workflow mode after workspace creation
8
8
 
9
- After the workspace is created, explain the two execution modes only when the
10
- conversation has not already selected a mode and no earlier mode question was
11
- asked. If the entry plan or initialization confirmation already resolved this
12
- choice, continue without asking again.
9
+ Explain the modes only when the conversation has no explicit choice and no mode
10
+ question has already been asked. Reuse an explicit choice in a task brief the
11
+ user asked you to execute, including fully managed authorization. Do not repeat
12
+ the choice after capture or continuation, or persist session authority in files.
13
13
 
14
- - Ordinary review mode is the default. Context pauses at review decisions and
15
- provides HTML reports for the user to inspect. The current product estimate is
16
- that these review rounds make the overall workflow about 40% slower, with the
17
- exact difference depending on workspace size and user response time.
18
- - Fully managed mode skips delegatable content-review surfaces and continues
19
- with the same revision-bound resolution Actions. It is faster, but gives the
20
- user fewer opportunities to control or adjust intermediate content.
14
+ Describe both modes neutrally in the user's language:
21
15
 
22
- Make clear that fully managed mode does not bypass source boundaries, external
23
- permissions, hard validation, evidence checks, verification failures, or other
24
- non-delegatable safety boundaries. Ask whether the user wants to keep the
25
- default ordinary review mode or authorize fully managed operation for the
26
- current conversation. This is a one-time conversation choice: do not repeat it
27
- after capture or resume, and do not persist it in project files.
16
+ - Ordinary review pauses at review decisions and provides HTML reports, giving
17
+ the user opportunities to inspect content, catch deviations and adjust direction.
18
+ - Fully managed operation delegates eligible reviews to the Agent and continues
19
+ with the same revision-bound Actions, reducing manual involvement. The user
20
+ has fewer opportunities to inspect intermediate results before delivery.
21
+
22
+ Neither mode bypasses source boundaries, external permissions, evidence checks,
23
+ verification failures or non-delegatable decisions. Do not promise a percentage
24
+ speed difference. When a choice is needed, ask which mode the user prefers for
25
+ this conversation.
@@ -0,0 +1,428 @@
1
+ ---
2
+ id: context.sdk.knowledge-updates
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ ---
6
+
7
+ # Update existing knowledge
8
+
9
+ Use the same Context conversation and the current workspace. Identify whether
10
+ this is a continuation, an adjustment to the current task, a correction to one
11
+ page, or an independent task. An old Route does not incorporate a new request.
12
+ For explicit workspace preparation, Git commit or historical restoration, use
13
+ [prepare](workspace-prepare.md), [commit](workspace-commit.md) or
14
+ [restore](workspace-restore.md); these Agent-led operations do not automatically
15
+ start production. Otherwise, do not start an independent task while another remains: explain what is saved
16
+ and unfinished, and obtain the user's choice to finish or roll back the current
17
+ work. Do not delete runtime files to simulate rollback.
18
+
19
+ For an unambiguous page correction, use `context revise "<path or title>"
20
+ --instruction "<correction>" --format json`. Context supplies the existing text
21
+ and continues through Review and delivery. Expression-only changes need no
22
+ source capture or Parser. Preserve prior confirmed contributions; distinguish
23
+ actual behavior, a confirmed decision, and a proposal that is not implemented.
24
+
25
+ ## First-task intake budget
26
+
27
+ Before registration and capture, the Agent uses the user's task instructions and
28
+ reads batch metadata titles across the explicitly supplied document list. Lark
29
+ metadata requests accept at most 200 entries each, not 200 words or 200 documents
30
+ overall. H1/H2 may be reused only when metadata returns them without
31
+ body retrieval; Lark batch metadata returns titles, not headings. Batch failure
32
+ falls back to at most 10 unresolved document title lookups total, unless a shared
33
+ authentication failure makes those calls redundant. The Agent does not fetch
34
+ source bodies, outlines, images or attachments. Missing title metadata is
35
+ optional: preserve the original URL without falling back to body retrieval or
36
+ changing credentials. Resolve intent from the conversation; refine provisional
37
+ chapters and module boundaries from evidence after formal capture.
38
+
39
+ ## Workspace versions and changelog
40
+
41
+ `package.json.version` is the workspace SemVer. At completed-scope delivery the
42
+ workflow asks the Agent to inspect formal changes and record an increasing version
43
+ with a concise changelog. Added modules or expanded material coverage increment
44
+ minor; corrections, existing-module updates, navigation and persistent status
45
+ changes increment patch. Major requires an explicit user instruction. Temporary
46
+ progress under `.tmp/` never causes a version increase.
47
+
48
+ Version recording runs at completed-scope delivery after Review, Close and package
49
+ configuration/template approval, before the final build. The record response
50
+ returns the next workspace Route, so no extra status call is needed. Build retries
51
+ reuse the recorded version when formal content is unchanged. Intermediate batches
52
+ do not each receive a version.
53
+
54
+ The workspace AGENTS.md and version-writing instructions require each entry's
55
+ details to stay within 1500 visible characters, including punctuation across the
56
+ title, changes, trigger descriptions and actor display name, excluding protocol
57
+ keys, version and date. The Agent compresses longer drafts before submission,
58
+ preserving main changes, impact and triggers instead of truncating text or splitting
59
+ the iteration into extra versions. This is an Agent writing rule, not a prose-quality
60
+ CLI gate.
61
+
62
+ `context version inspect --format json` returns changed paths and a digest. The
63
+ coordinator submits `context version record --input <file> --format json` with:
64
+
65
+ ```yaml
66
+ expected_digest: "<digest returned by inspect>"
67
+ version: 0.2.0
68
+ title: Add module recovery guidance
69
+ changes:
70
+ - Document recovery conditions and the supported retry flow.
71
+ triggers:
72
+ - kind: module
73
+ description: Additional module material requested in this iteration.
74
+ actor:
75
+ kind: lark
76
+ name: Example User
77
+ ```
78
+
79
+ `actor` is optional; omit it to use local Git `user.name` when configured. Use a
80
+ Lark display name only when explicitly known from the conversation. Trigger kinds
81
+ are `initial`, `note`, `sessions`, `mr`, `module`, `document`, `navigation`,
82
+ `repair`, `dist`, and `other`. Agent-written fields describe the actual diff and
83
+ conversation; they must not expose credentials, raw transcripts or private IDs.
84
+
85
+ The CLI writes `changelog.yaml`, generated `CHANGELOG.md`, `package.json` and the
86
+ `.context-version.json` content baseline together. Keep these formal files with
87
+ the workspace; do not hand-edit generated baselines. Git-managed and unignored
88
+ new files are compared (without Git, non-runtime workspace files are compared).
89
+ Version metadata itself, `dist`, `.tmp` and dependencies do not cause changes.
90
+
91
+ Successful builds record version and per-package hashes in `.context-builds.json`.
92
+ They do not increase versions. Before publishing, `context version publish-check
93
+ --format json` compares against `.context-published.json`. A same-version changed
94
+ output requires a patch using `version inspect --publish` and a `dist` trigger,
95
+ then a rebuild. Record `version published --hash <checked-hash> --receipt
96
+ <successful-publication-reference> --format json` only after external success.
97
+ No command commits, tags or uploads automatically.
98
+
99
+ Website history is available at `changelog.html`: cards are newest first, the
100
+ latest three expanded and older cards collapsed. The History button beside the
101
+ theme switch and footer update timestamps link there. KB and LLMS outputs carry
102
+ the same workspace version and changelog.
103
+
104
+ ## Customize the knowledge map at any time
105
+
106
+ For a knowledge-map-only change, use the existing `context task adjust
107
+ --input <file|-> --format json` action with `knowledge_map`. Supply its
108
+ current `expected_revision`, explicit `upsert` entries and `remove` keys. Each
109
+ entry retains its stable key, parent, title and order; optional targets use
110
+ article identity and section key. The current structure preview supplies those
111
+ identities. Read the persistent `src/knowledge-map.yaml`; use
112
+ `expected_revision: null` only when no knowledge map exists.
113
+ After adjustment, follow status to rebuild affected packages. This changes the
114
+ reading organization without capturing sources or rewriting approved prose.
115
+ Do not directly edit generated package navigation or use titles as identities.
116
+
117
+ Users can ask in conversation to move a topic, rename a directory, change order,
118
+ or organize the same articles for another reader task. Handle this during ongoing
119
+ production or after completion through the same adjustment; no active Indexer
120
+ task, source recapture or new mode choice is required. Finish or revoke active
121
+ worker assignments before changing the map. Preserve unrelated entries and page
122
+ identities. The map controls website navigation and LLMS organization together.
123
+
124
+ For each new or changed article, the Agent decides whether to retain its current
125
+ placement, add another placement, move it, or create a warranted category. Check
126
+ these choices against the user's settled organization before structure approval
127
+ and delivery. New articles must be bound even if the map revision has not changed;
128
+ modifying a title alone is not a reason to change article identity. Never satisfy
129
+ coverage by mechanically placing every new page under an unrelated catch-all.
130
+ Build reports missing bindings for the Agent to resolve; it does not classify
131
+ content. Moving a menu entry does not change the article URL.
132
+
133
+ ## Edit one section or review part of a batch
134
+
135
+ The current approved-revision Route accepts either full `markdown` or explicit
136
+ `sections` edits. Use an existing `writing_context.current_sections` ID and an
137
+ ordered `content` list of `{ "markdown": "new text" }` and/or
138
+ `{ "program": "exact current program token" }`. Unchanged sections and the
139
+ selected section's source references remain intact. Use full Markdown when
140
+ changing structure, adding a page or when a section has no unambiguous ID.
141
+
142
+ For an optional check, append `--preview` to the current `action complete-current`
143
+ command with the same revision and input file. It validates and returns the
144
+ assembled page and previous text without accepting the edit. Submit the same
145
+ input without that flag to continue. A preview is not approval and does not make
146
+ a stale revision valid.
147
+
148
+ Review can approve checked pages while leaving repair pages pending. The HTML
149
+ review code includes pending positions; managed Review provides the same current
150
+ scope as a JSON template. Send decisions only for pages actually reviewed. Omit
151
+ means a durable exclusion, not repair. Partial approval alone does not build.
152
+
153
+ When the user requests an earlier delivery, use the Route's `context run
154
+ --deliver` request. Independently approved pages can pass close/build while
155
+ pending candidates remain for Review or repair. Links to pending or missing
156
+ pages keep their necessary scope together. Source processing baselines advance
157
+ only after the entire update finishes. Failed builds retain the selected delivery
158
+ and pending work; repair the cause and follow the current Route.
159
+
160
+ ## Acquire the selected change once
161
+
162
+ Use the host's existing Git, code-hosting or document tools and their installed
163
+ guidance. Context does not poll a platform, discover remote changes, or infer
164
+ that a merge request is merged. Reading an already selected source does not
165
+ require a new permission question when access was already authorized. Do not
166
+ change the user's checkout or fetch another repository without that scope.
167
+
168
+ For a branch or MR/PR, establish the repository, intended target branch, merge
169
+ state and actual fixed target commit. An unmerged proposal is not the current
170
+ mainline. A merge, squash or rebase can produce different commit identities;
171
+ use the target branch's actual result, not the feature branch SHA. Include
172
+ other intervening changes between the last processed version and the selected
173
+ target when they affect the registered modules. Reverts are real changes.
174
+
175
+ Use already available local Git objects to compare the selected module trees
176
+ and necessary diffs. A new repository commit with unchanged module trees can
177
+ be a no-knowledge-change conclusion. That conclusion must also account for any
178
+ new note or development context. If a baseline is unavailable after force push,
179
+ a shallow checkout or history cleanup, state that a complete old diff is
180
+ unavailable; compare current material with approved knowledge in the confirmed
181
+ scope. Do not claim no change because a Git command failed. A repeated MR may
182
+ still bring new relevant context; it does not justify moving the code baseline
183
+ backwards or summarizing unrelated commits as part of that MR.
184
+
185
+ For documents, a revision shortcut is valid only if the host actually exposes a
186
+ reliable version for the selected document and its needed images/attachments.
187
+ Otherwise read that selected document and resources. Keep the returned bytes
188
+ for the existing capture/import action; do not fetch them again as verification.
189
+ An unchanged body does not prove images are unchanged. Distinguish lack of
190
+ permission, deleted content, and moved content; a read failure is not permission
191
+ to retire a knowledge page. CLI status describes local acquisition only.
192
+
193
+ After the current source configuration and material identify the chosen fixed
194
+ versions, submit the update with `context update --input <file|-> --format json`.
195
+ Write ordinary YAML or JSON with the host's editor, without a generated wrapper
196
+ program. Input files belong under this workspace's `.tmp/`.
197
+
198
+ ```yaml
199
+ scopes:
200
+ - requirement_ref: reader-guide
201
+ source_ref: repo:20260901/library
202
+ changes: The selected change adds one public option; inspect its explanation and examples.
203
+ ```
204
+
205
+ `requirement_ref` is the existing requirement id. Omit `module_refs` for a whole
206
+ confirmed source scope. `processed_version` may be supplied to bind the exact
207
+ acquired commit or document content digest; otherwise Context captures it from
208
+ the existing local material. A supplied version must match that material.
209
+ Follow the returned Route. The candidate list is a conservative source match,
210
+ not a list of pages that must change. Read the actual change and current pages,
211
+ also checking additions that have no old page reference. The scope is complete
212
+ only after every required change is reviewed, closed and built, or after an
213
+ explicit conclusion that it needs no knowledge changes.
214
+
215
+ Before importing a `note`, read [note source preparation](note.md).
216
+ Before importing `sessions`, read [development summary preparation](sessions.md).
217
+ Choose the reference for the actual input; do not read both by default.
218
+
219
+ ## Save text without an external file
220
+
221
+ Use `context source import --input <file|-> --format json`:
222
+
223
+ ```yaml
224
+ type: note
225
+ name: 20260907/decision-context.md
226
+ markdown: |
227
+ # Decision context
228
+
229
+ The selected discussion confirmed this exception for the stated situation.
230
+ The implementation has not yet changed. Source: the discussion supplied here.
231
+ ```
232
+
233
+ The body is saved directly under `sources/note/` or `sources/sessions/`; no
234
+ external `local`, capture, registry or second copy is required. Use a readable
235
+ semantic filename under an eight-digit date directory. Do not put a date, hash
236
+ or session id into the filename again. Keep the path for retries and later
237
+ edits. To revise an existing source, read it and pass its current `base_digest`
238
+ with the replacement Markdown. Distinct same-day material needs a distinct
239
+ semantic name, never a silent overwrite. `source list`, `source get` and
240
+ `source inspect` expose the actual source paths. Removal uses the existing
241
+ preview and exact plan digest, and refuses still-referenced text.
242
+
243
+ Saving alone does not start indexing. If the user only wants the source saved,
244
+ report its path and stop. For production, reuse the existing requirement:
245
+ put independent content in `target_scope`; put supporting material in
246
+ `evidence_source_scope` and ensure the selected Indexer's existing `read_scope`
247
+ covers it. Do not create a separate Markdown production target for a supporting
248
+ explanation of a code page. In the source-update decision, include its exact
249
+ `supporting_sources` on the affected page. Include that source's scope in this
250
+ update so completion can distinguish code from newly processed context.
251
+
252
+ ## Development context accompanying a commit
253
+
254
+ Use `trace-session` only as this conditional source-preparation step. If the MR,
255
+ code and existing design already explain the relevant information, cite them.
256
+ Write a `sessions` source only when real, explicitly available development
257
+ context contains useful decisions, reasons or limits missing from those sources.
258
+ Do not fabricate discussion from a diff, search host session storage, ask for
259
+ nonessential history, or create an empty/skip report. This is only the code-related subcase. An authorized conversation summary
260
+ without an MR or commit is also `sessions`; see the sessions source guide.
261
+ Optional `changes` belongs in the source frontmatter, not knowledge headers.
262
+
263
+ Use the available merge date, or commit date for a pure commit, for the initial
264
+ directory; if unavailable or saving an unmerged discussion explicitly, use the
265
+ current collection date and explain the context. Do not query a platform just
266
+ for this date. Keep the path when later adding a reference or retrying another
267
+ day. One coherent change can share one summary; separate unrelated changes.
268
+
269
+ The shortest useful body is the real repository/MR/commit reference plus one
270
+ paragraph explaining what the code does not tell a later reader. Describe only
271
+ the actually associated commit subset. Omit a full change recap, transcript,
272
+ test log, session id and formal approval claim. Write confirmed decisions as
273
+ such, alternatives as alternatives, and unresolved proposals as unresolved.
274
+ Do not claim execution or tests that were not observed. The writing aid below
275
+ is optional; no section is mandatory:
276
+
277
+ ```markdown
278
+ # <Change topic>
279
+
280
+ <Reference the actual repository and MR or concrete commits already available.>
281
+
282
+ <Explain the useful decision, reason or constraint absent from the code/design.
283
+ State its applicability and distinguish implemented behavior from a proposal.>
284
+ ```
285
+
286
+ Late context can update a page even when the code version is already processed.
287
+ Reuse that fixed code version and current approved prose; do not restart Parser
288
+ merely because a summary arrived. Import once, then include the necessary
289
+ context with the same knowledge update. Saved context survives a failed build;
290
+ saving it does not mean its knowledge impact has been delivered.
291
+
292
+ ## Optional correction of an upstream document
293
+
294
+ Local knowledge approval and fully managed execution do not authorize a remote
295
+ write. First determine whether the knowledge misunderstood correct source text,
296
+ a confirmed decision has not reached the source, or the conclusion is still
297
+ uncertain. The first needs only a local correction; the second can use a note
298
+ locally while an upstream change is considered; uncertainty is not a fact.
299
+
300
+ Present the exact document, affected passage, proposed before/after text, reason
301
+ and affected knowledge. Reuse existing authorization for that concrete edit;
302
+ otherwise ask for it. Before writing, read the affected passage again using the
303
+ host document tool. Adapt only within the authorized scope if another person
304
+ has edited it; ask again only when the requested change materially differs.
305
+
306
+ Execute with the host tool and read back the result. If the write result is
307
+ uncertain, read back before retrying an insertion. Only the actual returned
308
+ source text and resources may refresh its snapshot. Feed them into the same
309
+ local capture/update route; a note or proposed patch is not a remote snapshot.
310
+ If the remote edit succeeded but local build failed, resume local delivery;
311
+ do not repeat the remote edit. Explain remote and local outcomes separately.
312
+ Do not automatically delete an absorbed note, post comments, notify groups or
313
+ change permissions. Permission failure can leave a concrete suggestion for
314
+ the user without blocking an independently supported local correction.
315
+
316
+ ## Import a document response already read by the host
317
+
318
+ For a registered Lark source, retain the actual full JSON response from
319
+ `lark-cli docs +fetch` and each returned continuation page. Do not reconstruct a
320
+ response from a summary. Use the same source import command:
321
+
322
+ ```yaml
323
+ type: lark
324
+ name: 20260907/guide
325
+ access_identity: user
326
+ response_files: [.tmp/guide-response.json]
327
+ media_files:
328
+ actual-image-token: .tmp/downloaded-image.png
329
+ ```
330
+
331
+ Only include real media tokens and downloaded files. Context runs the ordinary
332
+ capture normalization and resource checks on these bytes. It does not fetch the
333
+ provided document again; missing required resources follow existing capture
334
+ handling. Partial outline/section fragments cannot replace a full snapshot.
335
+ Use the identity that actually produced the response, not a credential fallback
336
+ chosen to bypass permissions. Subsequent local updates use the captured version
337
+ and the same Review/build route.
338
+
339
+ ## Adjust or roll back current work
340
+
341
+ For an explicit same-task change to native Indexer source inputs, use
342
+ `context task adjust --input <file|-> --format json` with `scopes` containing the
343
+ selected `source_ref` and optional `module_refs`, plus an `instruction` explaining
344
+ the adjustment. It invalidates those old worksets and retains independent work.
345
+ Import the fixed replacement material before following the refreshed Route.
346
+ Do not execute the old batch payload. A local page correction still uses
347
+ `revise`; it is not a reason to invalidate an entire source.
348
+
349
+ For an independent task, complete the old Route unless the user chooses a
350
+ concrete rollback. Without an identifiable baseline or attribution of changes,
351
+ ask about that gap or offer completion; never guess original bytes. Prepare
352
+ `context task rollback --input <file|-> --format json` using:
353
+
354
+ ```yaml
355
+ summary: Restore the selected page and discard unfinished follow-up drafts; keep other work.
356
+ discard_unfinished: true
357
+ files:
358
+ - path: knowledge/guides/selected-page.md
359
+ base_digest: sha256:<current-file-digest>
360
+ content: |
361
+ <exact recoverable original Markdown, not a newly generated replacement>
362
+ ```
363
+
364
+ `files` contains only the explicitly selected reversions. `content: null` removes
365
+ an explicitly selected file that this task added; `base_digest: null` is for
366
+ restoring an absent file. Include changed sources/configuration/processed scopes
367
+ when they belong to the rollback. Leave unrelated and pre-existing edits alone.
368
+ An empty list only discards unfinished work and must not be described as undoing
369
+ already delivered pages. The preview shows actual before/after contents and
370
+ draft loss. Once the user approves that exact scope, run the preview's apply
371
+ command with its plan digest. Then follow the rollback Route through close,
372
+ build and cleanup. A failed build retries delivery, not the already-applied
373
+ reversions. Begin the independent task only after cleanup succeeds.
374
+
375
+ A managed source can be explicitly renamed with `context source rename
376
+ "<note:... or sessions:...>" --name "YYYYMMDD/new-name.md" --format json` after
377
+ its active work is finished. Review the file/reference changes, then apply the
378
+ returned digest-bound command. Existing references move with it; the original
379
+ body is not copied into another source type. Follow status to refresh affected
380
+ knowledge structure and packages.
381
+
382
+ To move an approved page, use `context revise "<old path>" --move-to "<new path>"
383
+ --instruction "<requested move and content changes>" --format json`. The new
384
+ path stays in the same collection. The revision retains the page identity,
385
+ rebases outgoing links and updates incoming Markdown links at approval. A new
386
+ subject name alone only needs a title/content revision; do not create duplicate
387
+ pages. Retirement is a content decision: explain the inapplicable material and
388
+ supported replacement before changing its page and referring navigation.
389
+
390
+ ### Adjust inputs while a local update is unfinished
391
+
392
+ `context task adjust --input <file> --format json` also applies to an active
393
+ approved-page revision or source-update queue. Keep `scopes` and `instruction`
394
+ explicit. First call without `refresh`; it authorizes replacing only those
395
+ inputs and blocks page completion while acquisition is pending. Import the
396
+ selected new material, then repeat with `refresh: true` to bind the actual local
397
+ versions and obtain the new Route. Do not submit the old revision. Current
398
+ prose and queued pages remain; an affected draft returns to writing/review.
399
+ An unrelated queued page does not revoke an unchanged current page's review.
400
+ If a page has already been applied, finish its close/build before changing its
401
+ inputs. Only the final completed scope advances its processed baseline.
402
+
403
+ For several documents, `source import` also accepts a JSON/YAML array of the same
404
+ single-document inputs. Its receipt reports each zero-based input index and
405
+ success or error separately; a partial batch returns a nonzero exit code.
406
+ Keep successful sources and retry only failed entries. It does not fetch a
407
+ successful prefetched document again or roll back an unrelated saved note.
408
+
409
+ To add a new supporting source to an unfinished local revision, first save it
410
+ and include it in the current requirement's evidence scope and the selected
411
+ Indexer's read scope. Its `task adjust` scope also supplies the explicit
412
+ `requirement_ref`. This extends the current page's available sources and keeps
413
+ queued pages; it does not silently start another task or another Indexer.
414
+
415
+ ### Replacing supporting article identities
416
+
417
+ When an upstream article is split, merged or removed, start `context revise` for
418
+ its consumer and use `context task adjust --input - --format json` with
419
+ `instruction` and `knowledge_dependencies: { dependencies }`. Each dependency
420
+ uses an approved `artifact_ref`, optional `section_refs`, and `required` flag.
421
+ The current Author input returns authorized replacement facts and their evidence.
422
+ Repeat the adjustment with `knowledge_dependencies.sections`, selecting each
423
+ retained `section_key` and its full `fact_refs` and `evidence_refs` support. Then
424
+ revise the explanation and complete normal Review, close and build. An explicit
425
+ empty dependency list removes the relationship only when remaining sections have
426
+ valid direct support. Missing dependencies, changed approvals and invalid source
427
+ references cannot silently become current evidence. Writing quality remains an
428
+ Agent/Review decision; no chapter-count or wording gate is introduced.
@@ -8,7 +8,11 @@ mediaType: text/markdown
8
8
 
9
9
  Lark documents can contain evidence that is not present in the readable text
10
10
  body. Context handles these resources mechanically during `captureLark`; the
11
- Agent does not download, summarize, or reconstruct them itself.
11
+ Agent does not reconstruct resource bytes or substitute a summary for them.
12
+ When the host already fetched the document, `context source import` accepts the
13
+ actual full response files and downloaded media for the same normalization and
14
+ resource checks; it does not fetch that supplied body again. See
15
+ [importing an existing response](knowledge-updates.md#import-a-document-response-already-read-by-the-host).
12
16
 
13
17
  ## Resource policy
14
18