Files
marqdo-view/tests/golden/observation-v1/control-flow.truncated.jsonl
T
Marqdo View 340ecb035f
ci/woodpecker/push/woodpecker Pipeline was successful
feat: migrate View 0.3.0 to marqdo 3.0.0-rc.4 contracts
Replace the retired rc.2 Analysis v2/Trace v2/Execution Events v1 stack with the
single current contract family:

- Analysis v3 (ADR-0069 public boundary): one check --emit artifact carries the
  exact source, Markdown AST, heading scopes (heading_span + complete span),
  anchors, state-bearing references, calls, resources and diagnostics; the old
  revision-3 shape is rejected with a rebuild hint.
- Observation v1: one run/call --output jsonl stream (+ atomic
  --observation-file snapshot) decoded by one decoder and projected into the
  reader/SSE/export layers; stale/malformed/truncated/incomplete never render
  as success.
- CLI Tool revision 1: requires {api_revision:1, analysis:3, observation:1},
  product range >=3.0.0-rc.3,<4.0.0, only MARQDO_BIN and
  MARQDO_API_REVISION are consumed.
- Remove compatibility branches, retired flags/env vars and duplicate decoders;
  re-record Analysis v3 and Observation v1 fixtures; rewrite contract,
  integration and security tests (173 passing locally).
- Add check-no-legacy/check-docs/check-observation gates, rc.4 pins in the
  CI pipelines, 0.3.0 Tool bundle and evidence manifest support.

See issues #4, #5 and #6; acceptance baseline is CLI source
452e9a32bd9e40dba427d4180691c58bab74449e, archive
9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8.
2026-11-25 22:12:51 +08:00

13 lines
3.0 KiB
JSON

{"kind":"stream.opened","payload":{"limits":{"max_observation_bytes":16777216,"max_observation_events":5,"max_value_bytes":256},"observation":{"allow_text_values":false,"level":"structural","selected_parameters":[],"selected_variables":[],"values":false},"producer":{"name":"marqdo","version":"3.0.0-rc.4"}},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":0}
{"kind":"run.started","payload":{"entry":"root:control-flow@0.1.0::index.mq.md::main","mode":"pure","source":{"analysis_digest":"sha256:7e8711e9cbb5d5c73369da0c6620279468fa957d5ab8af038de6dd07d23117e3","root_id":"root:control-flow@0.1.0"},"started_unix_ms":1795610282743},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":1}
{"kind":"call.enter","payload":{"frame_id":"f1","function_id":"root:control-flow@0.1.0::index.mq.md::演示.main","module_id":"root:control-flow@0.1.0::index.mq.md","parent_frame_id":null,"span":null},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":2}
{"kind":"variable.assigned","payload":{"frame_id":"f1","module_id":"root:control-flow@0.1.0::index.mq.md","name":"x","span":{"end":202,"start":195},"value_state":"not_requested","value_type":"Int"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":3}
{"kind":"effect","payload":{"frame_id":"f1","module_id":"root:control-flow@0.1.0::index.mq.md","operation":"memory.new","result_code":"ok","span":{"end":230,"start":214}},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":4}
{"kind":"variable.assigned","payload":{"frame_id":"f1","module_id":"root:control-flow@0.1.0::index.mq.md","name":"buffer","span":{"end":231,"start":204},"value_state":"not_requested","value_type":"Memory"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":5}
{"kind":"effect","payload":{"frame_id":"f1","module_id":"root:control-flow@0.1.0::index.mq.md","operation":"memory.write","result_code":"ok","span":{"end":243,"start":234}},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":6}
{"kind":"observation.truncated","payload":{"dropped":null,"limit":5,"reason":"event_budget","written":5},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":7}
{"kind":"stdout.chunk","payload":{"byte_count":2,"data_base64":"MAo=","encoding":"base64"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":8}
{"kind":"stdout.chunk","payload":{"byte_count":2,"data_base64":"MAo=","encoding":"base64"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":9}
{"kind":"stdout.chunk","payload":{"byte_count":2,"data_base64":"Mgo=","encoding":"base64"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":10}
{"kind":"run.completed","payload":{"status":"ok","value":{"decimal":"3","type":"int"},"value_type":"Int"},"run_id":"28-1795610282728843625","schema":"marqdo.observation","schema_version":1,"seq":11}