Skip to content

feat(fv): share the native execution declaration contract - #14549

Draft
EffortlessSteven wants to merge 2 commits into
fix/14472-formal-evidence-admissionfrom
feat/14472-native-result-contract
Draft

EffortlessSteven wants to merge 2 commits into
fix/14472-formal-evidence-admissionfrom
feat/14472-native-result-contract

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Current qualified source

Published H 656e47ef0745f589dc2c01cacee3f6d0fb70b768, exact tree fe15276d13089102ce2d89233a7ebb03a20c610c, equals locally qualified 18e625bb8a9a05cbfc0c938293807e202d577623. This is an ordinary merge descendant of prior H 68b2a80a3715f96d4c547ccb724a0809cc26d05a and repaired parent #14478 at b2831777109376c644122b067a1fb2791e6825bb; no history rewrite.

Seven native-contract rejection assertions now inspect the intended refusal diagnostic, and this stage inherits the shared auditor's test-only repair. No lint exemptions or test removals were added. Production admission/interpretation bytes, CLI behavior, schemas and retained fixtures are unchanged. The actual candidate remains 2,969 changed lines against its real proposed parent.

On this exact local source, pinned Rust 1.95 compiled and executed the actual library test target through clippy-driver with -D warnings: 25/25 tests passed, zero failed/ignored/filtered and zero diagnostics. Actual --test invocations and raw receipts are retained. Earlier production-target/CLI evidence below keeps its original source identity and was not relabeled as a new execution. This remains Draft; full default-target/protected integration and native assurance remain separate.

Outcome

Extend the existing shared formal-evidence auditor with the native execution declaration contract needed by #14472 and #14473. This is the bounded common-type/schema contribution; the producer and retained-byte replay remain separate follow-ons.

The command still reports native_assurance: "not_assessed". A consistent document is never credited as an executed proof.

Source-of-truth Links

Proposal: the existing self-assurance programme in #12109/#12904.
Spec: RIPR-SPEC-0371 and the maintained native-proof-run design contract.
ADR: existing verification-authority separation; no new execution authority.
Plan item: #14472 common result/custody contract, reused by #14473 registry/currentness.
Governing issue or accepted claim: #14472 — shared native execution declarations and semantic consistency only.
Acceptance delta (one sentence): One shared DTO/schema/auditor admits consistent native-execution declarations and refuses missing required keys, mismatched source subjects, contradictory verdict/property evidence and incomplete successful-run metadata without granting native assurance.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): feat/14472-native-result-contract, H 656e47ef0745f589dc2c01cacee3f6d0fb70b768.
Stack parent or prerequisite PR (if any): #14478 at b2831777109376c644122b067a1fb2791e6825bb; its #14471 documentation parent remains required.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): no replacement; all 21 parent auditor controls and 28 retained schema/CLI cases are preserved.
Accepted winner and losing candidate disposition (when decided): this is the common contract contribution continuing #14478; existing #14545 remains the producer carrier pending the already-recorded ownership reconciliation. No competing full producer is introduced or active branch overwritten.

Contract and behavior

The shared Run gains optional execution declarations and separate unregistered observations. The closed execution vocabulary records before/after source snapshots, selected and native subject identities, exact artifact commitments, effective configuration, installed tools, bounded invocations, retained inventory, aggregate state and explicit limitations.

Observed registered rows continue to require source commitments. Not-started or partial observations can use explicit null source identity; they cannot invent proof. All 30 newly nullable but schema-required fields require explicit presence. A schema-driven control removes each of 90 required keys across seven DTO shapes and requires decoder refusal. Intentionally optional legacy fields remain optional.

Unregistered observations cannot increase the registered claim denominator. An observed row must equal its selected subject including source digest. A VERIFIED row needs the verified typed verdict, complete positive covers and a consistent complete-property projection. FAILED/counterexample needs an observed FAILURE property and cannot be supplied by a failed unwind check; FAILED/unreachable-cover needs an actually unsuccessful cover. Live parser follow-ons reuse the same pure counterexample-property predicate.

A successful lane declaration requires current source/configuration declarations, complete selected inventory, successful bounded invocation records, before/after tool observations, completed cleanup and positive evidence. These are consistency predicates over supplied declarations, not authenticated facts about a machine.

Retained prior source and focused qualification

