Skip to content

docs(site): make the boundary example executable - #10236

Merged
EffortlessSteven merged 6 commits into
mainfrom
docs/site-reproducible-example
Oct 26, 2026
Merged

EffortlessSteven merged 6 commits into
mainfrom
docs/site-reproducible-example

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Summary

The release page explains the missing equality discriminator but stops before the reader can write and run that test. Add the concrete equality assertion and focused Cargo command in the reader’s own crate, and keep development-fixture replay in a separate, explicitly scoped step. Identify ripr as free and open source while preserving the existing static site.

Swarm / Source Boundary

  • ordinary docs/test development for EffortlessMetrics/ripr-swarm

Source-of-truth Links

Proposal: none; bounded repair of the accepted release website.
Spec: fixtures/boundary_gap/SPEC.md and the existing static exposure model; no product contract change.
ADR: none changed.
Plan item: none; follow-up to the accepted release-website claim.
Governing issue or accepted claim: Make the release website’s boundary example actionable and reproducible with a real equality test, a nonempty focused test run, and a separately scoped development replay; follows #9957, without claiming the post-0.11 work in #7233.
Acceptance delta (one sentence): A reader can add and run the missing equality test in their own crate, and native regression tests distinguish that working test from the old behavior and a successful zero-test command.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): docs/site-reproducible-example.
Stack parent or prerequisite PR (if any): none; #9957 already landed.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): none.
Accepted winner and losing candidate disposition (when decided): none; one scoped follow-up candidate.

Scope

Production delta: the static page adds the equality test and focused command, separates development fixture replay, and uses a free/open-source introduction; small layout rules support the added example.
Evidence/support delta: website maintenance instructions and a native xtask test module registered only under cfg(test). No new runtime or dependency.
Single acceptance criterion: the page’s equality test executes once, accepts the intended boundary behavior and rejects the old boundary behavior; zero-test success cannot satisfy it.
Non-goals: analyzer behavior, a redesign, release/version/support/benchmark claims, post-0.11 ripr+ work, hosting, public access, deployment, domains, DNS, settings or policy changes.

Proof

Exact candidate 6b1f8face2beae0c8669be3de06c9d5dda02834b, tree 27b22676f4a1a055db9c75889def7f898565e96d, merge base 23303ead95ed9d39ce7dca49eee94c4747d6ba81:

  • cargo test -p xtask --bin xtask release_website_tests: passed, 3 tests; 4,231 filtered out. Checks local links/assets and canonical fixture excerpts; executes the page test in a standalone consumer project, rejects zero-test success, preserves the two original tests under the old condition, and observes the equality assertion fail with 100 versus 90. Capture has a bounded timeout and rejects timed-out expected failure.
  • cargo xtask check-process-policy: passed.
  • cargo xtask check-fast: passed, 11 gates, 2 applicability skips, 5 changed paths; workspace/all-target Clippy passed.
  • cargo xtask precommit: passed, complete five-path receipt bound to this head/base, no limitations.
  • Independent substantive five-file review: repaired the initial working-directory ambiguity and timeout-oracle weakness; final source/local proof has no remaining finding. Published-head and hosted review remain incomplete.

Carried artifact proof ran at ff919cf3851999069f1437c4c34a01c7613cb128: 31 Chromium/Playwright checks passed across mobile/desktop widths, 200% text, keyboard navigation, reduced motion, forced colors, local links/assets, and page content. HTML Validate 11.17.0 passed. Axe 4.14.0 reported zero violations at mobile/desktop, with four decorative-glyph contrast nodes left incomplete; these are partial accessibility checks. Desktop/mobile and accessibility screenshots were inspected locally. All three deployable blobs remain byte-identical to that proof:

  • HTML SHA-256 f675098b94216e2b9b8baa079828bcdb37830ce46d4beb38a9841ff35b0ee182
  • CSS SHA-256 872c4e5a1ddf6aadaf120f5c0532eaf126a811afe28e60c8653c6861adbe4856
  • SVG SHA-256 990b2b5f37c06d8647bb6cdd105465aecf982a4284e71e8bb58f60fc786998ee

