Files
marqdo-view dev 80ce564f09 feat(PR-02): DocumentModel, Analysis v2 projection, single renderer and Live browsing
- 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
2026-11-22 11:19:11 +08:00

108 lines
3.3 KiB
JSON

{
"diagnostics": [],
"modules": [
{
"calls": [],
"functions": [],
"id": "root:tables-math@0.1.0::index.mq.md",
"imports": [],
"package_instance_id": "root:tables-math@0.1.0",
"references": [
{
"source": "root:tables-math@0.1.0::index.mq.md",
"span": {
"end": 403,
"start": 354
},
"state": "external",
"target_module": null,
"target_unit": null,
"url": "https://github.com/cflmy/marqdo-cli"
}
],
"relative_path": "index.mq.md",
"resources": [
{
"content_digest": "2820951a377c18ce3e89093ca7c31c204b1196a7e571781c6080f8207524a8dc",
"display": false,
"id": "root:tables-math@0.1.0::index.mq.md#resource:formula-1",
"kind": "formula",
"language": null,
"module_id": "root:tables-math@0.1.0::index.mq.md",
"span": {
"end": 164,
"start": 154
},
"unit_id": "root:tables-math@0.1.0::index.mq.md#表格、公式与惰性资源"
},
{
"content_digest": "8b1e8a7ed159e8223af79e768681907870ae7143f0b16001091377f9ff018db2",
"display": true,
"id": "root:tables-math@0.1.0::index.mq.md#resource:formula-2",
"kind": "formula",
"language": null,
"module_id": "root:tables-math@0.1.0::index.mq.md",
"span": {
"end": 222,
"start": 181
},
"unit_id": "root:tables-math@0.1.0::index.mq.md#表格、公式与惰性资源"
},
{
"content_digest": "a0d49e456637468d7f594f4e2bb513321875855c1fe85d28e0ca62f1e9180d15",
"id": "root:tables-math@0.1.0::index.mq.md#resource:code-1",
"kind": "code",
"language": "python",
"module_id": "root:tables-math@0.1.0::index.mq.md",
"span": {
"end": 280,
"start": 224
},
"unit_id": "root:tables-math@0.1.0::index.mq.md#表格、公式与惰性资源"
}
],
"source_digest": "66ce180252d201ff0f3f831d47f7a58d7f6804cb9655898cc80ef6d2262f1ce6",
"units": [
{
"function": null,
"id": "root:tables-math@0.1.0::index.mq.md#",
"kind": "root",
"level": 0,
"name": "",
"span": {
"end": 406,
"start": 0
}
},
{
"function": null,
"id": "root:tables-math@0.1.0::index.mq.md#表格、公式与惰性资源",
"kind": "namespace",
"level": 1,
"name": "表格、公式与惰性资源",
"span": {
"end": 43,
"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:tables-math@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
}