@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
@@ -0,0 +1,419 @@
1
+ ---
2
+ id: procedure.work-start-report
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ ---
6
+
7
+ # Write a work-start report
8
+
9
+ For the first production task in a newly initialized workspace, create
10
+ `.tmp/work-start-report.md` from the user's task instructions and a metadata title
11
+ inventory, before source registration or capture.
12
+ Use the companion `template.work-start-report` Resource from this Route. This is
13
+ an Agent-written reader document, not a CLI-generated summary, source or Indexer
14
+ Artifact. Update the same report after Provider selection and task enumeration.
15
+
16
+ ## When it helps
17
+
18
+ The first production task of every new knowledge workspace requires this report,
19
+ including a small or single-source workspace. Existing-workspace small edits and
20
+ routine upgrades normally need only a short conversational summary unless they
21
+ begin a distinct production task or the user requests a report. Do not count files
22
+ or estimate an exact page total merely to decide whether the first report applies.
23
+
24
+ ## Required start conditions
25
+
26
+ Before source registration, the report must resolve and display:
27
+
28
+ - the intended readers, purpose and concrete questions or tasks;
29
+ - code, document and other source boundaries, with an explicit `none` for a source
30
+ family that is intentionally absent;
31
+ - output language and execution mode;
32
+ - current document optimization, visual conversion and debug settings, using
33
+ existing defaults without asking when the user did not request a change;
34
+ - selected delivery outputs and the first useful delivery;
35
+ - any source version or inclusion boundary that materially changes what will be
36
+ treated as current evidence.
37
+
38
+ Reuse answers already present in the request, task brief or conversation. Use
39
+ metadata-only Host tools to collect and read titles for all explicitly supplied
40
+ documents, not just a default sample. Reuse known metadata and deduplicate supplied
41
+ URLs; do not enumerate Wiki trees or follow links to expand the authorized list.
42
+
43
+ For Lark, read the installed Lark skill and run
44
+ `lark-cli schema drive.metas.batch_query` before constructing the request. Use
45
+ `lark-cli drive metas batch_query --as user --data @<relative-payload.json> --format json`
46
+ with `request_docs: [{doc_token, doc_type}]` and `with_url: false`; preserve an
47
+ explicitly chosen identity instead of changing it. Resolve token/type from the
48
+ supplied URL path; Wiki tokens use `doc_type: wiki`, not guessed docx tokens.
49
+ Split the explicit list into requests of at most 200 entries. This is metadata
50
+ inspection, not Context source registration or formal capture.
51
+
52
+ Read all returned title entries in bounded chunks, retaining URL/token association
53
+ and per-item failures. Do not confuse a successful batch with all items succeeding.
54
+ The 200-entry limit is per API request, not a word budget or an overall document
55
+ limit. Summarize the inventory concisely in the report without claiming unread
56
+ titles were inspected.
57
+ Include H1/H2 only if the metadata tool actually returns them without retrieving
58
+ body content. The Lark batch metadata schema provides titles, not H1/H2; do not
59
+ call `docs +fetch`, download blocks, images or attachments to supplement it.
60
+
61
+ If batch metadata is unavailable, retain successes and fall back to metadata-only
62
+ title lookup for at most 10 representative unresolved documents total across the
63
+ intake, retries and resumes. Prefer different supplied groups rather than repeatedly
64
+ trying the same item. If the failure is shared authentication/keychain/permission
65
+ configuration, skip calls that would repeat it and use supplied titles/URLs instead.
66
+ Unknown titles are not blockers. Do not change credentials or identity, retry
67
+ indefinitely, or fetch bodies as a fallback. Reading an explicit task instruction
68
+ file does not authorize pre-reading its linked bodies. Formal capture owns body
69
+ retrieval and reports actual access blockers. Ask only about missing choices,
70
+ at most three questions per round. Keep unresolved findings in working notes and
71
+ continue the preliminary dialogue; do not present them as the completed work-start
72
+ report. A report with unresolved required conditions is a draft and cannot accompany
73
+ source registration. Technical stacks, module shapes
74
+ and Provider candidates should be investigated and proposed by the Agent rather
75
+ than pushed back to the user as mandatory questions.
76
+
77
+ Reuse explicit goals and settled choices; ask only about unresolved reader purpose,
78
+ material scope or core feasibility from the request and available title sample.
79
+ Use the existing discussion and approval routes, at most three questions per round.
80
+ Template headings, approximate counts and optional sections are not a questionnaire.
81
+ Source-read permission and named repositories/documents establish the material
82
+ boundary, not the reader's purpose, desired depth or treatment of older versions.
83
+ Do not turn your own proposed purpose into a confirmed user decision. Managed mode
84
+ delegates execution and eligible review, not unresolved intent. Ask concrete,
85
+ material questions and wait for answers before dependent planning; do not invent
86
+ questions when the user's request already settles them. Do not record a transcript
87
+ or repeat substantive questions already answered.
88
+
89
+ Recommend a reading organization, proposed article types and useful chapters in
90
+ the report, with reasons from the request and sampled titles. Mark initial chapter
91
+ and module suggestions as provisional; refine them from captured evidence after
92
+ capture. Missing body-level findings are not unresolved start conditions. Use the companion template's
93
+ organization options as starting points. Carry explicit feedback into formal
94
+ planning; navigation groups do not define source ownership or KB paths. Do not
95
+ turn writing suggestions or ordinary version differences into completion gates.
96
+
97
+ ## Placement in the current flow
98
+
99
+ Write and present the initial report before the source-boundary action. After the
100
+ user responds, register only the confirmed intended sources and continue through
101
+ capture and Provider selection. Save confirmed requirements through the existing
102
+ registry configuration flow. Update the same report with actual Provider choices
103
+ and likely content collections before semantic Partition. If an existing workspace
104
+ reaches Partition directly, reuse still-applicable decisions and the report, or
105
+ write one there when the current task warrants it. Do not restart capture, Provider
106
+ selection or accepted work.
107
+
108
+ Use the Host file-writing tool for this one scratch Markdown document. Keep it
109
+ outside `.tmp/context-runtime/`; do not write knowledge, candidates or runtime
110
+ state directly. This permission does not authorize other workspace writes.
111
+ Only after all required start conditions are resolved, show the first report for a
112
+ new workspace production task with its actual clickable path,
113
+ summarize the proposed scope, important choices and first delivery, and invite the
114
+ user to read and correct the plan before source registration. Pause the conversation
115
+ for that response, including in managed mode. A generic managed authorization does
116
+ not waive this reading opportunity. Silence or elapsed time is not feedback. Reuse
117
+ an earlier response on continuation; do not repeat this pause per batch or for an
118
+ unchanged report.
119
+ After feedback, update affected decisions and continue the same Route. The
120
+ source-boundary Gate remains the confirmation authority; the report is not a
121
+ second semantic approval. Its reference is included in the source batch payload so
122
+ the CLI can prevent report-free first registration and record the exact report
123
+ digest. Its existence never resolves a purpose or authority question.
124
+ If writing fails, describe the problem and give the summary in conversation;
125
+ provide the same reading opportunity in conversation; do not change workflow
126
+ state or manufacture a receipt to compensate.
127
+
128
+ ## Keep it tied to the actual task
129
+
130
+ At the end, in one reference line, link the existing requirement or its workspace file and existing
131
+ requirement ID/name. When only a workspace reference exists, use it with the
132
+ stated purpose and scope; do not invent another ID. Resolve local links relative
133
+ to the report's location, not the installed template. Later Agents follow that
134
+ reference to check the current requirement, approval authority and actual settings.
135
+
136
+ Open with the reader's task and first useful pages, not requirement IDs or settings.
137
+ Use the user's language without announcing it; mention language only if a distinct
138
+ delivery-language requirement matters. After the opening, briefly explain the
139
+ practical consequences of the agreed execution mode and observed debug setting.
140
+ For example, managed execution means you review and deliver eligible batches
141
+ without asking the user to approve each one; the first-report reading invitation,
142
+ unresolved intent and non-delegable approvals still apply. Enabled debug records
143
+ diagnostic details to help investigate problems, not a promise of permanent logs.
144
+ Managed mode requires existing explicit authorization; the report cannot grant it.
145
+ Read debug status with `context debug status --format json` when needed; do not
146
+ enable it just because this is a test. If the workspace is not initialized yet,
147
+ say the setting has not been checked and check it later. These are observations,
148
+ not three new questions. Do not copy secrets or a whole configuration file.
149
+
150
+ Update the same report when purpose, scope, key choices or relevant settings
151
+ materially change. After each material update, show the clickable report again
152
+ and summarize what changed, why, and its effect on content and delivery. Updating
153
+ the file silently is not a user reading opportunity. Reuse it on retries and
154
+ continuation; do not write or reshow it per batch, Author or source.
155
+
156
+ When planning tasks are first enumerated, or a changed scope produces a different
157
+ task inventory, update and show the report with the actual total and a module
158
+ breakdown before bulk semantic planning continues. This also applies on recovery
159
+ when the earlier report has no current breakdown. Use the current task metadata,
160
+ registered source map and authorized inventory navigation; no full source reading
161
+ or execution of planning tasks is needed just to describe their inputs. Reuse a
162
+ previously shown breakdown if its scope and inventory remain applicable.
163
+
164
+ Give the total, each relevant source/Indexer group, and a table of module,
165
+ planning-task count and covered material. For large groups, show the main modules
166
+ and an explicitly counted remainder, with the full module list in the same report.
167
+ Use registered document titles for document tasks. Explain whether module labels
168
+ are declared bindings or grouping by directory anchors; a shard may include
169
+ supporting files elsewhere. Do not turn directory names into verified business
170
+ behavior, count the same task twice, or imply tasks equal final pages. If available
171
+ metadata does not support module counts, state the missing breakdown and its
172
+ reason rather than inventing counts or probing arbitrary runtime files.
173
+
174
+ When the enumerated planning total exceeds 50 tasks, show the module/content
175
+ breakdown and pause for user confirmation before continuing semantic planning.
176
+ This is a second reading opportunity if the initial report preceded enumeration;
177
+ generic managed authorization does not waive it. An explicit instruction to
178
+ continue without waiting for this report feedback does. Exactly 50 tasks does
179
+ not trigger this additional threshold. If the count grows from 50 or fewer to
180
+ more than 50, apply it when that total becomes known.
181
+
182
+ This threshold confirmation occurs at most once for the same continuing production
183
+ task. Once the user has seen and confirmed a breakdown above 50, later inventory
184
+ recalculation or revision does not trigger another threshold pause, regardless of
185
+ how the above-threshold total changes. Show the updated report, then continue.
186
+ The confirmation remains applicable across acceptance progress,
187
+ delivery waves, retries, recovery and scope refinements within that production
188
+ task. A wholly new user objective or independently started production task gets
189
+ its own first threshold opportunity. Material changes still require the report
190
+ to be updated and shown as described above; pause again only when the change
191
+ introduces an unresolved user choice, not merely because the count remains above
192
+ 50. Do not implement the one-time opportunity as a CLI receipt or runtime marker.
193
+
194
+ Other report updates do not by themselves require another approval. For 50 or
195
+ fewer tasks in unchanged authorized scope, a newly known count is informational.
196
+ Wait for unresolved material choices or an explicit user request to check counts.
197
+ The first-report feedback rule above still applies if this is the first report.
198
+ Current requirements, Route and approvals remain the execution authority;
199
+ report text is background, not source evidence for claims.
200
+
201
+ ## Write for a person
202
+
203
+ Write the report, including headings and collection names, in the user's language.
204
+ Use the template as an outline with guidance, not text to copy into the output.
205
+ Aim for a short connected report, usually one or two pages, without cutting useful
206
+ decisions to meet a length target. Open with the real reader situation and the
207
+ first useful deliverable. Name the point at which it becomes readable; give a time
208
+ estimate only with a basis and conditions, not an invented deadline.
209
+
210
+ This fictional opening illustrates connected prose, not a reusable audience,
211
+ scenario, content plan or sentence pattern:
212
+
213
+ > People joining the project need instructions they can follow through their first
214
+ > task, with somewhere to turn when a step goes wrong. The first delivery brings
215
+ > that path and its essential reference pages together. Once reviewed and built,
216
+ > it can be used while the remaining topics are still being prepared.
217
+
218
+ Synthesize findings across sources in paragraphs, linking supporting material
219
+ where useful. Do not turn every inspected file into a row. Distinguish the user's
220
+ choices, still-valid prior decisions and your arrangements within that scope.
221
+ When missing core evidence led to a decision to deliver a known boundary or seek
222
+ additional sources, explain that decision and its authorization boundary in scope;
223
+ only the remaining local gap belongs at the end. Do not call omitted core work done.
224
+
225
+ In the scope discussion, explain which named regions warrant knowledge pages,
226
+ which only support those pages, and which are outside this task, with reasons
227
+ from representative reading. Include meaningful version or lifecycle findings,
228
+ not a mandatory deprecation section. State any relevant boundary not yet checked
229
+ and the concrete next inspection; do not imply unchecked content is unnecessary.
230
+ When excess scope is a real concern, explain its practical cost briefly: reading
231
+ and generating unneeded content uses tokens, slows delivery and can make useful
232
+ answers harder to find among duplicate or conflicting pages. Do not attach this
233
+ warning to every report or invent a cost percentage. Separate recommendations
234
+ from settled decisions; the report never authorizes exclusions or source deletion.
235
+ Resolve substantive scope questions before dependent work using the existing
236
+ conversation, not a new score or approval state. For large groups with evidenced
237
+ homogeneous content, follow [the shared scope review](homogeneous-source-review.md)
238
+ before parser preparation, including the concentrated treatment choices and
239
+ reuse of already confirmed decisions.
240
+
241
+ Use tables for content groups, Indexer choices and remaining gaps when useful.
242
+ Keep the requested Indexer comparison near the end, before remaining gaps. One
243
+ content group or a simple gap may be prose; omit empty tables. Do not
244
+ leave placeholders or template instructions. Mention only one to three actual
245
+ pitfalls for this task, not a generic risk register, compliance checklist, scoring
246
+ rubric or repeated acceptance Gate. Avoid repetitive labels, ceremonial readiness
247
+ claims and unsupported promises of completeness or efficiency.
248
+
249
+ ## Explain the Indexer choices near the end
250
+
251
+ Explain "Indexer" once as a skill for turning source material into useful
252
+ knowledge, then use readable skill names. Build the table from the current Action's
253
+ CLI-bundled catalog and relevant Indexer Skills already visible to the Host, not
254
+ from a hard-coded community/company list or a scan of every installed skill.
255
+ List each currently discovered candidate, including those not selected. State the
256
+ observed catalog's scope; do not imply it includes undiscovered providers. Use
257
+ compact capabilities for unselected candidates; do not open all their guides just
258
+ to populate the report. If discovery is not yet available, say so and update this
259
+ section during the existing Provider selection step.
260
+
261
+ When a module shows a relevant technology signal, load that candidate's Skill
262
+ and applicable selection reference; this is needed to decide applicability, not
263
+ merely to populate the table. Explain choices per module or group of modules with
264
+ the same supported stack. A mixed repository is not a reason to skip a relevant
265
+ Provider. Until verified, describe it as proposed for the indicated modules,
266
+ pending configuration/entry inspection, with that inspection as the next action.
267
+ Do not imply it is already enabled or postpone it indefinitely until a later
268
+ capability gap. Follow the Provider selection guide for the actual bindings.
269
+
270
+ For each row, explain its function, this work's choice, affected named modules or
271
+ texts, expected knowledge coverage and the reason. Ground the estimate in the
272
+ purpose, source overview and representative reading. An optional skill might add
273
+ context to another skill's output without owning another set of pages; explain
274
+ that relationship rather than predicting duplicate articles. Non-selection must
275
+ say what is unnecessary, already covered, outside scope or unavailable, and whether
276
+ it leaves a meaningful gap. Do not invent reasons, unsupported capabilities or
277
+ numerical estimates. Missing required coverage follows the existing resolution
278
+ flow, not a casual "not selected" row.
279
+
280
+ Before the selection is applied, label it as proposed. Read current configuration
281
+ and any resolution status before saying a skill is enabled or usable; a catalog
282
+ entry alone does not prove either. Update the same report when selection settles
283
+ or changes materially, preserving prior discussion instead of asking per row.
284
+ Explain expected changes to knowledge coverage, not modifications to source code
285
+ or documents and not work already completed. This table is an explanation of the
286
+ existing selection, never an installation request, a new Result field or authority
287
+ to bypass Provider selection. Follow the first-report reading handoff above.
288
+
289
+ ## Use reader language, not internal workflow vocabulary
290
+
291
+ Translate internal terms into what actually happened or what the reader can use.
292
+ These are writing examples, not a runtime word blacklist; retain a technical term
293
+ when it is part of the reader's subject rather than Context's machinery.
294
+
295
+ | Internal wording | Reader-facing meaning |
296
+ | --- | --- |
297
+ | body projection | downloaded document text |
298
+ | inline evidence / evidence chain | material actually read / source references |
299
+ | contract / contract table | API definitions / parameter and type table |
300
+ | resources | the actual images or attachments |
301
+ | semantic planning / Partition / grouping | the concrete next work, such as identifying topics to write about |
302
+ | readable delivery batch | pages delivered in batches that can each be opened and read |
303
+ | registered sources | the named materials included in this work |
304
+ | collection / document kind | the page form the reader will see |
305
+ | traceable navigation | links retained without reading their targets |
306
+ | pinned commit | the code version selected for this work |
307
+
308
+ One piece of information gets one column. Describe scenarios and reader tasks
309
+ alongside page forms; fold supported content categories into those forms rather
310
+ than duplicating them in a classification column. Do not invent unsupported page
311
+ types or make the user select internal template IDs.
312
+
313
+ Where scale is discussed, give a number, a range, or a specific explanation of what
314
+ must be done before estimating. For example, identifying the public entries still
315
+ to cover is concrete; "determined after semantic planning" says nothing useful.
316
+ Use observations already available, state the currently known scope, and name a
317
+ real opportunity to refine the estimate. Do not pretend a count happened or add
318
+ an exhaustive scan solely for the report. Planning estimates are not page quotas.
319
+
320
+ Each pitfall should identify concrete objects and the consequence of confusing
321
+ them, not just say "do not conflate". Prefer active verbs and plain sentences;
322
+ when several abstract nouns stack up, rewrite around who does what. Read the draft
323
+ once for jargon, duplicate columns and evasive scale descriptions. This is an
324
+ editorial pass, not a score, automated term counter or another approval Gate.
325
+
326
+ Simplifying language must preserve meaning. A code declaration is not proof of
327
+ runtime behavior; a FAQ may describe conventions or conditions absent from code.
328
+ Explain meaningful conflicts instead of declaring one source universally supreme.
329
+ Do not rewrite "not yet checked" as "unknown" or a tentative finding as verified.
330
+ Adapt the report to the actual sources and purpose; keep business examples out of
331
+ the reusable template, and do not copy this guidance into the finished report.
332
+
333
+ The scratch path is outside current runtime cleanup targets, but `.tmp` is not
334
+ permanent storage. Respect workspace ignore rules; do not publish or commit it.
335
+
336
+ For Note/Sessions input, report the actual reader outcome (an existing-page
337
+ correction, an independent FAQ/guide/decision, or saving only). Describe a chosen
338
+ business replacement and why the default is not selected. Do not infer enabled
339
+ skills from the shipped catalog. When combining Providers, explain which one
340
+ writes the page and which supplies context; avoid exposing layer/profile jargon
341
+ in the report. A session may have no code association.
342
+
343
+ ## Progress in reports and conversation
344
+
345
+ Use CLI `progress.scopes` (or `indexerProgress.scopes` in status) as the
346
+ single source for progress in conversation and reports. It separates:
347
+ - `overall`: delivered pages and cumulative planning for the current Indexer run;
348
+ - `wave`: writing tasks, observed pages and composition for the current wave;
349
+ - `slice`: tasks in the currently active Route slice.
350
+
351
+ Planning completed counts currently valid accepted tasks, not lifetime effort.
352
+ When overall.planning.needs_recheck is nonzero, report “规划当前有效 X/Y 项;Z 项因任务绑定变化待复核”.
353
+ Do not describe a lower valid count as lost pages or silently restarting from zero.
354
+ The CLI reason identifies binding changes, not proof that source code changed;
355
+ do not invent a more specific cause.
356
+
357
+ Keep these scopes separate. A wave or pause target never replaces the overall
358
+ scope. Preserve overall planning across Author, Composer and Review transitions.
359
+ Use each counter's `unit`: task means 项/任务, page means 页. A writing task is
360
+ not automatically one page. A null total means 总数待确定, not zero or the
361
+ number of currently prepared tasks. Revisions can overlap delivered pages;
362
+ do not add wave tasks to delivered pages to invent a page total.
363
+
364
+ Use two bold progress lines. The first combines `overall` and a clearly labelled
365
+ `wave` supplement; the second describes the current action, using `slice` counts
366
+ when available. Internal wave/slice names need not appear in user-facing text. For example, with matching CLI values:
367
+ **[总体进展:已交付 33 页,总页数待确定;规划完成 50/122 项;本轮写作完成 30/30 项]**
368
+ **[当前进展:补充内容检查 0/8 项]**
369
+
370
+ A completion receipt's `submitted_slice` describes the slice just submitted;
371
+ `progress.scopes.slice` can already describe the next Route. Use the former when
372
+ reporting submission success and the latter when announcing the next slice.
373
+ Never combine their numerators and denominators. A null slice means no active
374
+ Agent task slice, not that the workflow is complete. During Review/build, state
375
+ the returned Route action briefly rather than inventing a slice ratio.
376
+ Before counters exist or after task cleanup, describe the known stage and current
377
+ action instead of repeatedly saying counters are unavailable. For example:
378
+ **[总体进展:正在准备知识工作区]**
379
+ **[当前进展:已读取启动清单,正在整理仓库与文档范围]**
380
+ During review or packaging, name that action rather than a nonexistent slice.
381
+ Do not turn the last wave into the overall scope or report delivery as zero.
382
+ Continue authorized work after an update; only the agreed delivery stop or an
383
+ actual unresolved blocker permits stopping. This format governs progress, not
384
+ answers, review findings or necessary questions.
385
+
386
+ Include the template's multi-select delivery-output section: new-workspace default
387
+ KB + website, optional LLMS, explicit user choices and existing configuration take
388
+ precedence. Carry the settled choice into package configuration using current Route
389
+ resources; the report itself does not mutate SDK configuration. Website delivery
390
+ reuses the proposed reading organization and does not imply hosting or publication.
391
+
392
+ ## Show the proposed website in the report
393
+
394
+ When website output is selected or proposed, follow the reading-organization
395
+ explanation with a compact text wireframe in this same report. Use the actual
396
+ proposed site title, top-level menu, one sidebar subtree, representative article
397
+ headings and its on-page outline. Label it as a layout proposal, not a built
398
+ website or delivered content. Use the current site theme as the baseline; do not
399
+ invent interactive features. No temporary website build or placeholder knowledge
400
+ pages are needed for this report.
401
+
402
+ The first report handoff includes this sketch. When the menu, article grouping,
403
+ chapter arrangement or layout materially changes, update the same report and
404
+ sketch, send its clickable path again, and briefly explain what changed and why.
405
+ Do not silently update the file. Routine updates within the agreed scope do not
406
+ repeat the first-report wait; unresolved scope or user decisions follow the
407
+ existing authority rules. Do not send unchanged reports again on each batch.
408
+
409
+ `src/knowledge-map.yaml` is the lasting reading organization, written through existing
410
+ structure actions and retained after production. The report is explanatory and
411
+ is not parsed into that configuration. Reuse runtime article planning; do not
412
+ create `src/article-plan.yaml` or another persistent plan for a website preview.
413
+ Normal website builds continue to use approved articles and the accepted menu.
414
+
415
+ For questions about what the planning total contains, use the CLI's
416
+ `progress.indexer.planning_summary.by_indexer` totals and its `groups` breakdown
417
+ by registered source and declared module. These are planning tasks, not page
418
+ estimates. A null module means no explicit module binding; do not invent a
419
+ frontend/backend split or substitute a delivery wave for the overall total.
@@ -0,0 +1,51 @@
1
+ ---
2
+ id: procedure.workspace-commit
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ ---
6
+
7
+ # Commit workspace results
8
+
9
+ Use Host Git tools, not an invented Context commit command. Commit only when
10
+ the user requests it; fully managed production does not itself authorize Git
11
+ commits or pushes. At the end of the entire requested production scope, after
12
+ close and all requested builds with no pending tasks, a single optional commit
13
+ suggestion is enough. Intermediate delivery is not that endpoint.
14
+
15
+ ## Select the files
16
+
17
+ Locate the Context workspace and its actual Git root. Inspect status, staged
18
+ changes, unstaged changes, untracked files and ignore rules. In an embedded
19
+ workspace the Git root may be a much larger source repository. Explicitly select
20
+ workspace files; never run blanket `git add -A` or commit the entire staged index.
21
+ Check source records for required recovery information; a commit does not bundle
22
+ ignored checkouts or runtime progress. Do not force-add ignored files or assume
23
+ `dist` belongs in Git. Generated files are included only if the project's rules
24
+ and selected scope require them.
25
+
26
+ If there is no Git repository, establish the intended repository location before
27
+ initializing one. If nothing changed, report that no commit is necessary. If the
28
+ user asks for an intermediate snapshot, explain which saved files it contains
29
+ and that it cannot resume ignored Author state from Git alone.
30
+
31
+ ## Commit the selected change
32
+
33
+ Summarize the actual change and choose a message consistent with repository rules.
34
+ Use precise paths and Git's scoped commit facilities or a carefully isolated
35
+ index. `git commit --only -- <paths>` can exclude unrelated staged files; new files
36
+ must first be known to the index. Inspect overlapping partially staged files
37
+ before selecting this approach: do not silently include changes the user did
38
+ not select. Preserve unrelated staged entries, including staged deletions.
39
+
40
+ Git identity, hooks, signing, conflicts and permissions are environmental
41
+ issues for the Agent to diagnose. Do not disable hooks or signing, rewrite global
42
+ Git configuration, stash other work or bypass ignore rules to force success.
43
+ Use an available authorized alternative or report the specific blocker.
44
+
45
+ ## Verify the result
46
+
47
+ Read the actual commit SHA and its changed files/diff; compare against the
48
+ selected scope. Verify unrelated worktree and index content remain unchanged.
49
+ If a hook changed the result, inspect and report it before claiming completion.
50
+ Report the SHA and a brief description. Do not push, publish or create a remote
51
+ repository without the corresponding explicit request.
@@ -0,0 +1,78 @@
1
+ ---
2
+ id: procedure.workspace-prepare
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ ---
6
+
7
+ # Prepare a workspace for the next task
8
+
9
+ Use only for an explicit workspace preparation request. The goal is usable
10
+ registered sources and no unfinished task, while retaining approved knowledge
11
+ and configuration. Lead with Host tools and actual observations; do not start
12
+ indexing merely because a status response offers production work.
13
+
14
+ ## Establish the scope
15
+
16
+ Use `context entry` to locate the workspace. Inspect current work, active
17
+ processes, Git changes and source registrations. Explain which unfinished
18
+ drafts and queued maintenance will be discarded. Reuse the user's explicit
19
+ authorization; ask only about an unresolved loss, version or access boundary.
20
+ Wait for an active writer to finish and obtain its receipt before changing state.
21
+ If status is broken, inspect its diagnostic and files with Host tools rather
22
+ than treating failure as proof that the workspace is empty.
23
+
24
+ ## End the old task
25
+
26
+ Run `context task prepare --format json`. It previews the exact Context-owned
27
+ task files, including production, Review and maintenance state. It preserves
28
+ approved pages, source records and snapshots, project configuration, repository
29
+ checkouts, other `.tmp` files and existing outputs. It does not claim the output
30
+ or sources are current.
31
+
32
+ Once discarding the shown scope is authorized, execute the returned apply
33
+ command with its plan digest. If the preview changes, inspect the new differences.
34
+ On interruption, rerun the preview and use its resume command; never clear a
35
+ transaction journal or repeat old Author submissions. Other incomplete writes
36
+ must be recovered before cleanup. The completion clears task state only; check
37
+ sources next. Do not manually delete the runtime directory to emulate this action.
38
+
39
+ Other caches are optional cleanup, not a requirement to empty `.tmp`. Inspect
40
+ their ownership and recoverability before deleting them with Host tools. Keep
41
+ reports, unique material, unknown files and modified checkouts unless their
42
+ specific loss is authorized. Do not delete locks, transaction records or active
43
+ tool directories. Empty task directories can remain.
44
+
45
+ ## Restore usable sources
46
+
47
+ For repositories, run `context source recovery-plan --format json` and read
48
+ the installed repository recovery procedure and schema supplied by entry's
49
+ workflow bundle: `repository-source-recovery.md` beside this guide and
50
+ `../../schemas/repository-source-recovery.schema.json`. Reuse a matching local
51
+ checkout or, when authorized, clone into a bounded location using
52
+ `context source restore --input <workspace-input-file> --format json`.
53
+ Group modules sharing a remote and fixed commit; do not clone per module.
54
+ Check registered commit and module paths. Never reset a supplied dirty checkout.
55
+ Authentication or checkout problems can be diagnosed with Host Git tools;
56
+ refresh the recovery plan after fixing them. Do not substitute a newer commit.
57
+
58
+ For Lark, inspect the stored body and required attachments against the source
59
+ records. Use the Host's document tools and the [existing capture guide](knowledge-updates.md)
60
+ to repair missing material, retaining the registered identity. A current remote
61
+ response is not proof of an older snapshot: if it differs, explain that source
62
+ updating is needed and resolve that choice before claiming recovery. If an old
63
+ snapshot is unavailable, report the exact limitation. Do not automatically
64
+ follow every document link or reread already complete materials.
65
+
66
+ For note, sessions and local files, preserve formal source content and verify
67
+ that declared paths can be read. Do not reconstruct lost original sources from
68
+ generated knowledge or scan arbitrary local directories.
69
+
70
+ ## Finish
71
+
72
+ Verify that no task files remain in the preparation preview, no writer remains,
73
+ the required configuration can load, and selected sources resolve to their
74
+ registered versions and paths. CLI inspection or direct Host checks are both
75
+ valid; a failed check is not ready. Report outstanding blockers and their next
76
+ action. Stop when ready for the next user request, without running Author or
77
+ recapturing everything. Historical restoration may additionally require a
78
+ close/build; see [restore a version](workspace-restore.md).
@@ -0,0 +1,65 @@
1
+ ---
2
+ id: procedure.workspace-restore
3
+ kind: procedure
4
+ mediaType: text/markdown
5
+ ---
6
+
7
+ # Restore a historical workspace version
8
+
9
+ Use the Agent's Git and environment tools. This restores selected workspace
10
+ files and usable sources; it does not reset the entire repository, rewind source
11
+ repositories, or restore ignored runtime progress.
12
+
13
+ ## Resolve the target
14
+
15
+ Locate the workspace and Git root, then inspect history for that workspace path.
16
+ With no explicit target, select the most recent commit saving its state to undo
17
+ uncommitted results. “Previous version” instead selects the preceding relevant
18
+ saved state, not mechanically `HEAD~1` of a large repository. Validate an explicit
19
+ SHA. For dates, use the user's timezone and actual meaning (for example, as of
20
+ end of that day), inspect candidate history and resolve ambiguity with the user.
21
+ Git history can be nonlinear; do not choose an unrelated branch by timestamp.
22
+ The final target is a concrete SHA and path scope, never a date string alone.
23
+
24
+ Compare target files with current tracked, untracked and staged files. Include
25
+ current additions absent at the target in the proposed removal scope. Keep
26
+ unrelated files, existing staged work and ignored source checkouts. Account for
27
+ workspace moves or renames instead of treating a missing old path as an empty
28
+ version. Reuse explicit authorization; ask when the target or loss is unresolved.
29
+
30
+ ## Restore files and environment
31
+
32
+ Wait for active Context writers and obtain their result. Use the task-state
33
+ preview/apply from [workspace preparation](workspace-prepare.md) to abandon the
34
+ authorized old work before restoring files; it also clears pending maintenance.
35
+ Do not use an old Route after restoration.
36
+
37
+ Use Git to restore only the agreed paths from the selected SHA. A scoped
38
+ `git restore --source=<sha> --worktree -- <paths>` preserves branch history;
39
+ decide separately how authorized overlapping staged changes should be handled.
40
+ Use explicit deletion for agreed additions absent at the target. Never use a
41
+ whole-repository `reset --hard` or `clean -fdx` as a workspace shortcut.
42
+
43
+ Use the restored source records with the preparation guide to restore pinned
44
+ repository versions, module paths, document snapshots and attachments. New remote
45
+ content cannot stand in for lost old snapshots. Do not reclone usable sources.
46
+ On interruption, inspect the actual file diff and remaining source gaps and
47
+ continue those operations; do not assume the previous Git command completed or
48
+ replay old task submissions.
49
+
50
+ Old build output does not describe the restored version. If output is requested,
51
+ follow the current close/build or approved-output rebuild capability from the
52
+ [knowledge update guide](knowledge-updates.md); do not start full indexing merely
53
+ because the restored source configuration is available. Until rebuilt, state
54
+ that existing output is stale. If the historical schema is incompatible, diagnose
55
+ the available migration or tool-version choice, report necessary adaptations,
56
+ and do not pretend incompatible content is current or silently rewrite all pages.
57
+
58
+ ## Verify and stop
59
+
60
+ Compare the selected files with the target commit, identify any agreed adaptations,
61
+ verify unrelated changes/index entries survived, and check source readiness and
62
+ absence of old task state. When building was requested, check the new output as
63
+ well. If only some sources could be restored, report partial completion with the
64
+ specific missing access or version. No automatic commit, branch rewrite or push;
65
+ the user may separately [commit the restored results](workspace-commit.md).