Skip to content

Allow reading upstream source during development - #2

Merged
EvanWinget merged 1 commit into
mainfrom
reference-reading-policy
Jul 27, 2026
Merged

EvanWinget merged 1 commit into
mainfrom
reference-reading-policy

Conversation

@EvanWinget

Copy link
Copy Markdown
Owner

What changed

The reference-material policy in CLAUDE.md previously allowed opening
references/ only in divergence-triage sessions. This lifts that
restriction: upstream source (clvm, clvm_rs, chia_rs) may be read at
any time, including while implementing. Recorded as your decision,
2026-07-26.

Three guardrails replace the blanket rule:

  1. No copying code into the tree (unchanged).
  2. Spec-before-code unchanged, and spec statements must be
    established by evidence against the consensus binary (probes,
    cross-checked vectors), never by "matches upstream source". The
    spec stays complete enough that a reader never needs upstream
    source to predict a vector.
  3. Commits disclose when upstream source materially informed a
    choice.

Review guide

  • One commit, one file.
  • The thing to satisfy yourself on: do guardrails 2 and 3 preserve
    the property you care about (the spec is the deliverable and the
    vector evidence stays anchored to the deployed binary) now that
    reading is unrestricted?
  • Note this branches from main, so it does not include the branch
    workflow section from PR Adopt feature-branch workflow with reviewed PRs #1. The two PRs touch different sections
    and merge cleanly in either order.

Amends the reference-material policy: the triage-only restriction on
references/ is lifted, reading clvm, clvm_rs, and chia_rs source is
now allowed at any time. Recorded decision by Evan, 2026-07-26.

Rationale: for the operator intersection, correctness is defined by
the deployed consensus binary, and the diff harness compares against
that binary, so reading source cannot silently corrupt the evidence.
Three guardrails preserve what the old rule was protecting: no code
is copied into the tree, spec statements are still established by
evidence against the binary rather than by resemblance to upstream
source, and commits disclose when upstream source informed a choice.
@EvanWinget
EvanWinget merged commit a65bf4d into main Jul 27, 2026
2 checks passed
@EvanWinget
EvanWinget deleted the reference-reading-policy branch July 27, 2026 15:00
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