feat: publish deterministic sometimes-state census - #318
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9160278. Configure here.
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.

Summary
Acceptance evidence
tokio,json: passcargo c: pass;cargo t: 2,975 passed, 72 skippedThe initial nightly intentionally reports organic zeroes without failing. A future seven-window ratchet remains a separately approved decision.
Closes #316
Note
Medium Risk
Touches P2P confirmation folding and rollback observation hooks on hot paths, but bits are observation-only; larger risk is CI/nightly census workflow and toolchain bumps affecting reproducibility and security gates.
Overview
Adds issue #316 observation plumbing: five fixed-order, monotonic “sometimes-state” bits are recorded on the production P2P path (rollback depth at prediction limit, relay lower-floor consumption, connect-status nudge queued, sparse earlier rollback checkpoint, input ring one slot below capacity) and exposed via doc-hidden
P2PSession::diagnostic_sometimes_state_vectorwithout changing wire, RNG, or replay semantics.The simulation harness schema 20 folds per-peer and aggregated vectors into deterministic trace identity; nightly fleet runs write eight organic shards plus targeted probe evidence under
FORTRESS_SIM_CENSUS_DIR, then CI merges, validates, and uploads published census artifacts (separate from failure dumps).CI/tooling moves the pinned Rust nightly to 2026-08-26, bumps Vale, Ruff, typos,
actions/cachev6,taiki-e/install-action, checkout patches, and adds acargo denylicense-check flag-order compatibility branch with workflow contract tests.Reviewed by Cursor Bugbot for commit 6545a6b. Bugbot is set up for automated code reviews on this repo. Configure here.