Skip to content

docs(rpc): catalog the dig.getMetadata response ceiling error -32015 (#2145) - #66

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
docs/2145-getmetadata-cap-error
Aug 6, 2026
Merged

docs(rpc): catalog the dig.getMetadata response ceiling error -32015 (#2145)#66
MichaelTaylor3d merged 1 commit into
mainfrom
docs/2145-getmetadata-cap-error

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

Cross-repo coherence companion to dig-node #2145 (§1.3b). dig-node now refuses an oversized dig.getMetadata response with a bounded -32015 METADATA_TOO_LARGE (a DoS response-ceiling; the whole metadata section can't be windowed like getContent, so an over-3 MiB section is refused rather than rendered). This catalogs that error across the machine-readable spec + docs so the two error catalogs agree.

Changes

  • scripts/dig-spec.mjs — add the METADATA_TOO_LARGE = -32015 entry.
  • docs/support/error-codes.md + docs/rpc/methods.md — document -32015 on dig.getMetadata.
  • Regenerated static/{error-codes,openrpc,openrpc-node}.json.

Version 0.12.1 → 0.12.2 (patch). npm run gen machine-spec drift gate passes (63 codes across 4 surfaces).

Refs dig_ecosystem#2145.


Generated by Claude Code

…(#2145)

dig-node #2145 caps dig.getMetadata at a 3 MiB response ceiling and refuses an
oversized publisher metadata section with a bounded METADATA_TOO_LARGE (-32015).
Add the code to the machine-spec source (dig-spec.mjs), the prose error catalog,
and the dig.getMetadata method note, and regenerate the static machine specs
(error-codes.json / openrpc*.json) so the drift gate passes.

Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d
MichaelTaylor3d merged commit 76f68cd into main Aug 6, 2026
7 checks passed
@MichaelTaylor3d
MichaelTaylor3d deleted the docs/2145-getmetadata-cap-error branch August 6, 2026 01:04
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