@c4a/context-cli 0.7.10 → 0.7.11
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.
- package/README.md +2 -2
- package/README.zh-CN.md +3 -3
- package/cli.js +1111 -402
- package/indexers/bundles/context-code-indexer/references/indexer.md +11 -1
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +7 -2
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +9 -6
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +6 -6
- package/package.json +12 -12
- package/parserEntryWorker.js +26 -2
- package/plugins/README.md +1 -1
- package/plugins/README_CN.md +1 -1
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/skills/context-code-indexer/references/indexer.md +11 -1
- package/plugins/skills/context-markdown-indexer/references/indexer.md +7 -2
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +9 -6
- package/providers/context/graphs/workspace.yaml +1 -22
- package/providers/context/manifest.json +26 -62
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +80 -3
- package/providers/context/resources/manuals/guides/package-outputs.md +39 -1
- package/providers/context/resources/manuals/reference/project-api.md +21 -2
- package/providers/context/resources/procedures/knowledge-review.md +18 -2
- package/providers/context/resources/procedures/knowledge-updates.md +80 -3
- package/providers/context/resources/procedures/package-output.md +18 -0
- package/providers/context/resources/procedures/production-stage-files.md +21 -0
- package/providers/context/resources/procedures/repository-source-recovery.md +5 -3
- package/providers/context/resources/procedures/task-recovery.md +6 -0
- package/providers/context/resources/procedures/work-start-report.md +14 -7
- package/providers/context/resources/templates/work-start-report.md +11 -6
- package/providers/context/actions/inspect-repository-recovery.yaml +0 -6
- package/providers/context/actions/restore-repository-sources.yaml +0 -7
- package/providers/context/resources/dialogue/repository-source-recovery.md +0 -23
- package/providers/context/schemas/repository-source-recovery.schema.json +0 -40
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ selects instead of carrying the entire lifecycle in its prompt.
|
|
|
82
82
|
|---|---|---|
|
|
83
83
|
| Goal and sources | Confirm what knowledge is needed and which materials are in scope | Source identity, permission boundary, pinned repository or document inputs |
|
|
84
84
|
| Capture and extraction | The Agent reads documents or inspects a confirmed code boundary | Complete bodies, resources, symbols, relations, fingerprints, and freshness |
|
|
85
|
-
|
|
|
85
|
+
| Planning and writing | Review the proposed knowledge organization and content | Articles and source-linked sections, coverage, continuity, and stable identities |
|
|
86
86
|
| Review and close | Approve, reject, or adjust the candidate set | Atomic review application, durable decisions, and closed structure projection |
|
|
87
87
|
| Verify and build | Choose an output and receive a reusable package | Validation, package templates, asset policy, and build inventory |
|
|
88
88
|
|
|
@@ -230,7 +230,7 @@ for maintainers, automation, and diagnostics:
|
|
|
230
230
|
and do not create a retry ledger or override Gate;
|
|
231
231
|
- required material gaps block the ordinary lifecycle until new captured input
|
|
232
232
|
reruns the affected workset. The ordinary `context close` writes approved
|
|
233
|
-
structure
|
|
233
|
+
structure; task cleanup follows successful delivery, not close alone;
|
|
234
234
|
- `context clean-cache --dry-run` previews cleanup of Context-owned stale
|
|
235
235
|
plugin caches.
|
|
236
236
|
|
package/README.zh-CN.md
CHANGED
|
@@ -108,8 +108,8 @@ context/
|
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
这些目录具有不同的持久性契约。`sources/` 和 `knowledge/` 是项目状态,`dist/` 是
|
|
111
|
-
可重复构建产物,lifecycle 和 debug
|
|
112
|
-
|
|
111
|
+
可重复构建产物,lifecycle 和 debug 目录是被忽略的运行状态。任务暂存区在成功交付后
|
|
112
|
+
按工作区准备指引清理,不在 close 后立即清空。不要通过手工编辑或删除 CLI-owned 状态修复流程,
|
|
113
113
|
应执行当前 Route 返回的恢复动作。
|
|
114
114
|
|
|
115
115
|
## 证据和安全边界
|
|
@@ -172,7 +172,7 @@ context/
|
|
|
172
172
|
Author 或 Composer workset 后重新编译,建议性的 profile metric 只作为 warning,不建立重试账本或
|
|
173
173
|
override Gate;
|
|
174
174
|
- 必需 material gap 会阻塞普通生命周期,直到新增 capture 重新运行受影响 workset;普通
|
|
175
|
-
`context close` 写入 approved structure
|
|
175
|
+
`context close` 写入 approved structure;任务清理在成功交付后进行;
|
|
176
176
|
- `context clean-cache --dry-run` 预览 Context-owned 过期插件缓存清理。
|
|
177
177
|
|
|
178
178
|
绑定 revision 的命令应从 `workflow.current` 原样复制;文档示例只用于理解入口,
|