proof(#84): discharge 3.2 bounded external interaction (property)#164
Merged
Conversation
3.2 was already substantially covered in claude-client (capped saturating `backoff_delay` documented "obligation 3.2", a bounded `max_retries` retry loop, and tests `backoff_is_bounded_and_monotonic` + `user_content_cannot_inject_into_ request_json`), so proofs/README marking it "open" was an underclaim. - Add `total_retry_budget_is_finite`: the retry loop runs a bounded number of attempts and each wait is the capped backoff, so the worst-case TOTAL wait across the whole external interaction is finite and bounded (not just each individual delay) — the property that "bounded external interaction" actually asserts. Verified: claude-client 9 tests pass. - Correct the status of 3.2 to *property*-discharged in proofs/README.adoc, the Trustfile PROOF_ARTIFACTS map, and STATE.a2ml. This is the last self-contained obligation in the #84 map. Remaining OPEN are research-grade / external: 1.1 (formal ESP contraction; precondition holds), 1.2 (formal Dafny bound; property evidence exists), 2.2 (N/A single-owner), 3.1 residual (egress veto — external conative-gating #103). Ground truth: cargo test green, clippy --all-targets -- -D warnings clean, fmt clean, must-check exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh
|
hyperpolymath
marked this pull request as ready for review
July 1, 2026 13:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Completes the last self-contained obligation in the #84 proof map.
3.2 (bounded external interaction) was already substantially covered in
claude-client— a capped, saturating
backoff_delay(documented "obligation 3.2"), a boundedmax_retriesretry loop, and testsbackoff_is_bounded_and_monotonic+user_content_cannot_inject_into_request_json— soproofs/README.adocmarking it"open" was an underclaim.
total_retry_budget_is_finite: the retry loop runs a bounded number ofattempts and each wait is the capped backoff, so the worst-case total wait across
the whole external interaction is finite and bounded — the property "bounded external
interaction" actually asserts (complements the per-delay cap test).
proofs/README.adoc, the TrustfilePROOF_ARTIFACTSmap, andSTATE.a2ml.Ground truth:
claude-client9 tests pass;cargo clippy --all-targets -- -D warningsclean;
cargo fmt --checkclean;must-checkexit 0.Proof-map status after this PR (#84)
2.3 (compile-fail typestate).
Dafny bound (property evidence exists), 2.2 (N/A under single-owner design), 3.1
residual = the egress veto (external conative-gating Adopt conative-gating as policy/egress GO/NO-GO veto (refs proof-obligation #84-3.1) #103).
FLAGS (unchanged)
gossamer(build: migrate Kotlin/Gradle Android app to gossamer (clears banned-language CI) #83) +conative-gating(Adopt conative-gating as policy/egress GO/NO-GO veto (refs proof-obligation #84-3.1) #103) still 403-blocked — need the repos addedto the environment's scope.
Validate Hypatia Baseline= pre-existing CI: pre-existing external-action failures (a2ml, k9, hypatia, fuzz) #41 debt (needs hypatia CLI / scan output).🤖 Generated with Claude Code
https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh
Generated by Claude Code