Skip to content

[CTX-0678] feat(execution): RUN analysis batch risk class + sensitive input + lease + supervisor - #1281

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0678/run-analysis
Sep 22, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0678/run-analysis

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Priority: P1 | Area: area:runtime | Labels: feat,area:runtime,P1 | Milestone: v0.1.0 | RFC: OQ-083/OQ-086/OQ-087 | Task: CTX-0678

Scope

Analysis (+ minimal candidate signal kernels) for the four open RUN issues under epic #973: command-risk classification (RUN-23), sensitive-input detection (RUN-22), panel lease/handoff (RUN-21), detached-supervisor trust boundary (RUN-20).

Per-issue verdicts

Issue OQ Verdict Link
#1051 RUN-20 detached-supervisor trust boundary ADR-0008 (accepted) CLOSE_OK — analysis is the deliverable; no owner ruling blocks it Closes #1051
#1052 RUN-21 panel lease/description/handoff OQ-083 open, BLOCKED EVIDENCE_ONLY — needs the OQ-083 acceptance decision first Relates #1052
#1053 RUN-22 sensitive-input detection signal OQ-086 open, BLOCKED EVIDENCE_ONLY — needs the OQ-086 ruling (observation mechanism, denial shape, SI-6 evidence) first Relates #1053
#1054 RUN-23 command-risk classification OQ-087 open, BLOCKED EVIDENCE_ONLY — needs the OQ-087 ruling (tiers, deny policy, consent wiring, CRA-5 corpus) first Relates #1054

Closes #1051.
Relates #1052 (EVIDENCE_ONLY: blocked on open OQ-083 owner ruling).
Relates #1053 (EVIDENCE_ONLY: blocked on open OQ-086 owner ruling).
Relates #1054 (EVIDENCE_ONLY: blocked on open OQ-087 owner ruling).

Contract outcome

  • RUN-20: accepted analysis record mapping the shipped CTX-0516 file-coordination contract against the ADR-0008 gate; no daemon exists, none authorized, none added.
  • RUN-21/22/23: candidate evidence records with fail-closed defaults plus pure, bounded, tested kernels (PanelLease, automated_input_allowed/may_capture, classify_argv); each logs its candidate decisions and open points without pre-deciding the OQ ruling.
  • MSRV 1.85: no let-chains; new files only, no touched contracts.

Security/performance impact

No new trust transition (same-user file coordination restated; no socket, no foreign-pid handling, no respawn). No hot-path code: the kernels are pure and deterministic. No perf-sensitive change.

Affected docs

  • specifications/run-20-detached-supervisor-trust-boundary.md (accepted)
  • specifications/run-21-panel-lease-handoff.md (candidate)
  • specifications/run-22-sensitive-input-signal.md (candidate)
  • specifications/run-23-command-risk-classification.md (candidate)

Validation

  • cargo fmt --check, cargo clippy --workspace --all-targets --locked (-D warnings) clean
  • cargo test -p bitty-runtime --all-targets --locked green (incl. 28 new unit tests)
  • cargo check --target x86_64-pc-windows-gnu --workspace --all-targets clean (warnings only, pre-existing)
  • just ci-local (Quality gates job) succeeded; prettier + markdownlint clean (0 issues); status-drift + scratch-paths OK; actionlint clean

Follow-up

Independent review, then merge per commander closeout. On merge: close #1051; keep #1052 #1053 #1054 open against their OQ rulings. CarryCtx: Task CTX-0678.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:runtime Area: runtime orchestration feat Feature P1 Priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RUN-20: Detached-supervisor trust boundary analysis

1 participant