Skip to content

docs(specifications): propose isolation and resource RFC closing OQ-014 - #6

Merged
Xuepoo merged 1 commit into
mainfrom
feat/isolation-rfc
Aug 25, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
feat/isolation-rfc

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Outcome and affected docs

Proposes (does not implement) the isolation/resource contract named by OQ-014: closes the open-question's mechanism gap at design level once accepted. Adds docs/specifications/isolation-resource-rfc.md (sidebar_order 14), registers it in docs/specifications/README.md, and updates the OQ-014 row in docs/decisions/open-questions.md pointer-only with State kept Open per task CTX-0019.

Content

  • Isolation domains: IR-D1 PTY child processes, IR-D2 plugin runtimes, IR-D3 IPC/MCP clients.
  • Resource ceilings RC-1..RC-10: CPU/instructions, memory, tasks/timers, queue depth, file descriptors with protected reserve, PTY output rate/backpressure, metadata rate, IPC request rate/payload, MCP response size.
  • Failure semantics FS-1..FS-9: transactional denial, degradation ladder, containment, attribution, reclaim, reload ordering, fail-closed instrumentation, safe-mode independence, no silent weakening.
  • Adversarial test specification AT-IR-001..015: concrete attack cases, expected deny behaviors, measurable pass thresholds, verification methods, and coverage traceability to threat model T/R IDs and existing P0 acceptance criteria.

Security impact

Proposal-only; introduces no new trust boundary and weakens no P0 control. A normative-precedence section subordinates every mechanism to security overview, threat model (T-01..T-14), risk register (R-001..R-022), and core/plugin boundaries. docs/security/ intentionally unmodified: no change to a trust boundary occurred, so no corpus edit is triggered; flagged for independent security-auditor review (CTX-0021 gate).

Validation evidence

  • just links — pass (72 files validated)
  • just metadata — pass (72 files validated)
  • just language — pass (72 files validated)
  • just markdownlint — 0 issues
  • full just check — pass (fmt-check, agents, hygiene, actionlint included)

Dependencies and follow-ups

  • Blocked-by note: CTX-0019 has a strong dependency on CTX-0018 (planned); implementation was authorized directly by commander work order and the transition refusal is recorded as CarryCtx blocker PX-0114.
  • Review gate: CTX-0021 security review covers this RFC.
  • Follow-ups recorded in the RFC open items: measurement harness for RC values, VM technology decision (ADR-0004 hook), platform rlimit mapping (OQ-003), WASM/helper-process reservation hooks, attribution-record schema under R-014 minimization.

Task: CTX-0019

Add proposed isolation/resource RFC with adversarial test specification:
PTY/process, plugin runtime, and IPC/MCP client isolation domains (IR-D1..3),
resource ceilings RC-1..RC-10, failure semantics FS-1..FS-9, and adversarial
cases AT-IR-001..015 with expected deny behaviors aligned to P0 acceptance
criteria style. Registers the draft in the specifications index and adds a
pointer-only OQ-014 row update keeping State Open. Normative security corpus
remains authoritative; no P0 control weakened.

Task: CTX-0019
@Xuepoo
Xuepoo force-pushed the feat/isolation-rfc branch from 43c0b30 to c55e8aa Compare August 25, 2026 18:23
@Xuepoo
Xuepoo merged commit bba5362 into main Aug 25, 2026
2 checks passed
@Xuepoo
Xuepoo deleted the feat/isolation-rfc branch August 25, 2026 18:24
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