Skip to content

docs(rpc): sync to nearcore 2.13.0 + view_state pagination curation#5

Merged
mikedotexe merged 1 commit into
mainfrom
docs/nearcore-2.13.0-rpc
Jul 15, 2026
Merged

docs(rpc): sync to nearcore 2.13.0 + view_state pagination curation#5
mikedotexe merged 1 commit into
mainfrom
docs/nearcore-2.13.0-rpc

Conversation

@mikedotexe

@mikedotexe mikedotexe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Main PR: fastnear/builder-docs#28. This is the supporting generation PR. Syncs the generated RPC reference to the nearcore 2.13.0 release tag and adds a per-operation field-description override layer.

nearcore 2.13.0 sync

npm run generate-rpc against the 2.13.0 tag (its committed openapi.json is the schemars/Rust-annotation output, CI-guaranteed via just openapi-spec):

  • view_state: new after_key_base64 / limit / last_key pagination fields
  • view_access_key_list: post-quantum (ML-DSA-65) access-key wording
  • client_config / genesis_config / EXPERIMENTAL_protocol_config: config-field additions + type changes
  • provenance recorded in shared/generatedNearcoreSource.json (tag 2.13.0)

Field-description machinery

  • new applyFieldDescriptions() + op.fieldDescriptions.{request,response} in generate-from-nearcore.js — per-op overrides that win by presence and reach leaf-type-filled request fields and response fields (which PARAM_DESCRIPTIONS cannot)
  • curated after_key_base64 / limit / last_key wording for view_state; clears the one audit:parameter-descriptions gap
  • recovered the richer view_state prefix_base64 description (live on builder-docs, missing from mike-docs main) into the operation map via the new layer
  • documented the layer in AGENTS.md and PORTAL_WORKFLOW.md

drafts/nearcore-openapi-field-descriptions-issue.md — draft of the upstream nearcore issue asking for field-level doc backfill.

Validation

audit:parameter-descriptions (0), audit:description-quality (0/0), audit:page-model-routes, audit:structured-graph, redocly lint — all green.

🤖 Generated with Claude Code

…ields

Sync the generated RPC reference to the nearcore 2.13.0 release tag and add a
per-operation field-description override layer to humanize the pagination fields
nearcore shipped without doc comments.

nearcore 2.13.0 sync (npm run generate-rpc against the 2.13.0 tag):
- view_state: new after_key_base64 / limit / last_key pagination fields
- view_access_key_list: post-quantum (ML-DSA-65) access-key wording
- client_config / genesis_config / EXPERIMENTAL_protocol_config: config fields
- provenance recorded in shared/generatedNearcoreSource.json (tag 2.13.0)

Field-description machinery:
- new applyFieldDescriptions() + op.fieldDescriptions.{request,response} in
  generate-from-nearcore.js: per-op overrides that win by presence and reach
  leaf-type-filled request fields and response fields, which PARAM_DESCRIPTIONS
  cannot
- curated after_key_base64 / limit / last_key wording for view_state; clears the
  one audit:parameter-descriptions gap
- recovered the richer view_state prefix_base64 description (live on builder-docs
  but missing from mike-docs main) into the operation map via the new layer
- documented the layer in AGENTS.md and PORTAL_WORKFLOW.md

drafts/nearcore-openapi-field-descriptions-issue.md: draft upstream issue asking
nearcore to backfill field-level docs (referenced by the operation-map comment).

Validated: audit:parameter-descriptions (0), audit:description-quality (0/0),
audit:page-model-routes, audit:structured-graph, redocly lint.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikedotexe
mikedotexe force-pushed the docs/nearcore-2.13.0-rpc branch from 8a8ee7b to 519aadc Compare July 14, 2026 21:43
@mikedotexe
mikedotexe merged commit f01bc78 into main Jul 15, 2026
1 check passed
@mikedotexe
mikedotexe deleted the docs/nearcore-2.13.0-rpc branch July 15, 2026 04:23
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