@c4a/context-cli 0.7.87 → 0.7.90

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.87",
4
+ "version": "0.7.90",
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.87",
3
+ "version": "0.7.90",
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.87",
28
- "@c4a/extract": "0.7.87",
29
- "@c4a/extract-contract": "0.7.87",
30
- "@c4a/extract-go": "0.7.87",
31
- "@c4a/extract-mdx": "0.7.87",
32
- "@c4a/extract-proto": "0.7.87",
33
- "@c4a/extract-rush": "0.7.87",
34
- "@c4a/extract-sql": "0.7.87",
35
- "@c4a/extract-style": "0.7.87",
36
- "@c4a/extract-thrift": "0.7.87",
37
- "@c4a/extract-ts": "0.7.87",
27
+ "@c4a/context": "0.7.90",
28
+ "@c4a/extract": "0.7.90",
29
+ "@c4a/extract-contract": "0.7.90",
30
+ "@c4a/extract-go": "0.7.90",
31
+ "@c4a/extract-mdx": "0.7.90",
32
+ "@c4a/extract-proto": "0.7.90",
33
+ "@c4a/extract-rush": "0.7.90",
34
+ "@c4a/extract-sql": "0.7.90",
35
+ "@c4a/extract-style": "0.7.90",
36
+ "@c4a/extract-thrift": "0.7.90",
37
+ "@c4a/extract-ts": "0.7.90",
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.87
1
+ 0.7.90
@@ -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.87",
4
+ "version": "0.7.90",
5
5
  "author": {
6
6
  "name": "c4a"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c4a",
3
- "version": "0.7.87",
3
+ "version": "0.7.90",
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.87",
13
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.90",
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,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "displayName": "C4A Context",
4
- "version": "0.7.87",
4
+ "version": "0.7.90",
5
5
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
6
6
  "author": {
7
7
  "name": "Context4AI",
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: process-source-update
3
+ runner: command
4
+ effect: write
5
+ command: context update --pending --format json
@@ -97,4 +97,5 @@ codes:
97
97
  - { code: route.indexer.candidate-review, kind: route-reason, summary: Review the exact current candidate set only after current mechanical validation passes. }
98
98
  - { code: route.indexer.approved-knowledge-close, kind: route-reason, summary: Atomically close approved Indexer structure after required material gaps are resolved. }
99
99
  - { code: route.indexer.source-update, kind: route-reason, summary: Inspect fixed source changes against current approved pages. }
100
+ - { code: route.source.update-pending, kind: route-reason, summary: A registered repository moved past the commit its approved knowledge was processed at; process the new commit before other work., document: resources/procedures/knowledge-updates.md }
100
101
  - { code: route.workspace.task-cleared, kind: route-reason, summary: No active production task; existing knowledge is retained and new production awaits explicit user intent., document: resources/procedures/workspace-prepare.md }
@@ -147,6 +147,17 @@ nodes:
147
147
  - resources/procedures/source-capture-detailed.md
148
148
  - resources/manuals/guides/lark-resources.md
149
149
 
150
+ - id: process-source-update
151
+ kind: action
152
+ reasonCode: route.source.update-pending
153
+ action: actions/process-source-update.yaml
154
+ satisfiedBy:
155
+ - path: sources.update_pending
156
+ equals: false
157
+ resources:
158
+ recommended:
159
+ - resources/procedures/knowledge-updates.md
160
+
150
161
  - id: reopen-cleared-task
151
162
  kind: gate
152
163
  reasonCode: route.workspace.task-cleared
@@ -355,7 +366,8 @@ edges:
355
366
  - { from: choose-source-boundary, to: configure-document-capture, kind: gatedBy }
356
367
  - { from: configure-document-capture, to: authorize-document-capture }
357
368
  - { from: authorize-document-capture, to: capture-next, kind: gatedBy }
358
- - { from: capture-next, to: reopen-cleared-task }
369
+ - { from: capture-next, to: process-source-update }
370
+ - { from: process-source-update, to: reopen-cleared-task }
359
371
  - { from: reopen-cleared-task, to: run-indexer-lifecycle, kind: gatedBy }
360
372
  - { from: run-indexer-lifecycle, to: review-current-batch }
361
373
  - { from: review-current-batch, to: close-approved-knowledge, kind: gatedBy }
@@ -2,7 +2,7 @@
2
2
  "schema": "agent-graph.bundle.v1",
3
3
  "provider": {
4
4
  "id": "c4a/context",
5
- "version": "0.7.87"
5
+ "version": "0.7.90"
6
6
  },
7
7
  "providerManifest": "provider.yaml",
8
8
  "graphs": [
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "id": "workspace",
16
16
  "path": "graphs/workspace.yaml",
17
- "digest": "sha256:f72cdb49e298f081c148bf2b58929a415f93890450522da8fd0ab09ec30b2f92"
17
+ "digest": "sha256:617e5b1a12b01a82c78e4b88c142431e6b1eda122d0e5dc4941e0961132558a9"
18
18
  }
19
19
  ],
20
20
  "actions": [
@@ -113,6 +113,11 @@
113
113
  "path": "actions/prepare-production-stage.yaml",
114
114
  "digest": "sha256:f4c92d0658a6279f8c2a4859bf479c25450e68b562650d05dcf4a09efc6a75a9"
115
115
  },
116
+ {
117
+ "id": "process-source-update",
118
+ "path": "actions/process-source-update.yaml",
119
+ "digest": "sha256:db82d981d62501ed4604d523eeb23eee31db2de878996a749279604d9a50a9e6"
120
+ },
116
121
  {
117
122
  "id": "record-workspace-version",
118
123
  "path": "actions/record-workspace-version.yaml",
@@ -323,7 +328,7 @@
323
328
  {
324
329
  "id": "procedure.knowledge-updates",
325
330
  "path": "resources/procedures/knowledge-updates.md",
326
- "digest": "sha256:8a3e8d6539bc18d4bc82cb69376b5126d53c6d1535c9145ba5770b72cf008656"
331
+ "digest": "sha256:889e7bb709907eda63f94a19e5b9ad0942fa3e9bd700670ead0d3470b52faf63"
327
332
  },
328
333
  {
329
334
  "id": "procedure.note",
@@ -383,7 +388,7 @@
383
388
  {
384
389
  "id": "procedure.source-update",
385
390
  "path": "resources/procedures/source-update.md",
386
- "digest": "sha256:cbc558e0b2f7b2d1274dd898fc9a6a8eaaea89607452e54de0c9694088bbb3e6"
391
+ "digest": "sha256:ecad2a39447918b28b9e3c518935e6d29758782b440a74a811e519f98c45c0e0"
387
392
  },
388
393
  {
389
394
  "id": "procedure.task-recovery",
@@ -535,6 +540,10 @@
535
540
  "path": "actions/prepare-production-stage.yaml",
536
541
  "digest": "sha256:f4c92d0658a6279f8c2a4859bf479c25450e68b562650d05dcf4a09efc6a75a9"
537
542
  },
543
+ {
544
+ "path": "actions/process-source-update.yaml",
545
+ "digest": "sha256:db82d981d62501ed4604d523eeb23eee31db2de878996a749279604d9a50a9e6"
546
+ },
538
547
  {
539
548
  "path": "actions/record-workspace-version.yaml",
540
549
  "digest": "sha256:1de26e7c04d0230d8300e4f6d286fb3c05b890ec34eb70fe982579e0cd08d8b9"
@@ -577,7 +586,7 @@
577
586
  },
578
587
  {
579
588
  "path": "codes.yaml",
580
- "digest": "sha256:a4d4b0dccf5d2146e91f7baa1fe16e34d8c410fd1096e9ad9a75214a9006ee22"
589
+ "digest": "sha256:83c0c12e73d98289bc07cba62e893b860a15cdaf87e45d67714983b5ff54c198"
581
590
  },
582
591
  {
583
592
  "path": "graphs/indexer.yaml",
@@ -585,11 +594,11 @@
585
594
  },
586
595
  {
587
596
  "path": "graphs/workspace.yaml",
588
- "digest": "sha256:f72cdb49e298f081c148bf2b58929a415f93890450522da8fd0ab09ec30b2f92"
597
+ "digest": "sha256:617e5b1a12b01a82c78e4b88c142431e6b1eda122d0e5dc4941e0961132558a9"
589
598
  },
590
599
  {
591
600
  "path": "provider.yaml",
592
- "digest": "sha256:f851c0bffbb90a74efaa9ea9ef978fd353d973965f181a44dfa1bcf6fcd80b1c"
601
+ "digest": "sha256:5d423c321d3b5fcc5afb3491f1f1237ed2aa1800def0c411366dfdbc882654d1"
593
602
  },
594
603
  {
595
604
  "path": "resources/contracts/indexer-provider-guide.yaml",
@@ -649,7 +658,7 @@
649
658
  },
650
659
  {
651
660
  "path": "resources/manuals/guides/knowledge-updates.md",
652
- "digest": "sha256:bdb5bfac802dfea75f38af8800216288cf740b53395ccbe4bfe5e30a1c555f48"
661
+ "digest": "sha256:fff96a7ba224684eb565b733370df2efb0306877e35a0b44d0c0e46c60abc2ce"
653
662
  },
654
663
  {
655
664
  "path": "resources/manuals/guides/lark-resources.md",
@@ -745,7 +754,7 @@
745
754
  },
746
755
  {
747
756
  "path": "resources/procedures/knowledge-updates.md",
748
- "digest": "sha256:8a3e8d6539bc18d4bc82cb69376b5126d53c6d1535c9145ba5770b72cf008656"
757
+ "digest": "sha256:889e7bb709907eda63f94a19e5b9ad0942fa3e9bd700670ead0d3470b52faf63"
749
758
  },
750
759
  {
751
760
  "path": "resources/procedures/note.md",
@@ -793,7 +802,7 @@
793
802
  },
794
803
  {
795
804
  "path": "resources/procedures/source-update.md",
796
- "digest": "sha256:cbc558e0b2f7b2d1274dd898fc9a6a8eaaea89607452e54de0c9694088bbb3e6"
805
+ "digest": "sha256:ecad2a39447918b28b9e3c518935e6d29758782b440a74a811e519f98c45c0e0"
797
806
  },
798
807
  {
799
808
  "path": "resources/procedures/task-recovery.md",
@@ -912,5 +921,5 @@
912
921
  "indexer": [],
913
922
  "workspace": []
914
923
  },
915
- "digest": "sha256:0c8b952caa0d58d5e40bd0ac9deecd8cac1ecd59cbf35be980c704b7f14b1588"
924
+ "digest": "sha256:987dcccc9e84dd2ef374154ace667f2973faea0c0721bfee00bb552c93de7618"
916
925
  }
@@ -1,6 +1,6 @@
1
1
  schema: agent-graph.provider.v1
2
2
  id: c4a/context
3
- version: 0.7.87
3
+ version: 0.7.90
4
4
  name: Context workflow
5
5
  description: Internal work contract for Context knowledge workspaces.
6
6
  graphs:
@@ -425,6 +425,14 @@ also checking additions that have no old page reference. The scope is complete
425
425
  only after every required change is reviewed, closed and built, or after an
426
426
  explicit conclusion that it needs no knowledge changes.
427
427
 
428
+ Moving a repository with `context source add repo --ref <sha>` only changes its
429
+ registration. When approved knowledge was processed at the previous commit, run
430
+ `context update --pending --format json`. Only pages whose cited text changed
431
+ become candidates, listed in `changed_references`; still inspect the change for
432
+ additions and shared dependencies before deciding. Other pages citing the source
433
+ are listed in `scope_pages` and can be revised in the same decision. Moved citations update their
434
+ locations when the update settles.
435
+
428
436
  Before importing a `note`, read [note source preparation](note.md).
429
437
  Before importing `sessions`, read [development summary preparation](sessions.md).
430
438
  Choose the reference for the actual input; do not read both by default.
@@ -425,6 +425,14 @@ also checking additions that have no old page reference. The scope is complete
425
425
  only after every required change is reviewed, closed and built, or after an
426
426
  explicit conclusion that it needs no knowledge changes.
427
427
 
428
+ Moving a repository with `context source add repo --ref <sha>` only changes its
429
+ registration. When approved knowledge was processed at the previous commit, run
430
+ `context update --pending --format json`. Only pages whose cited text changed
431
+ become candidates, listed in `changed_references`; still inspect the change for
432
+ additions and shared dependencies before deciding. Other pages citing the source
433
+ are listed in `scope_pages` and can be revised in the same decision. Moved citations update their
434
+ locations when the update settles.
435
+
428
436
  Before importing a `note`, read [note source preparation](note.md).
429
437
  Before importing `sessions`, read [development summary preparation](sessions.md).
430
438
  Choose the reference for the actual input; do not read both by default.
@@ -17,6 +17,13 @@ of them. Read their current approved Markdown. Submit one decision per path:
17
17
  omit `instruction` if no correction is needed, or describe the concrete change
18
18
  to make. Preserve unrelated content and the reader's existing improvements.
19
19
  Include a short `scope_summary` explaining the scope-level conclusion.
20
+ When the action lists `changed_references`, start from those sections: the
21
+ cited text changed (`changed`) or could not be read (`unavailable`, such as a
22
+ renamed or deleted file). For `context update --pending`, pages whose citations
23
+ are unchanged or only moved are not candidates, so an empty list is possible;
24
+ still check the change for additions before submitting the scope decision.
25
+ Those pages are listed in `scope_pages`: they need no decision, but include one
26
+ with an `instruction` when an addition or shared change affects it.
20
27
 
21
28
  Also inspect additions and shared dependencies in the source change. Existing
22
29
  page references cannot discover every new topic. List necessary new pages in `new_topics`, each with a readable `path` in an existing