@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,7 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `decision-record-c06-page` | 补充说明与决策 |
@@ -0,0 +1,14 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `domain-reference-c01-page` | 模块/知识入口 |
8
+ | `domain-reference-c02-page` | 业务概览 |
9
+ | `domain-reference-c03-page` | 术语与标识 |
10
+ | `domain-reference-d01-page` | 领域架构与服务地图 |
11
+ | `domain-reference-d02-page` | 业务流程与跨层链路 |
12
+ | `domain-reference-d03-page` | 业务规则 |
13
+ | `domain-reference-q01-page` | 测试域概览 |
14
+ | `domain-reference-s04-page` | 领域模型 |
@@ -0,0 +1,8 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `faq-support-c05-page` | 已知问题与排障 |
8
+ | `faq-support-q07-page` | 缺陷模式与复盘 |
@@ -0,0 +1,9 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `incident-review-c05-page` | 已知问题与排障 |
8
+ | `incident-review-c06-page` | 补充说明与决策 |
9
+ | `incident-review-q07-page` | 缺陷模式与复盘 |
@@ -0,0 +1,8 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `product-requirements-c02-page` | 业务概览 |
8
+ | `product-requirements-c03-page` | 术语与标识 |
@@ -0,0 +1,12 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `runbook-c05-page` | 已知问题与排障 |
8
+ | `runbook-d04-page` | 运维与排障入口 |
9
+ | `runbook-f09-page` | 构建与部署 |
10
+ | `runbook-q05-page` | 测试数据与环境 |
11
+ | `runbook-q06-page` | 工具与排障工具箱 |
12
+ | `runbook-s07-page` | 事件、任务与对账 |
@@ -0,0 +1,20 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `technical-guide-c01-page` | 模块/知识入口 |
8
+ | `technical-guide-c04-page` | 依赖与协作边界 |
9
+ | `technical-guide-c07-page` | 从知识继续查源码 |
10
+ | `technical-guide-d01-page` | 领域架构与服务地图 |
11
+ | `technical-guide-d02-page` | 业务流程与跨层链路 |
12
+ | `technical-guide-d04-page` | 运维与排障入口 |
13
+ | `technical-guide-f01-page` | 架构 |
14
+ | `technical-guide-f06-page` | 类型模型 |
15
+ | `technical-guide-f08-page` | 样式与设计系统 |
16
+ | `technical-guide-l03-page` | 设计系统及基础规范 |
17
+ | `technical-guide-l04-page` | 中间件、适配与运行模式 |
18
+ | `technical-guide-s01-page` | 服务概览 |
19
+ | `technical-guide-s05-page` | 数据模型 |
20
+ | `technical-guide-s06-page` | 外部依赖 |
@@ -0,0 +1,11 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `test-validation-q01-page` | 测试域概览 |
8
+ | `test-validation-q02-page` | 测试策略 |
9
+ | `test-validation-q03-page` | 用例目录 |
10
+ | `test-validation-q04-page` | 回归基线 |
11
+ | `test-validation-q05-page` | 测试数据与环境 |
@@ -0,0 +1,13 @@
1
+ # Article choices
2
+
3
+ Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
4
+
5
+ | Template | Reader article |
6
+ | --- | --- |
7
+ | `user-and-developer-guide-c02-page` | 业务概览 |
8
+ | `user-and-developer-guide-f09-page` | 构建与部署 |
9
+ | `user-and-developer-guide-l01-page` | 公共能力与使用指南 |
10
+ | `user-and-developer-guide-l02-page` | 公共组件与组件家族 |
11
+ | `user-and-developer-guide-l03-page` | 设计系统及基础规范 |
12
+ | `user-and-developer-guide-l05-page` | 组件库总览与接入 |
13
+ | `user-and-developer-guide-q06-page` | 工具与排障工具箱 |
@@ -0,0 +1,56 @@
1
+ # Choose the reader outcome
2
+
3
+ Classify useful passages, not the entire file. Source type, reader-facing form
4
+ and operation are independent choices. One source can correct an existing FAQ,
5
+ add a decision explanation and contain irrelevant conversation at the same time.
6
+ Explain classifications in the user's language in the work-start report; the
7
+ profile IDs below are protocol identifiers, not headings for the reader.
8
+
9
+ | Material and reader need | Suitable profile | Action |
10
+ | --- | --- | --- |
11
+ | A concrete question with a supported answer | faq-support | Update the matching answer; create only if the question is distinct |
12
+ | A repeatable task with prerequisites and checks | technical-guide / user-and-developer-guide | Integrate steps into the existing guide or propose a missing task |
13
+ | Operational diagnosis and recovery | runbook | Preserve symptoms, checks, safe actions and verification |
14
+ | Confirmed choice with rationale and limits | decision-record | Explain the choice, applicability and meaningful alternatives |
15
+ | Agreed intended behavior and acceptance conditions | product-requirements | Keep intended behavior distinct from current implementation |
16
+ | A reusable term, relationship or domain rule | domain-reference | Define it with scope and useful examples |
17
+ | An incident account supported by observations | incident-review | Separate observations, causes and unverified hypotheses |
18
+ | A test method or reported validation result | test-validation | Retain method, scope and what the result actually demonstrates |
19
+ | Repetition, superseded claims, unresolved speculation without reader value | No new target | Support, defer or exclude with a concrete reason |
20
+ | A required reader outcome needs a capability this Provider does not supply | `unsupported` for the affected material | Name the actual missing capability using the current Route; report its scope and recovery |
21
+
22
+ “FAQ”, “knowledge improvement” and “knowledge accumulation” are not three source
23
+ storage types. FAQ is a reader form; improvement usually revises approved prose;
24
+ accumulation may add a topic or enrich an existing one. Decide from the actual
25
+ reader question and existing coverage. Never route every note/session into FAQ.
26
+
27
+ Choose the closest applicable declared profile by reader task, then adapt its
28
+ outline to the useful content. Headings, grouping and examples are writing
29
+ choices, not new capabilities. An existing project template override takes
30
+ precedence; use supported customization when a reusable local template is
31
+ needed, not as a prerequisite for ordinary writing. Do not invent profile IDs
32
+ or claim unsupported tools, source access or output contracts.
33
+
34
+ Reserve `unsupported` for a real capability gap that prevents the requested
35
+ outcome within the authorized scope, not a mismatch with a stock outline. Name
36
+ the missing capability in the current Route payload and explain which work is
37
+ affected; follow its recovery instead of imposing an extra approval or stopping
38
+ unrelated work yourself. Missing metadata or an unresolved claim can usually be
39
+ bounded in useful prose. Request material only when the missing evidence is
40
+ necessary to answer the reader's question; exclude material with no reader value.
41
+
42
+ Reach for it rarely. The forms above are broad, and an awkward fit is not an
43
+ absent one — a benchmark someone reported is test-validation, a complaint thread
44
+ that reached a supported answer is faq-support, a walkthrough given in the
45
+ discussion is a guide. What decides is the reader question, not how the
46
+ conversation happened to unfold. A rambling thread, an unsettled status and an
47
+ unfamiliar topic are none of them capability gaps; the first two are ordinary
48
+ authoring work and the third is usually one of these forms under a name you have
49
+ not seen before.
50
+
51
+ Keep one subject identity for the same reader topic across updates. Two topics
52
+ with the same title are not necessarily the same page; compare audience, scope
53
+ and task. Do not merge different versions or platforms just to reduce page count.
54
+ Conversely, do not split a coherent answer into thin pages because the source
55
+ has many headings. Close the actual current inventory using the Route schema,
56
+ including explicit dispositions for excluded material.
@@ -0,0 +1,36 @@
1
+ # Business replacement and customization
2
+
3
+ Enable the chosen skill through the host's ordinary skill switch. Install it
4
+ through your organization's own channel; Context has no additional business
5
+ skill installation or enabled registry. The Agent discovers currently visible
6
+ `context-…-indexer…` skills, then reads their real SKILL.md and sibling
7
+ context-indexer.yaml. A matching name is a discovery hint, not compatibility.
8
+
9
+ To replace a default, declare the business Provider as the primary for the
10
+ selected requirement, using its observed version, supported profiles and actual
11
+ distribution coordinates. Do not select the default too. Use the current
12
+ Provider selection Route's host_visible_skills observation and indexers payload;
13
+ let the host resolution action supply the actual bundle when requested. No host
14
+ cache crawling or guessed version/integrity is needed.
15
+
16
+ For a reusable wording/template change, these defaults support instructions-append
17
+ and template-override, not config or program-extend. Ordinary heading and grouping
18
+ choices do not require customization. Follow the selected Provider's actual
19
+ capabilities if it is a replacement. For independent
20
+ source interpretation a standalone business Provider is appropriate. To enrich
21
+ another primary, declare extension profiles and compatible fragments in its
22
+ manifest and bind them with kind extension. The existing protocol validates
23
+ these declarations; CLI never decides which business interpretation is best.
24
+
25
+ An override is named by the declared template ID, not its bundle filename:
26
+ `src/indexer/<indexer-id>/templates/sessions-faq-support.md` overrides
27
+ `sessions-faq-support`, whose default file is `templates/faq-support.md`.
28
+ Keep the required origin comment pointing to the selected skill, observed
29
+ version and profile. The same local override and `instructions.md` apply to
30
+ initial writing and approved-page revision; no separate revision template is needed.
31
+
32
+ The default template is a writing aid, not a mandatory business taxonomy.
33
+ Customize reader questions and examples without changing source identity,
34
+ revision authority, provenance or the single-primary rule. Check an unrelated
35
+ session, an excerpt with unavailable original, a rejected proposal, an existing
36
+ page correction and a mixed-code target before distributing a replacement.
@@ -0,0 +1,122 @@
1
+ # Source-grounded diagrams
2
+
3
+ Use a diagram only when it clarifies a reader task better than prose or a table.
4
+ This guidance applies to existing templates and selected article programs alike.
5
+ It does not require a diagram, create a new article type, or add a completion gate.
6
+
7
+ ## Choose the representation
8
+
9
+ | Reader question | Representation | Place in the article |
10
+ | --- | --- | --- |
11
+ | Which layers or services depend on each other? | Mermaid `flowchart LR` | Architecture or dependencies, after the scope |
12
+ | What action happens next, including failures? | Mermaid `flowchart TD` | Behavior or business flow |
13
+ | Who communicates, and in what order? | Mermaid `sequenceDiagram` | Request, integration or event processing |
14
+ | What changes state, under which conditions? | Mermaid `stateDiagram-v2` | State behavior, alongside transition evidence |
15
+ | How are persisted entities related? | Mermaid `erDiagram` | Data model, beside the entity/relationship table |
16
+ | Where are files, articles or component parts? | Fenced `text` tree | Entry map or composition |
17
+ | What are exact fields, routes, keys or source locations? | Markdown table | Contract, catalog or source references |
18
+ | What does a component or visual foundation look like? | Authorized source image with caption and text | Usage or design foundation; diagrams do not prove visual appearance |
19
+
20
+ A domain concept relationship can use a labeled flowchart rather than pretending
21
+ it is a database ER model. Unrelated entities belong in a catalog table. Do not
22
+ infer transitions from enum order, cardinality from field names, runtime calls
23
+ from package dependencies, or sequencing from a list of imports.
24
+
25
+ ## Writing and evidence
26
+
27
+ Start with one sentence stating what the diagram explains and its applicable
28
+ scope/version. Follow it with a short explanation and source coordinates or a
29
+ compact node/edge-to-source table. The reader must still have a useful next
30
+ inspection step when the consumer cannot render Mermaid. Keep Mermaid fenced
31
+ source in the article; do not replace the only editable representation with an image.
32
+
33
+ Every asserted relationship needs support in the authorized source. A registered
34
+ route does not prove runtime access; a client contract does not prove a call.
35
+ Stop at a named external boundary when its implementation is unavailable and say
36
+ what material is needed next. Keep proposals and historical accounts explicitly
37
+ labeled; notes and conversations do not automatically establish current behavior.
38
+ Do not copy a source diagram without checking its version and evidence scope.
39
+
40
+ One diagram answers one question. Split an unreadable graph by responsibility,
41
+ not an arbitrary node limit. Link related diagrams instead of repeating them in
42
+ an overview, API page and source-entry page. A short page can omit the diagram.
43
+
44
+ ## Style
45
+
46
+ - Prefer simple Mermaid constructs: flowchart, sequenceDiagram, stateDiagram-v2
47
+ and erDiagram. Use `text` for trees, not large ASCII boxes for relationships.
48
+ - Prefer left-to-right for architecture and top-to-bottom for decisions. Use
49
+ subgraphs only for real ownership, process or deployment boundaries.
50
+ - Use short stable ASCII node IDs and quoted human-readable labels in the reader's
51
+ language. Preserve exact service, API and state identifiers where they matter.
52
+ - Label edges with the relation or action. Sequence arrows show communication;
53
+ state arrows show a named trigger/condition. Do not reuse an unexplained arrow
54
+ for imports, runtime calls and data ownership.
55
+ - Keep default theme and simple shapes. Avoid custom HTML, scripts, click actions,
56
+ remote icons, theme directives and color-only meanings. Do not hardcode a canvas
57
+ size; let the consumer theme and layout render it.
58
+ - Put long paths and citations outside node labels. Unknown relationships are
59
+ explained in text, not connected speculatively to make the picture complete.
60
+ - An optional syntax/render warning is not a writing gate. Correct malformed
61
+ syntax or retain the accurate textual explanation; do not invent evidence to
62
+ satisfy a diagram checker. Never claim rendering was tested unless it was.
63
+
64
+ ## Small anonymous examples
65
+
66
+ The following fragments demonstrate notation only; they are not facts to copy.
67
+ Use only the fragment whose relationships are supported by the current source.
68
+
69
+ Architecture: the two arrows describe different, explicit relationships.
70
+
71
+ ```mermaid
72
+ flowchart LR
73
+ page["Order page"] -->|requests| api["Order API"]
74
+ api -->|writes| store["Order repository"]
75
+ ```
76
+
77
+ Decision flow: a failed validation has a visible outcome.
78
+
79
+ ```mermaid
80
+ flowchart TD
81
+ submit["Submit draft"] --> valid{"Input valid?"}
82
+ valid -->|yes| save["Save order"]
83
+ valid -->|no| feedback["Keep draft and show error"]
84
+ ```
85
+
86
+ Sequence: branches are supported outcomes, not asserted deployment success.
87
+
88
+ ```mermaid
89
+ sequenceDiagram
90
+ participant UI as Order page
91
+ participant API as Order API
92
+ UI->>API: Submit draft
93
+ alt Invalid input
94
+ API-->>UI: Validation error
95
+ else Valid input
96
+ API-->>UI: Order identifier
97
+ end
98
+ ```
99
+
100
+ State: include this only when the transition implementation or specification is known.
101
+
102
+ ```mermaid
103
+ stateDiagram-v2
104
+ Draft --> Submitted: submit / validation succeeds
105
+ Submitted --> Cancelled: cancel / cancellation allowed
106
+ ```
107
+
108
+ ER: the cardinality must come from a schema or supported relationship contract.
109
+
110
+ ```mermaid
111
+ erDiagram
112
+ ORDER ||--|{ ORDER_LINE : contains
113
+ ```
114
+
115
+ Tree: directory membership does not imply runtime invocation.
116
+
117
+ ```text
118
+ Order module
119
+ ├── Entry and scope
120
+ ├── Request contract
121
+ └── Source investigation
122
+ ```
@@ -0,0 +1,63 @@
1
+ # Where sessions material belongs in a base profile's page
2
+
3
+ A `sessions/…` profile is an extension. It does not own a page and does not open a
4
+ parallel one. The module stays on its base profile and selected page plan,
5
+ including an applicable project template override. Contribute to the relevant
6
+ sections; the attachment examples below are guidance, not a heading whitelist.
7
+
8
+ Do not restate a base section the summary has nothing to add to, and do not
9
+ introduce a "discussion" section to hold everything that was said.
10
+
11
+ ## What a summary can establish that the base sources cannot
12
+
13
+ Read the base profile's Chapter blueprint and notice which sections its own
14
+ evidence can settle. Structure settles from code and contracts: entry points,
15
+ signatures, registrations, schemas, dependency edges. Several sections in every
16
+ base blueprint ask for something else — why a limit was chosen, what a timeout
17
+ means for a caller, which combination is unsupported, what breaks on upgrade,
18
+ which behavior is deliberate rather than accidental. Those are the sections a
19
+ development discussion is for, and they are usually the ones a reader most wants.
20
+
21
+ This is the useful division. A summary that repeats a signature adds nothing and
22
+ risks contradicting the authoritative source. A summary that carries the reason
23
+ behind a value, the case that was deliberately excluded, or the failure mode
24
+ someone already hit belongs in the section that asks for exactly that.
25
+
26
+ ## Attachment points by family
27
+
28
+ | Family | Base profiles | Sections a summary usually reaches |
29
+ | --- | --- | --- |
30
+ | Applications and containers | `monorepo-container`, `web-application` | `Dependency and layering constraints`, `Shared configuration and tooling`, `Configuration and environment selection`, `Known exclusions and source-of-truth links` |
31
+ | Reusable capabilities | `component-library`, `sdk-library`, `cli-tool`, `plugin-extension` | `Compatibility and release constraints`, `Behavior, lifecycle, and errors`, `Recovery and rollback boundaries`, `Configuration, permissions, and isolation`, `Compatibility, failure, diagnostics, and recovery` |
32
+ | Services and gateways | `api-service`, `gateway-facade`, `domain-service` | `Error, timeout, and compatibility behavior`, `Timeout, retry, compatibility, and failure translation`, `State, transaction, and idempotency behavior`, `Failure and recovery behavior`, `Configuration, observability, and release` |
33
+ | Runtimes and data flow | `background-runtime`, `event-consumer`, `data-sync-reconciliation`, `storage-repository` | `Concurrency, ordering, retry, and idempotency`, `Idempotency, retry, checkpoint, and failure destination`, `Authentication, failure, retry, and fallback`, `Transaction, consistency, cache, and locking behavior`, `Failure recovery and observability` |
34
+ | Boundaries and contracts | `adapter-integration`, `contract-source`, `derived-generated-source` | `Error, retry, fallback, and compatibility behavior`, `Versioning, compatibility, and deprecation`, `Generated versus maintained behavior`, `Compatibility and regeneration` |
35
+ | Document profiles | `domain-reference`, `product-requirements`, `technical-guide`, `user-and-developer-guide`, `public-api-reference`, `runbook`, `faq-support`, `standard-policy`, `decision-record`, `incident-review`, `test-validation`, `release-migration-guide`, `documentation-site` | The base document blueprint keeps its shape; a summary adds a decision, an exception, an applicability boundary or a correction |
36
+
37
+ Read the section names from the actual base template the Route delivered. The
38
+ table lists the sections these families most often need and is not the complete
39
+ set; a base profile may declare a better-fitting section than the one named here.
40
+
41
+ ## How the material reads once placed
42
+
43
+ Attribute it, and keep its state. A base page's other sections are backed by code
44
+ or contracts, so a sentence sourced from a discussion has to carry its own
45
+ strength. Distinguish what was proposed, what was agreed, what is implemented and
46
+ what has been verified — a placed sentence that loses this distinction is worse
47
+ here than on a standalone page, because the surrounding sections are
48
+ authoritative and the reader will not question this one.
49
+
50
+ "Agreed in a design discussion: the retry limit stays at three to stay under the
51
+ downstream quota" is placeable next to a code-established limit. "The retry limit
52
+ is three" is the base section's line, not the extension's.
53
+
54
+ An optional `changes` association on the source names what the discussion was
55
+ about. It does not establish that the change merged, deployed or passed tests, so
56
+ it can never be what makes a statement `implemented`. When the base page's reader
57
+ would want to open the change, name it in the prose of the section it belongs to;
58
+ never in the page frontmatter.
59
+
60
+ When a summary contradicts what the code establishes, do not silently pick one.
61
+ The code establishes current behavior; the discussion may record an intention, a
62
+ state since changed, or a decision not yet carried out. Say which, in the section
63
+ where a reader would otherwise be misled.
@@ -0,0 +1,48 @@
1
+ # Interpret a sessions summary
2
+
3
+ A sessions source is a bounded summary from a conversation. It may describe
4
+ requirements, design choices, troubleshooting, operational practice or general
5
+ knowledge discussion. It need not concern code and need not have a commit.
6
+ Only the host or external supplier prepares that summary; the Indexer does not
7
+ scan chat history, load a full transcript, or synthesize a conversation from a
8
+ diff. Read only the summary and other sources authorized by the current Route.
9
+
10
+ Extract the problem, the decisions actually reached, the reasons needed to
11
+ understand them, remaining questions and applicability. A discarded alternative
12
+ is useful only when it explains a current choice or prevents repeating a failed
13
+ approach. Do not reproduce turn order, repeated summaries, tool logs or every
14
+ intermediate attempt. Keep “proposed”, “agreed”, “implemented” and “verified”
15
+ distinct; a confident final message does not prove all four.
16
+
17
+ For example, a discussion of a review process may agree that urgent changes
18
+ need a second reviewer, leave weekend coverage unresolved, and abandon a
19
+ three-reviewer proposal. With no code involved, a process guide can state the
20
+ agreed rule and its unresolved coverage boundary. Do not invent a commit or
21
+ publish the abandoned proposal as policy. A design discussion that ends without
22
+ a decision may be saved for context without creating approved knowledge.
23
+
24
+ For a code-related session, optional source frontmatter `changes` can identify
25
+ one or more changes: each entry has a full `commit` SHA or an `mr` URL, optionally
26
+ `repository`. No associations is normal. These links state what was discussed;
27
+ they do not prove merging, deployment, successful tests or source-read permission.
28
+ Do not guess missing identifiers or copy them into every knowledge header.
29
+
30
+ When a session explains why a retry limit was chosen, code can establish the
31
+ actual limit and branches, while the summary establishes the stated rationale.
32
+ If the summary says a fallback was only proposed and code lacks it, do not write
33
+ that the fallback exists. If code changed later, preserve still-applicable
34
+ reasoning and mark superseded details only where that affects the reader.
35
+ Where no code has been read, qualify implementation claims rather than hiding
36
+ that limitation behind a change URL.
37
+
38
+ ## Diagrams
39
+
40
+ Use the materialized [diagram guidance](diagrams.md) when a diagram clarifies the reader task. This also applies to older templates, source diagrams and Composer summaries. Preserve source strength, version and external boundaries; diagram presence is not a completion requirement.
41
+
42
+ ## Existing source images and tables
43
+
44
+ For authorized visual material, follow [source visual processing](visual-source-processing.md): preference, capability-aware conversion, accepted-result reuse and retention. Follow the workspace AGENTS.md for editable diagram style.
45
+
46
+ ## Reading selected article material
47
+
48
+ Use the current task's combined writing brief: it includes selected article guidance, examples when supplied, and section/variable slots. Profile bindings can share one article Markdown source; do not open every binding or regenerate every listed article. Keep short collaboration notes and examples beside the relevant guidance instead of requesting separate files. Read extra source or full technical contracts only when this task needs them. The CLI applies executable contracts and evidence bindings; the Agent decides applicability, substance and useful diagrams. Reuse an already-read unchanged shared resource while it remains in context.
@@ -0,0 +1,37 @@
1
+ # Updates and composition
2
+
3
+ First inspect the authorized existing knowledge and requested outcome. Saving
4
+ input alone does not authorize a new indexing target. If a paragraph corrects
5
+ an existing explanation, revise that approved page. Retain its useful steps,
6
+ examples, images, limitations and confirmed contributions. If the material
7
+ supports a new reader task, propose that topic through normal structure review
8
+ before Author; never write directly to approved knowledge. If it adds nothing
9
+ new, retain the source without producing a duplicate page.
10
+
11
+ Use one primary Provider per target. For an independent note/session topic this
12
+ Provider may be primary with one of its declared document profiles. For an
13
+ existing Code or Markdown page, retain that page's primary Provider. When this
14
+ Provider's specialized interpretation is needed, select it as an extension
15
+ layer and bind its prefixed extension profile to the active base profile, e.g.
16
+ `sessions/component-library` extends `component-library`. `profile.additional`
17
+ uses `kind: extension`, not `supporting`: supporting profiles belong to the
18
+ same primary layer. Read actual manifests; do not invent a profile name for a
19
+ business Provider.
20
+
21
+ This is an instruction-only extension. Its selected references guide source
22
+ interpretation in the primary task; it has no separate inspector/program and
23
+ does not claim to emit machine fact fragments. It supplies source-backed
24
+ distinctions, relevant reasons, conflicts and limits to the same writing task. It does not become a second author,
25
+ replace the primary API table, or create a standalone session page merely
26
+ because a source exists. Extend only the target's explicit evidence/read scope;
27
+ a commit or URL in metadata does not authorize fetching it. If no extension is
28
+ selected, the main Provider can still read authorized supporting material under
29
+ its own guidance; do not silently enable an unavailable skill.
30
+
31
+ An incorrect source summary needs explicit correction by the host import flow,
32
+ with current base_digest and task adjustment for pinned inputs. An accurate
33
+ source but misleading page needs only approved-page revision. This Provider
34
+ must not rewrite the original source to make a new page seem supported.
35
+ A rejected revision leaves source material and approved content available for
36
+ repair. Knowledge approval never changes upstream code, approves an MR, or
37
+ turns a proposal into an adopted decision.
@@ -0,0 +1,42 @@
1
+ # Source visuals: conversion and reuse
2
+
3
+ Use during Author for authorized source images, tables and diagrams; Review checks fidelity. This is shared internal guidance, not another Provider, capture phase or approval step. See [diagram writing](diagrams.md) for diagram types. Follow the workspace's user-editable AGENTS.md for style; default to minimal diagrams, approximately 1px lines and theme-default text/strokes without color decoration. Do not force Mermaid theme directives to emulate viewer styling.
4
+
5
+ ## Preference and access
6
+
7
+ Read `package.json` → `context.convertVisuals` (missing means true) and current user instructions. A session/image-specific opt-out wins; do not silently persist it. False disables new semantic conversion, not source capture, native tables, existing Mermaid, or downloading evidence. Explicit new user requests can override a saved preference.
8
+
9
+ Current document material supplies `visual_resources`: registered `ref`, exact `content_hash`, `read_path`, original link, and accepted prior results. Read only authorized resources. No filename, alt text or link proves that an image was read. For code documentation or saved attachments without registered visual resources, preserve the original and use the existing source-material path if registration is necessary; never invent a visual ref or scan an unrelated checkout.
10
+
11
+ Prefer available structured whiteboard JSON or table CSV. If interpretation uses more than one resource (for example both JSON and preview), list the additional authorized visual refs in `also_read`; all actually used resource hashes participate in reuse. Merely available but unread previews do not. Use a supported image-reading tool when needed. No capability, unreadable input, mixed screenshot or ambiguous relationships means retain; do not install OCR or loop requesting the same unavailable capability. Keep screenshots, photos, visual designs and illustrations when the appearance is the information. Convert clear flow, sequence, state, entity/UML relationships to supported Mermaid; convert tables only when labels, values, units, merged-cell meaning and footnotes survive. Encode meaningful colors as labels/legend. Do not guess relationships or numbers.
12
+
13
+ ## Submit inside the existing article
14
+
15
+ Keep normal source-backed `sections[].markdown` and `source_items`. For each image represented in that section add `sections[].visuals`:
16
+
17
+ ```json
18
+ {
19
+ "resource": "<visual ref from current material>",
20
+ "context": ["<exact source caption or relevant explanation>"],
21
+ "requirements": "English; sequence diagram; preserve all branches",
22
+ "disposition": "converted",
23
+ "format": "mermaid",
24
+ "markdown": "```mermaid\nsequenceDiagram\n Client->>Service: Request\n```"
25
+ }
26
+ ```
27
+
28
+ `context` lists the actual source excerpts used to interpret this visual, not nearby unrelated paragraphs. Empty is valid only when no contextual explanation is needed. `requirements` records language/representation/explicit semantic requirements; exclude theme, stroke width, timestamps and ordinary tool versions. `format` is `mermaid`, `table` or `original`; retained decisions use `original` and may give a short `reason` such as `screenshot` or `tool-unavailable`. Keep the source document citation and source_items; the resource identity does not replace section evidence. This is semantic writing, never verbatim capture.
29
+
30
+ Visual output is appended to the chosen section. Do not duplicate it in prose or template variables. Converted prose must not also include the replaced image, its download link or a resource-selector comment. Retained output keeps the original reference. Never delete captured files or edit managed assets yourself. Shared references determine asset retention; package building continues to include only referenced knowledge assets.
31
+
32
+ ## Incremental decisions
33
+
34
+ Compare the current resource hash, exact associated context and effective requirements with `previous`. Matching accepted output can be reused by submitting the same resource/context/requirements/disposition/format and omitting markdown. Read the current approved result; revisions are authoritative. Changed resource or meaningful caption → reconsider that visual only. Unrelated paragraphs, movement within a document, temporary URLs, tool versions and style changes do not require reinterpreting unchanged visuals. Identical bytes in another document/context are not automatically the same interpretation.
35
+
36
+ When several accepted copies disagree, choose the intended article's current result explicitly instead of guessing. Missing/invalid result → read authorized input or retain. A previous tool-unavailable retention may be retried when capability becomes available; no retries in a task without new capability. A user can request a new conversion or style revision explicitly. Style-only changes may replace the presentation using accepted content without rereading the image.
37
+
38
+ The reuse hash is source-based and excludes presentation. Article integrity, approval and build hashes still cover actual output bytes. This prevents stale packages and does not claim that a changed file has identical bytes. Compact source receipts travel with approved sections; never fabricate hashes, receipt comments or successful conversion claims.
39
+
40
+ ## Review and fallback
41
+
42
+ Check critical nodes, direction, conditions, units and values against the source. Text/code fences being syntactically present does not prove semantic fidelity. An invalid optional conversion produces an advisory and retains the authorized original. Do not make writing/style differences a hard gate. Existing source-integrity, authorization and required-material checks remain in force. No browser-specific Mermaid renderer is required to finish other articles.
@@ -0,0 +1,63 @@
1
+ # Write useful knowledge
2
+
3
+ Start with the answer or action the reader needs. Explain when it applies and
4
+ what they should do next. Source chronology is not the page structure. Keep the
5
+ smallest source span supporting each claim; link the stored summary when that
6
+ is all you read. Never pretend its original conversation or linked document was
7
+ available. Missing originals limit confidence, not permission to invent detail.
8
+
9
+ Select the declared profile template for the actual reader task. Its headings
10
+ are prompts, not required empty sections. A FAQ answers a coherent reader question
11
+ or related set of questions; a guide teaches a task; a decision explains a choice and its
12
+ limits. Do not make one page per source heading or one page per input file.
13
+ Separate unrelated topics even within one source, and combine corroborating
14
+ passages from several sources when they answer the same question.
15
+
16
+ Write claims at the strength of their sources. “Participants chose X for the
17
+ next rollout” is not “X is running in production.” A report of a passing test
18
+ is a reported result until the actual result is available. Quote only when the
19
+ wording itself matters. Preserve dissent, dates and applicable versions when
20
+ leaving them out would change the meaning. Do not publish personal exchanges,
21
+ secrets or incidental tool logs that do not serve the authorized reader goal.
22
+
23
+ Distinguish proposed, agreed, implemented and verified when the distinction
24
+ matters; they describe different facts, not automatic stages every page must
25
+ traverse. Agreement needs explicit confirmation by the relevant decision maker
26
+ or a record that clearly attributes that confirmation. A confident closing
27
+ message, silence or an Agent's summary alone is not approval. Preserve a
28
+ confirmation recorded in a supplied summary without pretending to have read the
29
+ original conversation. Implementation needs supporting code or maintained
30
+ material in scope, and verification needs an actual relevant result. A report
31
+ of implementation or verification can still be useful when attributed as such.
32
+
33
+ Where the source carries an optional `changes` association, use it as a readable
34
+ pointer for a reader who needs to check the change itself — name the repository,
35
+ commit or MR in the prose of the section that discusses it. It stays out of the
36
+ knowledge frontmatter, and it never raises a claim's strength: an association
37
+ records what was discussed, not that the change merged, deployed or passed tests.
38
+ When no code has been read, qualify the implementation claim rather than letting a
39
+ change link stand in for having read it.
40
+
41
+ For factual conflicts, compare scope, date and authority before choosing a
42
+ statement. A confirmed future requirement can coexist with current code. Keep
43
+ that distinction local to the explanation; do not silently overwrite one with
44
+ the other. Ask about a missing decision if it changes scope or correctness.
45
+ Other uncertainty can remain clearly bounded in a useful page.
46
+
47
+ Use plain language. Avoid pipeline names, internal counts and execution receipts
48
+ in the prose. Keep session IDs, change associations and Provider identities out
49
+ of knowledge frontmatter. Existing structure.yaml page/section source links
50
+ point to the stored source, where its optional metadata lives. Do not introduce
51
+ a parallel registry or copy change metadata onto every page.
52
+
53
+ Adjust the selected outline when the reader task needs different headings or
54
+ grouping. Use the capability-gap criteria in [classification](classification.md)
55
+ only when writing choices cannot solve the missing capability. Explain an actual
56
+ tooling gap and the available recovery in the user's language, outside the
57
+ knowledge page; do not turn an unfamiliar topic into a request for a new Provider.
58
+
59
+ Before returning the current Route payload, read the page as a reader: can they
60
+ answer the selected question without reconstructing the conversation? Check
61
+ that each meaningful source topic is included, supporting, deferred or excluded
62
+ with a concrete reason. A generic overview that drops the actual decision,
63
+ exception or resolution is incomplete even if its headings look correct.
@@ -0,0 +1,37 @@
1
+ ---
2
+ id: context.article.c01
3
+ kind: procedure
4
+ media-type: text/markdown
5
+ program:
6
+ article: c01
7
+ policies:
8
+ - standard
9
+ sections:
10
+ scope: 定位与边界
11
+ capabilities: 核心能力
12
+ dependencies: 技术与依赖摘要
13
+ index: 知识索引
14
+ tasks: 任务导航
15
+ sources: 来源与适用版本
16
+ ---
17
+
18
+ # C01 模块/知识入口
19
+
20
+ This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
21
+
22
+ 适用:应用、服务、组件库、业务域或产品资料的主入口;具体对象的专业章节由对应模板补充。产出为普通知识文章,文件不必叫 SKILL.md。
23
+
24
+ 建议章节:
25
+
26
+ 1. **定位与边界**:解决什么任务、覆盖哪个产品/资料范围或仓库/模块、适用条件。
27
+ 2. **核心能力**:按业务任务归组,链接到已存在的文章或具体代码入口。
28
+ 3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
29
+ 4. **知识索引**:主题、何时阅读、目标文章/代码位置。
30
+ 5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
31
+ 6. **来源与适用版本**:文档身份/定位与适用版本;代码材料记录仓库、模块路径和证据版本。
32
+
33
+ 最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
34
+
35
+ ## 图示选择
36
+
37
+ 目录用 text 树;仅有已证实跨模块关系时在概览补 flowchart LR。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。