@c4a/context-cli 0.7.70 → 0.7.72
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 +9 -0
- package/README.zh-CN.md +2 -0
- package/cli.js +7902 -7853
- package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +2 -2
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +2 -2
- package/indexers/bundles/context-code-indexer/references/indexer.md +2 -2
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +2 -1
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +2 -2
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +14 -14
- package/package.json +12 -12
- package/parserEntryWorker.js +23 -11
- 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/composers/contracts-and-chains.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/event-flow.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +2 -2
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +2 -2
- package/plugins/skills/context-code-indexer/references/indexer.md +2 -2
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +2 -1
- package/plugins/skills/context-markdown-indexer/references/indexer.md +2 -2
- package/providers/context/manifest.json +21 -21
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +2 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +7 -5
- package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +1 -1
- package/providers/context/resources/manuals/guides/package-outputs.md +2 -2
- package/providers/context/resources/manuals/guides/site-translation.md +19 -18
- package/providers/context/resources/manuals/reference/package-templates.md +2 -2
- package/providers/context/resources/procedures/approved-revision.md +8 -4
- package/providers/context/resources/procedures/knowledge-updates.md +7 -5
- package/providers/context/resources/procedures/production-stage-files.md +6 -4
- package/providers/context/resources/procedures/source-update.md +9 -0
- package/providers/context/skills/translate-site-locales/SKILL.md +6 -7
|
@@ -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.
|
|
4
|
+
"version": "0.7.72",
|
|
5
5
|
"issuer": "context4ai/context",
|
|
6
6
|
"bundles": [
|
|
7
7
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"kind": "cli-bundled",
|
|
12
12
|
"locator": "cli-bundled://context/context-code-indexer"
|
|
13
13
|
},
|
|
14
|
-
"integrity": "sha256:
|
|
14
|
+
"integrity": "sha256:c0dee602a87f5f95a3419fba3bbb3b3ea69292968b52c46744af869751487107",
|
|
15
15
|
"manifest_digest": "sha256:1bb49c2cfaaf1cc847dccd90c5f2bb6465941217a0e0d6053c0a5aeff467a013",
|
|
16
16
|
"files": [
|
|
17
17
|
{
|
|
@@ -92,35 +92,35 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"path": "references/composers/contracts-and-chains.md",
|
|
95
|
-
"digest": "sha256:
|
|
95
|
+
"digest": "sha256:9cd801c6901ecf4d0e95258224e4a1c82ee14ba4010ce594ff97267c6ce58e38"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"path": "references/composers/cross-module-chain.md",
|
|
99
|
-
"digest": "sha256:
|
|
99
|
+
"digest": "sha256:7beb0ace96064e035de762c8ffe19b29c5960da7695363bf4873eb186528e2c3"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"path": "references/composers/development-and-delivery.md",
|
|
103
|
-
"digest": "sha256:
|
|
103
|
+
"digest": "sha256:27414925870e883803f3507abaacf2e2dc1c01bf03e4b6cf3ec47ad80f95770a"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"path": "references/composers/event-flow.md",
|
|
107
|
-
"digest": "sha256:
|
|
107
|
+
"digest": "sha256:a430d14f11c02c8b67e98afffd0cf9d3c6e71bbf421780fd9b0399723cab8e93"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"path": "references/composers/examples-and-documentation.md",
|
|
111
|
-
"digest": "sha256:
|
|
111
|
+
"digest": "sha256:e97d2be0bb15ad28ad69de04dedb150ca0395278e45d8ee3299f22380579a45c"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"path": "references/composers/persistence-boundary.md",
|
|
115
|
-
"digest": "sha256:
|
|
115
|
+
"digest": "sha256:406e4a08f50f6a75c6f2cb52bbc5263eb1962071971681749bed4a6b0072e4e7"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"path": "references/composers/protocol-boundary.md",
|
|
119
|
-
"digest": "sha256:
|
|
119
|
+
"digest": "sha256:fc30a3ad05e0e6183e526e801d72d802df69770885f627b51c1e9739eaac17b7"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"path": "references/composers/public-contract.md",
|
|
123
|
-
"digest": "sha256:
|
|
123
|
+
"digest": "sha256:0870c39814802b4ecb647f86878b325ddb29fec0dd9865de05de7e183d692422"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"path": "references/diagram-behavior-examples.md",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"path": "references/indexer.md",
|
|
139
|
-
"digest": "sha256:
|
|
139
|
+
"digest": "sha256:4c14a0ea8961a5aeabe8fc457d5fc8b70bb3da948fa724ec189d08198651c659"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"path": "references/metrics.md",
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
"path": "templates/data-sync-reconciliation.md",
|
|
391
|
-
"digest": "sha256:
|
|
391
|
+
"digest": "sha256:0e8d5cc9759cced52a2cb9baad6b18c10c3df85cb9c61927d383268c7ef64214"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"path": "templates/derived-generated-source-public-api-reference.md",
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
"kind": "cli-bundled",
|
|
540
540
|
"locator": "cli-bundled://context/context-markdown-indexer"
|
|
541
541
|
},
|
|
542
|
-
"integrity": "sha256:
|
|
542
|
+
"integrity": "sha256:12a5a40e4770cc1b96876028732ed887e7c92b279060b247cc61dafe54fc6a75",
|
|
543
543
|
"manifest_digest": "sha256:4b6ea2307077abd4899515d32f72941ab8e6bceaa89f2b7662d732bbf817bce5",
|
|
544
544
|
"files": [
|
|
545
545
|
{
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"path": "references/indexer.md",
|
|
631
|
-
"digest": "sha256:
|
|
631
|
+
"digest": "sha256:d96c0396d43c610870ae78aa80cf19b3fedec761a70ca330f2190115615133cf"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"path": "references/semantic-planning.md",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.72",
|
|
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.72",
|
|
28
|
+
"@c4a/extract": "0.7.72",
|
|
29
|
+
"@c4a/extract-contract": "0.7.72",
|
|
30
|
+
"@c4a/extract-go": "0.7.72",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.72",
|
|
32
|
+
"@c4a/extract-proto": "0.7.72",
|
|
33
|
+
"@c4a/extract-rush": "0.7.72",
|
|
34
|
+
"@c4a/extract-sql": "0.7.72",
|
|
35
|
+
"@c4a/extract-style": "0.7.72",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.72",
|
|
37
|
+
"@c4a/extract-ts": "0.7.72",
|
|
38
38
|
"@mermaid-js/layout-elk": "0.2.0",
|
|
39
39
|
"commander": "^11.0.0",
|
|
40
40
|
"fast-xml-parser": "^5.10.1",
|
package/parserEntryWorker.js
CHANGED
|
@@ -4821,6 +4821,18 @@ var init_indexerProtocolCommon = __esm(() => {
|
|
|
4821
4821
|
|
|
4822
4822
|
// ../context/src/articleStructure.ts
|
|
4823
4823
|
import { createHash as createHash3 } from "node:crypto";
|
|
4824
|
+
function articleFragmentReferenceListSchema(item) {
|
|
4825
|
+
return exports_external.array(item).max(ARTICLE_FRAGMENT_REGION_LIMIT, {
|
|
4826
|
+
message: `A fragment can cite at most ${ARTICLE_FRAGMENT_REGION_LIMIT} source regions`
|
|
4827
|
+
}).superRefine((references, context) => {
|
|
4828
|
+
const files = new Set(references.map((reference) => JSON.stringify([reference.source_ref, reference.locator.path])));
|
|
4829
|
+
if (files.size > ARTICLE_FRAGMENT_SOURCE_FILE_LIMIT)
|
|
4830
|
+
context.addIssue({
|
|
4831
|
+
code: exports_external.ZodIssueCode.custom,
|
|
4832
|
+
message: `A fragment can cite at most ${ARTICLE_FRAGMENT_SOURCE_FILE_LIMIT} distinct source files (got ${files.size}); split the fragment or drop a supporting file`
|
|
4833
|
+
});
|
|
4834
|
+
});
|
|
4835
|
+
}
|
|
4824
4836
|
function articleFragmentReferences(values) {
|
|
4825
4837
|
const unique = new Map;
|
|
4826
4838
|
for (const value of values) {
|
|
@@ -4885,7 +4897,7 @@ function locateArticleRegion(regionText, newText, path) {
|
|
|
4885
4897
|
end_line: found + region.length
|
|
4886
4898
|
};
|
|
4887
4899
|
}
|
|
4888
|
-
var articleSourceLocatorSchema, articleSourceReferenceSchema, articleSectionSchema, articleStructureEntrySchema;
|
|
4900
|
+
var articleSourceLocatorSchema, articleSourceReferenceSchema, ARTICLE_FRAGMENT_SOURCE_FILE_LIMIT = 3, ARTICLE_FRAGMENT_REGION_LIMIT = 8, articleSectionSchema, articleStructureEntrySchema;
|
|
4889
4901
|
var init_articleStructure = __esm(() => {
|
|
4890
4902
|
init_zod();
|
|
4891
4903
|
init_contracts();
|
|
@@ -4909,7 +4921,7 @@ var init_articleStructure = __esm(() => {
|
|
|
4909
4921
|
}).strict();
|
|
4910
4922
|
articleSectionSchema = exports_external.object({
|
|
4911
4923
|
id: exports_external.string().min(1),
|
|
4912
|
-
references:
|
|
4924
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema)
|
|
4913
4925
|
}).strict();
|
|
4914
4926
|
articleStructureEntrySchema = exports_external.object({
|
|
4915
4927
|
article_id: exports_external.string().min(1),
|
|
@@ -5322,12 +5334,12 @@ var init_indexerContentLayers = __esm(() => {
|
|
|
5322
5334
|
block_id: indexerIdSchema,
|
|
5323
5335
|
layer: exports_external.literal("semantic-prose"),
|
|
5324
5336
|
markdown: exports_external.string().min(1),
|
|
5325
|
-
references:
|
|
5337
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema)
|
|
5326
5338
|
}).strict();
|
|
5327
5339
|
renderedContentBlockPayloadSchema = exports_external.object({
|
|
5328
5340
|
layer: exports_external.enum(["deterministic-block", "semantic-prose"]),
|
|
5329
5341
|
markdown: exports_external.string().min(1),
|
|
5330
|
-
references:
|
|
5342
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema)
|
|
5331
5343
|
}).strict();
|
|
5332
5344
|
indexerRenderedContentBlockSchema = renderedContentBlockPayloadSchema.extend({
|
|
5333
5345
|
content_digest: indexerDigestSchema
|
|
@@ -5360,7 +5372,7 @@ var init_indexerArtifact = __esm(() => {
|
|
|
5360
5372
|
}).strict();
|
|
5361
5373
|
indexerArtifactTemplateVariableSchema = exports_external.object({
|
|
5362
5374
|
value: indexerCanonicalJsonSchema,
|
|
5363
|
-
references:
|
|
5375
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema)
|
|
5364
5376
|
}).strict();
|
|
5365
5377
|
artifactCommonFields = {
|
|
5366
5378
|
artifact_id: indexerIdSchema,
|
|
@@ -18340,14 +18352,14 @@ var init_indexerSemanticInput = __esm(() => {
|
|
|
18340
18352
|
heading: exports_external.string().min(1),
|
|
18341
18353
|
visuals: exports_external.array(authorVisualSchema).optional(),
|
|
18342
18354
|
markdown: exports_external.string().min(1),
|
|
18343
|
-
references:
|
|
18355
|
+
references: articleFragmentReferenceListSchema(exports_external.object({ source_ref: exports_external.string().min(1), locator: articleSourceLocatorSchema }).strict()).default([]),
|
|
18344
18356
|
answers: exports_external.array(exports_external.string().min(1)).default([])
|
|
18345
18357
|
}).strict();
|
|
18346
18358
|
authorTemplateVariablesSchema = exports_external.record(exports_external.union([
|
|
18347
18359
|
exports_external.string(),
|
|
18348
18360
|
exports_external.object({
|
|
18349
18361
|
value: exports_external.string(),
|
|
18350
|
-
references:
|
|
18362
|
+
references: articleFragmentReferenceListSchema(exports_external.object({ source_ref: exports_external.string().min(1), locator: articleSourceLocatorSchema }).strict()).default([])
|
|
18351
18363
|
}).strict()
|
|
18352
18364
|
]));
|
|
18353
18365
|
authorMemberDispositionSchema = exports_external.object({
|
|
@@ -18458,7 +18470,7 @@ var init_indexerSemanticInput = __esm(() => {
|
|
|
18458
18470
|
heading: exports_external.string().min(1),
|
|
18459
18471
|
visuals: exports_external.array(authorVisualSchema).optional(),
|
|
18460
18472
|
markdown: exports_external.string().min(1),
|
|
18461
|
-
references:
|
|
18473
|
+
references: articleFragmentReferenceListSchema(exports_external.object({ source_ref: exports_external.string().min(1), locator: articleSourceLocatorSchema }).strict())
|
|
18462
18474
|
}).strict();
|
|
18463
18475
|
postAuthorInputBaseSchema = exports_external.object({
|
|
18464
18476
|
stage: exports_external.literal("post-author"),
|
|
@@ -19270,7 +19282,7 @@ var init_indexerTemplateRendering = __esm(() => {
|
|
|
19270
19282
|
artifact_kind: indexerIdSchema,
|
|
19271
19283
|
markdown: exports_external.string().min(1),
|
|
19272
19284
|
content_blocks: exports_external.array(indexerRenderedContentBlockSchema).min(1),
|
|
19273
|
-
references:
|
|
19285
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema),
|
|
19274
19286
|
content_digest: indexerDigestSchema
|
|
19275
19287
|
}).strict();
|
|
19276
19288
|
renderedMaterialGapSchema = exports_external.object({
|
|
@@ -19325,7 +19337,7 @@ var init_indexerLayoutResolver = __esm(() => {
|
|
|
19325
19337
|
artifact_kind: indexerIdSchema,
|
|
19326
19338
|
state: exports_external.enum(["structured", "rendered", "material-gap"]),
|
|
19327
19339
|
content_digest: indexerDigestSchema.nullable(),
|
|
19328
|
-
references:
|
|
19340
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema),
|
|
19329
19341
|
material_question_proposal_ref: indexerCanonicalRefSchema.nullable(),
|
|
19330
19342
|
collection_resolution_digest: indexerDigestSchema
|
|
19331
19343
|
}).strict();
|
|
@@ -19698,7 +19710,7 @@ var init_indexerCandidateCompile = __esm(() => {
|
|
|
19698
19710
|
sections: exports_external.array(exports_external.object({
|
|
19699
19711
|
section_ref: exports_external.string().min(1),
|
|
19700
19712
|
section_key: indexerIdSchema,
|
|
19701
|
-
references:
|
|
19713
|
+
references: articleFragmentReferenceListSchema(articleSourceReferenceSchema),
|
|
19702
19714
|
markdown: exports_external.string().min(1),
|
|
19703
19715
|
markdown_digest: indexerDigestSchema
|
|
19704
19716
|
}).strict()).min(1),
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.72
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.72",
|
|
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.72",
|
|
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",
|
|
@@ -24,5 +24,5 @@ empty `fragments` array.
|
|
|
24
24
|
|
|
25
25
|
Use only the supplied primary artifacts and their actual regional references.
|
|
26
26
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
27
|
-
output fragment retains at most three
|
|
28
|
-
ledger is reconstructed from the full inventory.
|
|
27
|
+
output fragment retains real source regions from at most three files (up to
|
|
28
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -23,5 +23,5 @@ empty result: the accepted layer-fragment result with `fragments: []`.
|
|
|
23
23
|
|
|
24
24
|
Use only the supplied primary artifacts and their actual regional references.
|
|
25
25
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
26
|
-
output fragment retains at most three
|
|
27
|
-
ledger is reconstructed from the full inventory.
|
|
26
|
+
output fragment retains real source regions from at most three files (up to
|
|
27
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md
CHANGED
|
@@ -23,5 +23,5 @@ return `fragments: []` in the ordinary structured result.
|
|
|
23
23
|
|
|
24
24
|
Use only the supplied primary artifacts and their actual regional references.
|
|
25
25
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
26
|
-
output fragment retains at most three
|
|
27
|
-
ledger is reconstructed from the full inventory.
|
|
26
|
+
output fragment retains real source regions from at most three files (up to
|
|
27
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -22,5 +22,5 @@ reader value must return the normal result envelope with `fragments: []`.
|
|
|
22
22
|
|
|
23
23
|
Use only the supplied primary artifacts and their actual regional references.
|
|
24
24
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
25
|
-
output fragment retains at most three
|
|
26
|
-
ledger is reconstructed from the full inventory.
|
|
25
|
+
output fragment retains real source regions from at most three files (up to
|
|
26
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md
CHANGED
|
@@ -23,5 +23,5 @@ never invent tutorial steps.
|
|
|
23
23
|
|
|
24
24
|
Use only the supplied primary artifacts and their actual regional references.
|
|
25
25
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
26
|
-
output fragment retains at most three
|
|
27
|
-
ledger is reconstructed from the full inventory.
|
|
26
|
+
output fragment retains real source regions from at most three files (up to
|
|
27
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -22,5 +22,5 @@ set rather than reading outside the workset.
|
|
|
22
22
|
|
|
23
23
|
Use only the supplied primary artifacts and their actual regional references.
|
|
24
24
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
25
|
-
output fragment retains at most three
|
|
26
|
-
ledger is reconstructed from the full inventory.
|
|
25
|
+
output fragment retains real source regions from at most three files (up to
|
|
26
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -23,5 +23,5 @@ answers the reader question, return a valid result with `fragments: []`.
|
|
|
23
23
|
|
|
24
24
|
Use only the supplied primary artifacts and their actual regional references.
|
|
25
25
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
26
|
-
output fragment retains at most three
|
|
27
|
-
ledger is reconstructed from the full inventory.
|
|
26
|
+
output fragment retains real source regions from at most three files (up to
|
|
27
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -36,5 +36,5 @@ Composer's declared result schema and actions.
|
|
|
36
36
|
|
|
37
37
|
Use only the supplied primary artifacts and their actual regional references.
|
|
38
38
|
Do not require a primary Fact table, evidence IDs, or graph nodes. Each derived
|
|
39
|
-
output fragment retains at most three
|
|
40
|
-
ledger is reconstructed from the full inventory.
|
|
39
|
+
output fragment retains real source regions from at most three files (up to
|
|
40
|
+
eight regions); no reference ledger is reconstructed from the full inventory.
|
|
@@ -129,8 +129,8 @@ affected sections when appropriate. Preserve still-valid examples, limitations
|
|
|
129
129
|
and confirmed contributions. New explanatory context does not require
|
|
130
130
|
repartitioning unchanged code.
|
|
131
131
|
|
|
132
|
-
Each fragment uses actual source regions
|
|
133
|
-
computes content digests. Do not use fallback evidence from an unrelated
|
|
132
|
+
Each fragment uses actual source regions from at most three source files (up
|
|
133
|
+
to eight regions in total); the CLI computes content digests. Do not use fallback evidence from an unrelated
|
|
134
134
|
member, fabricate a continuous span for unrelated locations, or include
|
|
135
135
|
process identities, full source bodies or credentials in reader output.
|
|
136
136
|
|
|
@@ -61,7 +61,8 @@ owner or inventory membership is required; avoid duplicating existing prose.
|
|
|
61
61
|
The article may cite every authorized participating source. Cover the reader
|
|
62
62
|
question and relevant handoffs defined in the task brief.
|
|
63
63
|
Explain operations and handoffs in reader prose, links or diagrams, citing the
|
|
64
|
-
actual source regions for each fragment (at most three
|
|
64
|
+
actual source regions for each fragment (at most three source files per fragment;
|
|
65
|
+
several regions of one file are fine, up to eight regions in total).
|
|
65
66
|
Do not emit graph edges, classify nodes or create a relationship ledger.
|
|
66
67
|
|
|
67
68
|
## Granularity and stop conditions
|
|
@@ -27,8 +27,8 @@ needed section edits when appropriate. Stable section markers and title and
|
|
|
27
27
|
description follow that schema; there is no ArtifactResult, subject identity
|
|
28
28
|
or profile-owned output mapping to assemble.
|
|
29
29
|
|
|
30
|
-
For each output fragment, cite the actual source regions used, at most
|
|
31
|
-
|
|
30
|
+
For each output fragment, cite the actual source regions used, from at most
|
|
31
|
+
three source files (up to eight regions in total). Use source_ref and an inclusive file/line locator; the CLI computes
|
|
32
32
|
content digests. Do not attach an entire corpus to a generic paragraph or
|
|
33
33
|
combine unrelated locations into a fabricated continuous span. Split genuinely
|
|
34
34
|
distinct explanations when they need distinct references.
|
|
@@ -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.72"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -193,12 +193,12 @@
|
|
|
193
193
|
{
|
|
194
194
|
"id": "context.sdk.package-outputs",
|
|
195
195
|
"path": "resources/manuals/guides/package-outputs.md",
|
|
196
|
-
"digest": "sha256:
|
|
196
|
+
"digest": "sha256:72293f50a37e09fe14177bb940e12ada2515d71e7826c808ab7b9f7bf47bcce3"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
"id": "context.sdk.package-templates",
|
|
200
200
|
"path": "resources/manuals/reference/package-templates.md",
|
|
201
|
-
"digest": "sha256:
|
|
201
|
+
"digest": "sha256:f3a7fcc0166a6af15da550edb7937c7630bd2fb2372ca2ccd430b7cd6e56a3a9"
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
"id": "context.sdk.page-customization",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
{
|
|
214
214
|
"id": "context.sdk.site-translation",
|
|
215
215
|
"path": "resources/manuals/guides/site-translation.md",
|
|
216
|
-
"digest": "sha256:
|
|
216
|
+
"digest": "sha256:6d7567967cda5c592665641cfb8ba29255621acf77ee27b45ee6272e76879872"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"id": "context.sdk.template-variables",
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
{
|
|
289
289
|
"id": "procedure.approved-revision",
|
|
290
290
|
"path": "resources/procedures/approved-revision.md",
|
|
291
|
-
"digest": "sha256:
|
|
291
|
+
"digest": "sha256:fecf43f12b1759cc1ca3b716892a787b5445caa25ff7efadb2cebf042a309a0c"
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"id": "procedure.close-and-build",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
{
|
|
324
324
|
"id": "procedure.knowledge-updates",
|
|
325
325
|
"path": "resources/procedures/knowledge-updates.md",
|
|
326
|
-
"digest": "sha256:
|
|
326
|
+
"digest": "sha256:8a3e8d6539bc18d4bc82cb69376b5126d53c6d1535c9145ba5770b72cf008656"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"id": "procedure.note",
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
{
|
|
349
349
|
"id": "procedure.production-stage-files",
|
|
350
350
|
"path": "resources/procedures/production-stage-files.md",
|
|
351
|
-
"digest": "sha256:
|
|
351
|
+
"digest": "sha256:3baccaa799d01749dae4cdb7bf839c7d182009540d3bf91a95e775d44be2ef6c"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
"id": "procedure.project-configuration",
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
{
|
|
384
384
|
"id": "procedure.source-update",
|
|
385
385
|
"path": "resources/procedures/source-update.md",
|
|
386
|
-
"digest": "sha256:
|
|
386
|
+
"digest": "sha256:cbc558e0b2f7b2d1274dd898fc9a6a8eaaea89607452e54de0c9694088bbb3e6"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"id": "procedure.task-recovery",
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
591
|
"path": "provider.yaml",
|
|
592
|
-
"digest": "sha256:
|
|
592
|
+
"digest": "sha256:5f8774eb8a7e256066407626d012ed222412c569317d2172641e04fadf991221"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
595
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
"path": "resources/manuals/guides/code-indexer-skill-authoring.md",
|
|
640
|
-
"digest": "sha256:
|
|
640
|
+
"digest": "sha256:35a403edb2efaa0814df6f7b743c9c6a997f65603667678b53f6b36a068d124b"
|
|
641
641
|
},
|
|
642
642
|
{
|
|
643
643
|
"path": "resources/manuals/guides/imports.md",
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
},
|
|
650
650
|
{
|
|
651
651
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
652
|
-
"digest": "sha256:
|
|
652
|
+
"digest": "sha256:bdb5bfac802dfea75f38af8800216288cf740b53395ccbe4bfe5e30a1c555f48"
|
|
653
653
|
},
|
|
654
654
|
{
|
|
655
655
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
659
|
"path": "resources/manuals/guides/markdown-indexer-skill-authoring.md",
|
|
660
|
-
"digest": "sha256:
|
|
660
|
+
"digest": "sha256:a2d9cce0fce4a220befbfa8c0a8062ec4656b1ab812b149e0a14d341967d976a"
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
663
|
"path": "resources/manuals/guides/note.md",
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
667
|
"path": "resources/manuals/guides/package-outputs.md",
|
|
668
|
-
"digest": "sha256:
|
|
668
|
+
"digest": "sha256:72293f50a37e09fe14177bb940e12ada2515d71e7826c808ab7b9f7bf47bcce3"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
671
|
"path": "resources/manuals/guides/page-customization.md",
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
683
|
"path": "resources/manuals/guides/site-translation.md",
|
|
684
|
-
"digest": "sha256:
|
|
684
|
+
"digest": "sha256:6d7567967cda5c592665641cfb8ba29255621acf77ee27b45ee6272e76879872"
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
"path": "resources/manuals/guides/source-batches.md",
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
707
|
"path": "resources/manuals/reference/package-templates.md",
|
|
708
|
-
"digest": "sha256:
|
|
708
|
+
"digest": "sha256:f3a7fcc0166a6af15da550edb7937c7630bd2fb2372ca2ccd430b7cd6e56a3a9"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
711
|
"path": "resources/manuals/reference/project-api.md",
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
719
|
"path": "resources/procedures/approved-revision.md",
|
|
720
|
-
"digest": "sha256:
|
|
720
|
+
"digest": "sha256:fecf43f12b1759cc1ca3b716892a787b5445caa25ff7efadb2cebf042a309a0c"
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
723
|
"path": "resources/procedures/close-and-build.md",
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
747
|
"path": "resources/procedures/knowledge-updates.md",
|
|
748
|
-
"digest": "sha256:
|
|
748
|
+
"digest": "sha256:8a3e8d6539bc18d4bc82cb69376b5126d53c6d1535c9145ba5770b72cf008656"
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
751
|
"path": "resources/procedures/note.md",
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
767
|
"path": "resources/procedures/production-stage-files.md",
|
|
768
|
-
"digest": "sha256:
|
|
768
|
+
"digest": "sha256:3baccaa799d01749dae4cdb7bf839c7d182009540d3bf91a95e775d44be2ef6c"
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
771
|
"path": "resources/procedures/project-configuration.md",
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
"path": "resources/procedures/source-update.md",
|
|
796
|
-
"digest": "sha256:
|
|
796
|
+
"digest": "sha256:cbc558e0b2f7b2d1274dd898fc9a6a8eaaea89607452e54de0c9694088bbb3e6"
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
799
|
"path": "resources/procedures/task-recovery.md",
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
},
|
|
902
902
|
{
|
|
903
903
|
"path": "skills/translate-site-locales/SKILL.md",
|
|
904
|
-
"digest": "sha256:
|
|
904
|
+
"digest": "sha256:b13be9668338273cb6f2a7baa4bf1249d77e63895369220af84193c1de3da3ad"
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
907
|
"path": "skills/work-production-stage/SKILL.md",
|
|
@@ -912,5 +912,5 @@
|
|
|
912
912
|
"indexer": [],
|
|
913
913
|
"workspace": []
|
|
914
914
|
},
|
|
915
|
-
"digest": "sha256:
|
|
915
|
+
"digest": "sha256:5414538128cc2628c96857e762427d169d4a308752b47d4d674361ca7a6c123f"
|
|
916
916
|
}
|
|
@@ -50,7 +50,8 @@ proof of runtime behavior. Preserve expressions without executing project code,
|
|
|
50
50
|
distinguish declaration defaults from implementation defaults, and state unknowns.
|
|
51
51
|
|
|
52
52
|
Use the current stage's Markdown and reference-file schemas. Each fragment cites
|
|
53
|
-
at most three
|
|
53
|
+
actual source regions from at most three files (up to eight regions); the CLI
|
|
54
|
+
computes regional digests. Split
|
|
54
55
|
an explanation when it needs separate evidence, not to fill a fixed template.
|
|
55
56
|
Reuse stable article and fragment identities when revising. Supporting documents,
|
|
56
57
|
notes or sessions may contribute to the same article without becoming code facts.
|
|
@@ -338,7 +338,7 @@ changing structure, adding a page or when a section has no unambiguous ID.
|
|
|
338
338
|
To change a fragment's citations, include `references` alongside its `section_id`:
|
|
339
339
|
each entry supplies `source_ref` and `locator` (`path`, `start_line`, `end_line`).
|
|
340
340
|
Context computes the region fingerprint. This uses the same revision submission,
|
|
341
|
-
with at most three source
|
|
341
|
+
with at most three source files and eight regions per fragment. Full Markdown may include a
|
|
342
342
|
`sections` list of reference edits; local section edits may change content,
|
|
343
343
|
references, or both. Omission preserves citations; an empty list removes them.
|
|
344
344
|
|
|
@@ -703,17 +703,19 @@ Revision section edits may supply `references` as `source_ref` plus a
|
|
|
703
703
|
`locator` containing `path`, `start_line`, and `end_line`. Context computes the
|
|
704
704
|
regional digest. Omitted references preserve the current fragment's citations;
|
|
705
705
|
an explicit empty list removes them, and deleting a fragment removes its
|
|
706
|
-
citations. Each fragment may cite at most three source
|
|
706
|
+
citations. Each fragment may cite at most three source files and eight regions. Register and
|
|
707
707
|
authorize new material before citing it, then follow normal Review, close and
|
|
708
708
|
build. Article links alone do not authorize reading new sources or prove a claim.
|
|
709
709
|
|
|
710
710
|
### Locating submitted references
|
|
711
711
|
|
|
712
712
|
Submission locators also accept `{path, heading}` or `{path, quote}` instead of
|
|
713
|
-
line numbers. Use exactly one form. A heading
|
|
714
|
-
outside code fences in a Markdown source;
|
|
713
|
+
line numbers. Use exactly one form. A heading is the title text of an exact ATX heading
|
|
714
|
+
outside code fences in a Markdown source; a leading `##` marker is optional and,
|
|
715
|
+
when present, also selects the heading level; its region ends before the next
|
|
715
716
|
same-level or higher-level heading. A quote is an exact, unique, nonempty
|
|
716
717
|
substring (line endings are normalized). Ambiguous matches return candidate
|
|
717
718
|
line ranges. Both forms resolve against authorized captured text before hashing;
|
|
718
719
|
stored references still contain only `path`, `start_line` and `end_line`.
|
|
719
|
-
The
|
|
720
|
+
The per-fragment limits (three source files, eight regions) apply after
|
|
721
|
+
resolving and deduplicating positions.
|