@c4a/context-cli 0.6.1 → 0.6.2

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 (236) hide show
  1. package/README.md +48 -10
  2. package/README.zh-CN.md +176 -0
  3. package/cli.js +60700 -35477
  4. package/docs/quickstart.md +23 -5
  5. package/package.json +4 -2
  6. package/plugins/README.md +60 -118
  7. package/plugins/README_CN.md +51 -102
  8. package/plugins/VERSION +1 -1
  9. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  10. package/plugins/claude/commands/continue.md +56 -10
  11. package/plugins/claude/commands/init.md +24 -11
  12. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  13. package/plugins/codex/skills/continue/SKILL.md +56 -11
  14. package/plugins/codex/skills/init/SKILL.md +23 -11
  15. package/plugins/cursor/.cursor-plugin/plugin.json +2 -3
  16. package/plugins/cursor/README.md +2 -2
  17. package/plugins/cursor/commands/context-continue.md +56 -10
  18. package/plugins/cursor/commands/context-init.md +24 -11
  19. package/plugins/skills/context-continue/SKILL.md +56 -11
  20. package/plugins/skills/context-init/SKILL.md +23 -11
  21. package/providers/context/actions/accept-package-templates.yaml +5 -0
  22. package/providers/context/actions/align-next.yaml +6 -0
  23. package/providers/context/actions/apply-managed-review.yaml +5 -0
  24. package/providers/context/actions/apply-structure-confirmation.yaml +5 -0
  25. package/providers/context/actions/build-next.yaml +5 -0
  26. package/providers/context/actions/capture-next.yaml +5 -0
  27. package/providers/context/actions/close-approved-knowledge.yaml +5 -0
  28. package/providers/context/actions/compile-next.yaml +5 -0
  29. package/providers/context/actions/configure-code-extraction.yaml +5 -0
  30. package/providers/context/actions/configure-document-capture.yaml +5 -0
  31. package/providers/context/actions/configure-package-output.yaml +5 -0
  32. package/providers/context/actions/configure-prose-lifecycle.yaml +5 -0
  33. package/providers/context/actions/ensure-repository-sources.yaml +5 -0
  34. package/providers/context/actions/extract-next.yaml +5 -0
  35. package/providers/context/actions/inspect-document-classification.yaml +5 -0
  36. package/providers/context/actions/inspect-review.yaml +5 -0
  37. package/providers/context/actions/inspect-structure.yaml +5 -0
  38. package/providers/context/actions/maintain-evidence.yaml +6 -0
  39. package/providers/context/actions/materialize-context-view.yaml +8 -0
  40. package/providers/context/actions/register-source-batch.yaml +7 -0
  41. package/providers/context/actions/repair-project-entry.yaml +5 -0
  42. package/providers/context/actions/repair-verification.yaml +5 -0
  43. package/providers/context/actions/repair-workspace-state.yaml +5 -0
  44. package/providers/context/codes.yaml +40 -0
  45. package/providers/context/graphs/workspace.yaml +494 -0
  46. package/providers/context/manifest.json +637 -0
  47. package/providers/context/provider.yaml +12 -0
  48. package/providers/context/resources/diagnostics/projection-stale.md +13 -0
  49. package/providers/context/resources/diagnostics/verification.md +21 -0
  50. package/providers/context/resources/diagnostics/workspace-state.md +27 -0
  51. package/providers/context/resources/dialogue/code-extraction.md +34 -0
  52. package/providers/context/resources/dialogue/document-capture.md +29 -0
  53. package/providers/context/resources/dialogue/document-classification.md +33 -0
  54. package/providers/context/resources/dialogue/evidence-maintenance.md +26 -0
  55. package/providers/context/resources/dialogue/human-gates.md +34 -0
  56. package/providers/context/resources/dialogue/knowledge-review.md +27 -0
  57. package/providers/context/resources/dialogue/package-output.md +30 -0
  58. package/providers/context/resources/dialogue/source-boundary.md +29 -0
  59. package/providers/context/resources/dialogue/structure-confirmation.md +44 -0
  60. package/providers/context/resources/manuals/guides/package-outputs.md +259 -0
  61. package/providers/context/resources/manuals/reference/package-templates.md +378 -0
  62. package/providers/context/resources/manuals/reference/project-api.md +789 -0
  63. package/providers/context/resources/manuals/reference/template-variables.md +248 -0
  64. package/providers/context/resources/procedures/close-and-build.md +21 -0
  65. package/providers/context/resources/procedures/code-extraction.md +50 -0
  66. package/providers/context/resources/procedures/document-capture.md +45 -0
  67. package/providers/context/resources/procedures/document-classification.md +22 -0
  68. package/providers/context/resources/procedures/evidence-maintenance.md +20 -0
  69. package/providers/context/resources/procedures/knowledge-review.md +24 -0
  70. package/providers/context/resources/procedures/package-output.md +37 -0
  71. package/providers/context/resources/procedures/project-configuration.md +21 -0
  72. package/providers/context/resources/procedures/prose-align.md +68 -0
  73. package/providers/context/resources/procedures/prose-compile.md +23 -0
  74. package/providers/context/resources/procedures/source-boundary.md +48 -0
  75. package/{plugins/codex/skills/init/references/internal-procedures/skill-source-scope/references/capture-source.md → providers/context/resources/procedures/source-capture-detailed.md} +41 -19
  76. package/providers/context/resources/procedures/verify-and-repair.md +19 -0
  77. package/{plugins/claude/skills/skill-prose-align/references/internal-procedures/structure-planning/references → providers/context/resources/semantic/align}/candidate-resolution.md +17 -2
  78. package/{plugins/claude/skills/skill-prose-align/references/internal-procedures/structure-planning/references → providers/context/resources/semantic/align}/density-profile.md +11 -0
  79. package/{plugins/codex/skills/init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references → providers/context/resources/semantic/align}/gates.md +13 -0
  80. package/{plugins/cursor/skills/skill-prose-align/references/internal-procedures → providers/context/resources/semantic/align}/structure-planning.md +62 -12
  81. package/providers/context/resources/semantic/compile/index.md +31 -0
  82. package/providers/context/resources/views/package-current.yaml +6 -0
  83. package/providers/context/resources/views/review-current.yaml +6 -0
  84. package/providers/context/resources/views/source-current.yaml +6 -0
  85. package/providers/context/resources/views/structure-current.yaml +6 -0
  86. package/providers/context/resources/views/verification-current.yaml +6 -0
  87. package/providers/context/resources/views/workspace-current.yaml +6 -0
  88. package/providers/context/schemas/evidence-maintenance-input.schema.json +30 -0
  89. package/providers/context/schemas/prose-structure-batch.schema.json +35 -0
  90. package/providers/context/schemas/source-batch-input.schema.json +189 -0
  91. package/providers/context/scripts/render-context-view.mjs +21 -0
  92. package/plugins/claude/skills/skill-continue-workflow/SKILL.md +0 -235
  93. package/plugins/claude/skills/skill-init-workspace/SKILL.md +0 -74
  94. package/plugins/claude/skills/skill-package-output/SKILL.md +0 -180
  95. package/plugins/claude/skills/skill-prose-align/SKILL.md +0 -322
  96. package/plugins/claude/skills/skill-prose-align/references/internal-procedures/structure-planning/references/gates.md +0 -263
  97. package/plugins/claude/skills/skill-prose-align/references/internal-procedures/structure-planning.md +0 -282
  98. package/plugins/claude/skills/skill-prose-compile/SKILL.md +0 -287
  99. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  100. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  101. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  102. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  103. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  104. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  105. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  106. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  107. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  108. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  109. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  110. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  111. package/plugins/claude/skills/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  112. package/plugins/claude/skills/skill-review-gate/SKILL.md +0 -138
  113. package/plugins/claude/skills/skill-source-scope/SKILL.md +0 -525
  114. package/plugins/claude/skills/skill-source-scope/references/capture-source.md +0 -201
  115. package/plugins/codex/skills/continue/references/internal-procedures/skill-continue-workflow.md +0 -235
  116. package/plugins/codex/skills/continue/references/internal-procedures/skill-init-workspace.md +0 -74
  117. package/plugins/codex/skills/continue/references/internal-procedures/skill-package-output.md +0 -180
  118. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/candidate-resolution.md +0 -91
  119. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/density-profile.md +0 -30
  120. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/gates.md +0 -263
  121. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning.md +0 -282
  122. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-align.md +0 -322
  123. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  124. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  125. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  126. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  127. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  128. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  129. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  130. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  131. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  132. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  133. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  134. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  135. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  136. package/plugins/codex/skills/continue/references/internal-procedures/skill-prose-compile.md +0 -287
  137. package/plugins/codex/skills/continue/references/internal-procedures/skill-review-gate.md +0 -138
  138. package/plugins/codex/skills/continue/references/internal-procedures/skill-source-scope/references/capture-source.md +0 -201
  139. package/plugins/codex/skills/continue/references/internal-procedures/skill-source-scope.md +0 -525
  140. package/plugins/codex/skills/init/references/internal-procedures/skill-continue-workflow.md +0 -235
  141. package/plugins/codex/skills/init/references/internal-procedures/skill-init-workspace.md +0 -74
  142. package/plugins/codex/skills/init/references/internal-procedures/skill-package-output.md +0 -180
  143. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/candidate-resolution.md +0 -91
  144. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/density-profile.md +0 -30
  145. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning.md +0 -282
  146. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-align.md +0 -322
  147. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  148. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  149. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  150. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  151. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  152. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  153. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  154. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  155. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  156. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  157. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  158. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  159. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  160. package/plugins/codex/skills/init/references/internal-procedures/skill-prose-compile.md +0 -287
  161. package/plugins/codex/skills/init/references/internal-procedures/skill-review-gate.md +0 -138
  162. package/plugins/codex/skills/init/references/internal-procedures/skill-source-scope.md +0 -525
  163. package/plugins/cursor/skills/skill-continue-workflow/SKILL.md +0 -235
  164. package/plugins/cursor/skills/skill-init-workspace/SKILL.md +0 -74
  165. package/plugins/cursor/skills/skill-package-output/SKILL.md +0 -180
  166. package/plugins/cursor/skills/skill-prose-align/SKILL.md +0 -322
  167. package/plugins/cursor/skills/skill-prose-align/references/internal-procedures/structure-planning/references/candidate-resolution.md +0 -91
  168. package/plugins/cursor/skills/skill-prose-align/references/internal-procedures/structure-planning/references/density-profile.md +0 -30
  169. package/plugins/cursor/skills/skill-prose-align/references/internal-procedures/structure-planning/references/gates.md +0 -263
  170. package/plugins/cursor/skills/skill-prose-compile/SKILL.md +0 -287
  171. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  172. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  173. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  174. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  175. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  176. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  177. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  178. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  179. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  180. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  181. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  182. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  183. package/plugins/cursor/skills/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  184. package/plugins/cursor/skills/skill-review-gate/SKILL.md +0 -138
  185. package/plugins/cursor/skills/skill-source-scope/SKILL.md +0 -525
  186. package/plugins/cursor/skills/skill-source-scope/references/capture-source.md +0 -201
  187. package/plugins/skills/context-continue/references/internal-procedures/skill-continue-workflow.md +0 -235
  188. package/plugins/skills/context-continue/references/internal-procedures/skill-init-workspace.md +0 -74
  189. package/plugins/skills/context-continue/references/internal-procedures/skill-package-output.md +0 -180
  190. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/candidate-resolution.md +0 -91
  191. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/density-profile.md +0 -30
  192. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/gates.md +0 -263
  193. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning.md +0 -282
  194. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-align.md +0 -322
  195. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  196. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  197. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  198. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  199. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  200. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  201. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  202. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  203. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  204. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  205. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  206. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  207. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  208. package/plugins/skills/context-continue/references/internal-procedures/skill-prose-compile.md +0 -287
  209. package/plugins/skills/context-continue/references/internal-procedures/skill-review-gate.md +0 -138
  210. package/plugins/skills/context-continue/references/internal-procedures/skill-source-scope/references/capture-source.md +0 -201
  211. package/plugins/skills/context-continue/references/internal-procedures/skill-source-scope.md +0 -525
  212. package/plugins/skills/context-init/references/internal-procedures/skill-continue-workflow.md +0 -235
  213. package/plugins/skills/context-init/references/internal-procedures/skill-init-workspace.md +0 -74
  214. package/plugins/skills/context-init/references/internal-procedures/skill-package-output.md +0 -180
  215. package/plugins/skills/context-init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/candidate-resolution.md +0 -91
  216. package/plugins/skills/context-init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/density-profile.md +0 -30
  217. package/plugins/skills/context-init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning/references/gates.md +0 -263
  218. package/plugins/skills/context-init/references/internal-procedures/skill-prose-align/references/internal-procedures/structure-planning.md +0 -282
  219. package/plugins/skills/context-init/references/internal-procedures/skill-prose-align.md +0 -322
  220. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/close-gate.md +0 -132
  221. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/action-domain-gates.md +0 -52
  222. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/notes.md +0 -48
  223. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/refresh-and-update.md +0 -85
  224. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions/references/structural-challenges.md +0 -73
  225. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-actions.md +0 -413
  226. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/compile-judgment.md +0 -123
  227. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/disposition-semantics.md +0 -81
  228. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/leakage-and-ownership.md +0 -55
  229. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/scope-review-and-omit.md +0 -93
  230. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/temporal-and-evidence.md +0 -79
  231. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment/references/user-confirmation.md +0 -111
  232. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile/references/internal-procedures/semantic-judgment.md +0 -194
  233. package/plugins/skills/context-init/references/internal-procedures/skill-prose-compile.md +0 -287
  234. package/plugins/skills/context-init/references/internal-procedures/skill-review-gate.md +0 -138
  235. package/plugins/skills/context-init/references/internal-procedures/skill-source-scope/references/capture-source.md +0 -201
  236. package/plugins/skills/context-init/references/internal-procedures/skill-source-scope.md +0 -525
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "context",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Maintain a project-local knowledge workspace through init and next-step agent guidance.",
5
5
  "author": {
6
6
  "name": "c4a"
@@ -18,7 +18,7 @@
18
18
  "skills": "./skills/",
19
19
  "interface": {
20
20
  "displayName": "C4A Context",
21
- "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.6.1",
21
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.6.2",
22
22
  "longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
23
23
  "developerName": "c4a",
24
24
  "category": "Productivity",
@@ -13,33 +13,78 @@ Public Context entry for agents that expose skills instead of slash commands.
13
13
  - Public entry: `continue`
14
14
  - Host command names are installation-specific; use the command or skill surfaced by the current host instead of deriving a filesystem path from an example name.
15
15
  - CLI primitive prefix: `context ...`
16
- - Internal procedures live under `references/internal-procedures/`; read each referenced file in full before following that step.
17
16
 
18
17
  ---
19
18
 
20
19
  ## Workflow
21
20
 
22
- Use this as the conversational entry for an existing Context workspace. There is
23
- no `context continue` CLI primitive; the command runs lower-level `context ...`
24
- commands only when the workspace state requires them.
21
+ Use this as the conversational entry for an existing Context workspace. There
22
+ is no `context continue` CLI primitive. Start with:
23
+
24
+ ```bash
25
+ context status --format json
26
+ ```
27
+
28
+ Use `context status --managed --format json` only when the user explicitly
29
+ requested fully managed operation in this conversation. Never persist or reuse
30
+ that authority in another conversation. While the request remains active, use
31
+ `--managed` for every status evaluation; stop using it when the conversation
32
+ ends or the user revokes it.
25
33
 
26
34
  If the user is starting a new workspace or a new batch from a raw repository
27
35
  root, do not run `context status` first. Use the public Context init entry or
28
36
  `context init` to create the workspace, complete the init setup command, then
29
37
  return here from the initialized workspace.
30
38
 
31
- If `context status` reports `workspace-not-found` and points at a configured
32
- `context.workspaceDir`, do not keep working from the host repository root. Enter
33
- that workspace when it exists, or initialize it through the init workflow after
34
- confirming with the user.
39
+ For an explicitly managed conversation, the CLI can collapse consecutive
40
+ mechanical routes:
41
+
42
+ ```bash
43
+ context run --managed --until blocked-or-complete --format json
44
+ ```
45
+
46
+ Pass an additional `--authority` only when the user explicitly granted that
47
+ non-managed authority in this conversation. This loop executes only one
48
+ revision-bound command at a time and re-evaluates after every receipt. It stops
49
+ before read-only interpretation, project configuration, unresolved authority,
50
+ diagnostics, or a non-unique command plan. On stop, resume from the returned
51
+ `workflow.current`; do not derive a command from earlier steps.
35
52
 
36
53
  Language policy: explain, ask, confirm, and summarize in the user's current
37
54
  conversation language. Keep CLI commands, flags, paths, ids, status enum values,
38
55
  JSONL payload keys, `source_ref` values, and copied CLI output tokens unchanged.
39
56
 
40
- Use the procedure in `references/internal-procedures/skill-continue-workflow.md` end to end. It owns the
41
- status loop, safe mechanical next steps, source/scope gate, review gate, package
42
- gate, and final report rules.
57
+ Treat `workflow.current` as the current-step authority:
58
+
59
+ 1. Read every `resources.required` item whose `read_state` is
60
+ `read-required`. Read a `path` directly; for a resource with `command`,
61
+ execute that command and read the returned file. Keep read receipts only in
62
+ the current conversation and pass the merged receipt set back with
63
+ `context status --resource-receipts @<file>`; an unchanged static digest or
64
+ matching dynamic Route revision then returns `read_state: current`.
65
+ Materializing a resource is not a read: use the returned
66
+ `after_read_receipts` only after reading the complete returned file. A
67
+ `context.source-body/*` resource is the complete captured Markdown body;
68
+ source indexes and heading metadata never replace it. The exact
69
+ `resources.after_read.command` returns the re-evaluated `workflow.current`;
70
+ continue from that response without an additional status call.
71
+ 2. At a Gate, keep conditional context phase-local. An `inspection_action`
72
+ Skill or Schema is read only when performing that pre-decision inspection;
73
+ a `resolution_action` Skill or Schema is read only after the user confirms
74
+ the Gate. Neither replaces ordinary `resources.required`.
75
+ 3. Execute only `commands` returned by the Route, preserving revision and
76
+ authority flags exactly. A command marked `after-human-confirmation` must
77
+ wait for the current Gate decision. Run a command whose
78
+ `execution.target` is `agent-host` as a top-level host action with the
79
+ host's external and credential access, not inside a restricted child
80
+ sandbox. Request host approval when required; never weaken credential
81
+ storage as a workaround.
82
+ 4. If `configuration` is present, edit only the named project file using the
83
+ selected resources as its contract.
84
+ 5. After every action or configuration change, run status again. The managed
85
+ `--until` loop performs this re-evaluation internally. A phase-local
86
+ `next_action` can continue that operation but never replaces the workspace
87
+ Route.
43
88
 
44
89
  Do not infer repo sources, extraction scope, review decisions, or package output
45
90
  choices from surrounding files. Do not call source-repo operations such as
@@ -13,22 +13,34 @@ Public Context entry for agents that expose skills instead of slash commands.
13
13
  - Public entry: `init`
14
14
  - Host command names are installation-specific; use the command or skill surfaced by the current host instead of deriving a filesystem path from an example name.
15
15
  - CLI primitive prefix: `context ...`
16
- - Internal procedures live under `references/internal-procedures/`; read each referenced file in full before following that step.
17
16
 
18
17
  ---
19
18
 
20
19
  ## Workflow
21
20
 
22
- Initialize a Context workspace with the global CLI, then continue only through
23
- safe mechanical setup steps until the first human decision gate.
21
+ Initialize a Context workspace with the global CLI, complete the returned setup
22
+ step, then hand control to the current workflow route.
24
23
 
25
- Language policy: explain, ask, confirm, and summarize in the user's current
26
- conversation language. Keep CLI commands, flags, file paths, package names,
27
- enum values, payload keys, and copied CLI output tokens unchanged.
24
+ Use the user's language for conversation. Keep command and payload tokens
25
+ unchanged.
28
26
 
29
- Use the procedure in `references/internal-procedures/skill-init-workspace.md` end to end. It owns
30
- the `context init` invocation, dependency install follow-up, generated
31
- `AGENTS.md` handoff, status handoff, and stop conditions.
27
+ Run `context init [project-dir] [--name <name>] --language <language>`. Use the
28
+ user's explicit language choice when present; otherwise pass `zh-CN` for a
29
+ Chinese conversation and `en` for an English conversation. This explicit CLI
30
+ value controls generated workspace instructions and starter templates. Never
31
+ substitute `.` when `project-dir` was omitted; the default is `context/`. Use
32
+ `--dev` only for an explicitly requested local-link test.
32
33
 
33
- Do not add extra project-local agent setup. Do not infer repo sources or
34
- extraction scope from the surrounding monorepo after setup.
34
+ If init reports `init-target-nonempty`, explain that existing files would share
35
+ the workspace root. Run the returned `--allow-nonempty` command only after
36
+ explicit confirmation.
37
+
38
+ Execute the returned setup command, enter the project root, and read its
39
+ generated `AGENTS.md`. Then run `context status --format json`, adding
40
+ `--managed` only for fully managed operation explicitly authorized in this
41
+ conversation. Treat `workflow.current` as authoritative: read its required
42
+ resources, execute only exact commands, honor unresolved human gates, and
43
+ reevaluate status after each action.
44
+
45
+ Do not add extra project-local agent setup or infer sources from the surrounding
46
+ monorepo.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "context",
3
3
  "displayName": "C4A Context",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "description": "Maintain a project-local knowledge workspace through init and next-step agent guidance.",
6
6
  "author": {
7
7
  "name": "Context4AI",
@@ -24,6 +24,5 @@
24
24
  "agent-skills",
25
25
  "citations"
26
26
  ],
27
- "commands": "./commands/",
28
- "skills": "./skills/"
27
+ "commands": "./commands/"
29
28
  }
@@ -6,8 +6,8 @@ Edit `packages/context-cli/plugin/` and rerun the build instead.
6
6
 
7
7
  Install shape:
8
8
 
9
- - Marketplace/GitHub plugin shape: this directory is a plugin root with `.cursor-plugin/plugin.json`, `commands/`, and `skills/`.
9
+ - Marketplace/GitHub plugin shape: this directory is a plugin root with `.cursor-plugin/plugin.json` and `commands/`.
10
10
  - User entries are under `commands/`; Cursor command files are prefixed as `context-*` to avoid global slash-command collisions.
11
11
  - Local plugin fallback: symlink or copy this directory to `~/.cursor/plugins/local/context/` only when Marketplace import is unavailable.
12
12
 
13
- Do not copy these files into `.cursor/skills/` as the main install path. Cursor Marketplace installs this plugin root directly.
13
+ Cursor Marketplace installs this plugin root directly.
@@ -10,27 +10,73 @@ Continue the Context workflow from the current workspace state.
10
10
 
11
11
  ## Workflow
12
12
 
13
- Use this as the conversational entry for an existing Context workspace. There is
14
- no `context continue` CLI primitive; the command runs lower-level `context ...`
15
- commands only when the workspace state requires them.
13
+ Use this as the conversational entry for an existing Context workspace. There
14
+ is no `context continue` CLI primitive. Start with:
15
+
16
+ ```bash
17
+ context status --format json
18
+ ```
19
+
20
+ Use `context status --managed --format json` only when the user explicitly
21
+ requested fully managed operation in this conversation. Never persist or reuse
22
+ that authority in another conversation. While the request remains active, use
23
+ `--managed` for every status evaluation; stop using it when the conversation
24
+ ends or the user revokes it.
16
25
 
17
26
  If the user is starting a new workspace or a new batch from a raw repository
18
27
  root, do not run `context status` first. Use the public Context init entry or
19
28
  `context init` to create the workspace, complete the init setup command, then
20
29
  return here from the initialized workspace.
21
30
 
22
- If `context status` reports `workspace-not-found` and points at a configured
23
- `context.workspaceDir`, do not keep working from the host repository root. Enter
24
- that workspace when it exists, or initialize it through the init workflow after
25
- confirming with the user.
31
+ For an explicitly managed conversation, the CLI can collapse consecutive
32
+ mechanical routes:
33
+
34
+ ```bash
35
+ context run --managed --until blocked-or-complete --format json
36
+ ```
37
+
38
+ Pass an additional `--authority` only when the user explicitly granted that
39
+ non-managed authority in this conversation. This loop executes only one
40
+ revision-bound command at a time and re-evaluates after every receipt. It stops
41
+ before read-only interpretation, project configuration, unresolved authority,
42
+ diagnostics, or a non-unique command plan. On stop, resume from the returned
43
+ `workflow.current`; do not derive a command from earlier steps.
26
44
 
27
45
  Language policy: explain, ask, confirm, and summarize in the user's current
28
46
  conversation language. Keep CLI commands, flags, paths, ids, status enum values,
29
47
  JSONL payload keys, `source_ref` values, and copied CLI output tokens unchanged.
30
48
 
31
- Use the procedure in `../skills/skill-continue-workflow/SKILL.md` end to end. It owns the
32
- status loop, safe mechanical next steps, source/scope gate, review gate, package
33
- gate, and final report rules.
49
+ Treat `workflow.current` as the current-step authority:
50
+
51
+ 1. Read every `resources.required` item whose `read_state` is
52
+ `read-required`. Read a `path` directly; for a resource with `command`,
53
+ execute that command and read the returned file. Keep read receipts only in
54
+ the current conversation and pass the merged receipt set back with
55
+ `context status --resource-receipts @<file>`; an unchanged static digest or
56
+ matching dynamic Route revision then returns `read_state: current`.
57
+ Materializing a resource is not a read: use the returned
58
+ `after_read_receipts` only after reading the complete returned file. A
59
+ `context.source-body/*` resource is the complete captured Markdown body;
60
+ source indexes and heading metadata never replace it. The exact
61
+ `resources.after_read.command` returns the re-evaluated `workflow.current`;
62
+ continue from that response without an additional status call.
63
+ 2. At a Gate, keep conditional context phase-local. An `inspection_action`
64
+ Skill or Schema is read only when performing that pre-decision inspection;
65
+ a `resolution_action` Skill or Schema is read only after the user confirms
66
+ the Gate. Neither replaces ordinary `resources.required`.
67
+ 3. Execute only `commands` returned by the Route, preserving revision and
68
+ authority flags exactly. A command marked `after-human-confirmation` must
69
+ wait for the current Gate decision. Run a command whose
70
+ `execution.target` is `agent-host` as a top-level host action with the
71
+ host's external and credential access, not inside a restricted child
72
+ sandbox. Request host approval when required; never weaken credential
73
+ storage as a workaround.
74
+ 4. If `configuration` is present, edit only the named project file using the
75
+ selected resources as its contract.
76
+ 5. After every action or configuration change, run status again. The managed
77
+ `--until` loop performs this re-evaluation internally. A phase-local
78
+ `next_action` can continue that operation but never replaces the workspace
79
+ Route.
34
80
 
35
81
  Do not infer repo sources, extraction scope, review decisions, or package output
36
82
  choices from surrounding files. Do not call source-repo operations such as
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: "Initialize a Context knowledge workspace."
3
- argument-hint: "[project-dir] [--name <name>]"
3
+ argument-hint: "[project-dir] [--name <name>] [--language en|zh-CN]"
4
4
  allowed-tools: Bash(context:*), Bash(bun:*), Bash(cd *)
5
5
  ---
6
6
 
@@ -10,16 +10,29 @@ Initialize a Context knowledge workspace.
10
10
 
11
11
  ## Workflow
12
12
 
13
- Initialize a Context workspace with the global CLI, then continue only through
14
- safe mechanical setup steps until the first human decision gate.
13
+ Initialize a Context workspace with the global CLI, complete the returned setup
14
+ step, then hand control to the current workflow route.
15
15
 
16
- Language policy: explain, ask, confirm, and summarize in the user's current
17
- conversation language. Keep CLI commands, flags, file paths, package names,
18
- enum values, payload keys, and copied CLI output tokens unchanged.
16
+ Use the user's language for conversation. Keep command and payload tokens
17
+ unchanged.
19
18
 
20
- Use the procedure in `../skills/skill-init-workspace/SKILL.md` end to end. It owns
21
- the `context init` invocation, dependency install follow-up, generated
22
- `AGENTS.md` handoff, status handoff, and stop conditions.
19
+ Run `context init [project-dir] [--name <name>] --language <language>`. Use the
20
+ user's explicit language choice when present; otherwise pass `zh-CN` for a
21
+ Chinese conversation and `en` for an English conversation. This explicit CLI
22
+ value controls generated workspace instructions and starter templates. Never
23
+ substitute `.` when `project-dir` was omitted; the default is `context/`. Use
24
+ `--dev` only for an explicitly requested local-link test.
23
25
 
24
- Do not add extra project-local agent setup. Do not infer repo sources or
25
- extraction scope from the surrounding monorepo after setup.
26
+ If init reports `init-target-nonempty`, explain that existing files would share
27
+ the workspace root. Run the returned `--allow-nonempty` command only after
28
+ explicit confirmation.
29
+
30
+ Execute the returned setup command, enter the project root, and read its
31
+ generated `AGENTS.md`. Then run `context status --format json`, adding
32
+ `--managed` only for fully managed operation explicitly authorized in this
33
+ conversation. Treat `workflow.current` as authoritative: read its required
34
+ resources, execute only exact commands, honor unresolved human gates, and
35
+ reevaluate status after each action.
36
+
37
+ Do not add extra project-local agent setup or infer sources from the surrounding
38
+ monorepo.
@@ -13,33 +13,78 @@ Public Context entry for agents that expose skills instead of slash commands.
13
13
  - Public entry: `context-continue`
14
14
  - Host command names are installation-specific; use the command or skill surfaced by the current host instead of deriving a filesystem path from an example name.
15
15
  - CLI primitive prefix: `context ...`
16
- - Internal procedures live under `references/internal-procedures/`; read each referenced file in full before following that step.
17
16
 
18
17
  ---
19
18
 
20
19
  ## Workflow
21
20
 
22
- Use this as the conversational entry for an existing Context workspace. There is
23
- no `context continue` CLI primitive; the command runs lower-level `context ...`
24
- commands only when the workspace state requires them.
21
+ Use this as the conversational entry for an existing Context workspace. There
22
+ is no `context continue` CLI primitive. Start with:
23
+
24
+ ```bash
25
+ context status --format json
26
+ ```
27
+
28
+ Use `context status --managed --format json` only when the user explicitly
29
+ requested fully managed operation in this conversation. Never persist or reuse
30
+ that authority in another conversation. While the request remains active, use
31
+ `--managed` for every status evaluation; stop using it when the conversation
32
+ ends or the user revokes it.
25
33
 
26
34
  If the user is starting a new workspace or a new batch from a raw repository
27
35
  root, do not run `context status` first. Use the public Context init entry or
28
36
  `context init` to create the workspace, complete the init setup command, then
29
37
  return here from the initialized workspace.
30
38
 
31
- If `context status` reports `workspace-not-found` and points at a configured
32
- `context.workspaceDir`, do not keep working from the host repository root. Enter
33
- that workspace when it exists, or initialize it through the init workflow after
34
- confirming with the user.
39
+ For an explicitly managed conversation, the CLI can collapse consecutive
40
+ mechanical routes:
41
+
42
+ ```bash
43
+ context run --managed --until blocked-or-complete --format json
44
+ ```
45
+
46
+ Pass an additional `--authority` only when the user explicitly granted that
47
+ non-managed authority in this conversation. This loop executes only one
48
+ revision-bound command at a time and re-evaluates after every receipt. It stops
49
+ before read-only interpretation, project configuration, unresolved authority,
50
+ diagnostics, or a non-unique command plan. On stop, resume from the returned
51
+ `workflow.current`; do not derive a command from earlier steps.
35
52
 
36
53
  Language policy: explain, ask, confirm, and summarize in the user's current
37
54
  conversation language. Keep CLI commands, flags, paths, ids, status enum values,
38
55
  JSONL payload keys, `source_ref` values, and copied CLI output tokens unchanged.
39
56
 
40
- Use the procedure in `references/internal-procedures/skill-continue-workflow.md` end to end. It owns the
41
- status loop, safe mechanical next steps, source/scope gate, review gate, package
42
- gate, and final report rules.
57
+ Treat `workflow.current` as the current-step authority:
58
+
59
+ 1. Read every `resources.required` item whose `read_state` is
60
+ `read-required`. Read a `path` directly; for a resource with `command`,
61
+ execute that command and read the returned file. Keep read receipts only in
62
+ the current conversation and pass the merged receipt set back with
63
+ `context status --resource-receipts @<file>`; an unchanged static digest or
64
+ matching dynamic Route revision then returns `read_state: current`.
65
+ Materializing a resource is not a read: use the returned
66
+ `after_read_receipts` only after reading the complete returned file. A
67
+ `context.source-body/*` resource is the complete captured Markdown body;
68
+ source indexes and heading metadata never replace it. The exact
69
+ `resources.after_read.command` returns the re-evaluated `workflow.current`;
70
+ continue from that response without an additional status call.
71
+ 2. At a Gate, keep conditional context phase-local. An `inspection_action`
72
+ Skill or Schema is read only when performing that pre-decision inspection;
73
+ a `resolution_action` Skill or Schema is read only after the user confirms
74
+ the Gate. Neither replaces ordinary `resources.required`.
75
+ 3. Execute only `commands` returned by the Route, preserving revision and
76
+ authority flags exactly. A command marked `after-human-confirmation` must
77
+ wait for the current Gate decision. Run a command whose
78
+ `execution.target` is `agent-host` as a top-level host action with the
79
+ host's external and credential access, not inside a restricted child
80
+ sandbox. Request host approval when required; never weaken credential
81
+ storage as a workaround.
82
+ 4. If `configuration` is present, edit only the named project file using the
83
+ selected resources as its contract.
84
+ 5. After every action or configuration change, run status again. The managed
85
+ `--until` loop performs this re-evaluation internally. A phase-local
86
+ `next_action` can continue that operation but never replaces the workspace
87
+ Route.
43
88
 
44
89
  Do not infer repo sources, extraction scope, review decisions, or package output
45
90
  choices from surrounding files. Do not call source-repo operations such as
@@ -13,22 +13,34 @@ Public Context entry for agents that expose skills instead of slash commands.
13
13
  - Public entry: `context-init`
14
14
  - Host command names are installation-specific; use the command or skill surfaced by the current host instead of deriving a filesystem path from an example name.
15
15
  - CLI primitive prefix: `context ...`
16
- - Internal procedures live under `references/internal-procedures/`; read each referenced file in full before following that step.
17
16
 
18
17
  ---
19
18
 
20
19
  ## Workflow
21
20
 
22
- Initialize a Context workspace with the global CLI, then continue only through
23
- safe mechanical setup steps until the first human decision gate.
21
+ Initialize a Context workspace with the global CLI, complete the returned setup
22
+ step, then hand control to the current workflow route.
24
23
 
25
- Language policy: explain, ask, confirm, and summarize in the user's current
26
- conversation language. Keep CLI commands, flags, file paths, package names,
27
- enum values, payload keys, and copied CLI output tokens unchanged.
24
+ Use the user's language for conversation. Keep command and payload tokens
25
+ unchanged.
28
26
 
29
- Use the procedure in `references/internal-procedures/skill-init-workspace.md` end to end. It owns
30
- the `context init` invocation, dependency install follow-up, generated
31
- `AGENTS.md` handoff, status handoff, and stop conditions.
27
+ Run `context init [project-dir] [--name <name>] --language <language>`. Use the
28
+ user's explicit language choice when present; otherwise pass `zh-CN` for a
29
+ Chinese conversation and `en` for an English conversation. This explicit CLI
30
+ value controls generated workspace instructions and starter templates. Never
31
+ substitute `.` when `project-dir` was omitted; the default is `context/`. Use
32
+ `--dev` only for an explicitly requested local-link test.
32
33
 
33
- Do not add extra project-local agent setup. Do not infer repo sources or
34
- extraction scope from the surrounding monorepo after setup.
34
+ If init reports `init-target-nonempty`, explain that existing files would share
35
+ the workspace root. Run the returned `--allow-nonempty` command only after
36
+ explicit confirmation.
37
+
38
+ Execute the returned setup command, enter the project root, and read its
39
+ generated `AGENTS.md`. Then run `context status --format json`, adding
40
+ `--managed` only for fully managed operation explicitly authorized in this
41
+ conversation. Treat `workflow.current` as authoritative: read its required
42
+ resources, execute only exact commands, honor unresolved human gates, and
43
+ reevaluate status after each action.
44
+
45
+ Do not add extra project-local agent setup or infer sources from the surrounding
46
+ monorepo.
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: accept-package-templates
3
+ runner: command
4
+ effect: write
5
+ command: context package template accept --all --format json
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.action.v1
2
+ id: align-next
3
+ runner: host
4
+ effect: write
5
+ handler: context.align.next
6
+ inputSchema: schemas/prose-structure-batch.schema.json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: apply-managed-review
3
+ runner: host
4
+ effect: write
5
+ handler: context.review.approve-current
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: apply-structure-confirmation
3
+ runner: host
4
+ effect: write
5
+ handler: context.structure.confirm
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: build-next
3
+ runner: command
4
+ effect: write
5
+ command: context build --format json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: capture-next
3
+ runner: host
4
+ effect: external
5
+ handler: context.capture.next
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: close-approved-knowledge
3
+ runner: command
4
+ effect: write
5
+ command: context close --format json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: compile-next
3
+ runner: host
4
+ effect: write
5
+ handler: context.compile.next
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: configure-code-extraction
3
+ runner: host
4
+ effect: write
5
+ handler: context.project.configure-extraction
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: configure-document-capture
3
+ runner: host
4
+ effect: write
5
+ handler: context.project.configure-capture
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: configure-package-output
3
+ runner: host
4
+ effect: write
5
+ handler: context.project.configure-package
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: configure-prose-lifecycle
3
+ runner: host
4
+ effect: write
5
+ handler: context.project.configure-prose
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: ensure-repository-sources
3
+ runner: command
4
+ effect: external
5
+ command: context source ensure --format json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: extract-next
3
+ runner: host
4
+ effect: write
5
+ handler: context.extract.next
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: inspect-document-classification
3
+ runner: host
4
+ effect: read
5
+ handler: context.document.inspect-classification
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: inspect-review
3
+ runner: host
4
+ effect: read
5
+ handler: context.review.inspect-current
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: inspect-structure
3
+ runner: host
4
+ effect: read
5
+ handler: context.structure.inspect
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.action.v1
2
+ id: maintain-evidence
3
+ runner: command
4
+ effect: write
5
+ command: context review maintain --input - --format json
6
+ inputSchema: schemas/evidence-maintenance-input.schema.json
@@ -0,0 +1,8 @@
1
+ schema: agent-graph.action.v1
2
+ id: materialize-context-view
3
+ description: Emit a Context-owned, revision-bound Markdown view supplied by the host adapter.
4
+ runner: script
5
+ effect: read
6
+ entry: scripts/render-context-view.mjs
7
+ runtime: node
8
+ cwd: workspace
@@ -0,0 +1,7 @@
1
+ schema: agent-graph.action.v1
2
+ id: register-source-batch
3
+ description: Register the source batch explicitly confirmed in the current conversation.
4
+ runner: command
5
+ effect: write
6
+ command: context source add batch --input - --format json
7
+ inputSchema: schemas/source-batch-input.schema.json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: repair-project-entry
3
+ runner: host
4
+ effect: write
5
+ handler: context.project.repair-entry
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: repair-verification
3
+ runner: command
4
+ effect: read
5
+ command: context verify --format json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: repair-workspace-state
3
+ runner: host
4
+ effect: read
5
+ handler: context.workspace.inspect-diagnostics