The official crates.io 0.10.0 source archive checksum was verified and that source was built in an isolated development profile. Its real ripr check --base main was replayed against a two-commit consumer fixture. The 0.11 development fixture command was separately replayed using the unchanged base-built analyzer. This is not a completed cargo install, a prebuilt-platform test or final-head analyzer execution. The existing 0.10 install versus development-output separation is retained. External GitHub HTTP targets were not refreshed in this local proof lane.

Claim Boundary

This is website source and regression evidence. It does not establish live deployment, a new release, full accessibility certification, universal installation, runtime mutation outcomes or a fully verified test suite.

Rollback

Revert this PR to remove the additional page example and its test/maintenance additions. No data or hosting configuration changes.

Changelog disposition

changelog.d/10236-website-boundary-example.md supplies the actual Docs reference (#10236). Native composed-head precommit, including changelog checks, passed.

Continuation

Owner / governing claim: website delivery owner / reproducible release-page example above.
Candidate: #10236 / published head b4a6284bdde9c7e834f5625c1a43632142ae2b44 / tree fab0492a5e7b740ced8a577cae4cb5d0a72521cc / source merge base 23303ead95ed9d39ce7dca49eee94c4747d6ba81. Latest inspected main is ce536ef39e71099065083ce41af7167af7a457da; local clean composition has tree c063477dc20ad7cc7b8eb87b2c965c9b2d400718. This is not a hosted checkout claim; remote merge subject and run evidence remain pending.
Review: independent source, inspected-main integration and exact Docs-fragment successor review found no new defect. Published-head conversations, fresh integration state and hosted qualification remain incomplete.
Validation: the four commands above passed at predecessor 6b1f8face2beae0c8669be3de06c9d5dda02834b. Fresh cargo xtask precommit passed at local successor b4a6284bdde9c7e834f5625c1a43632142ae2b44: complete six committed paths, base23303, no limitations, selected xtask all-target Clippy passed. The process is terminal0. Prior focused tests/check-fast and browser proof are carried only across identical source/artifact bytes, not relabeled as combined-tree execution.
Dependency: none identified. Existing inaccessible policy details remain unknown, not absent; no access/settings changes are part of this PR.
Next: website delivery owner verifies the actual remote merge subject and live published-head review/run inventory, completes the native Draft-to-Ready handoff, then requests required hosted qualification once. This remains Draft until that handoff; hosting and domain decisions remain separate.

@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 Oct 25, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 186 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

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: 359d55dc-6185-4c1f-9c88-31f2c6d25106
Commits

Reviewing files that changed from the base of the PR and between 10d335a and 43432a0.

Files selected for processing: 6
  • changelog.d/10236-website-boundary-example.md
  • docs/site/README.md
  • docs/site/index.html
  • docs/site/styles.css
  • xtask/src/main.rs
  • xtask/src/release_website_tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Evidence gaps

  • The focused native cargo-test receipt remains scheduled for the late-evidence phase.
  • Model proof intent was rejected by deterministic validation.
  • Final-head execution evidence for the changed xtask test is not yet available in the packet.
  • The route sensor failed, so the changed Rust test behavior lacks a successful independent receipt in the available evidence.
  • The configured sensor evidence is not yet sufficient to establish that the current published head matches the locally reported proof.

@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.

Independent local source/runtime receipt — PR #10236

No actionable source or oracle finding emitted in this bounded review. Disposition: REVIEW_INCOMPLETE for final delivery; the local example/proof claim passes, while hosted qualification and the actual integrated checkout remain unverified here.

Subject (re-read before posting, 2026-10-25 06:14 UTC):

  • Head: b4a6284bdde9c7e834f5625c1a43632142ae2b44; tree: fab0492a5e7b740ced8a577cae4cb5d0a72521cc.
  • Observed base: 875d1f2a30ae4ed4ea7d68dba74f76f769e08868; source merge base: 23303ead95ed9d39ce7dca49eee94c4747d6ba81.
  • Canonical writer remains the existing website-delivery candidate docs/site-reproducible-example. No implementation branch or submitted-source edit.
  • Reconciled the PR body, Conversation, submitted reviews and inline threads. Existing source/browser/precommit receipts remain reported evidence. The meaningful missing seam is the independent current-head runtime receipt identified by the sensor review; no hosted qualification was requested or repeated.

Currentness: the successor from 6b1f8face2beae0c8669be3de06c9d5dda02834b adds only the four-line Docs changelog. Page, native test module and consumer fixture bytes are identical across those heads. All six changed surfaces were inspected. The newer observed base adds explanatory fixture-output text but retains all three displayed excerpt lines; consumer function/tests and the capture module are unchanged. This is an inspected dependency delta, not a combined-tree execution claim. Existing browser proof is not rerun or relabeled.

Observed local checks, Linux x86_64, existing Rust/Cargo 1.95.0, locked registry graph, isolated detached review checkout:

  • cargo test --locked -p xtask --bin xtask release_website_tests: exit 0; 3 passed, 0 failed, 4,231 filtered out. The consumer test compiles and runs in a standalone crate; native checks require a nonempty named test, reject zero-test success and reject the old predicate with the expected 100-versus-90 assertion failure.
  • Separate consumer controls extracted the actual HTML test and used the fixture's manifest/function/tests. cargo test --offline equality_gets_discount: current >=, exit 0, one named test passed; old >, exit 101, one named test failed, left 100/right 90. cargo test --offline: current plus equality, exit 0, 3 passed; old with only the original tests, exit 0, 2 passed.
  • Removal controls: deleting the equality test then running its focused command exited 0 with zero tests. Replacing its assertion with let _ = discounted_total(100, 100); let the old predicate exit 0 with one named passing test. Those are observed false-positive controls, not accepted proof.
  • Native oracle challenge: changed only that assertion in the isolated page. Experimental tree 60196131261b6c9f3d59f2844035bfdad8e18d37, page blob c5c5431aba65f05a9b1fc73e51f741727c0c4fcd. The same native command exited 101: 2 passed, 1 failed at the expected old-behavior non-success assertion. Thus the regression harness detects removal of the discriminator's oracle.
  • Restored the original page bytes, then reran the native command: exit 0, 3 passed, 4,231 filtered out. Final tracked diff/status are empty; restored HTML SHA-256 f675098b94216e2b9b8baa079828bcdb37830ce46d4beb38a9841ff35b0ee182. Consumer source/test controls were also restored.
  • git diff --check 23303ead95ed9d39ce7dca49eee94c4747d6ba81 HEAD: exit 0.

Proof environment: compiler/Cargo selected from /workspace/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/bin; Cargo home /workspace/.cargo; isolated target; jobs=2, test debug=0, incremental=0. Native consumer subprocesses use their own target and offline registry mode. No toolchain installation.

Limits: these are executed local source/runtime controls, not a successful hosted sensor packet, a full-suite result, final-head analyzer replay, installation/release qualification, refreshed external-link check, browser rerun, deployment or merge clearance. The existing sensor's rejection/failure remains historical instrument evidence; this receipt does not change its result. The page's static-analysis limitation and separation of the reader's crate, published 0.10 install and development fixture replay are preserved.

Canonical-owner next action: reconcile this receipt with the current sensor packet and actual remote integration/run inventory, reuse the valid unchanged-byte proof, and advance only the remaining native handoff/qualification work within the governing authorization. Keep final delivery incomplete until that evidence is inspected; no additional website implementation is requested by this review.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs verification checks before upstream.

Verification questions

  • Confirm the test’s zero-test rejection depends on exact Cargo stdout containing running 0 tests; a wording or format change could make the regression oracle fail for a non-behavioral reason.
  • Confirm hTML code extraction relies on split_once markers and a fixed closing tag, so nested markup or formatting changes could yield incorrect source rather than a clear parse error.
  • Confirm the page command relies on Cargo's substring filter and therefore does not guarantee uniqueness if a consumer crate has another test whose name contains equality_gets_discount.

Evidence gaps

  • Current-head execution is not established by this packet because cargo-test is pending late evidence and ripr failed with exit code 2.
  • A current-head focused cargo-test receipt is still pending in the review packet.
  • The changed Rust behavior lacks a successful current-head receipt because ripr failed and cargo-test remains scheduled rather than completed.
  • Model proof intent was rejected by deterministic validation.
  • The changed Rust test is substantive but final-head execution evidence is not yet present in the packet.

EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member Author

Draft-to-Ready handoff — exact head b4a6284bdde9c7e834f5625c1a43632142ae2b44 — 2026-10-25 07:13 UTC.

This updates the historical pending handoff in the PR body's Continuation section. The existing candidate/author remains EffortlessSteven / docs/site-reproducible-example; no competing implementation or branch change. Delivery coordination is taking the single qualification transition after independent source/oracle review and bounded integration passed. No release, hosting or deployment is included.

Independent review and current questions. Reuse the published exact-head source/runtime review, including successful native execution, old-behavior rejection and removal controls. Reconciled review 5641852042:

  • The running 0 tests text verifies a negative control; positive acceptance independently requires native success, no timeout, one test, and the exact named passing result. Cargo-format drift fails closed rather than silently accepting absent tests.
  • HTML extraction deliberately targets this controlled page's code markers. Current extracted code compiles and discriminates; arbitrary nested-HTML parsing is not promised.
  • Cargo substring filtering can select additional tests in arbitrary projects. Global uniqueness is not promised; the standalone regression verifies its unique named test and rejects zero-test success.
    No actionable source/oracle defect remains in these bounded questions. Current Conversation/submitted reviews and inline threads were re-read; no unresolved blocking thread or active competing Ready handoff was found. Provider quota and sensor failures remain missing/instrument evidence, not clean review.

Executed detached integration. Frozen main 9766ac5adb0e304c46c01ff8883f9b08d87a7142; candidate as above; source merge basis 23303ead95ed9d39ce7dca49eee94c4747d6ba81; local detached composed commit 8273a9f8278d84f23ab582eda6bbcd21497100a9, tree b50f5faa2be54f5137dbd8a7684973cb4be94085, parents frozen main then candidate. This is a local composition, not a hosted checkout claim.

  • cargo test --locked -p xtask --bin xtask release_website_tests: exit 0, three passed, 4,296 filtered out.
  • cargo policy preflight: exit 0.
  • cargo run --locked -p xtask -- check-fast: exit 0, 11 gates, two applicability skips.
  • cargo run --locked -p xtask -- precommit: exit 0, complete six-path coverage, no skips or limitations; selector origin/main...HEAD bound to the frozen main/composition.
    Page/native-test bytes remain identical to the reviewed candidate; browser/removal proof is carried only across those unchanged bytes. An initial fmt attempt selected an unavailable default Rustup home and failed before formatting; selecting the inspected existing workspace toolchain resolved setup without installation. The successful rerun is distinct from that initial failure. Source state was clean and the detached worktree was removed.

Current-main inspection at 07:11 UTC found only three subsequent commits changing editors/vscode/package-lock.json; website/native-test/fixture/toolchain proof dependencies were unaffected. No behind-only restack or unchanged proof replay is needed.

Body admission. Offline xtask check-pr-shape --body-file exited 0 with no missing/placeholder lines. Current unchanged body SHA-256 b15f9ec2d8d7b85286b8f31964c1a3dbf458fb3348b2e7952ba81cf1992c0c35; tool revision is composed commit 8273a9f8278d84f23ab582eda6bbcd21497100a9, executable SHA-256 e4c0aa12c6c3f6c8c085c9c5a506fb821e0363d547c9cbbf9214ce9f83c1dda7. The advisory xtask-doc warning does not identify a missing command contract: this delta adds test registration/tests and documents its maintenance command.

Disposition and next action. Source/focused proof and pre-Ready integration prerequisites are satisfied for this selected unchanged head. Mark Ready, reconcile installed request state, and request required hosted qualification once if not already admitted. Final merge review remains REVIEW_INCOMPLETE until the actual admitted checkout, complete required results, current findings, dependencies and protections are verified. Historical advisory wrapper success is not qualification. No merge is authorized by this handoff alone.

Terminal qualification update — 2026-10-25 07:53 UTC: the single required run 40172065704 is failed, not qualified. Actual checkout was GitHub merge 7a4e21a53fdf0b9f8c7f6543ba35eb91b4d2d7fb (parents ce536ef39e71099065083ce41af7167af7a457da and unchanged candidate), distinct from the newer local composition above. Required nextest ran 21,069 passed, 5 skipped, including all three release_website_tests (excerpt/development replay, equality/old-behavior/zero-test discrimination, and local links/assets); doctests passed. cargo xtask goldens check then exited 1 on rust_qualified_foreign_receiver / human-full.txt, first difference line 50 is the new Next: Call the changed method explicitly by its fully qualified path... guidance. Later fixture/corpus stages did not qualify this candidate.

This matches the shared golden signature covered by canonical #10269, the all-14-fixture repair of record rather than another website-source defect. Preserve this failed attempt and reuse its bounded execution evidence; await accepted repair landing and reconcile the next actual integration/qualification subject before a single new request. No blind rerun, duplicate golden repair, source change or merge. The PR remains Ready; final merge disposition remains incomplete. Public artifacts: nextest 12591741620, SHA-256 605e0d2bdc7294b6c7f536ff99d30418b2f80e303ebe60690694876dad52002e; gate reports 12591696745, SHA-256 0478afa2b1674c3d174250087459bfd994faca352d3d4a830ca99acb9ef91f22.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 25, 2026 07:14

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs one verification check before upstream.

Verification questions

  • Confirm the named Cargo filter can match multiple tests, but the oracle requires Cargo to report exactly one test and the exact named test as passing.

Refuted

  • The displayed focused command might silently succeed without exercising the intended test.; refuted because: The test rejects zero-test success through both running 0 tests and the one-test/name-passing oracle; however current-head execution is not present in this packet.

Parked follow-ups

  • The prior concern that HTML extraction may silently accept malformed markup is bounded: missing or unclosed markers return explicit errors, while nested markup could still be extracted as executable text if it remains inside the marked code element.

Evidence gaps

  • Current-head executable proof is not established by the available review packet.
  • Model proof intent was rejected by deterministic validation.
  • The changed Rust test has no successful current-head execution receipt in this packet.
  • The current-head focused cargo-test receipt is still pending, so the claimed executable example lacks a successful deterministic receipt in this packet.
  • The current-head focused Rust test lacks a successful receipt in the available packet.

Copy link
Copy Markdown
Member Author

Review of record, head 43432a0.

Angles: correctness of the page's example against fixtures/boundary_gap (the >= version returns 90, the old > returns 100); test oracle (the xtask test requires exactly one test running and the named test ok, so a zero-test success is rejected, and it requires the equality test to fail with left 100 / right 90 under the old condition while both existing tests still pass); scope (docs/site, one changelog fragment, xtask test module only; no analyzer or output change); spec and docs (README for the website change describes the new check); security and perf (standalone project runs offline, bounded 1 minute, 128 KiB capture, temp dir retained only on capture failure).

Findings: none blocking. The automated review's evidence gap (no current-head execution receipt) is closed by this head's Ripr Rust Small Result and Rust gates success, which run release_website_tests. No open threads.

Merging on the green exact head.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit d3eb2d7 into main Oct 26, 2026
48 checks passed
@EffortlessSteven
EffortlessSteven deleted the docs/site-reproducible-example branch October 26, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant