- document.rs: comrak marqdo.md.v1 parse -> DocBlock/Inline with exact UTF-8 spans - semantic.rs: typed Analysis v2 validation (schema/profile/root_id/source_digest, units/functions/statements/resources/imports/references/calls/diagnostics, per-span UTF-8 checks with explicit view.source_span_invalid warnings) - presentation.rs: one PresentationModel/Outline with source status matrix - render.rs: one ReaderRenderer; sanitized GFM, statement anchors, heading mode badges (display-only prefix strip), source pane, docs/Live|Static link policy, CSP meta, no inline scripts, no raw HTML execution - server.rs: loopback-only Live reader with Host/DNS-rebinding checks, strict percent decoding, project path boundary, security headers, read-only APIs - app.rs: AppContext degradation (core missing -> prose-only, check error -> diagnostics + revoked semantics, protocol mismatch -> hard error) - assets: single reader.css/reader.js + embedded SHA-256 AssetBundle, copied legacy logo/blossom/feather with provenance - examples + frozen-CLI Analysis goldens + rendering/HTTP/asset/no-coupling tests - ADR-0003 heading prefix/anchor identity; docs updated
69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"diagnostics": [],
|
|
"modules": [
|
|
{
|
|
"calls": [],
|
|
"functions": [],
|
|
"id": "root:welcome-demo@0.1.0::00-welcome.mq.md",
|
|
"imports": [],
|
|
"package_instance_id": "root:welcome-demo@0.1.0",
|
|
"references": [
|
|
{
|
|
"source": "root:welcome-demo@0.1.0::00-welcome.mq.md",
|
|
"span": {
|
|
"end": 536,
|
|
"start": 507
|
|
},
|
|
"state": "resolved",
|
|
"target_module": "root:welcome-demo@0.1.0::guide.mq.md",
|
|
"target_unit": null,
|
|
"url": "./guide.mq.md"
|
|
}
|
|
],
|
|
"relative_path": "00-welcome.mq.md",
|
|
"resources": [],
|
|
"source_digest": "879215bf0dc432b78924800a08eac37d353a9694652c5542294f4ce7fe6da173",
|
|
"units": [
|
|
{
|
|
"function": null,
|
|
"id": "root:welcome-demo@0.1.0::00-welcome.mq.md#",
|
|
"kind": "root",
|
|
"level": 0,
|
|
"name": "",
|
|
"span": {
|
|
"end": 659,
|
|
"start": 0
|
|
}
|
|
},
|
|
{
|
|
"function": null,
|
|
"id": "root:welcome-demo@0.1.0::00-welcome.mq.md#欢迎来到 Marqdo",
|
|
"kind": "namespace",
|
|
"level": 1,
|
|
"name": "欢迎来到 Marqdo",
|
|
"span": {
|
|
"end": 32,
|
|
"start": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"producer": {
|
|
"markdown_profile": "marqdo.md.v1",
|
|
"name": "marqdo",
|
|
"version": "3.0.0-beta.1"
|
|
},
|
|
"project": {
|
|
"identity_kind": "manifest",
|
|
"lock_digest": "",
|
|
"root_id": "root:welcome-demo@0.1.0",
|
|
"stdlib": {
|
|
"digest": "sha256:5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713",
|
|
"instance_id": "std:marqdo-stdlib@0.1.0#5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713",
|
|
"version": "0.1.0"
|
|
}
|
|
},
|
|
"schema": "marqdo.analysis",
|
|
"schema_version": 2
|
|
} |