@c4a/context-cli 0.7.95 → 0.7.96

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "protocol": "context.indexer.cli-release-manifest/v1",
3
3
  "package": "@c4a/context-cli",
4
- "version": "0.7.95",
4
+ "version": "0.7.96",
5
5
  "issuer": "context4ai/context",
6
6
  "bundles": [
7
7
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4a/context-cli",
3
- "version": "0.7.95",
3
+ "version": "0.7.96",
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.95",
28
- "@c4a/extract": "0.7.95",
29
- "@c4a/extract-contract": "0.7.95",
30
- "@c4a/extract-go": "0.7.95",
31
- "@c4a/extract-mdx": "0.7.95",
32
- "@c4a/extract-proto": "0.7.95",
33
- "@c4a/extract-rush": "0.7.95",
34
- "@c4a/extract-sql": "0.7.95",
35
- "@c4a/extract-style": "0.7.95",
36
- "@c4a/extract-thrift": "0.7.95",
37
- "@c4a/extract-ts": "0.7.95",
27
+ "@c4a/context": "0.7.96",
28
+ "@c4a/extract": "0.7.96",
29
+ "@c4a/extract-contract": "0.7.96",
30
+ "@c4a/extract-go": "0.7.96",
31
+ "@c4a/extract-mdx": "0.7.96",
32
+ "@c4a/extract-proto": "0.7.96",
33
+ "@c4a/extract-rush": "0.7.96",
34
+ "@c4a/extract-sql": "0.7.96",
35
+ "@c4a/extract-style": "0.7.96",
36
+ "@c4a/extract-thrift": "0.7.96",
37
+ "@c4a/extract-ts": "0.7.96",
38
38
  "@mermaid-js/layout-elk": "0.2.0",
39
39
  "commander": "^11.0.0",
40
40
  "d3-force": "3.0.0",
package/plugins/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.95
1
+ 0.7.96
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
4
- "version": "0.7.95",
4
+ "version": "0.7.96",
5
5
  "author": {
6
6
  "name": "c4a"
7
7
  },
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: "Use when the user explicitly invokes Context, asks to reorganize an existing Context knowledge map or website navigation, or continues a Context workflow to build, inspect, update, recover or package knowledge. Do not auto-start for ordinary planning, design or coding."
2
+ description: "Use when the user explicitly invokes Context, or asks in this conversation to produce, update, revise, publish or recover Context knowledge, including reorganizing a knowledge map or website navigation and continuing a Context workflow to build, inspect or package knowledge. Do not auto-start for ordinary planning, design or coding."
3
3
  argument-hint: "[project-dir or user intent]"
4
4
  allowed-tools:
5
5
  - Bash(context:*)
@@ -140,12 +140,13 @@ without the user's authorization.
140
140
 
141
141
  ### Check the CLI first
142
142
 
143
- This Skill ships with Context 0.7.95.
143
+ This Skill ships with Context 0.7.96.
144
144
 
145
145
  When entering production in a workspace, align the CLI, this Skill and the
146
146
  workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
147
147
  it upgrades to the latest release of the current major version automatically and
148
- asks the user before moving to a new major version.
148
+ asks the user before moving to a new major version. When the workspace pins its own
149
+ CLI, run Route commands with `./node_modules/.bin/context` instead of `context`.
149
150
 
150
151
  If the host requires a minimum CLI version, resolve that requirement before
151
152
  obtaining a workflow Route. Run the version check separately: do not chain
@@ -443,6 +444,11 @@ a blocker needs handling. A return for Agent work hands execution to you; it
443
444
  does not end the authorized task. Follow the returned Route within existing
444
445
  authority; do not reconstruct commands from earlier steps.
445
446
 
447
+ After each piece of Agent work (an edit, a Review decision, a translation or the
448
+ version text), continue with this loop instead of running the mechanical steps
449
+ or `context status` one at a time. A small revision then needs only that Agent
450
+ work; every Gate still applies.
451
+
446
452
  ### Read required resources
447
453
 
448
454
  Read each `resources.required` item marked `read-required`, including
@@ -11,6 +11,9 @@ rest of the session.
11
11
  - CLI: `context --version`.
12
12
  - Workspace SDK: the `@c4a/context` version pinned in the workspace
13
13
  `package.json`, and the installed one in `node_modules/@c4a/context/package.json`.
14
+ - Workspace CLI: when the workspace also pins `@c4a/context-cli`, its installed
15
+ `./node_modules/.bin/context` is the CLI for this workspace. Run every Route
16
+ command with it in place of `context`, and align it together with the SDK.
14
17
  - Releases: `npm view @c4a/context-cli versions --json`. Ignore pre-releases.
15
18
 
16
19
  ## Choose the target
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c4a",
3
- "version": "0.7.95",
3
+ "version": "0.7.96",
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.95",
13
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.96",
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",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: context
3
- description: Use when the user explicitly invokes Context, asks to reorganize an existing Context knowledge map or website navigation, or continues a Context workflow to build, inspect, update, recover or package knowledge. Do not auto-start for ordinary planning, design or coding.
3
+ description: Use when the user explicitly invokes Context, or asks in this conversation to produce, update, revise, publish or recover Context knowledge, including reorganizing a knowledge map or website navigation and continuing a Context workflow to build, inspect or package knowledge. Do not auto-start for ordinary planning, design or coding.
4
4
  allowed-tools:
5
5
  - Bash
6
6
  ---
@@ -138,12 +138,13 @@ without the user's authorization.
138
138
 
139
139
  ### Check the CLI first
140
140
 
141
- This Skill ships with Context 0.7.95.
141
+ This Skill ships with Context 0.7.96.
142
142
 
143
143
  When entering production in a workspace, align the CLI, this Skill and the
144
144
  workspace SDK once per session with [version alignment](references/version-alignment.md):
145
145
  it upgrades to the latest release of the current major version automatically and
146
- asks the user before moving to a new major version.
146
+ asks the user before moving to a new major version. When the workspace pins its own
147
+ CLI, run Route commands with `./node_modules/.bin/context` instead of `context`.
147
148
 
148
149
  If the host requires a minimum CLI version, resolve that requirement before
149
150
  obtaining a workflow Route. Run the version check separately: do not chain
@@ -441,6 +442,11 @@ a blocker needs handling. A return for Agent work hands execution to you; it
441
442
  does not end the authorized task. Follow the returned Route within existing
442
443
  authority; do not reconstruct commands from earlier steps.
443
444
 
445
+ After each piece of Agent work (an edit, a Review decision, a translation or the
446
+ version text), continue with this loop instead of running the mechanical steps
447
+ or `context status` one at a time. A small revision then needs only that Agent
448
+ work; every Gate still applies.
449
+
444
450
  ### Read required resources
445
451
 
446
452
  Read each `resources.required` item marked `read-required`, including
@@ -11,6 +11,9 @@ rest of the session.
11
11
  - CLI: `context --version`.
12
12
  - Workspace SDK: the `@c4a/context` version pinned in the workspace
13
13
  `package.json`, and the installed one in `node_modules/@c4a/context/package.json`.
14
+ - Workspace CLI: when the workspace also pins `@c4a/context-cli`, its installed
15
+ `./node_modules/.bin/context` is the CLI for this workspace. Run every Route
16
+ command with it in place of `context`, and align it together with the SDK.
14
17
  - Releases: `npm view @c4a/context-cli versions --json`. Ignore pre-releases.
15
18
 
16
19
  ## Choose the target
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "displayName": "C4A Context",
4
- "version": "0.7.95",
4
+ "version": "0.7.96",
5
5
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
6
6
  "author": {
7
7
  "name": "Context4AI",
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: "Use when the user explicitly invokes Context, asks to reorganize an existing Context knowledge map or website navigation, or continues a Context workflow to build, inspect, update, recover or package knowledge. Do not auto-start for ordinary planning, design or coding."
2
+ description: "Use when the user explicitly invokes Context, or asks in this conversation to produce, update, revise, publish or recover Context knowledge, including reorganizing a knowledge map or website navigation and continuing a Context workflow to build, inspect or package knowledge. Do not auto-start for ordinary planning, design or coding."
3
3
  ---
4
4
 
5
5
  # Context
@@ -135,12 +135,13 @@ without the user's authorization.
135
135
 
136
136
  ### Check the CLI first
137
137
 
138
- This Skill ships with Context 0.7.95.
138
+ This Skill ships with Context 0.7.96.
139
139
 
140
140
  When entering production in a workspace, align the CLI, this Skill and the
141
141
  workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
142
142
  it upgrades to the latest release of the current major version automatically and
143
- asks the user before moving to a new major version.
143
+ asks the user before moving to a new major version. When the workspace pins its own
144
+ CLI, run Route commands with `./node_modules/.bin/context` instead of `context`.
144
145
 
145
146
  If the host requires a minimum CLI version, resolve that requirement before
146
147
  obtaining a workflow Route. Run the version check separately: do not chain
@@ -438,6 +439,11 @@ a blocker needs handling. A return for Agent work hands execution to you; it
438
439
  does not end the authorized task. Follow the returned Route within existing
439
440
  authority; do not reconstruct commands from earlier steps.
440
441
 
442
+ After each piece of Agent work (an edit, a Review decision, a translation or the
443
+ version text), continue with this loop instead of running the mechanical steps
444
+ or `context status` one at a time. A small revision then needs only that Agent
445
+ work; every Gate still applies.
446
+
441
447
  ### Read required resources
442
448
 
443
449
  Read each `resources.required` item marked `read-required`, including
@@ -11,6 +11,9 @@ rest of the session.
11
11
  - CLI: `context --version`.
12
12
  - Workspace SDK: the `@c4a/context` version pinned in the workspace
13
13
  `package.json`, and the installed one in `node_modules/@c4a/context/package.json`.
14
+ - Workspace CLI: when the workspace also pins `@c4a/context-cli`, its installed
15
+ `./node_modules/.bin/context` is the CLI for this workspace. Run every Route
16
+ command with it in place of `context`, and align it together with the SDK.
14
17
  - Releases: `npm view @c4a/context-cli versions --json`. Ignore pre-releases.
15
18
 
16
19
  ## Choose the target
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: context
3
- description: Use when the user explicitly invokes Context, asks to reorganize an existing Context knowledge map or website navigation, or continues a Context workflow to build, inspect, update, recover or package knowledge. Do not auto-start for ordinary planning, design or coding.
3
+ description: Use when the user explicitly invokes Context, or asks in this conversation to produce, update, revise, publish or recover Context knowledge, including reorganizing a knowledge map or website navigation and continuing a Context workflow to build, inspect or package knowledge. Do not auto-start for ordinary planning, design or coding.
4
4
  allowed-tools:
5
5
  - Bash
6
6
  ---
@@ -138,12 +138,13 @@ without the user's authorization.
138
138
 
139
139
  ### Check the CLI first
140
140
 
141
- This Skill ships with Context 0.7.95.
141
+ This Skill ships with Context 0.7.96.
142
142
 
143
143
  When entering production in a workspace, align the CLI, this Skill and the
144
144
  workspace SDK once per session with [version alignment](references/version-alignment.md):
145
145
  it upgrades to the latest release of the current major version automatically and
146
- asks the user before moving to a new major version.
146
+ asks the user before moving to a new major version. When the workspace pins its own
147
+ CLI, run Route commands with `./node_modules/.bin/context` instead of `context`.
147
148
 
148
149
  If the host requires a minimum CLI version, resolve that requirement before
149
150
  obtaining a workflow Route. Run the version check separately: do not chain
@@ -441,6 +442,11 @@ a blocker needs handling. A return for Agent work hands execution to you; it
441
442
  does not end the authorized task. Follow the returned Route within existing
442
443
  authority; do not reconstruct commands from earlier steps.
443
444
 
445
+ After each piece of Agent work (an edit, a Review decision, a translation or the
446
+ version text), continue with this loop instead of running the mechanical steps
447
+ or `context status` one at a time. A small revision then needs only that Agent
448
+ work; every Gate still applies.
449
+
444
450
  ### Read required resources
445
451
 
446
452
  Read each `resources.required` item marked `read-required`, including
@@ -11,6 +11,9 @@ rest of the session.
11
11
  - CLI: `context --version`.
12
12
  - Workspace SDK: the `@c4a/context` version pinned in the workspace
13
13
  `package.json`, and the installed one in `node_modules/@c4a/context/package.json`.
14
+ - Workspace CLI: when the workspace also pins `@c4a/context-cli`, its installed
15
+ `./node_modules/.bin/context` is the CLI for this workspace. Run every Route
16
+ command with it in place of `context`, and align it together with the SDK.
14
17
  - Releases: `npm view @c4a/context-cli versions --json`. Ignore pre-releases.
15
18
 
16
19
  ## Choose the target
@@ -2,7 +2,7 @@
2
2
  "schema": "agent-graph.bundle.v1",
3
3
  "provider": {
4
4
  "id": "c4a/context",
5
- "version": "0.7.95"
5
+ "version": "0.7.96"
6
6
  },
7
7
  "providerManifest": "provider.yaml",
8
8
  "graphs": [
@@ -293,7 +293,7 @@
293
293
  {
294
294
  "id": "procedure.approved-revision",
295
295
  "path": "resources/procedures/approved-revision.md",
296
- "digest": "sha256:53e905cc5e189094b90bda7cccaa7d3e2bf7151e59bd3f06a44d7fb966aef33d"
296
+ "digest": "sha256:6690d033c569f295a14b5670365e1a66bb7a95a4d2fb273d8c766c708c72009c"
297
297
  },
298
298
  {
299
299
  "id": "procedure.close-and-build",
@@ -388,7 +388,7 @@
388
388
  {
389
389
  "id": "procedure.source-update",
390
390
  "path": "resources/procedures/source-update.md",
391
- "digest": "sha256:0fe803fd813ca4616d925f8f57822d8b2b1b61f0d117a6bc784eea5b34276f35"
391
+ "digest": "sha256:88422cad3e2b589e8b0d540c0bcd14f55f8ce7ae05a058bb0d6210fa0be309f1"
392
392
  },
393
393
  {
394
394
  "id": "procedure.task-recovery",
@@ -598,7 +598,7 @@
598
598
  },
599
599
  {
600
600
  "path": "provider.yaml",
601
- "digest": "sha256:28bd73f64d8054374e811a80c613297c63ec80e5f5c171927d6a0ac7c1927bb6"
601
+ "digest": "sha256:deed5bd77b38ac5d152c78fd3c02845aa0ab9b27245030049571d15475d9b274"
602
602
  },
603
603
  {
604
604
  "path": "resources/contracts/indexer-provider-guide.yaml",
@@ -726,7 +726,7 @@
726
726
  },
727
727
  {
728
728
  "path": "resources/procedures/approved-revision.md",
729
- "digest": "sha256:53e905cc5e189094b90bda7cccaa7d3e2bf7151e59bd3f06a44d7fb966aef33d"
729
+ "digest": "sha256:6690d033c569f295a14b5670365e1a66bb7a95a4d2fb273d8c766c708c72009c"
730
730
  },
731
731
  {
732
732
  "path": "resources/procedures/close-and-build.md",
@@ -802,7 +802,7 @@
802
802
  },
803
803
  {
804
804
  "path": "resources/procedures/source-update.md",
805
- "digest": "sha256:0fe803fd813ca4616d925f8f57822d8b2b1b61f0d117a6bc784eea5b34276f35"
805
+ "digest": "sha256:88422cad3e2b589e8b0d540c0bcd14f55f8ce7ae05a058bb0d6210fa0be309f1"
806
806
  },
807
807
  {
808
808
  "path": "resources/procedures/task-recovery.md",
@@ -910,7 +910,7 @@
910
910
  },
911
911
  {
912
912
  "path": "skills/translate-site-locales/SKILL.md",
913
- "digest": "sha256:2440bdb3756542e807709be971a02752ad29c8f578a47ee5e2dae5eb0bcb76a8"
913
+ "digest": "sha256:d611bf460419fb247ad3289e8ee2fc9977782247d8d7cfaed28fb9e5e3aa422c"
914
914
  },
915
915
  {
916
916
  "path": "skills/work-production-stage/SKILL.md",
@@ -921,5 +921,5 @@
921
921
  "indexer": [],
922
922
  "workspace": []
923
923
  },
924
- "digest": "sha256:4e9ff53aafc6d6751ce266b7fef9606d0c5225b9212347fbcbd7374b1ecda713"
924
+ "digest": "sha256:99efc98aab0eb03389ff2a1127820cb2f07c2ce94c9f0ae68890de6439f2bc63"
925
925
  }
@@ -1,6 +1,6 @@
1
1
  schema: agent-graph.provider.v1
2
2
  id: c4a/context
3
- version: 0.7.95
3
+ version: 0.7.96
4
4
  name: Context workflow
5
5
  description: Internal work contract for Context knowledge workspaces.
6
6
  graphs:
@@ -101,6 +101,13 @@ field and source location; do not rewrite the token's table by hand. The final
101
101
  Candidate still needs Review: a token or accepted submission does not establish
102
102
  that the requested correction reached the page.
103
103
 
104
+ A revision that processes a source version (the source update's pages) must
105
+ resolve the page's citations of that source that no longer match it, including
106
+ those in paragraphs you do not rewrite: preview and submission list each one with
107
+ its paragraph and lines. Rewrite the paragraph, cite the current text, or remove
108
+ the citation. Stale citations of other sources are kept and returned as
109
+ `reference_warnings` for a later update or revision.
110
+
104
111
  Context collects complete pages into a delivery batch. An Author completion can
105
112
  therefore lead to another Author before Review. Follow that Route; do not close
106
113
  or build after each page. Review, close and build operate on the assembled batch.
@@ -25,7 +25,9 @@ updates and `context update --pending`, pages whose citations
25
25
  are unchanged or only moved are not candidates, so an empty list is possible;
26
26
  still check the change for additions before submitting the scope decision.
27
27
  Those pages are listed in `scope_pages`: they need no decision, but include one
28
- with an `instruction` when an addition or shared change affects it.
28
+ with an `instruction` when an addition or shared change affects it. When the
29
+ pages you revise are written by other Agents, give each writer its page's
30
+ `changed_references` entries and their evidence.
29
31
 
30
32
  Follow each changed reference's `evidence_ref` into the JSON array in
31
33
  `reference_evidence_file` (`reference_evidence_count` entries) for
@@ -18,6 +18,7 @@ whenever `source_diff` is `null`, align the whole draft with the current
18
18
  approved article before submitting. Keep the translation's structure exactly:
19
19
 
20
20
  - frontmatter contains only a translated `title` and optional `description`;
21
+ drop a `translation` record copied from a kept draft, because the CLI writes it;
21
22
  - keep every `context:section` marker, id and order unchanged;
22
23
  - keep every fenced code block and language marker; translate prose in `text`,
23
24
  `txt`, and `plaintext` blocks, preserving commands, paths and placeholders such