- 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
13 lines
316 B
Rust
13 lines
316 B
Rust
//! Contract suite: the frozen CLI black-box process contract, Analysis v2 /
|
|
//! Trace v2 validation, the View CLI surface, and architecture/asset gates.
|
|
|
|
#[path = "../common/mod.rs"]
|
|
mod common;
|
|
|
|
mod asset_integrity;
|
|
mod cli_surface;
|
|
mod core_contract;
|
|
mod no_coupling;
|
|
mod presentation_states;
|
|
mod trace_contract;
|