Skip to content

docs: restore docs tree with ADR and design homes - #59

Open
mfw78 wants to merge 2 commits into
qa/hardened-boundaries-sweepfrom
docs/restore-docs-tree
Open

docs: restore docs tree with ADR and design homes#59
mfw78 wants to merge 2 commits into
qa/hardened-boundaries-sweepfrom
docs/restore-docs-tree

Conversation

@mfw78

@mfw78 mfw78 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What

Restores the docs/ tree that the repo carve dropped: two new docs/*/README.md index files stating each directory's local convention, and three ported design documents (docs/design/videre-split-plan.md, docs/design/videre-wit-pinned-0.1.0.md, docs/design/issue-milestone-plan.md). AGENTS.md and README.md gain a one-line docs/ entry pointing at the new ADR and design homes, and the intent-status doc-comment in wit/videre-types/types.wit gains a §4 section anchor onto the restored pinned-WIT doc.

Why

Closes #46

The three docs were recoverable from the pre-carve monorepo, nullislabs/shepherd, not nexum-runtime (nexum-runtime history has no docs/ tree at all): videre-split-plan.md and videre-wit-pinned-0.1.0.md come from shepherd 9e5e36c, issue-milestone-plan.md from fb02235. Each ported document carries a provenance header naming its source commit and disclaiming bare issue numbers (pre-carve shepherd tracker) and in-tree file paths and line numbers (pre-carve monorepo tree). The carve also left two dangling citations, to venue-platform-architecture.md and issue-milestone-plan.json, that pointed at an in-tree path that no longer exists; both now point at the shepherd tree by commit instead. House content-lint forced mechanical normalization beyond the pure port: spaced em-dashes were replaced with ASCII hyphens and box-drawing diagrams were converted to ASCII throughout the ported documents.

Testing

Independent CI-parity gate, run on a fresh clone at 7d8b229 (detached), base origin/qa/hardened-boundaries-sweep = 9a579e7 (confirmed ancestor). Toolchain: rustc/cargo 1.94.0, wasm32-wasip2 installed, cargo-nextest 0.9.127. All cargo invocations under RUSTFLAGS="-D warnings" and --locked.

The diff touches no Rust source (AGENTS.md, README.md, three restored docs/design/*.md, two new docs/*/README.md, and a one-line doc-comment citation in wit/videre-types/types.wit). Because the WIT feeds wit-bindgen for videre-sdk, videre-host, videre-macros and all five guest modules, the checks were run workspace-wide rather than on a narrower touched-crate set.

  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings passes clean, zero warnings.
  • RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps --locked passes clean.

Red-team pass byte-diffed the ports against the original shepherd blobs at 9e5e36c and fb02235: apart from the provenance headers only three lines differ, and every remaining line has identical character length, confirming the em-dash and box-drawing substitutions were strictly 1:1 and that the diagrams reproduce the originals' rendering exactly.

AI Assistance

Implemented with claude-fable-5, red-teamed with claude-opus-5, PR opened with claude-sonnet-5.

mfw78 added 2 commits August 7, 2026 01:42
Recover videre-split-plan.md, issue-milestone-plan.md, and videre-wit-pinned-0.1.0.md from the pre-carve shepherd tree (9e5e36c, fb02235); each port carries a provenance header, carve-era path fixups, and house-lint normalization (ASCII for em-dashes and box-drawing), with the content otherwise unchanged.

Add docs/adr/README.md as the ADR home convention so the freeze-gate ADRs (#20) and the freeze runbook (#22) have a landing place.

Point the types.wit opaque-status citation at section 4 of the restored pin doc.

AI Assistance: Claude Code used for the history recovery, the port, and the gate runs.
Add docs/design/README.md so the design tree states what is authoritative, marks each restored document as historical, and holds the landing place for the #22 wit-deps runbook; drop the duplicate landing sentence from the ADR README.

Correct two claims: the pre-carve ADR series lives on the shepherd develop line, not in the shepherd main tree, which carries no docs; and the pinned WIT port applied no path fixup, only the title em-dash.

Point the ADR README at AGENTS.md for the documentation style instead of restating it, and list docs/ in both tree indexes.

AI Assistance: Claude Code used for the red-team review and these fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant