feat(core): bootstrap the FinalWeave Go project - #4
Merged
Conversation
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.
Linked Issue
Fixes #3
Summary
github.com/wowtrust/final-weavewith the TrustDB-aligned Go 1.26.5 and Cobra baseline.finalweave-node versioncommand, reusable build metadata, and fail-closed bare-node behavior without a placeholder runtime.n=3f+1, including exhaustive, negative, zero-value, race, and fuzz coverage.Scope And Project Status
The repository gains a code bootstrap and diagnostic CLI only. It still has no runnable consensus node, SDK, API, storage, networking, execution engine, proof implementation, container image, or production release.
Protocol, Safety, And Compatibility
The quorum utility only codifies the already accepted v1 formulas and bounds. It accepts
intto prevent pre-validation narrowing, rejects every non-v1 count, and makes invalid zero-value access fail-stop instead of exposingq=0ork=0. It does not validate certificates, validator identities, epochs, keys, fragments, or signatures.Validation
git diff --check origin/main...HEADpython3 scripts/check_docs.pygo mod verifyandgo mod tidy -diffgo vet ./...go test -count=1 -shuffle=on -mod=readonly ./...go test -race -count=1 -shuffle=on -mod=readonly ./...go test -run='^$' -fuzz=FuzzNewQuorumParameters -fuzztime=5s ./pkg/types— 1,492,510 executionsChecks not run and residual risk:
Risk And Rollback
finalweave-nodeexits nonzero, no run/start/serve command exists, and documentation states the boundary explicitly.intconstructor, exact v1 validation, unexported fields, and fail-stop invalid accessors.Go CIcontext will be added to branch protection after it first appears.