@c4a/context-cli 0.7.87 → 0.7.88
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 +3 -0
- package/cli.js +130 -20
- 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/actions/process-source-update.yaml +5 -0
- package/providers/context/codes.yaml +1 -0
- package/providers/context/graphs/workspace.yaml +13 -1
- package/providers/context/manifest.json +20 -11
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +7 -0
- package/providers/context/resources/procedures/knowledge-updates.md +7 -0
- package/providers/context/resources/procedures/source-update.md +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.88",
|
|
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.88",
|
|
28
|
+
"@c4a/extract": "0.7.88",
|
|
29
|
+
"@c4a/extract-contract": "0.7.88",
|
|
30
|
+
"@c4a/extract-go": "0.7.88",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.88",
|
|
32
|
+
"@c4a/extract-proto": "0.7.88",
|
|
33
|
+
"@c4a/extract-rush": "0.7.88",
|
|
34
|
+
"@c4a/extract-sql": "0.7.88",
|
|
35
|
+
"@c4a/extract-style": "0.7.88",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.88",
|
|
37
|
+
"@c4a/extract-ts": "0.7.88",
|
|
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.
|
|
1
|
+
0.7.88
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.88",
|
|
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.88",
|
|
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",
|
|
@@ -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:
|
|
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.
|
|
5
|
+
"version": "0.7.88"
|
|
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:
|
|
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:
|
|
331
|
+
"digest": "sha256:4de79a8394858362f26e37908dae7a163c1513c366d60c7acf50371b10c08108"
|
|
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:
|
|
391
|
+
"digest": "sha256:25eb0d496f69ee6cf9743a9cee7c25ac0776babb13af4c6a09ddf052017d6065"
|
|
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:
|
|
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:
|
|
597
|
+
"digest": "sha256:617e5b1a12b01a82c78e4b88c142431e6b1eda122d0e5dc4941e0961132558a9"
|
|
589
598
|
},
|
|
590
599
|
{
|
|
591
600
|
"path": "provider.yaml",
|
|
592
|
-
"digest": "sha256:
|
|
601
|
+
"digest": "sha256:f59ba88041a60288b4901d50589176becefef835450ac413a1e777d9b3494c38"
|
|
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:
|
|
661
|
+
"digest": "sha256:d7782f7c7a6cb1ce1472956e4db4941f041fafebbc1a55784cd0c7925dc45e69"
|
|
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:
|
|
757
|
+
"digest": "sha256:4de79a8394858362f26e37908dae7a163c1513c366d60c7acf50371b10c08108"
|
|
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:
|
|
805
|
+
"digest": "sha256:25eb0d496f69ee6cf9743a9cee7c25ac0776babb13af4c6a09ddf052017d6065"
|
|
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:
|
|
924
|
+
"digest": "sha256:db4e8241150bcebbcef4e5476a6eafd5ffc79d5b216fa1e24eef2b39f982de0c"
|
|
916
925
|
}
|
|
@@ -425,6 +425,13 @@ 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. Moved citations update their
|
|
433
|
+
locations when the update settles.
|
|
434
|
+
|
|
428
435
|
Before importing a `note`, read [note source preparation](note.md).
|
|
429
436
|
Before importing `sessions`, read [development summary preparation](sessions.md).
|
|
430
437
|
Choose the reference for the actual input; do not read both by default.
|
|
@@ -425,6 +425,13 @@ 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. Moved citations update their
|
|
433
|
+
locations when the update settles.
|
|
434
|
+
|
|
428
435
|
Before importing a `note`, read [note source preparation](note.md).
|
|
429
436
|
Before importing `sessions`, read [development summary preparation](sessions.md).
|
|
430
437
|
Choose the reference for the actual input; do not read both by default.
|
|
@@ -17,6 +17,11 @@ 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.
|
|
20
25
|
|
|
21
26
|
Also inspect additions and shared dependencies in the source change. Existing
|
|
22
27
|
page references cannot discover every new topic. List necessary new pages in `new_topics`, each with a readable `path` in an existing
|