@c4a/context-cli 0.7.10 → 0.7.11

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 (37) hide show
  1. package/README.md +2 -2
  2. package/README.zh-CN.md +3 -3
  3. package/cli.js +1111 -402
  4. package/indexers/bundles/context-code-indexer/references/indexer.md +11 -1
  5. package/indexers/bundles/context-markdown-indexer/references/indexer.md +7 -2
  6. package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +9 -6
  7. package/indexers/contracts/profile-contract.json +245 -245
  8. package/indexers/release-manifest.json +6 -6
  9. package/package.json +12 -12
  10. package/parserEntryWorker.js +26 -2
  11. package/plugins/README.md +1 -1
  12. package/plugins/README_CN.md +1 -1
  13. package/plugins/VERSION +1 -1
  14. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  15. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  16. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  17. package/plugins/skills/context-code-indexer/references/indexer.md +11 -1
  18. package/plugins/skills/context-markdown-indexer/references/indexer.md +7 -2
  19. package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +9 -6
  20. package/providers/context/graphs/workspace.yaml +1 -22
  21. package/providers/context/manifest.json +26 -62
  22. package/providers/context/provider.yaml +1 -1
  23. package/providers/context/resources/manuals/guides/knowledge-updates.md +80 -3
  24. package/providers/context/resources/manuals/guides/package-outputs.md +39 -1
  25. package/providers/context/resources/manuals/reference/project-api.md +21 -2
  26. package/providers/context/resources/procedures/knowledge-review.md +18 -2
  27. package/providers/context/resources/procedures/knowledge-updates.md +80 -3
  28. package/providers/context/resources/procedures/package-output.md +18 -0
  29. package/providers/context/resources/procedures/production-stage-files.md +21 -0
  30. package/providers/context/resources/procedures/repository-source-recovery.md +5 -3
  31. package/providers/context/resources/procedures/task-recovery.md +6 -0
  32. package/providers/context/resources/procedures/work-start-report.md +14 -7
  33. package/providers/context/resources/templates/work-start-report.md +11 -6
  34. package/providers/context/actions/inspect-repository-recovery.yaml +0 -6
  35. package/providers/context/actions/restore-repository-sources.yaml +0 -7
  36. package/providers/context/resources/dialogue/repository-source-recovery.md +0 -23
  37. package/providers/context/schemas/repository-source-recovery.schema.json +0 -40
@@ -7,6 +7,9 @@ and file navigation is a starting point, not a semantic grouping or a complete
7
7
  feature inventory. Inspect relevant manifests, public entry files, registrations,
8
8
  maintained documentation or a few representative declarations to understand
9
9
  which kinds of reader topics the module can support.
10
+ For broad work, identify the main capability families across the authorized
11
+ range before treating investigation as finished. A representative implementation
12
+ can establish how to investigate a family, not that every family is covered.
10
13
 
11
14
  Technology-specific investigation may be direct Agent reading or a bounded
12
15
  helper from an available skill. A helper should expose feature names, counts
@@ -51,6 +54,9 @@ supply better business names and rationale; code paths are structural hints,
51
54
  not immutable topic names. Preserve stable article identity when the reader
52
55
  task is unchanged. Different platforms or deprecated entrypoints may need
53
56
  separate treatment even when names match.
57
+ Before consolidating existing articles, read their relevant content. Preserve
58
+ checked interfaces, relationships and examples; a shorter map must not replace
59
+ them with instructions to rediscover the same knowledge.
54
60
 
55
61
  Submit article targets, reader questions, sources and batches with the current
56
62
  plan schema. Keep pending scope explicit when only part is investigated.
@@ -79,7 +85,11 @@ Explain what the module is responsible for, when and how to enter it through
79
85
  stable interfaces, what it hands off, and the relevant state and failure
80
86
  boundaries. A directory summary or symbol list is not an explanation.
81
87
  An integration guide focuses on consumption; a maintenance guide may need
82
- internal transformations and recovery. Follow the actual reader purpose.
88
+ internal transformations and recovery. For an entry-first task, provide a checked
89
+ file or symbol, why it is relevant and a concrete next hop; a package name or
90
+ generic instruction to search pages/handlers is not a problem-level entry.
91
+ For an explanation, read the conditions, callers and implementation needed to
92
+ answer it instead of substituting that investigation route for the answer.
83
93
 
84
94
  Read the source that establishes the claim. An outbound client is not an
85
95
  inbound service; host and remote declarations do not prove loading behavior.
@@ -9,7 +9,10 @@ contracts, conditions, examples, compatibility limits, images and uncertainty.
9
9
  An inventory of headings, a generic summary or a link back to the source does
10
10
  not replace an article that answers the reader. Preserve exact commands,
11
11
  identifiers, numbers and destinations where they matter; do not reproduce
12
- secrets or incidental conversion metadata.
12
+ secrets or incidental conversion metadata. For an entry-first request, identify
13
+ the relevant source section and concrete next step; for an operational guide,
14
+ retain what lets the reader execute it. Do not replace available instructions
15
+ with a generic suggestion to consult the original document.
13
16
 
14
17
  Use [editorial guidance](editorial-policy.md) for a concrete presentation
15
18
  problem. It is advice for the Agent and user, not a signal-clearing protocol or
@@ -47,7 +50,9 @@ the same article; no primary/extension ownership is required.
47
50
 
48
51
  Correct misleading knowledge through a revision. Correct an inaccurate source
49
52
  through its authorized import flow, not by editing evidence from this skill.
50
- Keep useful prior contributions and real gaps visible during updates.
53
+ When merging or shortening existing articles, retain still-valid steps, examples
54
+ and constraints in the article or a linked topic, not just their source links.
55
+ Keep real gaps visible; material not yet obtained is not a permanent exclusion.
51
56
 
52
57
  ## Visual material
53
58
 
@@ -14,15 +14,18 @@ Document business definitions may correct a mechanical code-topic name; explain
14
14
  the proposed change in the plan instead of forcing the document into a path
15
15
  mirror. This does not authorize renaming formal files outside the current task.
16
16
 
17
- A coherent document can directly suggest one target. A long document may need
18
- several articles; several documents may jointly answer one question. Neither
19
- file count nor heading count determines article count. Choose batches based
20
- on reader tasks, dependencies and useful shared reading, not source or skill
21
- identity. Do not create per-member dispositions or a separate semantic graph.
17
+ A coherent document can directly suggest one target. Split distinct reader tasks
18
+ or lifecycles; combine sources when they answer the same task. A shared broad
19
+ label such as development or operations does not make all its procedures one
20
+ summary. Neither file nor heading count determines article count. Choose batches
21
+ by dependencies and useful shared reading, not source or skill identity. Do not
22
+ create per-member dispositions or a separate semantic graph.
22
23
 
23
24
  Submit article targets, questions, authorized sources and batches through the
24
25
  current planning schema. Keep remaining investigation in pending_scopes when
25
- only part is ready. An unread source is unfinished, not implicitly excluded.
26
+ only part is ready. Referencing one section does not settle a source's other
27
+ useful tasks; describe those in the existing plan. An unread source is unfinished,
28
+ not implicitly excluded.
26
29
  Missing essential evidence remains a scoped gap. Long-term exclusions need
27
30
  the applicable user authorization.
28
31