Skip to content

feat(explorer): name the TAP coverage limitations the backend can now report - #133

Merged
bitcoinuniverseadmin merged 1 commit into
developfrom
fix/chain-reason-coverage-copy-20260918
Sep 18, 2026
Merged

bitcoinuniverseadmin merged 1 commit into
developfrom
fix/chain-reason-coverage-copy-20260918

Conversation

@bitcoinuniverseadmin

Copy link
Copy Markdown

Companion to bitcoinuniverseio/backend-apis#202.

That change makes the backend derive TAP limitation reasons from the coverage dimensions the authority actually publishes, rather than emitting two fixed strings for every ready authority. As a result it can now emit three codes this dictionary did not have:

  • pending-protocol-coverage-partial
  • pending-protocol-coverage-unknown
  • reorg-evidence-unknown

describeChainReason already falls back safely for an unknown code, so nothing breaks without this. But the fallback returns kind: 'unstated', which presents to the reader as no reason given rather than as a stated limit of the authority. All three are limits, and are now written as such with wording matching the neighbouring entries.

No behaviour changes for the codes the backend emits today: the values the TAP authority currently publishes still map to pending-protocol-coverage-unavailable and reorg-evidence-tail-only.

Verification

  • chain-reasons.spec.ts extended to assert all three read as limit.
  • Full universe suite: 193 files, 2266 tests pass.

Branched from the prepared baseline 97f1784, and carries no handoff preparation comments.

Refs WP04 step 4 and WP05 step 1.

🤖 Generated with Claude Code

… report

The backend derives TAP limitation reasons from the coverage dimensions
the authority publishes instead of emitting fixed text, so it can now
report pending-protocol-coverage-partial, pending-protocol-coverage-unknown
and reorg-evidence-unknown.

describeChainReason already falls back safely for an unknown code, but it
returns kind 'unstated', which reads as no reason given rather than as a
stated limit of the authority. These three are limits and are now written
as such.

Refs WP04 step 4 and WP05 step 1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bitcoinuniverseadmin
bitcoinuniverseadmin merged commit 3bf0f4b into develop Sep 18, 2026
15 of 16 checks passed
@bitcoinuniverseadmin
bitcoinuniverseadmin deleted the fix/chain-reason-coverage-copy-20260918 branch September 18, 2026 08:46
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