Skip to content

ci: install bubblewrap so the KR-A07 sandbox cases can run - #120

Closed
elasticdotventures wants to merge 4 commits into
mainfrom
feat/assurance-thread
Closed

elasticdotventures wants to merge 4 commits into
mainfrom
feat/assurance-thread

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Branch feat/assurance-thread — 99 commit(s) ahead of main. Auto-opened for review triage.

🤖 Generated with Claude Code

elasticdotventures and others added 4 commits October 5, 2026 09:02
…urces+prompts (KR-A06..A08)

- gateway: per-identity grants (tokens stored as SHA-256), every route classified in
  gateway::ROUTES (a test fails if a route is added unclassified or a row names no route),
  deny by default, decision audited BEFORE the handler runs, fail closed if the audit
  log cannot be written. Enforced in the server, so MCP and direct HTTP are covered alike.
- audit: hash-chained log called from the gateway; GET /assurance/audit (audit.read).
- /assurance/* routes over AssuranceService; propose/validate/commit with expected revision.
- KR-A07: deploy/sandbox/run-sandboxed.sh (bubblewrap): read-only root and baseline, one
  scratch tmpfs, no network, cleared env; /dev closed after the test found it writable.
- bridge: resources/* and prompts/* (manifest-driven), X-Kr0ki-Transport: mcp on MCP calls.
- acceptance cases VC-A06, VC-A07, VC-A08 incl. the real Python bridge as a subprocess.
- baseline: implementation paths for CTL-A06..A08; AGENTS.md env table.

cargo fmt/clippy -D warnings clean; cargo test --workspace --no-fail-fast: 44 suites ok.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
…ehavior in the gateway

The route-consistency guard failed after merging main: /render/rust-behavior (new on main)
was not in gateway::ROUTES, so it would have required admin. It parses a request body and
renders; it writes nothing to the model, so it is a render operation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GgXQRGsprSZc2oXGNj9n8X
@elasticdotventures

Copy link
Copy Markdown
Member Author

Superseded by current main: CI already installs bubblewrap and verifies bwrap in .github/workflows/ci.yml. Both follow-up commits cherry-pick with no changes; the original assurance work is already integrated by #93/#94.

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