Skip to content

Let domain terms and protocol acronyms through Vale#37

Merged
A1igator merged 1 commit into
mainfrom
A1igator/vale-vocab-and-acronyms
Jun 1, 2026
Merged

Let domain terms and protocol acronyms through Vale#37
A1igator merged 1 commit into
mainfrom
A1igator/vale-vocab-and-acronyms

Conversation

@A1igator

Copy link
Copy Markdown
Contributor

Summary

After applying the writing-docs skill across PR #35's 14-PR consolidation, the remaining ~300 Vale hits were all false positives on x402r-specific vocabulary, protocol acronyms, hex literals, and the Microsoft "agent" terminology swap. This PR teaches Vale about the domain so prose-quality signal isn't drowned by false positives.

  • 60+ vocab additions, grouped by intent (interfaces, protocol concepts, SDK identifiers, tooling, standards, ecosystem).
  • Microsoft.HeadingAcronyms = NO — protocol acronyms (ERC-3009, EIP-712, EIP-6492, BUSL-1.1, JSON-RPC, CDP, DAO) are the canonical names. The rule has no allowlist mechanism.
  • Microsoft.Terms = NO — its agent → personal digital assistant mapping is wrong for ERC-8004 on-chain agents and the broader crypto/AI-agents ecosystem.
  • proselint.Typography = NO — flags every 0x hex literal as wanting the × symbol. No code/identifier context awareness.

Each disable has its rationale inline in .vale.ini, matching the existing comment style.

Why this is a separate PR from #35

PR #35 is content-only edits to clear actionable prose violations. This is config-tuning that affects what fires going forward across the whole repo. Splitting the two keeps review focused and lets either land independently.

Test plan

  • cd docs && vale --no-exit . — confirm the three disabled rules no longer fire
  • After PR Consolidate 14 open Mintlify docs PRs (#19, #20, #21, #22, #24-#33) #35 merges + this merges to main, re-run Vale and confirm the remaining-hits count is dominated by genuine prose issues, not domain false positives
  • Visual smoke test: npx mint dev — no rendering regressions

🤖 Generated with Claude Code

After applying the writing-docs skill across the 14-PR consolidation,
the remaining ~300 Vale violations were all in three categories of
domain false positives, not real style issues:

- Spelling on legitimate domain vocabulary (IHook, ICondition,
  captureAuthorizer, authCapture, escrowed, pluggable, multisig,
  timelock, ...).
- Microsoft.HeadingAcronyms on every reference page that headlines
  a protocol acronym (ERC-3009, EIP-712, EIP-6492, BUSL-1.1,
  JSON-RPC, CDP, DAO).
- Microsoft.Terms swapping "agent" -> "personal digital assistant",
  which is wrong for ERC-8004 on-chain agents.
- proselint.Typography suggesting the multiplication sign in place
  of every `0x` hex literal.

Vocab additions (60+ entries), grouped by intent:
- Contract interfaces (IHook, ICondition, IRecorder, IPaymentOperator)
- Protocol concepts (authCapture, captureAuthorizer, capturable,
  combinators, escrowed, permissionless, pluggable, composability,
  micropayments, gasless, terminalize, reentrancy, refundability,
  timelock, multisig, mempool, calldata)
- SDK identifiers (operatorConfig, maxAmount, responseBody,
  paymentPayload, newCount, existingCount, escrowPeriod, txHashes,
  codehashes)
- Tooling and runtime (npm, npx, pnpm, bunx, dlx, tsx, dotenv,
  stdout, stderr, mkdir, Boolean, namespace, testnet, devnet,
  Mintlify, subgraph, gwei, txns, const)
- Standards and acronyms (APIs, ABIs, UIs, EVMs, dApps, CIDs)
- Ecosystem (Uniswap, Coinbase, Fireblocks, Flashbots, Solana,
  Solady, Spearbit, Ownable, Aave)

Rule disables in .vale.ini, each with rationale in-place:
- Microsoft.HeadingAcronyms = NO (no allowlist mechanism, every
  reference heading triggers it)
- Microsoft.Terms = NO (ERC-8004 agent terminology)
- proselint.Typography = NO (no code/identifier context awareness)

Pairs with the writing-docs cleanup landing in PR #35.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@vraspar vraspar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving — clean config-tuning PR.

  • 60+ vocab additions are all real domain terms (Solidity interfaces, protocol concepts, SDK identifiers, tooling, standards, ecosystem)
  • 3 rule disables each carry a clear inline rationale: Microsoft.HeadingAcronyms has no allowlist mechanism so wholesale-disable is the only path for protocol acronyms (ERC-3009, EIP-712, BUSL-1.1, etc.); Microsoft.Terms swaps "agent" wrongly for ERC-8004; proselint.Typography fires on every 0x hex literal with no code-context awareness
  • Purely additive (+103 / −0), CI green, no conflicts with PR #35

Merge order doesn't matter — independent of PR #35 by design.

@A1igator A1igator merged commit 6a0c84a into main Jun 1, 2026
2 checks passed
@A1igator A1igator deleted the A1igator/vale-vocab-and-acronyms branch June 1, 2026 04:27
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