@c4a/context-cli 0.7.37 → 0.7.38
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/cli.js +1004 -759
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- 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/providers/context/manifest.json +9 -9
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/procedures/production-requirements.md +16 -23
- package/providers/context/resources/procedures/production-stage-files.md +4 -2
- package/providers/context/resources/procedures/work-start-report.md +17 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local runtime and Agent integration for traceable knowledge production",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@c4a/agent-graph": "0.3.0",
|
|
27
|
-
"@c4a/context": "0.7.
|
|
28
|
-
"@c4a/extract": "0.7.
|
|
29
|
-
"@c4a/extract-contract": "0.7.
|
|
30
|
-
"@c4a/extract-go": "0.7.
|
|
31
|
-
"@c4a/extract-mdx": "0.7.
|
|
32
|
-
"@c4a/extract-proto": "0.7.
|
|
33
|
-
"@c4a/extract-rush": "0.7.
|
|
34
|
-
"@c4a/extract-sql": "0.7.
|
|
35
|
-
"@c4a/extract-style": "0.7.
|
|
36
|
-
"@c4a/extract-thrift": "0.7.
|
|
37
|
-
"@c4a/extract-ts": "0.7.
|
|
27
|
+
"@c4a/context": "0.7.38",
|
|
28
|
+
"@c4a/extract": "0.7.38",
|
|
29
|
+
"@c4a/extract-contract": "0.7.38",
|
|
30
|
+
"@c4a/extract-go": "0.7.38",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.38",
|
|
32
|
+
"@c4a/extract-proto": "0.7.38",
|
|
33
|
+
"@c4a/extract-rush": "0.7.38",
|
|
34
|
+
"@c4a/extract-sql": "0.7.38",
|
|
35
|
+
"@c4a/extract-style": "0.7.38",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.38",
|
|
37
|
+
"@c4a/extract-ts": "0.7.38",
|
|
38
38
|
"@mermaid-js/layout-elk": "0.2.0",
|
|
39
39
|
"commander": "^11.0.0",
|
|
40
40
|
"fast-xml-parser": "^5.10.1",
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.38
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.38",
|
|
4
4
|
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
|
|
5
5
|
"author": { "name": "c4a" },
|
|
6
6
|
"homepage": "https://github.com/context4ai/c4a",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"skills": "./skills/",
|
|
11
11
|
"interface": {
|
|
12
12
|
"displayName": "C4A Context",
|
|
13
|
-
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.
|
|
13
|
+
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.38",
|
|
14
14
|
"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.",
|
|
15
15
|
"developerName": "c4a",
|
|
16
16
|
"category": "Productivity",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "agent-graph.bundle.v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "c4a/context",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.38"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -333,12 +333,12 @@
|
|
|
333
333
|
{
|
|
334
334
|
"id": "procedure.production-requirements",
|
|
335
335
|
"path": "resources/procedures/production-requirements.md",
|
|
336
|
-
"digest": "sha256:
|
|
336
|
+
"digest": "sha256:af042f16b3cdbb33db48f4ab318293a96e23eeb10b82686bc54ec7d0372afbbd"
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
"id": "procedure.production-stage-files",
|
|
340
340
|
"path": "resources/procedures/production-stage-files.md",
|
|
341
|
-
"digest": "sha256:
|
|
341
|
+
"digest": "sha256:7c9264c45631751754e4abdee15db7ca2930859a718fd70459dfd101372df030"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"id": "procedure.project-configuration",
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
{
|
|
389
389
|
"id": "procedure.work-start-report",
|
|
390
390
|
"path": "resources/procedures/work-start-report.md",
|
|
391
|
-
"digest": "sha256:
|
|
391
|
+
"digest": "sha256:1c97fc5ceb75c0debc9d042f957e7647d6a4eb270bc1d9670693aae4627f67f4"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"id": "procedure.workspace-commit",
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
577
|
"path": "provider.yaml",
|
|
578
|
-
"digest": "sha256:
|
|
578
|
+
"digest": "sha256:46010f2f23a011544cf4c7ef38df0743e44a6d6111b88b6c25d6528de3c71784"
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
581
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -735,11 +735,11 @@
|
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
737
|
"path": "resources/procedures/production-requirements.md",
|
|
738
|
-
"digest": "sha256:
|
|
738
|
+
"digest": "sha256:af042f16b3cdbb33db48f4ab318293a96e23eeb10b82686bc54ec7d0372afbbd"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
741
|
"path": "resources/procedures/production-stage-files.md",
|
|
742
|
-
"digest": "sha256:
|
|
742
|
+
"digest": "sha256:7c9264c45631751754e4abdee15db7ca2930859a718fd70459dfd101372df030"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
"path": "resources/procedures/project-configuration.md",
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
},
|
|
780
780
|
{
|
|
781
781
|
"path": "resources/procedures/work-start-report.md",
|
|
782
|
-
"digest": "sha256:
|
|
782
|
+
"digest": "sha256:1c97fc5ceb75c0debc9d042f957e7647d6a4eb270bc1d9670693aae4627f67f4"
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
785
|
"path": "resources/procedures/workspace-commit.md",
|
|
@@ -882,5 +882,5 @@
|
|
|
882
882
|
"indexer": [],
|
|
883
883
|
"workspace": []
|
|
884
884
|
},
|
|
885
|
-
"digest": "sha256:
|
|
885
|
+
"digest": "sha256:a684dded0a4a109355d8c6615b40ff0d55cdd82ed2ee3781bccfc063632c3619"
|
|
886
886
|
}
|
|
@@ -52,6 +52,9 @@ writing batches are declared in the temporary investigation plan.
|
|
|
52
52
|
|
|
53
53
|
After editing, run `context status --format json` and consume its current Route.
|
|
54
54
|
|
|
55
|
+
Read `context action prepare-current --schema --format json` for the complete
|
|
56
|
+
known-task input contract before creating a stage; no workspace or revision is required.
|
|
57
|
+
|
|
55
58
|
When article targets and source grouping are already clear, put the existing
|
|
56
59
|
plan fields (`capabilities`, `articles`, optional `indexer_usage`) in a file under
|
|
57
60
|
`.tmp/agent-work/`, omitting only `stage`, which does not exist yet. Each article
|
|
@@ -60,27 +63,17 @@ contains `path`, `question`, `sources` and `batch`, with optional `brief` and
|
|
|
60
63
|
command to prepare those tasks without a separate investigation-plan submission.
|
|
61
64
|
This does not approve the report or permit writing before its applicable scope
|
|
62
65
|
decision.
|
|
63
|
-
When targets are unclear,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
document task to unrelated code repositories merely because they are configured.
|
|
73
|
-
|
|
74
|
-
In planning and completion reports distinguish:
|
|
75
|
-
- work requested and completed in this task;
|
|
76
|
-
- specific content gaps established by reading, with their affected reader tasks;
|
|
77
|
-
- source/environment failures, and whether this task depends on those sources.
|
|
66
|
+
When targets are unclear, repeat `--source <source-ref>` on the preparation command
|
|
67
|
+
for the sources selected by this request. Without a selection, only a sole
|
|
68
|
+
configured target is inferred; multiple targets require the Agent to select
|
|
69
|
+
from the user's request, not to ask the user to understand CLI source IDs.
|
|
70
|
+
The CLI prepares only this scope. A source in `evidence_source_scope` remains
|
|
71
|
+
available without becoming an investigation assignment. A later article plan
|
|
72
|
+
can select it in `articles[].sources`; the CLI validates and prepares that
|
|
73
|
+
actual dependency before allowing writing. Missing required evidence still
|
|
74
|
+
blocks the dependent article.
|
|
78
75
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
say so as a workflow limitation rather than announcing new investigation work.
|
|
84
|
-
Do not delete configured sources, invent exclusions, clear stage files, or mark
|
|
85
|
-
unread material investigated to make the current task appear complete. Follow the
|
|
86
|
-
returned resolution action when the workflow still needs a decision.
|
|
76
|
+
Long-term configuration additions do not restart an unchanged stage. Plans and
|
|
77
|
+
refreshes track this request's selected investigation and actual article inputs.
|
|
78
|
+
Preserve genuinely unfinished work when extending a multi-stage request; do not
|
|
79
|
+
turn an incremental addition into a whole-workspace refresh.
|
|
@@ -11,7 +11,9 @@ directories. Read relevant source text before writing; a skeleton is navigation,
|
|
|
11
11
|
not semantic evidence. Skill names guide work, not article ownership or versions.
|
|
12
12
|
|
|
13
13
|
Use the [reader organization guidance](knowledge-updates.md#reader-tasks-names-and-reading-order)
|
|
14
|
-
for article names, placement and manually arranged navigation.
|
|
14
|
+
for article names, placement and manually arranged navigation.
|
|
15
|
+
Use `context task adjust --inspect --format json` to obtain current categories,
|
|
16
|
+
reading order and the exact revision before preparing a navigation adjustment. Check the draft's
|
|
15
17
|
main reader task against its planned title and group; adjust through the existing
|
|
16
18
|
plan, revision or knowledge-map flow when needed. A navigation change alone does
|
|
17
19
|
not call for rewriting valid prose.
|
|
@@ -57,7 +59,7 @@ current task does not mean other authorized work is finished. New source or purp
|
|
|
57
59
|
authorization still follows the current Route.
|
|
58
60
|
|
|
59
61
|
Write results under the returned Agent directory. All submission paths are
|
|
60
|
-
relative to
|
|
62
|
+
relative to `.tmp/agent-work/production-stages/<stage>/`, even when the manifest is in `submissions/`. They are never relative to `.tmp/context-runtime/` or to the manifest location. Each task lists the complete workspace-relative Markdown and reference output paths.
|
|
61
63
|
Copy the CLI's submission template, keep completed tasks only, and keep each
|
|
62
64
|
task's prefilled `input`. Submit the manifest using the returned command.
|
|
63
65
|
Do not edit submitted files until the command returns.
|
|
@@ -184,32 +184,20 @@ a top-level navigation change already required by this procedure.
|
|
|
184
184
|
|
|
185
185
|
## Configured coverage and the current request
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
Do not delete configured sources, invent exclusions, clear stage files, or mark
|
|
205
|
-
unread material investigated to make the current task appear complete. Follow the
|
|
206
|
-
returned resolution action when the workflow still needs a decision.
|
|
207
|
-
|
|
208
|
-
For a bounded addition inside an existing production stage, completed articles can
|
|
209
|
-
enter Review with `context run --deliver --format json`. This retains pending
|
|
210
|
-
configured scopes and unfinished tasks; it does not authorize approval or publish.
|
|
211
|
-
Use this existing delivery path when remaining source failures are unrelated to
|
|
212
|
-
the requested articles. If the selected articles need the missing repository, use
|
|
213
|
-
`context source recovery-plan` and `context source restore` with an explicit local
|
|
214
|
-
checkout or clone decision. Do not ask users to investigate unrelated repositories
|
|
215
|
-
just to deliver saved notes, and do not clear gaps to imitate task completion.
|
|
187
|
+
Long-term source configuration is the authorized reading boundary, not the work
|
|
188
|
+
requested in every conversation. Prepare this request's selected investigation
|
|
189
|
+
sources or known article tasks. Keep unused supporting material available for
|
|
190
|
+
later article plans without treating it as unfinished work. For an addition to
|
|
191
|
+
an existing article, prefer the existing article-revision workflow with the
|
|
192
|
+
selected supporting sources rather than starting unrelated production.
|
|
193
|
+
|
|
194
|
+
Report this request's planned and completed work. Restore missing sources that
|
|
195
|
+
its investigation or articles actually require. Reference material not selected
|
|
196
|
+
for this work does not need restoration just to complete an independent note.
|
|
197
|
+
Never infer missing knowledge merely from unavailable source-code checkouts.
|
|
198
|
+
|
|
199
|
+
For an explicitly requested partial delivery, `context run --deliver --format json`
|
|
200
|
+
reviews completed articles while retaining genuine remaining tasks and selected
|
|
201
|
+
investigation. It does not approve or publish articles, and is unnecessary for
|
|
202
|
+
an otherwise completed bounded request. Do not clear unfinished work to force
|
|
203
|
+
completion; ordinary source authorization and citation checks still apply.
|