Repository navigation
Fix the range rule, verdict browser, laptop, endpoint and session before the verdict runs - #5
Merged
Merged
Conversation
…-ranges.mjs Co-Authored-By: Claude <noreply@anthropic.com>
…e the verdict runs Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…op the unverified hash note Co-Authored-By: Claude <noreply@anthropic.com>
… verdict laptop Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes and why:
Fixes, before the 17 November 2026 verdict runs, the choices an operator could otherwise make on the day:
https://m1-rocks.konclave.xyz;https://m1-global.konclave.xyzis reported as information. The docs no longer say "the one endpoint".scripts/fix-ranges.mjs. Finds T from compact block times (GetLatestBlock, then bisection and a forward walk, since block times are not monotonic) and prints T, its time and hash, and the three ranges. With--writeit writes only the six heights intoweb/ranges.mjs. It needs--read-approvedand refuses a tip before the cutoff or fewer than 100 blocks past T.The summary code is unchanged: it prints a pass or a fail for any row that clears the rules, and the protocol names the verdict row.
Tests run (see CONTRIBUTING.md):
node --test tests/node.test.mjs tests/charts.test.mjs: all pass. The fix-ranges tests run against the repo's mock chain and cover the boundary (a time equal to the cutoff, and one second before), a non-monotonic dip, the tip refusals, the refusal without--read-approved, and--writechanging only the heights. Each was checked to fail with its logic removed.For a result under
community-results/: commit built, device, browser:Not applicable.
AI disclosure: no AI assistance / AI-assisted (tool and what it did):
AI-assisted: Claude Code wrote the change, the tests and the docs; a separate AI review pass audited them. The decisions are the maintainer's.
🤖 Generated with Claude Code