You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three outstanding items, in order, each verified with the real
toolchain.
## 1 — Launcher conforms to the E-Grade Launcher Standard
`launch.sh` implements the Hyperpolymath **E-Grade Launcher Standard**
(fetched from the public `hyperpolymath/standards`): full mode surface
`--auto/--start/--stop/--status/--browser/--web/--integ/--disinteg/--help/--version`,
version format `vsh <ver> (<sha>) [<platform>]`, idempotent Linux
desktop integration (copy-not-symlink, `Terminal=true`, `.desktop` at
0444, config/logs preserved on `--disinteg`), desktop-tools resolution
ladder with graceful no-op degradation, XDG PID/log paths.
Because `vsh` is a **foreground terminal shell with no server**, the
server-oriented clauses (nohup daemon, `wait_for_server` URL polling,
browser launch) are **honestly declared *deferred*** in the
`a2ml-metadata-block` header rather than silently skipped.
`scripts/run.sh` is the canonical startup command the standard searches
for; `just run`/`just launch` delegate to it. `docs/LAUNCHER.md` is the
conformance attestation.
*Verified:* every mode, a full `--integ`/`--disinteg` idempotency cycle,
shellcheck clean.
## 2 — Mechanized correspondence: compiled proven model as test oracle
`proofs/lean4/ModelOracle.lean` (`lean_exe model_oracle`) compiles the
**exact proven** model defs
(`mkdir/rmdir/createFile/deleteFile/fsUpdate`) into an oracle.
`impl/rust-cli/tests/model_oracle_correspondence.rs` generates
precondition-respecting sequences, applies them to the real Rust
`ShellState`, drives the same sequence through the compiled Lean model,
and asserts agreement at every touched path.
**1218 probes agree across 200 sequences.** This makes the proof
artifact itself the oracle (stronger than hand-transcribed property
tests) — but it is honestly **still differential testing, not a full
refinement proof** (the v1.0 blocker).
`docs/LEAN4_RUST_CORRESPONDENCE.md` documents why the Coq extraction is
*not* executable (`Path → option FSNode` domain + classical axioms in
`is_empty_dir_dec`; needs `FMaps.t FSNode` migration) and the roadmap.
Wired into `lean-verification.yml` CI; `just test-correspondence-model`.
## 3 — RMO secure-deletion runtime (the big one)
`obliterate` was fully implemented in `commands/secure_deletion.rs` but
**never wired into dispatch** — unreachable dead code. Added the
`Command::Obliterate` variant, parser case (`--force`), and executor arm
→ `secure_deletion::obliterate_path`. Added the **audit residue**:
obliterate appends to `<sandbox-root>/.vsh-audit.log` — the
MAA/GDPR-Art.17 attestation that survives the deletion.
*Verified:* `impl/rust-cli/tests/obliterate_rmo_tests.rs` (6 tests —
wiring, destruction, audit residue, irreversibility,
no-plaintext-remains), full suite green, and driven through the real
`vsh` binary in script mode.
**Honest scope:** best-effort 3-pass overwrite on in-place filesystems
only; CoW/SSD need hardware `secure_erase`; audit HMAC signing pending;
**not a complete GDPR framework**. Status docs reconciled from "RMO
stubs only" across CLAUDE.md, README, FAQ, ROADMAP(+_TO_V1), TOPOLOGY,
`docs/wiki/*`, `methodology.a2ml`, and the ECHO-TYPES-OCHRANCE bridge
(adoc + a2ml, in lock-step).
## What remains genuinely open
Full mechanized Lean→Rust *refinement proof* and a complete GDPR/RMO
framework (hardware erase, HMAC-signed audit) — both flagged honestly
in-repo, neither overclaimed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KfgJznd6jzSeDYsSXGAXkU
---
_Generated by [Claude
Code](https://claude.ai/code/session_01KfgJznd6jzSeDYsSXGAXkU)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
@@ -78,7 +78,7 @@ ochrance-usage = "name receipts and attestation surfaces; do not claim crypto gu
78
78
[agent-rules.forbidden-moves]
79
79
production-ready = "do not claim valence-shell is production-ready"
80
80
lean-rust-mechanised = "do not claim the Lean-to-Rust correspondence is mechanised"
81
-
rmo-gdpr-beyond-stubs = "do not claim RMO/GDPR support exists beyond stubs"
81
+
rmo-gdpr-beyond-stubs = "do not claim RMO/GDPR beyond the implemented best-effort obliterate (in-place FS only, no hardware erase, no HMAC-signed audit); do not claim a complete GDPR compliance framework"
Copy file name to clipboardExpand all lines: .machine_readable/bot_directives/methodology.a2ml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ constraints = [
101
101
"Coq has 0 remaining real proof gaps: obliterate_overwrites_all_blocks is CLOSED (Print Assumptions: Closed under the global context, re-verified 2026-07-16 under Coq 8.18.0) — see docs/PROOF_HOLES_AUDIT.md",
102
102
"Agda has 1 structural axiom (funext) — provable in cubical Agda, intentional in intensional TT",
103
103
"Coq has 1 justified decidability axiom (is_empty_dir_dec) — infinite-domain Filesystem = Path -> option FSNode; switching to FMaps.t FSNode is the documented migration",
104
-
"RMO (GDPR / secure deletion) primitives are stubs in impl/rust-cli/src/commands/secure_deletion.rs — proofs exist for the model, runtime does not yet bind to them",
104
+
"RMO (GDPR / secure deletion): the obliterate command IS implemented and wired (parser+executor -> commands::secure_deletion::obliterate_path; 3-pass overwrite + unlink + append-only audit residue at <root>/.vsh-audit.log; tests/obliterate_rmo_tests.rs). Best-effort on in-place filesystems only; CoW/SSD need hardware secure_erase; audit HMAC signing still pending. Do NOT claim a full GDPR compliance framework.",
105
105
"OCaml extraction path exists in proofs/coq/extraction.v but the extracted code is not wired into a build target",
106
106
"Idris2 ABI carrier has 2 holes + 10 partial markers per the 2026-06-01 deep audit (issue #42) — these are the FFI boundary obligations",
Copy file name to clipboardExpand all lines: CLAUDE.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,8 +53,8 @@ The Rust CLI is a functional interactive shell with these features:
53
53
- NOT a full POSIX shell (word splitting in external command args, $IFS in all contexts, full function nesting still incomplete)
54
54
- NOT formally verified end-to-end (Lean -> Rust is ~95% confidence via property testing, not proven)
55
55
- NOT a replacement for bash/zsh in current state
56
-
-No GDPR compliance (RMO/secure deletion are stubs)
57
-
- No mechanized correspondence proof (property testing only)
56
+
-Partial GDPR/RMO: the `obliterate` secure-deletion command is implemented and wired (3-pass overwrite + unlink + append-only audit residue), best-effort on in-place filesystems only — CoW/SSD need hardware erase and audit HMAC signing is still pending, so this is NOT a full GDPR compliance framework
57
+
- No mechanized correspondence proof (property testing only; a compiled-Lean-model differential oracle now backstops it — see `docs/LEAN4_RUST_CORRESPONDENCE.md`)
58
58
- Elixir NIF build broken (low priority)
59
59
- BEAM daemon not implemented (planned, not built)
60
60
@@ -111,7 +111,7 @@ deep-audit session). The corresponding Phase 4C design docs under
111
111
### Medium Priority
112
112
113
113
1. Full POSIX compliance incomplete (see `docs/POSIX_COMPLIANCE.md`)
114
-
2.No GDPR compliance (RMO/secure deletion are stubs)
114
+
2.Partial GDPR/RMO: `obliterate` implemented (best-effort secure deletion + audit residue); full GDPR framework incomplete (HW erase for CoW/SSD, HMAC signing)
115
115
3. Elixir NIF build broken (low priority)
116
116
117
117
### Low Priority
@@ -303,9 +303,18 @@ cargo run
303
303
- Working in Rust CLI
304
304
305
305
### RMO (Remove-Match-Obliterate)
306
-
- Irreversible deletion with proof of complete removal
307
-
- Stubs only — NOT implemented
308
-
- Needed for GDPR compliance
306
+
- Irreversible deletion with proof of complete removal (model proven in
0 commit comments