docs: define the closed public Analysis boundary

Add ADR-0069 and replace the program-only Analysis v3 shape in place with the
one public projection consumed by independent static tools: project entry and
snapshot identity, exact source, document AST, heading scope facts, anchors,
functions, calls, resources and stateful references. Update the Markdown
profile, reference and observation specs to point at the single resolver and
the same encoder/digest rule.
This commit is contained in:
cflmy committed 2026-11-25 09:39:26 +08:00
1 parent e6066e6ba9
commit 88d7cd3414
6 files changed
+1153 -444

No files matched your search

+4
View File
@@ -39,6 +39,10 @@ fields. Reject other format identifiers, unknown kinds and invalid payloads.
SHA-256 over the file bytes, including formatting. Before highlighting a
source span, validate the binding, module source digest and original UTF-8
half-open byte range. A changed source or Analysis invalidates attribution.
The static options that change the projection include the entry, `--plugin`,
load/extension selection and diagnostics; a `--refs` check adds diagnostics
and therefore emits different bytes. Run/call never copy `source`, the
document AST or link targets into runtime events; they only bind the digest.
- `call.enter` identifies the call instance and its parent. `call.exit`
closes that same instance. Call carriers belong to the caller module.
Parameter spans identify declarations in the called module.