Repository navigation
Harden node boundary, wallet key storage, and CI - #1
Merged
Merged
Conversation
the-code-learner
marked this pull request as ready for review
August 18, 2026 15:23
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.
Scope
This hardening pass aligns the current Phase 1 implementation with Zephyr's user-first, open, production-oriented mission without pretending the network is production-ready.
Process and HTTP boundary
PublicHandler/v1/dev/*disabled unlessZEPHYR_ENABLE_DEV_ENDPOINTS=true127.0.0.1:8080by default and require explicit configuration for wider exposure/v1/internal/snapshotand sign internal snapshot GET requests through the validator identity pathWallet custody and browser integration
State, consensus, and arithmetic hardening
state.jsonatomically through temp-file write, fsync, rename, and owner-only permissionsEngineering hygiene
go vet ./...,go test ./..., npm audit, wallet type-check, and wallet buildSECURITY.mdand update README/quick-start for secure defaultsProtocol blockers tracked separately
These require protocol/genesis/network decisions and should not be silently introduced as compatibility-breaking changes in this foundation PR:
Verification
Important
Zephyr remains pre-production. This PR hardens the existing HTTP/devnet architecture; it does not claim production finality, libp2p networking, WASM execution, governance-driven staking, confidential compute, or 1M TPS readiness. The throughput target remains something to prove with repeatable benchmarks and adversarial multi-node testing.