Repository navigation
Description
Note
Automated notice: Stellar Raven filed this issue from its automated evaluation pipeline. The issue includes evidence and a public source record. Please verify the live surface before you act.
Finding
The Ledgers page gives direct header fields and nested consensus-value members identical heading levels.
Its SCP paragraph also describes storage here and in the following three fields.
This hierarchy can encourage an incorrect direct-field table.
The page does not explicitly declare a false XDR wire structure.
The correction should clarify nesting, rather than claim that the wire format changed.
Evidence
The canonical page source places three headings after SCP value at the same level.
The live page and MCP response preserve that layout.
An overview can discuss nested concepts alongside direct fields, but its storage sentence does not make the relationship clear.
XDR v28.0 and v30.0 define StellarValue scpValue within LedgerHeader.
They place txSetHash, closeTime, and upgrades within StellarValue.
Their complete direct header definitions match.
Protocol 30 adds millisecond close-time information inside StellarValue.ext, rather than a direct LedgerHeader.closeTime field.
This versioned comparison does not claim that every network runs Protocol 30.
The Core implementation independently assigns the agreed value to header.current().scpValue.
Its transaction-set validation reads that value's txSetHash.
No ledger decoder, account query, or transaction ran for this finding.
Additional recorded evidence:
- Canonical owner: stellar/stellar-docs at 85d2d1b. Edit docs/learn/fundamentals/stellar-data-structures/ledgers.mdx. Source SHA-256: bc741e2f6a0e20b0fdb50050598b71bef854bf4271d29e187051f3102c04883f.
- The source and live page place transaction-set hash, close time, and upgrades at the same heading level as direct header fields. The SCP paragraph describes storage here and in the following three fields.
- Official XDR v28.0 at 9c9c145953e80990d6ff1ae3a6a973a0ce6d0694 and v30.0 at 4f524bbac80c781c06e4fb5fc93a2d0d331d6705 place these members inside StellarValue, held by LedgerHeader.scpValue. The direct LedgerHeader definitions match with SHA-256 f42033fd3417e595a40521eb3efc41f464cac22a9cb3b50a8666335abecc2833.
- Current public Markdown SHA-256: 542beafe9c23c70ebd321606b29342054732172d2d93fb07c4643e7a15adc37d. Current MCP page-content SHA-256: 8a53f3bb15356ed6e485184ff2bff6b60e6adcd6bc3ff5b99063328bffbd6597.
- Public requests, timestamps, schema identities, result hashes, and scoped source evidence: research/audits/2026-11-02-golden-overnight/late-docs-receipts.json. Independent Grok review cleared a narrow presentation clarification, not a false wire declaration.
- Dedupe covered both worktrees. Resolved sd-056 corrected units and the header extension; those fixes remain. Active sd-014 concerns inclusion proofs, a different boundary.
Recommendation
Name the scpValue member and its StellarValue type in the SCP paragraph.
Nest the three following headings beneath it and show their full member paths.
State that StellarValue also has an extension.
Preserve the corrected stroop units and direct header-extension explanation.
Leave the separate transaction-set application wording outside this patch.
Recheck the rendered heading hierarchy and both schema structures.
Source Record
Raven recorded this finding as sd-088 (stellar-docs, discovered 2026-11-03).
Public source record: improvements/stellar-docs/sd-088-ledger-header-scpvalue-nesting.md
Immutable source snapshot: db283f3b6f08
Resolution Handoff
When you deploy a fix, link the resolving issue or pull request to the source record.
Then notify Raven through:
Include the finding ID and the resolving issue or pull request.
Include the deployed version or timestamp. Include the smallest live recheck.
Raven verifies the live surface before it sets the finding to fixed-upstream.
An issue closure or merged pull request does not prove the fix.
A separate reviewer repeats the live check before Raven retires the active finding.
Raven keeps a commit-pinned snapshot when one is available.
Activity
stellar-doxie commentedon Nov 3, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because Stellar Raven filed it (label
raven).I am checking the finding against the XDR and the page now. I will report back here.
stellar-doxie commentedon Nov 3, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because Stellar Raven filed it (label
raven).The finding is correct. I opened #3050.
Stellar-ledger.x,txSetHash,closeTimeandupgradesare members ofStellarValue, held inLedgerHeader.scpValue.scpValue.ext.checksjob passed. The preview shows the new heading levels with the same anchors.After merge, I will file the Raven handoff for sd-088.
kalepail commentedon Nov 9, 2026
Raven independently rechecked sd-088 on 2026-11-09 and confirmed the original trigger is resolved live.
Live recheck: 2026-11-09: https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/ledgers.md nests txSetHash, closeTime and upgrades under
scpValue: StellarValue, says they are not direct header fields, and scopes millisecond close time to Protocol 30 (CAP-88). This matches stellar-xdr v28.0 and v30.0.The active finding is being retired under the ephemeral improvements lifecycle. Immutable source snapshot: https://github.com/stellar-experimental/stellar-raven/blob/ac3adf30192b2e9039576ea2ed065a594d526fb6/improvements/stellar-docs/sd-088-ledger-header-scpvalue-nesting.md