Published tree cb6ba368d146d9407c7619a5da46853a99aaf3da equals reviewed local 9270e78a9937cfec32b9c1d9374ee477e5385379. The cumulative candidate is 7 files / 2,954 changed lines (2,708 additions, 246 deletions), inside the ordinary envelope. Connector publication records Codex authorship and the source-equivalent local commit; it does not rewrite history.

On this exact source, 25 library tests passed, including the schema-driven 90-key omission check and the parent 21 controls. Strict library-plus-binary Clippy and the actual CLI build passed; the bounded warm sequence took 6.743 seconds. The binary from that retained source has SHA-256 is c10157b0feb3f21ef58e489cee44d3a87e1359844e7465c54793695333e411a3.

Both schemas meta-validate. 45 actual CLI/schema cases passed: the 28 retained cases, seven native declaration cases, seven demonstrated required-key omissions now refused, and the three independently reproduced declaration contradictions now refused. All admitted responses retain native_assurance: not_assessed. The actual repository changelog predicate reports zero violations, Rustfmt and diff checks pass. These are focused current-source results, not full default xtask/repository policy, native Kani execution or protected integration qualification.

The earlier reduced-graph extraction accidentally retained a test that depended on the later native parser. Its compilation failure was retained, then that parser-specific control was kept with the parser slice. No failed or filtered test is counted as a pass.

Independent review reproduced required-nullable omissions and three declaration contradictions through the actual predecessor CLI. The current source repairs them and retains the negative controls alongside valid corresponding declarations. Review of the repaired exact source found no remaining blocker within this bounded contract; full repository/protected qualification remains separate.

Reproduce

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-audit

The documented CLI is the parent formal-evidence-audit entrypoint. The library is the owner of the controls; a thin-bin zero-test run is insufficient.

Integration and limits

No native producer, raw-output parser/replay route, source scanner, registered claim issuer, workflow trigger, required check, dependency or product support change is activated here. Local artifact commitment helpers do not authenticate a producer. The stronger native integration reuses this module; it must preserve #14545's initial incomplete checkpoint, immutable run history and stale-success controls while composing #12581 and #14469.

This stacked Draft must use normal protected main integration after its parents. A feature-branch base is not permission to land without main protection. No qualification label or extra full CI request is made by this publication.

Maintenance and rollback

ADMISSION_AUDIT.md documents the new declaration boundary and explicit-null rule. Existing SPEC-0371 traceability names every new contract control. The changelog uses the existing Internal / CI marker and #14472 reference.

Wire-law changes must update the shared DTO, strict schema, semantic controls, producer and consumers in one reviewed composition. Revert this additive contract/schema extension together through protection while preserving the parent auditor and historical native evidence. No settings or persistent product state needs migration.

Advances #14472; does not close #14472/#14473/#12109/#12904.

Source-equivalent to reviewed and qualified local 9270e78a9937cfec32b9c1d9374ee477e5385379; tree cb6ba36.

25 library tests (including 90 required-key omission controls), strict library/binary Clippy, actual CLI build and 45 schema/CLI cases pass. Supplied document consistency remains not_assessed native assurance. This bounded common DTO/schema contribution does not activate or replace the native producer.

Authored-by: Codex <codex@openai.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ee4655c4-834b-43f0-a92b-fb7cf33a47da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

…requisites

Production interpretation is unchanged. Actual pinned strict test-target graph passed 25 controls.

Authored-by: Codex
Local-source-equivalent: 18e625bb8a9a05cbfc0c938293807e202d577623

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Reviewed H 656e47ef0745f589dc2c01cacee3f6d0fb70b768, tree fe15276d13089102ce2d89233a7ebb03a20c610c, source-equivalent local 18e625bb8a9a05cbfc0c938293807e202d577623. The native declaration rejection controls inspect their intended diagnostics, retain all required-key and contradiction cases, and inherit the shared auditor repair. Source comparison preserves production definitions, schema, CLI and retained fixture bytes. Independent source review checked diagnostic fragments and setup-error propagation.

The actual pinned Rust 1.95 library test target compiled through strict Clippy with -D warnings and executed 25/25 controls, with zero failed, ignored, filtered or diagnostic results. The complete actual-parent delta is 2969 changed lines. Earlier CLI/production qualifications retain their original identities in the PR body.

This records the reviewed bounded source contribution. Default-target qualification, the prerequisite-containing protected composition and normal delivery remain separate stages.

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