[codex] Build FlowMemory crypto v0 foundation#60
Merged
Conversation
Owner
Author
|
Launch-core direction: please align this crypto PR with issue #64 and |
Owner
Author
|
Acceptance audit follow-up: please make the PR summary identify the canonical schema/fixture artifacts for MemorySignal, MemoryReceipt, RootflowTransition, RootfieldBundle, AgentMemoryView, and verifier reports, plus the exact validation command output. The required evidence is tracked in |
13 tasks
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
Builds FlowMemory Crypto V0 as a runnable package and schema foundation for facts, observation IDs, receipts, report digests, roots, attestations, replay protection, and future proof boundaries.
What changed
@flowmemory/cryptoESM package with typed declarations, package scripts, fixtures, and tests.Validation
cd crypto; npm test-> 13 passing tests.cd crypto; npm run validate:vectors->FLOWMEMORY_CRYPTO_VECTORS_OK 21.cd crypto; python validate_test_vectors.py->FLOWPULSE_VECTOR_RECOMPUTE_OK.cd crypto; npm run vectorsprints the sample pulse/observation/receipt/report/attestation hashes.cd crypto; npm audit --audit-level=high-> 0 vulnerabilities.cd crypto; npm pack --dry-runsucceeded.git diff --cached --checkpassed.forge build --root . --out E:\tmp\flowmemory-forge-out --cache-path E:\tmp\flowmemory-forge-cachesucceeded.forge testcurrently reports no discovered tests in this checkout.Trust boundary
This PR does not claim full trustlessness, does not implement zk proofs, does not add tokenomics, and does not modify production contracts. MVP claims remain verifier-attested unless independently replayed or later proven by an accepted proof system.
Refs #17, #38, #40, #42, #47.