Skip to content

PR 3/3: Crucible backend (capstone) - #98

Draft
ericeil wants to merge 2 commits into
eric/rustfrom
eric/crucible-app
Draft

PR 3/3: Crucible backend (capstone)#98
ericeil wants to merge 2 commits into
eric/rustfrom
eric/crucible-app

Conversation

@ericeil

@ericeil ericeil commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

PR 3 of 3 — Crucible backend (capstone)

Part of the stacked split of eric/crucible (see docs/pr-split-plan.md).
Stack: mastereric/ecosystemeric/rusteric/crucible-app.
Base: eric/rust (PR #97) — review PRs #96 and #97 first.

The tip of the stack — the Solana verification application, wiring PR 1 (ecosystem) +
PR 2 (rust framework) + the upstream command sandbox together.

What this adds

  • composer/crucible/* and rust/crucible-app (the Crucible wheel)
  • Crucible RAG: committed manifest rust/crucible-app/crucible_kb.rag.json + shared
    composer/scripts/rag_import.py, composer/rag/{import_format,db}.py, composer/tools/crucible_rag.py
  • ReportBackend "crucible" + render labels + as_report_backend
  • Sandbox default → launcher for crucible (fail-closed; the launcher itself is upstream)
  • test_scenarios/solana_vault + the crucible test gates — the vault sample also makes PR 2's
    test_solana_gate runnable from here
  • docs/application-abstraction.md — the five pieces of an analyzed application / Rust app
    framework (moved here from the ecosystem PR, where it did not belong), plus the crucible-*
    design docs

Finalizes the PR 2 cross-cutting intermediates

  • rust/Cargo.toml re-adds the crucible-app workspace member.
  • rustapp/adapter.py swaps the tag cast back to the validating as_report_backend, now that
    report/schema.py closes ReportBackend to {prover, foundry, crucible}.
  • Carries the crucible-specific sandbox tweaks: sandbox/recipes.py per-run RUSTUP_HOME;
    docker-compose.sandbox.yml un-gated run-confined-build.

Verification

  • cargo build (all 4 crates) ✓
  • crucible-layer modules import ✓

Notes

  • Draft: the real-LLM gates were not run here — test_crucible_gate,
    test_crucible_setup_gate, test_crucible_formalize_gate, test_crucible_e2e_gate.
    (setup/formalize were verified green earlier this cycle against a real crucible build.)

🤖 Generated with Claude Code

@ericeil
ericeil force-pushed the eric/crucible-app branch 2 times, most recently from bb347ed to f003b03 Compare July 23, 2026 19:46
@ericeil
ericeil force-pushed the eric/crucible-app branch 2 times, most recently from a707702 to d890343 Compare July 23, 2026 19:58
@ericeil
ericeil force-pushed the eric/crucible-app branch from d890343 to a985a45 Compare July 23, 2026 20:15
@ericeil
ericeil force-pushed the eric/crucible-app branch from a985a45 to c4f8b82 Compare July 23, 2026 22:23
@ericeil
ericeil force-pushed the eric/crucible-app branch 2 times, most recently from 0712081 to 85b3424 Compare July 23, 2026 23:55
@ericeil
ericeil force-pushed the eric/crucible-app branch from 85b3424 to f1381ae Compare July 24, 2026 00:02
ericeil and others added 2 commits July 23, 2026 17:07
Wires PR1 (ecosystem) + PR2 (rust framework) + upstream command sandbox; tree
identical to eric/crucible. Finalizes the cross-cutting intermediates. Gates
real-LLM, not run here. Stacked-PR 3 of 3.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Documents the five pieces of an analyzed application and the Rust app
framework, which lands with this Crucible backend PR. Moved here from the
ecosystem PR, where it did not belong.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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