Skip to content

chore: remove spec cross-references from code comments#4

Merged
jayeshy14 merged 1 commit into
mainfrom
chore/remove-spec-references-from-comments
Jun 17, 2026
Merged

chore: remove spec cross-references from code comments#4
jayeshy14 merged 1 commit into
mainfrom
chore/remove-spec-references-from-comments

Conversation

@jayeshy14

Copy link
Copy Markdown
Owner

What

The technical spec lives in a private, gitignored document, so code comments that cited spec, section, or phase numbers (spec Section 8.4, Phase 4 rebalancer, Layer 1 of the supply oracle (spec Section 8.1), and similar) pointed at something a public reader of this repo cannot see.

This strips every such reference from src and test comments, keeping the technical substance of each comment so it reads standalone. For example, "sits behind the Phase 5 timelock" becomes "sits behind the methodology-admin timelock," and the capping comment now describes standard index methodology rather than pointing at a spec section.

Scope

Comment-only change across 11 files (ComponentRegistry, IndexVault, ISupplyOracle, WeightMath, MarketCapMethodology, ExcludedAddressRegistry, SupplyOracle, and four test files). No behavior change, no logic touched. The build compiles and the full suite passes unchanged.

The spec lives in a private, gitignored doc, so code comments that pointed at
spec/section/phase numbers ("spec Section 8.4", "Phase 4 rebalancer", etc.)
referenced something a public reader cannot see. Strip every such reference
from src and test comments, keeping the technical substance of each comment so
it stands on its own (e.g. "behind the Phase 5 timelock" becomes "behind the
methodology-admin timelock"). Comment-only change; no behavior change.
@jayeshy14 jayeshy14 merged commit 89301b8 into main Jun 17, 2026
3 checks passed
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