@c4a/context-cli 0.7.67 → 0.7.71
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 +3371 -2942
- 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 +40 -13
- 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 +23 -23
- 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 +15 -2
- package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +1 -1
- package/providers/context/resources/manuals/guides/site-translation.md +27 -2
- package/providers/context/resources/manuals/reference/package-templates.md +2 -2
- package/providers/context/resources/procedures/approved-revision.md +16 -1
- package/providers/context/resources/procedures/knowledge-updates.md +15 -2
- package/providers/context/resources/procedures/production-stage-files.md +14 -1
- package/providers/context/resources/procedures/source-update.md +7 -0
- package/providers/context/schemas/approved-revision-result.schema.json +56 -19
- package/providers/context/schemas/indexer-agent-step-result.schema.json +56 -19
- package/providers/context/skills/translate-site-locales/SKILL.md +10 -4
|
@@ -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/indexers/bundles/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/indexers/bundles/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.
|