@c4a/context-cli 0.7.91 → 0.7.93

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.
Files changed (63) hide show
  1. package/README.md +11 -3
  2. package/README.zh-CN.md +4 -2
  3. package/cli.js +23913 -21322
  4. package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +1 -1
  5. package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +1 -1
  6. package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +1 -1
  7. package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +1 -1
  8. package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +1 -1
  9. package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +1 -1
  10. package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +1 -1
  11. package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +1 -1
  12. package/indexers/bundles/context-code-indexer/references/indexer.md +4 -2
  13. package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +1 -1
  14. package/indexers/bundles/context-markdown-indexer/references/indexer.md +4 -1
  15. package/indexers/contracts/profile-contract.json +245 -245
  16. package/indexers/release-manifest.json +14 -14
  17. package/package.json +12 -12
  18. package/parserEntryWorker.js +158 -163
  19. package/plugins/VERSION +1 -1
  20. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  21. package/plugins/claude/commands/context.md +31 -10
  22. package/plugins/claude/resources/context/routine-update.md +125 -0
  23. package/plugins/claude/resources/context/version-alignment.md +54 -0
  24. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  25. package/plugins/codex/skills/context/SKILL.md +31 -10
  26. package/plugins/codex/skills/context/references/routine-update.md +125 -0
  27. package/plugins/codex/skills/context/references/version-alignment.md +54 -0
  28. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  29. package/plugins/cursor/commands/c4a-context.md +31 -10
  30. package/plugins/cursor/resources/context/routine-update.md +125 -0
  31. package/plugins/cursor/resources/context/version-alignment.md +54 -0
  32. package/plugins/skills/context/SKILL.md +31 -10
  33. package/plugins/skills/context/references/routine-update.md +125 -0
  34. package/plugins/skills/context/references/version-alignment.md +54 -0
  35. package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +1 -1
  36. package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +1 -1
  37. package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +1 -1
  38. package/plugins/skills/context-code-indexer/references/composers/event-flow.md +1 -1
  39. package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +1 -1
  40. package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +1 -1
  41. package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +1 -1
  42. package/plugins/skills/context-code-indexer/references/composers/public-contract.md +1 -1
  43. package/plugins/skills/context-code-indexer/references/indexer.md +4 -2
  44. package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +1 -1
  45. package/plugins/skills/context-markdown-indexer/references/indexer.md +4 -1
  46. package/providers/context/manifest.json +29 -29
  47. package/providers/context/provider.yaml +1 -1
  48. package/providers/context/resources/dialogue/knowledge-review.md +1 -1
  49. package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +1 -1
  50. package/providers/context/resources/manuals/guides/knowledge-updates.md +25 -6
  51. package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +1 -1
  52. package/providers/context/resources/manuals/guides/workspace-restore.md +7 -0
  53. package/providers/context/resources/manuals/reference/package-templates.md +1 -1
  54. package/providers/context/resources/procedures/approved-revision.md +52 -4
  55. package/providers/context/resources/procedures/knowledge-maintenance.md +16 -0
  56. package/providers/context/resources/procedures/knowledge-review.md +21 -8
  57. package/providers/context/resources/procedures/knowledge-updates.md +25 -6
  58. package/providers/context/resources/procedures/production-stage-files.md +2 -2
  59. package/providers/context/resources/procedures/source-update.md +21 -2
  60. package/providers/context/resources/procedures/workspace-restore.md +7 -0
  61. package/providers/context/schemas/indexer-agent-step-result.schema.json +21 -0
  62. package/providers/context/skills/run-indexer-agent-step/SKILL.md +33 -0
  63. package/providers/context/skills/translate-site-locales/SKILL.md +3 -1
@@ -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 real source regions from at most three files (up to
27
+ output fragment retains real source regions from at most five files (up to
28
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 real source regions from at most three files (up to
26
+ output fragment retains real source regions from at most five files (up to
27
27
  eight regions); no reference ledger is reconstructed from the full inventory.
@@ -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 real source regions from at most three files (up to
26
+ output fragment retains real source regions from at most five files (up to
27
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 real source regions from at most three files (up to
25
+ output fragment retains real source regions from at most five files (up to
26
26
  eight regions); no reference ledger is reconstructed from the full inventory.
@@ -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 real source regions from at most three files (up to
26
+ output fragment retains real source regions from at most five files (up to
27
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 real source regions from at most three files (up to
25
+ output fragment retains real source regions from at most five files (up to
26
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 real source regions from at most three files (up to
26
+ output fragment retains real source regions from at most five files (up to
27
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 real source regions from at most three files (up to
39
+ output fragment retains real source regions from at most five files (up to
40
40
  eight regions); no reference ledger is reconstructed from the full inventory.
@@ -129,8 +129,10 @@ 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 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
132
+ Each fragment uses actual source regions from at most five source files (up
133
+ to eight regions in total); the CLI computes content digests. Organize fragments
134
+ by topic and cite only sources that support that fragment. If either limit is
135
+ exceeded, split by topic or keep the primary supporting files. Do not use fallback evidence from an unrelated
134
136
  member, fabricate a continuous span for unrelated locations, or include
135
137
  process identities, full source bodies or credentials in reader output.
136
138
 
@@ -61,7 +61,7 @@ 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 source files per fragment;
64
+ actual source regions for each fragment (at most five source files per fragment;
65
65
  several regions of one file are fine, up to eight regions in total).
66
66
  Do not emit graph edges, classify nodes or create a relationship ledger.
67
67
 
@@ -28,7 +28,10 @@ description follow that schema; there is no ArtifactResult, subject identity
28
28
  or profile-owned output mapping to assemble.
29
29
 
30
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
31
+ five source files (up to eight regions in total). Organize fragments by topic
32
+ and cite only sources that support that fragment. If either limit is exceeded,
33
+ split by topic or keep the primary supporting files.
34
+ Use source_ref and an inclusive file/line locator; the CLI computes
32
35
  content digests. Do not attach an entire corpus to a generic paragraph or
33
36
  combine unrelated locations into a fabricated continuous span. Split genuinely
34
37
  distinct explanations when they need distinct references.