- trace.rs: strict Trace v2 validation (schema/product/root_id/analysis_digest, known module ids, increasing seq, span bounds) + run states and anchor summaries - POST /api/run: explicit confirm, CSRF token, Origin/Host checks, JSON limits, pure-only mode, one active run, process-group timeout, in-memory run cache - POST /api/clear-run: session cache cleanup without touching project files - server-rendered run panel (escaped stdout/stderr, Core error code, public final value only, capped event list, truncation/stale/failure states) and inline chips anchored to real statement spans; no per-assignment values or memory claims - page refresh/open never invokes run (tested 10x); rejected requests never spawn - real Trace v2 goldens (ok/truncated/arity error) from frozen CLI + contract and raw-HTTP tests; ADR-0004; docs updated
28 lines
686 B
JSON
28 lines
686 B
JSON
{
|
|
"events": [
|
|
{
|
|
"detail": null,
|
|
"function_id": "root:mixed-modes@0.1.0::index.mq.md::演示.main",
|
|
"kind": "call.enter",
|
|
"module_id": "root:mixed-modes@0.1.0::index.mq.md",
|
|
"seq": 0,
|
|
"span": null
|
|
}
|
|
],
|
|
"limits": {
|
|
"max_bytes": 33554432,
|
|
"max_events": 100000
|
|
},
|
|
"run": {
|
|
"entry": "root:mixed-modes@0.1.0::index.mq.md::main",
|
|
"id": "12-1795317753068595848",
|
|
"status": "call.arity"
|
|
},
|
|
"schema": "marqdo.trace",
|
|
"schema_version": 2,
|
|
"source": {
|
|
"analysis_digest": "sha256:5b13d0cd2044cbe3d5d5f51145a9dd0015e2992400f803dad5f0e42214ce4959",
|
|
"root_id": "root:mixed-modes@0.1.0"
|
|
},
|
|
"truncated": null
|
|
} |