Skip to content

impl(001): boundary check, workspace manifest, coverage gate - #5

Merged
bartekus merged 1 commit into
mainfrom
impl/001-boundaries
Sep 23, 2026
Merged

bartekus merged 1 commit into
mainfrom
impl/001-boundaries

Conversation

@bartekus

Copy link
Copy Markdown
Contributor

Implements spec 001's machinery. Owning spec: 001-boundaries-and-authority (marked implementation: complete).

What changes

  • tools/rustev-boundaries: reads cargo metadata and refuses violations of 001 3.4.1 (pure crates reach no ecosystem, HTTP or executor family, transitively over normal and build edges), 3.4.2 (no ecosystem or HTTP family outside integrations/), 3.4.4 (no dependency on an integration) and 3.4.5 (contract depends on no workspace crate; core only on contract). 3.4.3 is stated as review-held.
  • Unit tests: one violating synthetic workspace per rule (negative controls), a conforming workspace, and a dev-only executor edge that is correctly allowed.
  • Root Cargo.toml (members tools/*; crates/* joins with spec 002 through its extends edge), Cargo.lock.
  • Makefile: boundaries in make code; index coverage --fail-on-untraced in make gate; make verify runs declared acceptance. CI runs make verify.
  • spec-spine.toml: require_ownership = true, governed_scope = ["Cargo.toml", "Makefile"], Cargo.toml hashed, Cargo.lock allowed unwitnessed (L-008) with the reason recorded.
  • Spec 001: the contract-alone build moves to spec 002's acceptance, since 002 creates that crate (added in spec(002): make the decision contract concrete; record approval #4).

Evidence (local)

  • cargo test -p rustev-boundaries --locked: 10 passed.
  • make gate: pass; coverage 4/4 source files claimed.
  • make verify: 001 passed (3 commands).
  • spec-spine couple --base origin/main: OK, 8 paths, no drift.
  • clippy -D warnings and fmt clean.

- tools/rustev-boundaries checks spec 001 3.4.1, 3.4.2, 3.4.4 and 3.4.5 over
  cargo metadata; each rule has a unit test with a violating synthetic
  workspace (negative control) and a conforming neighbour.
- Root Cargo.toml (tools/* members; crates/* joins with spec 002), Cargo.lock.
- Makefile: boundaries in code, index coverage --fail-on-untraced in gate,
  verify target for declared acceptance; CI runs make verify.
- spec-spine.toml: require_ownership on, governed_scope Cargo.toml and
  Makefile, Cargo.toml hashed, Cargo.lock allowed unwitnessed.
- Spec 001 implementation complete; the contract-alone build moves to 002,
  which creates that crate.
@bartekus
bartekus merged commit d6ca8b5 into main Sep 23, 2026
1 check passed
@bartekus
bartekus deleted the impl/001-boundaries branch September 23, 2026 20:05
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