- migrate crate to RFC-0002 §5.3 Reader layout: src/protocol/{analysis_v2,
trace_v2,tool_v1}.rs, src/reader/{source,markdown,model,assemble,render,
assets}.rs, src/config.rs; lib.rs is the composition root; delete app/project/
semantic/trace/document/presentation/source_map/render/assets top-level files
- split presentation into model (types) and assemble (merge/stale/DocumentService)
- merge controlled project root/path boundary and UTF-8 byte spans into
reader/source.rs; move view.json config to config.rs
- replace GET /api/document with read-only GET /api/documents (documents list +
current outline/function/analysis summary) and add contract tests
- reading UI: drop variable/memory placeholder actions, keep one explicit
unsupported explanation, add simple dark theme toggle over the single token
layer; assert via rendering test
- reorganize tests into Cargo [[test]] suites tests/contract and
tests/integration; record docs/evidence/PR-02
- unit 41 + contract 41 + integration 33 all pass; clippy clean
- bump View product version to 0.2.0 (Cargo.toml, Cargo.lock, tool.json, CLI)
- move all maintenance scripts from tools/ to scripts/ per RFC-0002 §5.3
- add scripts/verify-frozen-cli.sh: records version/SHA and fails if the frozen
CLI changes across a command sequence
- add .github/workflows/ci.yml: quality lane + frozen-CLI acceptance lane with
archive SHA verification and evidence upload; update .woodpecker.yml paths
- record PR-01 black-box evidence: tool install/list/view --help/version,
tamper rejection, tool remove, frozen CLI SHA unchanged
- real Chromium (Playwright) suite against the frozen core: one CSS/one script,
zero external requests, zero console errors, document/source switch, local
search, settings, 7 viewport widths (390..2560) without overflow or dock
clipping, no-JS readability, print mode, explicit run + clear
- tools/test-browser.sh starts Live servers on examples/welcome and
examples/control-flow, verifies core SHA-256 unchanged
- screenshots committed under docs/evidence/PR-03 (Welcome 1664x920 / 390x844,
real Trace run page); pixel-level manual comparison marked UNVERIFIED
- meta CSP drops the ignored frame-ancestors directive (HTTP header keeps it)
- 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