git:20260913.a425dec to git:20260913.75579c5

19 added, 44 removed. Audit A to A.

---
name: context-code-indexer
- description: Context-managed Provider for source-grounded code knowledge. Use only when the Context Indexer lifecycle selects this Provider, not as a standalone workflow.
+ description: Investigate code skeletons and write source-grounded Context articles for an authorized module. Use when selected for the current planning or writing task, not as a standalone repository audit.
metadata:
context-role: "indexer-provider"
context-public-entry: "false"
- context-provider-version: "1.2.2-alpha.1"
---
# Context Code Indexer
- Provider authors must satisfy
- `node_modules/@c4a/context/docs/guides/code-indexer-skill-authoring.md` and the
- shared Provider/customization guide before publishing or extending this Skill.
- Those documents are authoring contracts; the current workset and Route remain
- execution authority.
-
- Use this Provider only through the Context Indexer lifecycle. The workspace registry selects an exact profile, version, integrity, scope, and operation. Consume evidence only from the single Context-supplied Authorized Workset View; do not scan outside the supplied workset, construct pagination/receipt requests, or write project files directly.
+ Follow the current Context stage's purpose, module boundary and file submission
+ schema. Read [investigation and writing guidance](references/indexer.md).
+ The skill helps discover a useful skeleton and explain code; it does not own
+ the module, its articles or their permanent provenance.
- Keep machine identity and reader content deliberately small. A durable Fact
- locator may identify a relation or declaration, but must never embed a source
- expression, implementation body, complete tool response, credential-like value,
- or other source text; keep such material in the process-local protected payload.
- Write for a consumer outside the indexed module: show what the module is
- responsible for, when and how to enter it through stable interfaces, where it
- hands off, and which core state, failure, operation, or source-of-truth facts are
- needed for correct use and attribution. Effective coverage means answering these
- supported reader questions across stable capabilities, not maximizing the number
- of symbols or paths mentioned.
- Every reader Artifact must answer the selected profile's concrete questions from
- current facts. A symbol/path list, generic module summary, workflow explanation,
- or internal Fact/View/digest count is not useful knowledge and must not be emitted.
- Before emitting an Artifact, identify the concrete selected-profile question
- that its logical unit answers. Formal question refs may close required coverage,
- but a group label, Partition Subject, or large Fact volume alone is not a reader
- purpose; a unit with no applicable profile question is catalog-only.
- Bind each reader claim only to the smallest relevant evidence set; never attach
- an entire workset inventory to a generic summary.
- Close inventory members with their actual boundary evidence or a legal
- catalog/exclusion disposition. Never reuse one unrelated fallback evidence
- binding merely to make the disposition denominator appear complete.
- When a large module exposes stable route, capability, protocol, runtime, or
- storage boundaries, partition on those boundaries before authoring. Do not put
- the whole module in one catch-all logical unit, and do not replace semantic
- partitioning with numbered batches.
+ During planning, start with the supplied directory and file navigation.
+ Identify relevant technology and visible capability families, optionally
+ inspect representative source, and propose reader topics and writing batches.
+ Do not start full-repository parsing, enumerate every symbol or build a
+ relationship graph to satisfy planning. Name partial counts as partial.
- When revising existing knowledge, start from the supplied current page and the
- confirmed reader purpose. Update changed API facts and parameter/type tables
- without replacing still-valid explanations or prior confirmed contributions.
- When code is unchanged, useful new context can be a local explanatory revision
- without partitioning the whole source again.
- Keep additions within the selected modules; identify newly public objects as
- well as changes to already documented ones. Recommend a retirement or move only
- for the affected content and explain the reader consequence.
+ A module may use several selected Indexer skills for different technology or
+ content. Their findings can support the same article. Do not register a
+ primary/extension binding, verify skill hashes or versions, or record skill
+ identity in articles. The plan's temporary skill guidance is sufficient.
- The machine-readable authority is `context-indexer.yaml`. Detailed authoring guidance is materialized by Context from the registered Bundle after its file ledger and integrity have been verified.
+ During writing, inspect the actual implementation and contracts needed for
+ each reader question. Put complete new Markdown and reference files, or
+ fragment edits for a supplied base article, in the Agent temporary directory.
+ Submit through the current CLI action; do not write formal knowledge or modify
+ the source repository. Missing material blocks only the affected scope.