Skip to content

docs: plain emphasis, plain punctuation, and stale claims - #65

Merged
pegahcarter merged 3 commits into
mainfrom
docs/plain-emphasis
Oct 14, 2026
Merged

pegahcarter merged 3 commits into
mainfrom
docs/plain-emphasis

Conversation

@pegahcarter

Copy link
Copy Markdown
Contributor

Wording only. No contract bytecode changes: the edits under src/ are comments, and the build pins bytecode_hash = "none" and cbor_metadata = false.

Commits

  • Drop all-caps emphasis. Mostly docs/provider-research.md (about 45 spots) and docs/provider-spec.md (about 15), plus single words in the README, message-flow.md, foundry.toml, and three test files. The spec's RFC 2119 keywords stay, since line 31 defines them, and so do the ERC-7786 text quoted in IErc7786.sol and the spec quote in the research doc.
  • Replace dashes in prose with commas, colons, periods, or parentheses: provider-research.md, CLAUDE.md, and comments in LzReceiver, CcipReceiver, and MockLzEndpoint.
  • Correct stale claims.

Checks

forge test: 801 passed, 1 skipped. forge fmt --check and forge lint (with lint-src for src/) are clean on the changed files. forge build --sizes src passes. Every relative markdown link and anchor across the repo resolves.

🤖 Generated with Claude Code

The README said no contract sets a LayerZero DVN, which stopped being true when
#58 added setDvn. ProviderChainId cited provider-research.md for a zero-id fact
it does not contain; it now points at the checks that refuse a zero id.
Copilot AI balanced review requested due to automatic review settings October 14, 2026 16:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

It is a wording-only cleanup with no bytecode impact, and the three substantive stale-claim corrections were each verified accurate against the current code (setDvn write-once, ZeroProviderId/ChainConfig.providerId, and the CHECKS §5 anchor).

0 open findings

What changed in this PR

This is a documentation-and-comment wording cleanup across the repo's Markdown docs, build config, NatSpec, and a few test-assertion strings. It has no effect on compiled bytecode (the build pins bytecode_hash = "none" and cbor_metadata = false, and the .sol edits touch only comments and assertion message strings). The changes keep the docs honest and uniform in tone, which matters here because several of these docs double as the auditor-facing specification.

Changes:

  • Remove all-caps emphasis (mostly provider-research.md and provider-spec.md, plus a few singles elsewhere), preserving RFC 2119 keywords and quoted external text.
  • Replace prose em/en dashes with commas, colons, periods, or parentheses.
  • Correct three stale claims: the README's LayerZero-DVN statement (now names the setDvn zkSync exception) and test count (801 passing, 1 skipped); todo.md's #51 citation placement; and ProviderChainId's zero-id citation (now points at ZeroProviderId / ChainConfig.providerId).
File Description
README.md De-caps two tree-diagram words; rewrites the provider-security-config bullet to name the new setDvn DVN pin; updates test count.
docs/​todo.md Moves the #51 citation onto the DVN-pinning clause.
docs/​provider-spec.md Drops ~15 all-caps emphases; keeps RFC 2119 keywords.
docs/​provider-research.md Drops ~45 all-caps emphases and replaces prose dashes.
docs/​message-flow.md De-caps one word (BE → be).
contracts/​evm/​foundry.toml De-caps comment emphasis (NOT, SOURCE).
CLAUDE.md Replaces two em dashes in the guideline prose with periods.
contracts/​evm/​src/​protocols/​ProviderChainId.sol Repoints the zero-id NatSpec citation to the actual checks.
contracts/​evm/​src/​protocols/​layerzero/​LzReceiver.sol Replaces a NatSpec em dash.
contracts/​evm/​src/​protocols/​ccip/​CcipReceiver.sol Replaces a NatSpec em dash.
contracts/​evm/​test/​protocols/​layerzero/​MockLzEndpoint.sol Replaces a comment em dash.
contracts/​evm/​test/​ReceiverReport.t.sol De-caps a test assertion message string.
contracts/​evm/​test/​InboundAuth.t.sol De-caps a test assertion message string.
contracts/​evm/​test/​CommitmentSchemePlugin.t.sol De-caps a section-divider comment.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pegahcarter
pegahcarter merged commit 6f558a2 into main Oct 14, 2026
2 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.

2 participants