Skip to content

test(ambyte-w9): strengthen three pieces of W9 evidence - #1219

Merged
flyingrobots merged 9 commits into
mainfrom
test/w9-evidence-strengthening
Dec 1, 2026
Merged

flyingrobots merged 9 commits into
mainfrom
test/w9-evidence-strengthening

Conversation

@flyingrobots

@flyingrobots flyingrobots commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Strengthens three pieces of the Ambyte W9 conformance evidence (w9_typed_read_conformance, #1056) so that none rests on an inference or an internal-only test. No oracle change.

1. The verifier's own U

Before: u_agreement showed the verifier's agreement only by accept at U and refuse at U - 1, because the verifier exposed no number. The verifier's report carried no bound.

Now: an accepted bounded-read result inside the bound's domain carries one Info diagnostic in the verifier's public result, echo.verifier.bounded-read-bound, with the message tariff=<tariff> units=<units>: the bound the verifier recomputed (rule C015 step 8) and found equal to both carried fields. u_agreement asserts it equals the specified U ((READ_LOOKUP + READ_PER_BYTE * M) + COMPARISON + GUARD, from the tariff, not from code).

Why a diagnostic and not a report field: the report's schema is closed and shared by every package kind (echo-operation-package-verifier-report), and the frozen provider WIT result has no other field. A report key would change the CDDL, the generated corpus and the host-side schema check for all kinds. The diagnostic counts against the request's diagnostic and response-byte limits like any other; a graph read, or a program outside the domain that carries no bound, accepts with no diagnostic.

Component bytes change (the diagnostic is new code in the verifier). The verifier is re-promoted: 872,860 bytes, SHA-256 5b3f86e31a5f89690694967a3dc2ce1ab82f6179efae2d09626f5de56b918d3a, from det-gates run 46752174563 (both G4 candidates byte-identical, built from f1dbc1a6); the lowerer is unchanged. The approved identity in xtask, the checked component and its two package copies, the package manifest, the package goldens and the component READMEs are refreshed in the second commit.

RED: the new crate test accepted_result_carries_the_recomputed_bound failed with left: [] before the change. In W9, with the diagnostic's number mutated to units + 1, u_agreement failed with left: Accepted { recomputed: Some(("ambyte-tariff/2", 1048585)) } right: ... 1048584; restored.

2. Public stale ordering

Before: the public part showed RefusedStale; "no evaluation, no coverage" rested on the internal test stale_candidate_does_not_reach_evaluation. No public API counts evaluator calls, key coverage or reservations for a submission.

Now: the stale part submits a second stale read whose application input addresses a node outside its declared aperture (a read that would stop as ReadOutsideAperture if evaluated). Through tick_once and the public outcome accessor it asserts the published arm is RefusedStale, naming that invocation and the same old basis as the first stale read, with no observation bytes and no published observation. A read that reached its evaluator could only end as tag 8. What stays by type only: the RefusedStale arm holds just the two identities, so it carries no coverage; that is not a counter.

RED: building that read on the current basis (not stale) made the part fail with EchoOutcome: ReadOutsideAperture { ... }. Disabling the stale check in production made the part fail earlier, at the first committed-peer assertion.

3. Public ReadOutsideAperture

New part read_outside_aperture: the grant authorizes exactly one node, the invocation declares that aperture (admission accepts it), and the application input addresses another node. Through tick_once it asserts the published tag 8 record: the invocation identity, the stopped address, the input digest and the aperture digest (recomputed in the test from the submitted bytes by the recipes of C016 Table 69 and N8), an Attempt coordinate on the writer head, no observation, no commit (parent and frontier equal an untouched host). The oracle does not model this stop (C007: a host obstruction, not an observation or a coverage refusal), so nothing is compared with it and no oracle outcome is invented.

RED: with the read inside its aperture, the part failed with EchoOutcome: Committed(...); with the expected aperture digest built over the wrong node it failed with the C016 N8 digest assertion.

Checks

  • bash scripts/verify-ambyte-w9-conformance.sh: W9 frontier assertions remaining: 0, W9 conformance: all parts pass.
  • bash scripts/ambyte-w9-low-u-mutation.sh: W9 low-U mutation run: ChargeExceedsBound reported by the real tick (mutation evidence, not conformance).
  • cargo test -p echo-edict-provider-verifier, cargo test --locked -p echo-wesley-gen, cargo test --locked -p xtask, scripts/ban-nondeterminism.sh.

Summary by CodeRabbit

  • New Features
    • Accepted bounded reads can now include an informational diagnostic showing the verifier-recomputed bound, when response limits allow.
  • Bug Fixes
    • Added conformance coverage for reads outside an authorized aperture and for stale submissions, including cases where stale refusal takes precedence.
  • Documentation
    • Updated verifier guidance and checked-component size and integrity details.

…ccepted result

An accepted bounded-read result inside the bound's domain carries one Info
diagnostic, echo.verifier.bounded-read-bound, whose message names the tariff
and the units of the bound the verifier recomputed and found equal to both
carried fields. The report's bytes are unchanged. W9's u_agreement asserts
that number equals U instead of inferring it from accept at U and refuse at
U - 1.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between c380179 and 8f89d23.

Files ignored due to path filters: 3

  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
  • schemas/edict-provider/components/v1/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
  • schemas/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
Files selected for processing: 14

  • CHANGELOG.md
  • crates/echo-edict-provider-verifier/README.md
  • crates/echo-edict-provider-verifier/src/executable_operation.rs
  • crates/echo-edict-provider-verifier/src/executable_operation/bounded_read.rs
  • crates/echo-edict-provider-verifier/src/lib.rs
  • crates/echo-edict-provider-verifier/tests/bounded_read/semantic_bound.rs
  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/provider-manifest.echo.json
  • crates/echo-wesley-gen/tests/provider_package.rs
  • crates/echo-wesley-gen/tests/provider_package_corpus.rs
  • schemas/edict-provider/components/v1/README.md
  • schemas/edict-provider/package/v1/provider-manifest.echo.json
  • tests/ambyte-w9-conformance/tests/support/verifier_run.rs
  • tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs
  • xtask/src/provider_lowerer_component.rs

No actionable comments were generated in the recent review.

Walkthrough

The verifier now reports its recomputed bounded-read tariff and units in an optional Info diagnostic. The PR updates the checked verifier component identity and package digests. W9 tests cover the diagnostic, stale-read refusal, and an outside-aperture read.

Changes: Bounded-read diagnostic and component identity

Layer / File(s) Summary
Compute and report the bounded-read result
crates/echo-edict-provider-verifier/src/executable_operation/bounded_read/semantic_bound.rs, crates/echo-edict-provider-verifier/src/executable_operation/bounded_read.rs, crates/echo-edict-provider-verifier/tests/bounded_read*, crates/echo-edict-provider-verifier/README.md, CHANGELOG.md
decide returns the optional computed bound. The verifier adds an Info diagnostic when the diagnostic-count and response-byte limits allow it. Tests cover accepted results and limit handling.
Update checked verifier component identity
schemas/edict-provider/components/v1/README.md, schemas/edict-provider/package/v1/provider-manifest.echo.json, crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/provider-manifest.echo.json, crates/echo-wesley-gen/tests/provider_package*, xtask/src/provider_lowerer_component.rs, crates/echo-edict-provider-verifier/README.md
Component documentation, manifests, package digest pins, and the approved verifier digest now record the updated component identity. The lowerer identity is unchanged.

W9 typed-read conformance

Layer / File(s) Summary
Extend W9 inputs and verifier results
tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs, tests/ambyte-w9-conformance/tests/support/verifier_run.rs
The test harness adds outside-aperture input and node data. Accepted verifier results carry an optional recomputed bound parsed from the Info diagnostic.
Check stale refusal and aperture stop
tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs, CHANGELOG.md
The stale-basis test checks refusal of an outside-aperture stale invocation without an observation. A separate public-API case checks the outside-aperture record, with no observation or evaluation-basis change.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Possibly related issues

  • flyingrobots/echo issue 1140: The W9 stale-basis test checks public refusal before an outside-aperture stop, alongside the internal assertion that evaluation is not called.
  • flyingrobots/echo issue 1057: The PR extends the W9 typed-read conformance evidence covered by this umbrella issue.
  • flyingrobots/echo issue 1056: The PR strengthens the W9 witness with verifier-bound, stale-basis, and outside-aperture assertions.
Merge Risk: Minimal · previous review c3801 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "test(ambyte-w9): strengthen three pieces of W9 evidence" is a short, specific single sentence. The changeset adds and strengthens W9 conformance tests: a verifier Info diagnostic for the re…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "test(ambyte-w9): strengthen three pieces of W9 evidence" is a short, specific single sentence. The changeset adds and strengthens W9 conformance tests: a verifier Info diagnostic for the recomputed bound, a read_outside_aperture case, and a stale-basis RefusedStale check. Its scope is test-focused, matching the PR objectives. It is a little general about which three pieces, but it refers to real changes and does not mislead.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6e9784b and c380179.

Files ignored due to path filters: 3

  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
  • schemas/edict-provider/components/v1/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
  • schemas/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm is excluded by !**/*.wasm
Files selected for processing: 14

  • CHANGELOG.md
  • crates/echo-edict-provider-verifier/README.md
  • crates/echo-edict-provider-verifier/src/executable_operation/bounded_read.rs
  • crates/echo-edict-provider-verifier/src/executable_operation/bounded_read/semantic_bound.rs
  • crates/echo-edict-provider-verifier/tests/bounded_read.rs
  • crates/echo-edict-provider-verifier/tests/bounded_read/semantic_bound.rs
  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/provider-manifest.echo.json
  • crates/echo-wesley-gen/tests/provider_package.rs
  • crates/echo-wesley-gen/tests/provider_package_corpus.rs
  • schemas/edict-provider/components/v1/README.md
  • schemas/edict-provider/package/v1/provider-manifest.echo.json
  • tests/ambyte-w9-conformance/tests/support/verifier_run.rs
  • tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs
  • xtask/src/provider_lowerer_component.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

…ure stop

A stale bounded read whose evaluation would stop at the aperture is published
as RefusedStale, with no observation and the old basis, so the test shows
through the public outcome that the stale check precedes evaluation.

A new part, read_outside_aperture, submits through tick_once a read of a node
outside the grant's authorized aperture and asserts the published
ReadOutsideAperture record: invocation, stopped address, the input and
aperture digests recomputed from the submitted bytes, an Attempt coordinate,
no observation and no commit. The oracle does not model this stop.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
…74563

The verifier names its recomputed bound in an accepted result, so its
component bytes change: 872,860 bytes, SHA-256 5b3f86e3. Both G4 candidate
jobs of the run, built from f1dbc1a, produced byte-identical components for
the verifier (and for the unchanged lowerer). The approved identity, the
checked component and its two package copies, the package manifest, the
package goldens and the component READMEs follow.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
@flyingrobots

Copy link
Copy Markdown
Owner Author

Council code review, first review: codex, at 09b7ffd3

The reviewer had every earlier review and disposition, and the audit of constants and numbers was scoped to what this pull request adds or changes. Unedited except that machine-local paths are made repository-relative.


Findings

  1. P2 — The Info diagnostic can turn an accepted verification into a refusal. An in-domain bounded read with max_output_count = 1, max_diagnostic_count = 0, and enough bytes for the report previously returned accepted. The new diagnostic makes the count one, so the same request now returns read report exceeds host response budget. A byte budget sized exactly for the previous response fails for the same reason. Both native and component callers are affected. The report artifact bytes remain identical when a report is returned, but some callers lose the report altogether. Preserve acceptance by emitting the advisory diagnostic when it fits both limits, and test the zero-diagnostic and exact-byte boundaries. If the diagnostic is mandatory, document and test the change in acceptance behavior explicitly. (crates/echo-edict-provider-verifier/src/executable_operation/bounded_read.rs:129, :154, :167, crates/echo-edict-provider-verifier/src/component.rs:19, :46)

  2. P3 — The stale test cannot establish that the evaluator was never called. A regression that evaluates the stale candidate first, discards the aperture stop, and then publishes RefusedStale would pass every new public assertion. The fresh aperture control establishes which outcome is published for a fresh request. The stale assertion establishes which refusal takes precedence in the published outcome. The current runtime does short-circuit before evaluation, and the existing internal calls == 0 witness distinguishes that ordering from evaluate-and-discard. Narrow the public claim in the test and changelog to refusal precedence and cite the internal witness for the no-call invariant. (tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs:1627, :1653, crates/warp-core/src/echo_operation.rs:6731, :6807, crates/warp-core/src/echo_operation/bounded_read_tick_tests.rs:305, :319, CHANGELOG.md:10)

  3. P3 — The stale test checks that two basis IDs agree, without anchoring either to the submitted old basis. If publication substituted the current basis ID for both stale records, their invocation IDs and empty observations could still be correct, and the equality assertion would pass. Capture the public evaluation basis identity before the first commit and compare each stale record against it. The public basis type already exposes identity(). (tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs:1480, :1640, :1658, crates/warp-core/src/echo_operation.rs:3544)

Verification Checklist

Area Status and evidence
Pinned range and merges Executed. Confirmed head 09b7ffd3828c6af1530fc8826580667388df0a8b, inspected the requested three-dot diff and two-dot log against 6e9784b0f68739ae79ba078ec61b18d967bf8164, and ran git diff --check successfully. The three commits are linear and have one parent each. There are no merge commits or conflict resolutions in range.
Native and component verifier Inspected. Native lib.rs:296 → executable_operation.rs:255 → bounded_read.rs:121 → bounded_read/semantic_bound.rs:146–:199, all under crates/echo-edict-provider-verifier/src/. The component uses the same verifier and forwards the limits, diagnostic code, severity and message through component.rs:19, :46, :105 and :170. Relation rejection and semantic-bound refusals retain their existing branches. Graph reads and accepted out-of-domain reads return no recomputed bound. The report encoder still receives an empty diagnosticBytes field on acceptance (bounded_read.rs:142–:153 → executable_operation.rs:2297). The new message is deterministic by inspection. The outer response changes, including the refusal boundary in Finding 1.
u_agreement Inspected. tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs:1757 → tests/ambyte-w9-conformance/tests/support/verifier_run.rs:208 and :238 → the native public verifier. The assertion requires an accepted report and the expected tariff and units from a single matching Info diagnostic. The companion U - 1 assertion requires the specific embedded-bound mismatch. This exercises the native library dependency (tests/ambyte-w9-conformance/Cargo.toml:31). Acceptance entails equality with both carried fields, so value equality alone cannot distinguish formatting the recomputed bound from formatting a checked carried value. The implementation uses the recomputed value.
Public stale and aperture paths Inspected. W9 submits via the WAL-acknowledged ingress and tick_once at tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs:865–:884 and :1534–:1549. crates/warp-core/src/trusted_runtime_host.rs:2491 → crates/warp-core/src/coordinator.rs:5929 → crates/warp-core/src/echo_operation.rs:6731 produces stale before evaluator dispatch. For a fresh request, admission checks grant authorization of the declared aperture at echo_operation.rs:4965. The addressed node hits the aperture check at crates/warp-core/src/edict_read/evaluate.rs:271, maps to the bounded-read obstruction at crates/warp-core/src/echo_operation/bounded_read_evaluator.rs:712, and becomes tag 8 at crates/warp-core/src/echo_operation/bounded_read_commit.rs:439–:457. The test distinguishes the addressed node from the authorized one and checks invocation identity, input and aperture digests, Attempt coordinate, observation absence, and unchanged public basis (w9_typed_read_conformance.rs:1916–:2000).
Settlement, publication and recovery Inspected relevant branches only. The scheduler splits commit settlement and no-commit attempt assembly at crates/warp-core/src/coordinator.rs:6013–:6060. The host writes commit batches or attempts, handles write errors, then publishes outcomes and any observations at crates/warp-core/src/trusted_runtime_host.rs:2678–:2768. Tags 5 and 8 expose no observation bytes at crates/warp-core/src/echo_operation/action_record.rs:201. The existing recovery path has separate attempt validation at trusted_runtime_host.rs:2887 and :7276. Full restart and interruption parity was not established by this review.
Changed constants and document figures Checked locally. The W9 tariff arithmetic gives U = 1,048,584 from 5 + 1,048,576 + 2 + 1, consistent with docs/architecture/one-admission-path.md:1128 and the verifier fixture assertion at crates/echo-edict-provider-verifier/tests/bounded_read/semantic_bound.rs:127–:146. U + 2 distinguishes the second stale submission, and the one-entry aperture count matches its encoded node list. Checked tags 5 and 8 against crates/warp-core/src/echo_operation/action_record.rs:207–:210 and the tag 8 digest requirements against docs/architecture/one-admission-path.md:3281, :3449, and :3475. No timing, buffer, rate, or timeout thresholds changed.
Promoted files and scope Executed local byte counts and hashes. All three verifier copies are 872,860 bytes and hash to 5b3f86e31a5f89690694967a3dc2ce1ab82f6179efae2d09626f5de56b918d3a, matching both READMEs, both manifests, the changelog prefix, and the xtask pin. The lowerer has no diff, is 824,880 bytes, and matches the documented 53994814… hash. Both manifest files hash to c5b100cc…, matching the raw manifest golden. The distinct 9ce7289c… provider closure digest is consistent across manifests and golden pins. Its canonical recomputation was inspected at crates/echo-wesley-gen/src/provider_package.rs:932, :1033, and :1573, but was not executed. Outside the verifier and W9 package, changes are promotion assets, identity pins, corpus expectations and documentation. No runtime implementation or wire version changed outside the verifier.
G4 provenance Unavailable. The documented source SHA f1dbc1a68ebac67c99fed64d32501dfd36599bdd exists and contains the verifier source changes. The workflow shows two candidate builds and their comparison at .github/workflows/det-gates.yml:243–:289 and :308–:350. The run page could not be retrieved, and the tree supplied no raw candidate artifacts or job output for run 46752174563. Checked-in hashes establish local identity. The claim that both G4 candidates produced those bytes remains unverified.
Test and documentation standards Inspected. The repository requires a focused executable witness. The applicable testing standard also requires recorded failure demonstrations for new tests and materially changed assertions. No calibration output was inspected. The documentation standard requires evidence for strong claims. The changelog’s ordering claim exceeds its public witness, and the reproducible-build claims remain subject to the G4 evidence gap above.
Execution boundary Static inspection, Git, search, byte counts and SHA-256 only. Skipped compilation, Cargo tests, native execution, Wasm invocation and test calibration under the shared-cache restriction. No files, commits, pushes or GitHub posts were made.

The response-limit regression and the two stale-evidence gaps require changes. The mandatory G4 provenance check also remains blocked on candidate evidence.

REQUEST CHANGES

…it fits

The Info diagnostic that names the recomputed bound is emitted only when the
response with it fits both max_diagnostic_count and max_total_response_bytes,
so a request that was accepted before is still accepted: zero diagnostics
allowed, or a byte budget sized for the response without it. W9 keeps its
generous budgets, so u_agreement still reads the number.

The stale part now anchors both stale records to the public evaluation basis
captured before the first commit, and its comment and the changelog claim
refusal precedence in the published outcome only; the no-call invariant is the
internal stale_candidate_does_not_reach_evaluation.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
…80083

The advisory bound diagnostic is emitted only when it fits both response
limits, which changes the verifier's bytes: 873,022 bytes, SHA-256 583f7bce.
Both G4 candidate jobs, built from fd823b3, were byte-identical; the lowerer
is unchanged. Identity pin, checked component and package copies, manifest,
goldens and READMEs follow.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
@flyingrobots

Copy link
Copy Markdown
Owner Author

Dispositions for the first council review (codex, at 09b7ffd), fixed at c380179:

  1. P2, the advisory can refuse an acceptance: fixed. The bound diagnostic is emitted only when the response with it fits both max_diagnostic_count and max_total_response_bytes. New test advisory_bound_never_turns_an_acceptance_into_a_refusal (zero diagnostics allowed, and a byte budget sized for the old response, both still accepted); it failed first with 'read report exceeds host response budget'. W9 keeps generous limits, so u_agreement still reads the number. The verifier's bytes changed again: 873,022 bytes, SHA-256 583f7bce4a1f722156ec05036853856764a37d6976e82703ffeb38e5e4927e22, promoted from det-gates run 46755580083 (both G4 candidates byte-identical); run 46756911619 at this head passes the G4 comparison.
  2. P3, stale claim: narrowed in the test comment and CHANGELOG to refusal precedence in the published outcome; the no-call invariant is cited to the internal stale_candidate_does_not_reach_evaluation (calls == 0).
  3. P3, basis anchor: both stale records are now compared with the public basis identity() captured before the first commit (and asserted different from the post-commit basis). RED: anchoring to the post-commit basis failed 'the first stale record names the submitted old basis'.

The G4 provenance gap in the review is closed by the run ids above.

@flyingrobots
flyingrobots marked this pull request as ready for review December 1, 2026 22:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T23:16:34.475286Z 8f89d23 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…ly, not as a diagnostic

The public compiler treats any verifier diagnostic, even Info, as a
rejection, so the advisory diagnostic broke the provider contract. Remove it
and restore the component protocol, the promoted components, the package
copies, manifests, goldens, identity pin and READMEs to main's.

verify_reporting_bound is now the crate's one verification path (verify is it
without the second value) and returns the bound the bounded-read judgment
recomputed and compared with both carried fields. W9's u_agreement reads U
from it and still asserts accept at U and refuse at U - 1.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bfc1975ff0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…96385

The verifier's judgment now also returns the bound it recomputed to native
callers, so its component bytes differ from the previous promotion: 872,061
bytes, SHA-256 562f7eac. Both G4 candidate jobs, built from bfc1975, were
byte-identical; the lowerer is unchanged. Identity pin, checked component and
package copies, manifest, goldens and READMEs follow.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
@flyingrobots

Copy link
Copy Markdown
Owner Author

Disposition of the host-contract failure at c380179: the public compiler treats any verifier diagnostic, even Info, as a rejection, so the advisory diagnostic is removed and the component protocol is as on main. The verifier crate's native API now exposes the bound instead: verify_reporting_bound is the one verification path (verify is it without the second value) and returns the bound the bounded-read judgment recomputed; u_agreement asserts it equals U and still asserts accept at U and refuse at U - 1. RED: with the shared function's returned bound changed by one, u_agreement failed (left 1048585, right 1048584). The refactor changes the verifier's bytes from main's (871,923 bytes) to 872,061 bytes, SHA-256 562f7eac4b3e06032b0f7d83370af405eae5ae4b7270fa7b26207dd7867acae4, promoted from det-gates run 46760796385 (both G4 candidates byte-identical). The earlier 583f7bce promotion and the advisory-fit change are obsolete. Run locally before pushing: the verifier tests, both W9 runs, the five host-contract test targets against the checked components, echo-wesley-gen and xtask tests.

…ul verification

A response-limit refusal made after the bound was recomputed still returned
it. verify_reporting_bound now returns the bound only when the result is Ok.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
…71764

The verifier reports a bound only for a successful verification, which
changes its component bytes: 872,231 bytes, SHA-256 876399a4. Both G4
candidate jobs, built from 80a02f4, were byte-identical; the lowerer is
unchanged. Identity pin, checked component and package copies, manifest,
goldens and READMEs follow.

Agent-Session: 84c4f2c8-461c-47b5-85a3-6a0711d52495
Agent-Tool: claude-code
@flyingrobots

Copy link
Copy Markdown
Owner Author

Footprint

18 files, +440/-59 · origin/main...8f89d23ca73a1cb187e67cf6d438064e8089404a

Structural analysis unavailable: graft could not be resolved.

Composition
pie showData
    title Changed lines by file kind
    "source" : 66
    "test" : 367
    "docs" : 54
    "config" : 12
Loading
Kind Files +/- Share
source 8 +56/-10 13.2%
test 5 +336/-31 73.5%
docs 3 +42/-12 10.8%
config 2 +6/-6 2.4%
total 18 +440/-59 100%
Files (18)

docs

  • CHANGELOG.md +22/-0
  • crates/echo-edict-provider-verifier/README.md +9/-2
  • schemas/edict-provider/components/v1/README.md +11/-10

source

  • crates/echo-edict-provider-verifier/src/executable_operation.rs +2/-1
  • crates/echo-edict-provider-verifier/src/executable_operation/bounded_read.rs +2/-1
  • crates/echo-edict-provider-verifier/src/executable_operation/bounded_read/semantic_bound.rs +12/-6
  • crates/echo-edict-provider-verifier/src/lib.rs +39/-1
  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm (binary)
  • schemas/edict-provider/components/v1/verifier.echo-dpo.component.wasm (binary)
  • schemas/edict-provider/package/v1/components/verifier.echo-dpo.component.wasm (binary)
  • xtask/src/provider_lowerer_component.rs +1/-1

test

  • crates/echo-edict-provider-verifier/tests/bounded_read/semantic_bound.rs +45/-0
  • crates/echo-wesley-gen/tests/provider_package.rs +1/-1
  • crates/echo-wesley-gen/tests/provider_package_corpus.rs +2/-2
  • tests/ambyte-w9-conformance/tests/support/verifier_run.rs +13/-5
  • tests/ambyte-w9-conformance/tests/w9_typed_read_conformance.rs +275/-23

config

  • crates/echo-wesley-gen/assets/v1/edict-provider/package/v1/provider-manifest.echo.json +3/-3
  • schemas/edict-provider/package/v1/provider-manifest.echo.json +3/-3

Figures computed from git diff --numstat. Composition is a sanity check, not a verdict.

Before merge

  • 1 changed file match the guard rule: CHANGELOG.md (version).

After merge

No landing steps are declared: RELEASE.md is absent; AGENTS.md declares no release or landing section. footprint states none rather than inventing them.

After-merge steps are read from this repository's own RELEASE.md and AGENTS.md, never invented. The guard rule is path patterns, documented in footprint's docs/topics/landing/README.md.

Blast radius

Export-surface diff unavailable (graft.exports_failed): graft struct exports 6e9784b 8f89d23 --json exited 1: Error: Git command failed with code 128.

Exported symbols from graft struct exports --json (graft.cli.struct_exports 1.0.0). Whatever graft parses counts as an export surface, including fields in config and lock files.

3 changed files in unanalysed language: 3 .wasm.

Open pull requests

6 of 7 other open pull requests touch a file this change touches. 1 pull request's files could not be read.

This change against its base: git merge-tree merges them cleanly.

  • Execute structured bounded effect loops and branches in the runtime; keep ordered profiles closed #974 Execute structured bounded effect loops and branches in the runtime; keep ordered profiles closed (draft) — CHANGELOG.md · git merge-tree conflicts in CHANGELOG.md, crates/warp-core/src/edict_effects/compiled_program.rs, crates/warp-core/src/edict_effects/control_order.rs and 5 more files
    • CHANGELOG.md: symbol level undetermined — graft has no grammar for .md files, so the file has no symbols to compare
  • feat(warp-core): admit a bounded read against U and B (candidate) #1190 feat(warp-core): admit a bounded read against U and B (candidate) (draft) — CHANGELOG.md · git merge-tree conflicts in CHANGELOG.md, crates/echo-edict-provider-lowerer/src/executable_operation.rs, crates/echo-edict-provider-lowerer/src/executable_operation/bounded_read.rs and 36 more files
    • CHANGELOG.md: symbol level undetermined — graft has no grammar for .md files, so the file has no symbols to compare
  • feat(warp-core): decode the bounded-read grant document (candidate) #1193 feat(warp-core): decode the bounded-read grant document (candidate) (draft) — CHANGELOG.md · git merge-tree conflicts in CHANGELOG.md, crates/echo-edict-provider-lowerer/src/executable_operation.rs, crates/echo-edict-provider-lowerer/src/executable_operation/bounded_read.rs and 37 more files
    • CHANGELOG.md: symbol level undetermined — graft has no grammar for .md files, so the file has no symbols to compare

3 more pull requests omitted to keep the comment under GitHub's 65536-character limit; the overlap result line carries every one.

Proposed merge order (4 waves)

Wave 1 — #974

Wave 2 — #1190, #1193, #1199, #1202, after wave 1

Wave 3 — #1204, after wave 2

1 more wave omitted to keep the comment under GitHub's 65536-character limit; the overlap result line carries every one.

18 more conflicts omitted to keep the comment under GitHub's 65536-character limit; the overlap result line carries every one.

Pull requests from gh pr list; their files from gh pr diff --name-only; the symbols of a shared file from git diff -U0 against each side's merge base and the top-level symbols of graft read outline at both ends (24 of at most 24 outline calls this run); merge results from git merge-tree --write-tree on the two heads (22 of at most 300 merges; 0 missing heads fetched into footprint's scratch repository, never the clone), textual evidence and not a guarantee the changes work together. A conflicted edge separates waves and a clean one does not. Merge waves are greedy first-fit over the conflict graph: a proposal, not a minimum, and not a gate.

Changelog
Timestamp SHA Change Reason Remarks
2026-12-01T23:31:33Z 8f89d23 Final head 8f89d23 Before merge Local footprint checkout; call sites not assessed in the Impact column

@flyingrobots

Copy link
Copy Markdown
Owner Author

Final head 8f89d23c: the verifier reports its recomputed bound only on success; component promoted from det-gates run 46766171764 (both G4 candidates byte-identical). CI green; no review thread open.

@flyingrobots
flyingrobots merged commit e541877 into main Dec 1, 2026
44 checks passed
@flyingrobots
flyingrobots deleted the test/w9-evidence-strengthening branch December 1, 2026 23:31
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