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:
1 parent
e6066e6ba9
commit
88d7cd3414
6 files changed
+1153
-444
No files matched your search
@@ -80,7 +80,11 @@ parses it exactly once with `serde_yaml`. Supported semantics:
|
||||
|
||||
## 5. AST view
|
||||
|
||||
`marqdo inspect --ast --json` prints this tree:
|
||||
`marqdo inspect --ast --json` prints this tree, and `marqdo check --emit`
|
||||
projects the identical `modules[].document` shape with the same projector
|
||||
(`spec/analysis.md` §3.1). Neither is a second parser or a second long-lived
|
||||
AST. The root `document` span covers the whole source including a BOM; every
|
||||
span is a half-open UTF-8 byte offset into `modules[].source`.
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user