Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two follow-ups from kixel-ai/rust2 need quests in moq's tree:
env!("CARGO_MANIFEST_DIR")bakes the checkout path into the build, so every new worktree misses mbx's cache (685G to 216G instructions for a second worktree's test build once fixed). moq-dev/moq#9779 already converted every site underrs/, but nothing stops a new one.moq_net::Path's unsafe inline storage, so it carries a hand-written Lean model.rs/moq-net/verify/README.mdalso says 656 Agda-checked route-algebra results where the generators write 649.Approach
forbidline insh/text.shagainstenv!("CARGO_MANIFEST_DIR")inrs/. It joins m1 because it's an additive check and nothing is broken now.Pathwithoutunsafe, measuring the cost against moq's benches first, plus the verify README count fix. It joins m3 because a named consumer, rust2-lean'slean-routerquest, waits on it.Decisions
The maintainer was away and pre-approved planning these headless, so each decision below takes my recommendation. Please review.
Maintainer, 2026-11-27 (in kixel-ai/rust2):
env!("CARGO_MANIFEST_DIR")(rejected: no check; drop).Path's unsafe storage with a safe representation (rejected: keep the Lean model indefinitely). ✅ Fold the 656-to-649 fix into that quest (rejected: its own quest; drop)./quest-plan, headless:forbidinsh/text.sh, whichjust checkand the queue already run (rejected: clippydisallowed-macros, which would also banenv!("CARGO_PKG_VERSION"); a custom lint)..rsunderrs/, lines withinclude!allowed forcell.rs'scompile_faildoctests (rejected: test code only, which a grep can't separate reliably).interop.shpass them their script directory). The harness runs them as plain binaries, where cargo sets no run-time variable.StaticplusShared(Arc<str>) alone first (rejected: a checked inline form first, which validates UTF-8 on every read and needs new rust2-lean models;smol_str/compact_str, which carry their ownunsafe).benches/path.rsallocations,just bench-fanout origin/main, and the moq-netorigin/announce/retirementbenches againstmain. End-to-end rows decide, with an A/A run of each bench as the noise bar. If theShared-only form moves an end-to-end row beyond that noise, try the checked inline form and take the cheaper one. If both move rows, don't land; ask the maintainer (rejected: a fixed regression budget).arrayvecbuilders: ✅ kept unless rust2-lean's census reaches them (rejected: removing them up front at an allocation per long path).route-algebra/README.md, which holds the 329 + 320 breakdown (rejected: change 656 to 649, which drifts again).Impact
None. This PR only adds quests.
Alternatives
Fixing the verify README in this PR. Not taken, because the maintainer chose to fold the fix into the Path quest.
Follow-ups
rs/moq-net/src/path/. Whichever of it and the Path quest's PR lands second rebases.Validation
quest check: 575 documents ok.just cipassed locally on 5e42514.Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code