Repository navigation
Conversation
adithya-s-k
requested changes
Nov 30, 2026
adithya-s-k
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @rycerzes. The hugo/pydantic measurements make the case for candidate-specific dependencies, and requiring the candidate's own gold/base/regression controls is the right gate. I approved CI. I want to tighten a few contracts before accepting this RFC:
- Start the toolchain image clean and define the cache boundary. “Bootstrap image without the source” still leaves HEAD-installed packages, editable metadata and native build output. Checking the top-level import path does not cover a compiled dependency such as
pydantic-core. Please describe a clean toolchain recipe and keep shared build caches outside the shipped image. Key reusable artifacts on toolchain/image digest, platform, recipe, dependency resolution and relevant source trees—not just lockfiles. uv explicitly documents that its default local-directory cache heuristic can miss source changes. - Make offline dependencies and temporal provenance precise. “Download caches are removed” needs to distinguish unnecessary caches from the registry/source artifacts needed to rebuild offline. Cargo uses its home as both a download and source cache. Also, uv's date cutoff covers registry distributions, not Git dependencies, and does not downgrade an installed package through the pip interface without reinstall. State how Git/URL/path dependencies are pinned and how a PR that introduces a new dependency gets an offline-buildable gold control without exposing its implementation.
- Separate proposal from existing behavior and evidence.
environment=candidateis not implemented. #279 only isolates stage containers; it does not enforce the shipped verifier's network policy. Make unsupported network enforcement an explicit failure/inconclusive result in the proposed path. Label the timings/yield as contributor measurements and link the exact revisions, inputs and commands before using them to change the default. The existingBOOTSTRAP.mdclaim about automatic per-PR reinstalls should be corrected too.
Finally, please define a run-wide LLM spend cap in addition to a retry count, so retries cannot multiply the intended budget. These can all be resolved in the design document; I'm not asking for the implementation in this PR. Keeping #253 open for that follow-up and the published-bundle work.
This was referenced Nov 30, 2026
rycerzes
force-pushed
the
rfc/0035-per-candidate-environments
branch
from
December 2, 2026 18:32
473dafe to
a06965b
Compare
Contributor
Author
|
Thanks @adithya-s-k, revised. Each point, with the numbers in the new Measurements table:
|
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.
Summary
--network none), and accept a candidate only when its own oracle, no-op and regression controls pass there.network_unenforcedas an inconclusive result, and a run-wide LLM spend cap.go mod downloadat each base.uv sync --frozendoes not rebuildpydantic-corewhen only its Rust sources change (31 of 112 consecutive base pairs).Test plan
npm run buildinwebsite/,tools/check-links.mjs(11,546 internal links OK) andtools/check-tutorials.mjs.Out of scope
Implementation (opt-in
environment=candidate, after review). Regenerating published bundles stays on #253. RFC-only PR, perdocs/rfcs/index.md(statusdraft).