Skip to content

docs(adr): ADR 0006 — per-OS L3 backends + engines as opt-in cargo features#52

Merged
hartsock merged 1 commit into
mainfrom
docs/adr-0006-per-os-l3
Jun 25, 2026
Merged

docs(adr): ADR 0006 — per-OS L3 backends + engines as opt-in cargo features#52
hartsock merged 1 commit into
mainfrom
docs/adr-0006-per-os-l3

Conversation

@hartsock

Copy link
Copy Markdown
Member

Captures the L3-by-OS-family + optional-brush design (extends ADR 0005). Docs only.

  • D1 one cargo feature per backend, inert off its OS (target-cfg deps).
  • D2 selection in code (best_available_sandbox()), not the feature graph; enable-all + os-sandbox meta-feature.
  • D3 SandboxKind variant per backend; never overclaim (I9).
  • D4 fail-closed apply() so the reported kind reflects reality.
  • D5 engines (incl. brush) opt-in behind the ADR 0005 seam; orthogonal to L3; additive + reversible.

Cross-links #31/#35/#20/#28/#30 and the new macOS #50 (Seatbelt) / Windows #51 backends. Apple Silicon: builds clean + honest None until #50 lands.

🤖 Generated with Claude Code

…atures

Captures the design decided 2026-06-25: extends ADR 0005 with HOW the L3 boundary is selected per OS and HOW brush becomes an opt-in alternative engine. D1 one cargo feature per backend (inert off its OS via target-cfg deps); D2 selection in code not the feature graph (enable-all + best_available_sandbox selector); D3 SandboxKind variant per backend, never overclaim (I9); D4 fail-closed apply so the reported kind reflects reality; D5 engines (incl. brush) opt-in behind the ADR 0005 seam, orthogonal to L3, additive+reversible. Cross-links #31/#35/#20/#28/#30 and the new macOS #50 / Windows #51 backend issues. macOS/Apple Silicon: builds clean + honest None until Seatbelt (#50) lands. Forward-pointer added to ADR 0005.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01HMGPEApE4XfwgMhgFbRn6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:low Low-risk change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant