Repository navigation
feat(fv): audit formal evidence contracts without promoting assurance - #14478
EffortlessSteven wants to merge 13 commits into
Conversation
…#14472) Stacked on the #14471 maintenance design at 51aeb53. Add an isolated Rust contract auditor, 15 authored regression tests, tighter draft schemas, corrected illustrative examples and retained adversarial controls. Executed: Draft 2020-12 schema/example/control validation. Rust compilation, formatting, Clippy, repository qualification and Kani are NOT_RUN in this session. Document consistency never grants native proof authority. Refs #14471, #14472, #14473, #12109, #12904.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 42 minutes. View limit details
|
|
I am continuing the existing candidate's missing native qualification as part of the queue-only CI/formal-assurance work under #14500. The exact source remains |
Require current observed behavioral failures; refuse observations in unstarted runs; preserve both directions of selected/native inventory completeness. Add admitted merge-group phase metadata without workflow authority. Locally qualified equivalent tree: 1dab420. 19 focused Rust tests, strict scoped Clippy and 23 retained CLI/schema cases. Full repository policy and protected combined-tree qualification remain open.
|
Current qualification continuation: published H The full default xtask build completed at predecessor The policy pass found process-state Remaining: full Latest source and attribution readback, 2026-11-13The candidate has advanced beyond the historical proof above. Current H is Native Git-object reads for The source is actively advancing. Please retain the current writer/custodian and exact evidence identities in this existing PR's coordination so downstream #14542/#14472 work can reconcile without a competing auditor. No source handoff, author identity beyond the recorded facts, new qualification request or protection change is inferred from this observation. Current-head reconciliation, 2026-11-13 17:08 UTCCurrent H is now The current description reports actual test-inclusive strict Clippy, 21 executed tests, a compiling generation-positivity removal that fails the named control, and restored-source success at this new source. These current-head claims must not be erased by the older receipt above, nor should the older 28 CLI/schema outcomes be renamed as new runs. Raw current native logs have not been independently recovered in this integration readback. Full repository policy, parent composition, actual native G and landed-M acceptance remain separate. The current writer should retain continuation here and supply the existing exact-source receipt location/identity for integration review, rather than rerun the same tests solely for another observer or create another auditor. The description's Candidate Relationships line still names |
|
Stacked dependent candidate #14542 now implements #14474's passive affected-critical-claim plan on this exact head. It deliberately consumes #14478's draft vocabulary and offline-contract pattern without changing or duplicating this PR's evidence auditor. #14542 executes no provider and grants no assurance/CI authority; it selects exact supplied claim relations and widens incomplete or unknown impact to all critical claims. Runtime registry/result/actual-G integration remains with #14473/#14472/#14500. Keep #14478 as the base owner. If this PR changes its claim/result vocabulary, #14542 must reconcile rather than fork a second contract. |
#12109) Carry reviewed schema corrections from the existing document-auditor child, distinguish self-assurance from the separate formal-guard product, record completed finite TLC observations with their remaining correspondence obligations, and document native configuration admission, behavioral controls and the admitted-G target lifecycle. Validation: two schema meta-checks, two examples, 23 schema control outcomes, 13 relative documentation targets and git diff --check pass. Native Rust auditor and provider execution are not claimed by this documentation-only change. Authored-by: Codex <codex@openai.com> Local-source-equivalent: 32e8fa3d4642eaeb03a3bff8023a3391ac45af23 Local-source-commits: 3f23ed89890a4b5c14ab49b98fd33e2a15506532, afa8c0958631275037a48f67a4ad6b7ef8488f47, 32e8fa3d4642eaeb03a3bff8023a3391ac45af23
Use the actual subjects field and include the schema identity in the claim table. State the mandatory sibling-count and cross-record validator boundary, and distinguish completed positive rows from successful aggregate process qualification. Validation: all 24 documented required claim fields exactly match the schema; schemas and examples unchanged; git diff --check passes. Existing #14478 semantic controls own incomplete covers and partial nonzero runs. Authored-by: Codex <codex@openai.com> Local-source-equivalent: 0accd97820e2e4ce29f1997b88563253d5ec4a45
Require nonempty reachability obligations for every critical provider, bind observed rows to exact assumption bytes, permit empty success explanations, and clarify bounded preflight plus domain-specific controls. Validation: two schema meta-checks, two examples and ten focused schema controls pass. Untouched older corpus outcomes are retained explicitly; five observed rows now require migration to non-null assumption commitments. Shared runtime admission follows in the existing implementation owner. Authored-by: Codex <codex@openai.com> Local-source-equivalent: c7205f815b9156a3f9dea349d0c69c1ed617fc30
Compose the reviewed documentation parent. Reuse the shared-auditor repair from 4dd17b16d in the existing standalone owner, including exact observed assumption binding, critical obligations for all providers, and status explanation parity. Preserve the named retained-control faults and add fixed-byte/order controls. Validation on exact local tree: 21 focused tests, strict binary-only Clippy, scoped Rustfmt, actual binary build, 28 schema outcomes and 28 actual CLI outcomes pass. Every admitted response still reports native_assurance=not_assessed. No native provider or protected integration is claimed. Authored-by: Codex <codex@openai.com> Local-source-equivalent: 9ebbd1e43f8f6df05829cb52c27fb975365cdb33 Local-composition: 2c508bce8
Keep one implementation of the document types, decoder, admission predicates and controls for the native/registry follow-ons. Preserve the current command contract and qualify the relocated library tests and actual CLI corpus. Source-equivalent local commit: 1ccf7c36316c90978566cb9f3311e404eee335f4 Authored-by: Codex <codex@openai.com>
Source-equivalent local commit: f1cc4352fd0818fb3c0f00b819c18df3b1cbf002 Authored-by: Codex <codex@openai.com>
…nces (#14472) Source-equivalent local commit: bb3e56aae6ce749ed7b8922a940b79110dc888a7 Authored-by: Codex <codex@openai.com>
…4472) Preserve every negative case and require a nonempty refusal diagnostic. Unexpected acceptance propagates as a failing Rust test Result. Production code is byte-identical. Strict test-inclusive Clippy and 21 actual tests pass; bypassing the generation guard fails the intended control and exact restoration passes. Authored-by: Codex <codex@openai.com> Local-source-equivalent: 5b233037dd681a925f98bb8fe798facd75819657
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed H b2831777109376c644122b067a1fb2791e6825bb, exact tree 740c892f6bd9f5c8173233a1b2d1bc9400cf6f3b, local source-equivalent 5b233037dd681a925f98bb8fe798facd75819657. The two-file follow-up preserves all production/CLI/schema/fixture bytes and all existing negative cases; diagnostic extraction replaces Boolean Result assertions without lint exemptions or test exclusions.
Actual pinned Rust1.95 test-inclusive Clippy with -D warnings and all21 library tests pass. Removing the real generation-positivity guard compiles then fails the intended existing control; restoring exact source passes. Pinned formatting and diff checks pass. The previous test-lint failure is retained and was independently reproduced at unchanged source. Historical28 CLI/schema outcomes retain their original identities.
This is source readiness for the bounded auditor contribution. The PR remains Draft for parent composition and ordinary full repository/hosted qualification. Its successful output still means supplied-document consistency with native_assurance:not_assessed; no native execution or protection authority is granted.
|
Evidence-only sweep triage: this PR currently conflicts with |
Summary
Continue the existing offline formal-evidence document auditor, now natively tested and repaired. This is a bounded contribution to #14472/#14473, not the native proof producer, governed claim registry, selector or assurance scoreboard.
Draft; current test-target repair qualified, parent/protected integration pending. Published H
b2831777109376c644122b067a1fb2791e6825bb, tree740c892f6bd9f5c8173233a1b2d1bc9400cf6f3b, exactly matches local5b233037dd681a925f98bb8fe798facd75819657and is a normal descendant of prior Hcebbe357978384db7ac23dec00227c1ea65fa8ee. This two-file follow-up changes only test assertions/helpers and the changelog: 28 rejection assertions extract nonempty refusal diagnostics and propagate unexpected acceptance as a failing Rust test Result. The complete production prefix, CLI, schemas, fixtures and admission behavior are byte-identical to the preceding source. No lint exemptions, test exclusions or domain weakening were introduced. The cumulative candidate is nine files / 1,702 added lines against #14471.Actual Cargo library test compilation through the pinned Rust1.95 Clippy driver with
-D warningsnow passes, includingcfg(test); all 21 tests execute and pass, none filtered or ignored. The prior 21assertions_on_result_statesdiagnostics were independently reproduced on a pristine unchanged source before this repair. The earlier library/CLI-only Clippy did not establish this dimension.An executed wrong-implementation control removes the production claim-generation positivity condition while leaving the updated tests unchanged. It compiles, then the intended
incomplete_critical_claim_metadata_rejectstest fails with “expected a diagnostic refusal, but supplied evidence was accepted” (exit101, one failure/20 filtered). Exact original bytes are restored; that same test passes (exit0). The mutant is not committed. Pinned Rustfmt and diff checks pass. This qualifies the changed test graph and its rejection oracle; the existing 28 CLI/schema outcomes below retain their original executable/source identity rather than being renamed as new runs.The #14471 parent remains
0c5a09ab9b1b45efe954e1230061a2c8aa1cfd0f. Full repository policy, hosted composed-source checks and protected-G/landed-M evidence remain separate. Ordinary ref advancement used an expected-head lease; no force update or workflow request was made.Exit 0 means consistent supplied documents, never proof success. Every successful output retains
native_assurance: "not_assessed".Swarm / Source Boundary
Ordinary internal tooling, specification and test work in
ripr-swarm; the existing unpublished xtask package. No release or publication surface.Source-of-truth Links
Proposal: repair the draft formal contracts from #14471 and qualify the existing #14478 implementation.
Spec: RIPR-SPEC-0371, narrowly internal assurance honesty.
ADR: existing ADR 0021 authority separation.
Plan item: #14472 machine-result contract and #14473 claim/result relationship; #14474 and #14500 own admitted-G selection/integration.
Governing issue or accepted claim: #14472, partial contract slice; all broader infrastructure issues remain open.
Acceptance delta (one sentence): Reject contradictory claim, native-observation, inventory, cover and process declarations without promoting document consistency into assurance.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
fix/14472-formal-evidence-admission, Hcebbe357978384db7ac23dec00227c1ea65fa8ee.Stack parent or prerequisite PR (if any): #14471,
0c5a09ab9b1b45efe954e1230061a2c8aa1cfd0f; original main basis503034535f9108f4265bc7d85f44ff51328a9c0e.Proposed replacement of PR (if any; not yet accepted): none; this continues the existing candidate rather than creating another auditor.
Acceptance retained from a replaced candidate (if any): #14469 positive covers, #12581 bounded preflight and #11517 declared Kani context retain their independent owners.
Accepted winner and losing candidate disposition (when decided): existing #14478 source reused and repaired. Parent plus child require the normal protected combined-tree route, not an unprotected feature-branch merge. No auto-merge or broad legacy H qualification is requested.
Retained shared-owner extraction qualification
The document types, duplicate-key decoder, admission predicates and all 21 controls now live in
xtask/src/formal_evidence.rs. The binary retains its original argument/render/exit body. Undoing only the three public-symbol declarations and three fixture-path adjustments, then reinserting that main body, reconstructs the entire previous implementation byte-for-byte (SHA-256de9bf630f2c13203a2f160ba4bc9da438e574c15d2352eb675b6748da7693f92). No admission law changed in this extraction.On the executable qualification tree
9abd59edc7fada4a4374d443ead36ac1bb4d8bc0, 21/21 library tests, strict library-plus-binary Clippy, and the binary build passed in 4.203 seconds with one build job. All 28 schema outcomes and 28 actual CLI exits matched the retained corpus; every admitted response keptnative_assurance: not_assessed. CLI SHA-256:224cc789b34f75d1f5b77a6723b4747ee67c01ba17443cda136ceb8e502ce57e. Trace pointers and documented test selectors now select the library tests, avoiding a zero-test thin-bin check.The cumulative candidate against its existing docs parent is 9 files / 1,690 added lines, within the normal candidate envelope. Folding the extraction into this still-Draft owner avoids a second auditor or an oversized later move. Registry/native follow-ons extend this shared authority; they are not implemented by this PR.
Scope / Implementation
The product-independent
formal-evidence-auditbinary reuses the existing Serde/serde_json/SHA-256 dependencies behind its isolated feature. Normal automation includes it;default-run = "xtask"preserves the alias. Dependency requirements and Cargo.lock are unchanged.The auditor refuses duplicate/unknown JSON keys, invalid critical metadata, mismatched claim identity, incomplete positive evidence, contradictory cover totals and process states. It retains honest absence, partial runs and stale declarations.
The native continuation repaired three demonstrated holes:
FAILEDcannot be paired with verified/missing/instrument-failure output or lack current discovery, raw commitments, duration and the declared required-cover inventory.not_startedrows cannot claim observed satisfied/unreachable covers, duration or memory.undiscovered_selected_subjectsreports that gap separately from absent result rows.The draft claim contract now accepts
admitted_merge_groupphase metadata and documents #14500's queue-only topology. Older ordinary-PR/merge-ready spellings remain inspectable historical declarations, never trigger authority. No workflow changes.The work index now links the already recorded TLC positive run and three named negative controls at source
30ec9ac187025985314858ff9ba9d72bf1ad02e9; it does not claim Rust adapter/conformance qualification.Input bounds remain 1 MiB/file, 16 MiB total and 256 claims. These are admission bounds, not exact time/memory guarantees.
Proof
Retained contract-alignment qualification
The reviewed parent now requires a nonempty reachability obligation for every critical provider, exact non-null observed-row assumption commitments, and status-specific explanation rules. This child implements those same laws.
["A","B"]is accepted, and reversing the registered array refuses that same observation.native_assurance: "not_assessed".11a7c85604484848ececf707a8ec50c608290dc8ad3fee0b2d03022b800bf59e.The ordinary parent composition resolved the three overlapping documentation files to the reviewed #14471 contract; executable behavior was repaired in the existing auditor owner. Native capture still reuses these predicates through its shared-library extraction. Full current-source repository policy and protected combined-tree qualification remain pending.
Retained historical qualification
Executed on Rust 1.95.0 / Linux:
d82e4aeb: all 15 previously authored tests passed.FAILED + verified; subsequent controls exposed unstarted cover observations and asymmetric native inventory.git diff --checkpassed.native_assurance: not_assessed; admitted-G metadata alone selects no claims.224cc789b34f75d1f5b77a6723b4747ee67c01ba17443cda136ceb8e502ce57e.cargo policy check-workflowspassed.Focused commands:
cargo test --locked -p xtask --no-default-features \ --features formal-evidence-audit --lib cargo clippy --locked -p xtask --no-default-features \ --features formal-evidence-audit --lib --bin formal-evidence-audit -- -D warnings cargo build --locked -p xtask --no-default-features \ --features formal-evidence-audit --bin formal-evidence-auditAn overbroad experimental Clippy invocation with
--testsselected unrelated xtask integration targets with disabled optional dependencies and failed compilation. The corrected documented binary-only invocation passes; this is not a claim that all no-default-feature targets build.The full default xtask build subsequently completed with native exit 0 in 14m11s on predecessor
603836d5(not a cold-build benchmark). Its relevant tool source is unchanged by this two-file policy repair. Native process/CLI-exit policy, traceability, changelog, command catalog, doc artifacts/index/roles, workspace shape, output contracts, architecture, capabilities and text encoding passed. The existing evidence-promotion-honesty corpus also passed. Source-policy initially found the native processkilledvocabulary; the current repair retains that wire value with narrowly explained static-language annotations and uses 'terminated' in the diagnostic. Current 19 focused tests, strict Clippy, all 23 schema controls and rebuilt actual CLI controls pass again. The complete source-onlycheck-policy-allaggregate now passes with the verified Rust tool on PATH. This aggregate intentionally excludes test-binary file-policy enumeration.Full
ci-policy(including test-binary enumeration), broadcheck-fastworkspace Clippy and protected combined-tree hosted qualification remain missing; they are not replaced by these source checks. No Kani or TLC ran.Review
Directed independent review found the unstarted-observation and inventory-denominator defects; both were reproduced and repaired. Exact-tree final source/CLI review found no remaining blocker in the reviewed repairs. It independently replayed all 23 cases and checked partial-timeout preservation, missing discovery, metadata authority, schema and doc parity.
Overall review remains incomplete for missing repository policy and protected integration evidence. No source-readiness marker is issued over those missing dimensions.
Authority / Nonclaims
This helper does not execute providers, read raw proof artifacts, recompute source/configuration commitments, authenticate producers, establish actual currentness, execute negative proofs, select CI work or authorize proof replacement/retirement.
Consistent supplied declarations are not native assurance. Harness counts are not proof coverage. #14472 must integrate one qualified validator with actual native capture and custody; reuse these predicates rather than maintain two admission authorities. #14473 owns the governed current-source/registry/result join. #6452/#6456 retain base/head proof-transition protection.
No product support-tier change, required context, new dependency, credential, process/network invocation, workflow trigger or settings/ruleset mutation.
Traceability and Changelog
.ripr/traceability.d/14472-formal-evidence-audit.tomlbinds RIPR-SPEC-0371 to all 21 current tests.ADMISSION_AUDIT.mddocuments commands, bounds and limitations.changelog.d/14472-formal-evidence-audit.mduses the canonical Internal / CI marker, bullets and issue references.Native traceability policy passed; full user-text policy remains pending.
CI Economics
The isolated feature avoids the product dependency for focused audit proof. No overall CI latency or runner-minute saving is claimed. The queue-only phase vocabulary is contract preparation, not an installed selector or event-perimeter cutover.
Rollback / Continuation
Revert this additive child through the normal protected route; existing Kani artifacts, runner and workflow remain unchanged. Historical evidence is retained.
Continue from this exact published tree: finish applicable repository policy and, after the documentation parent lands through protection, reconcile the child onto main without importing unrelated behind-only churn. Review the actual composition and use the installed H prerequisite plus native merge-group route under #14500. Protected G qualification and landed-tree reconciliation remain required; feature-branch stack bases do not authorize an unprotected landing.
Attribution clarification
The agent-written continuation in commit
ffd9b74251b0cb8959096a771483f4467dd3634awas authored by Codex, but its publication recorded different raw Git author/committer metadata. This note clarifies authorship of those changes; it does not change the original commit object or shared history. Future publications will use a verified route preserving Codex attribution.