@c4a/context-cli 0.7.91 → 0.7.92

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 (25) hide show
  1. package/cli.js +5513 -3884
  2. package/indexers/bundles/context-code-indexer/references/indexer.md +3 -1
  3. package/indexers/bundles/context-markdown-indexer/references/indexer.md +4 -1
  4. package/indexers/contracts/profile-contract.json +245 -245
  5. package/indexers/release-manifest.json +5 -5
  6. package/package.json +12 -12
  7. package/parserEntryWorker.js +157 -162
  8. package/plugins/VERSION +1 -1
  9. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  10. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  11. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  12. package/plugins/skills/context-code-indexer/references/indexer.md +3 -1
  13. package/plugins/skills/context-markdown-indexer/references/indexer.md +4 -1
  14. package/providers/context/manifest.json +20 -20
  15. package/providers/context/provider.yaml +1 -1
  16. package/providers/context/resources/dialogue/knowledge-review.md +1 -1
  17. package/providers/context/resources/manuals/guides/knowledge-updates.md +6 -0
  18. package/providers/context/resources/manuals/guides/workspace-restore.md +7 -0
  19. package/providers/context/resources/procedures/approved-revision.md +33 -0
  20. package/providers/context/resources/procedures/knowledge-review.md +4 -2
  21. package/providers/context/resources/procedures/knowledge-updates.md +6 -0
  22. package/providers/context/resources/procedures/source-update.md +19 -2
  23. package/providers/context/resources/procedures/workspace-restore.md +7 -0
  24. package/providers/context/schemas/indexer-agent-step-result.schema.json +21 -0
  25. package/providers/context/skills/run-indexer-agent-step/SKILL.md +31 -0
@@ -130,7 +130,9 @@ and confirmed contributions. New explanatory context does not require
130
130
  repartitioning unchanged code.
131
131
 
132
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
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
 
@@ -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
+ three 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.