You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-7Lines changed: 22 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
FlowMemory is a Base-native AI memory, neural-geometry, reliability, decentralized hardware, and future appchain/L1 research project.
4
4
5
-
This repository has completed the initial bootstrap and contracts-foundation passes. It contains project context, collaboration rules, planning documents, GitHub templates, a CI scaffold, worktree setup, placeholder work areas, and an initial FlowPulse/Rootfield contracts foundation. Do not treat the current repo as containing production product features yet.
5
+
This repository contains the FlowMemory V0 foundation: project operating docs, local/test contracts, fixture-first services, Rootflow and Flow Memory launch-core generation, a fixture-backed dashboard, crypto helpers, a local no-value devnet prototype, and FlowRouter hardware POC materials. Do not treat the current repo as containing production product features yet.
6
6
7
7
## What FlowMemory Is Exploring
8
8
@@ -41,7 +41,9 @@ Every contributor and agent should read:
41
41
5.`docs/ROOTFLOW_V0.md`
42
42
6.`docs/FLOW_MEMORY_V0.md`
43
43
7.`docs/V0_LAUNCH_ACCEPTANCE.md`
44
-
8.`docs/DAILY_HQ_RUNBOOK.md` if operating HQ or coordinating agents
44
+
8.`docs/PRODUCTION_READINESS_CHECKLIST.md`
45
+
9.`docs/MARKETING_CLAIMS_GUARDRAILS.md`
46
+
10.`docs/DAILY_HQ_RUNBOOK.md` if operating HQ or coordinating agents
45
47
46
48
Then work only inside the assigned scope.
47
49
@@ -55,6 +57,8 @@ FlowMemory is managed as a multi-agent program. The management layer is part of
55
57
-`docs/reviews/OPEN_PR_MERGE_READINESS.md`: historical merge-readiness evidence for the merged V0 foundation PRs
56
58
-`docs/PR_PROCESS.md`: branch, draft PR, review, merge, conflict, and issue-closing rules
-`docs/PRODUCTION_READINESS_CHECKLIST.md`: blocking checklist before any production language is allowed
61
+
-`docs/MARKETING_CLAIMS_GUARDRAILS.md`: allowed and blocked launch claims for docs and marketing
58
62
-`infra/scripts/status-report.ps1`: read-only local worktree, PR, and issue status report
59
63
60
64
Immediate major milestone: build the Rootflow V0 and Flow Memory V0 launch core. This means local contracts/tests, FlowPulse fixtures, Rootflow transitions, Flow Memory schemas, verifier reports, crypto fixtures, dashboard-readable state, and local smoke-test gates. It does not mean production deployment.
@@ -70,6 +74,7 @@ This regenerates local/test Rootflow and Flow Memory V0 fixtures, including `fix
70
74
## What Not To Claim
71
75
72
76
- Do not claim FlowMemory has production contracts or deployment automation.
77
+
- Do not claim FlowMemory is production-ready or mainnet-ready.
73
78
- Do not claim Uniswap v4 hook integration exists yet.
74
79
- Do not claim explorer, hardware console, production FlowRouter hardware, or Meshtastic integration exists yet.
75
80
- Do not claim cryptographic proof systems, tokenomics, or appchain/L1 implementation exists yet.
@@ -86,6 +91,7 @@ This regenerates local/test Rootflow and Flow Memory V0 fixtures, including `fix
86
91
-`inbox/`: staging area for imported prompts, notes, and unsorted context
87
92
-`research/`: future AI memory, neural geometry, and appchain/L1 research
88
93
-`services/`: future indexer, verifier, worker, and API services
94
+
-`schemas/flowmemory/`: canonical Flow Memory and Rootflow JSON schemas
89
95
90
96
## Implemented Foundation
91
97
@@ -95,20 +101,29 @@ This regenerates local/test Rootflow and Flow Memory V0 fixtures, including `fix
95
101
- Worktree setup script
96
102
-`contracts/FlowPulse.sol`
97
103
-`contracts/RootfieldRegistry.sol`
104
+
- contract skeletons for artifacts, cursors, workers, verifiers, receipts, verifier reports, hook adapter, and work scheduling
105
+
- contracts hardening docs and static-analysis runner
98
106
-`contracts/FLOWPULSE_SCHEMA.md`
99
107
-`tests/RootfieldRegistry.t.sol`
100
-
- Initial Foundry tests for the Rootfield registry foundation
108
+
- Foundry tests for the Rootfield registry foundation and live V0 contract package
109
+
- fixture-first indexer/verifier packages and local launch-core generation
110
+
- Base Sepolia reader path with explicit RPC URL and durable checkpoint output
111
+
- Flow Memory V0 schemas and generated Rootflow transition fixtures
112
+
- fixture-backed dashboard V0
113
+
- crypto helper package and test vectors
114
+
- local no-value devnet prototype
115
+
- FlowRouter hardware POC docs, schemas, and simulator fixture
101
116
- Documented URI/log-data limitations for the current contract skeleton
102
117
103
118
## Still Conceptual
104
119
105
120
- Uniswap v4 hook integration
106
-
-Indexer and verifier services
107
-
-Complete Rootflow runtime implementation
108
-
-Complete Flow Memory runtime implementation
121
+
-Production indexer and verifier services
122
+
-Production Rootflow runtime implementation
123
+
-Production Flow Memory runtime implementation
109
124
- FlowRouter hardware implementation
110
125
- Meshtastic integration
111
-
-Dashboard, explorer, and hardware console applications
The current contracts use simple ownership or self-registration patterns. They do not implement staking, slashing, token custody, rewards, production governance, verifier consensus, or upgrade admin controls.
8
+
9
+
## RootfieldRegistry
10
+
11
+
Owner model: each `rootfieldId` has one owner.
12
+
13
+
Owner-gated functions:
14
+
15
+
-`submitRoot`
16
+
-`deactivateRootfield`
17
+
-`transferRootfieldOwnership`
18
+
19
+
Current protections:
20
+
21
+
- zero rootfield id rejected
22
+
- duplicate rootfield id rejected
23
+
- zero root rejected
24
+
- inactive rootfield blocks root submission and transfer
25
+
- zero new owner rejected
26
+
- ownership transfer emits both a FlowPulse status event and a dedicated ownership event
27
+
28
+
Launch risk to watch:
29
+
30
+
- current ownership transfer uses `parentPulseId = bytes32(0)` by design; future versions may require explicit parent linkage.
31
+
- URI fields are advisory event data, not trusted storage pointers.
32
+
33
+
## Owner-Allowlist Registries
34
+
35
+
Contracts:
36
+
37
+
-`VerifierReportRegistry`
38
+
-`WorkReceiptRegistry`
39
+
40
+
Owner-gated functions:
41
+
42
+
-`setVerifierAuthorization`
43
+
-`setWorkerAuthorization`
44
+
45
+
Submitter-gated functions:
46
+
47
+
-`submitVerifierReport` requires an authorized verifier.
48
+
-`submitWorkReceipt` requires an authorized worker.
49
+
50
+
Current protections:
51
+
52
+
- zero worker/verifier rejected
53
+
- duplicate report/receipt id rejected
54
+
- invalid report status rejected
55
+
- invalid work lane rejected
56
+
- zero target or commitment fields rejected
57
+
58
+
Launch risk to watch:
59
+
60
+
- deployer is permanent owner in V0; there is no multisig, timelock, or owner transfer.
61
+
- allowlists are coordination controls, not decentralized verifier consensus.
62
+
63
+
## Self-Registration Registries
64
+
65
+
Contracts:
66
+
67
+
-`WorkerRegistry`
68
+
-`VerifierRegistry`
69
+
70
+
Owner model: the registering address controls its own metadata lifecycle.
71
+
72
+
Current protections:
73
+
74
+
- duplicate registration rejected
75
+
- zero operator id rejected
76
+
- zero role rejected
77
+
- inactive records cannot update again
78
+
79
+
Launch risk to watch:
80
+
81
+
- registration does not prove work quality, correctness, identity, or stake.
82
+
83
+
## Per-Record Owner Registries
84
+
85
+
Contracts:
86
+
87
+
-`ArtifactRegistry`
88
+
-`CursorRegistry`
89
+
90
+
Owner-gated functions:
91
+
92
+
-`deprecateArtifact`
93
+
-`advanceCursor`
94
+
95
+
Current protections:
96
+
97
+
- zero ids and zero commitments rejected
98
+
- duplicate records rejected
99
+
- only the stored owner can mutate the record
100
+
101
+
Launch risk to watch:
102
+
103
+
- advisory URI strings are emitted as logs and are not validated content availability proofs.
104
+
105
+
## Open Submission Contracts
106
+
107
+
Contracts:
108
+
109
+
-`ReceiptVerifier`
110
+
-`WorkDebtScheduler`
111
+
-`FlowMemoryHookAdapter`
112
+
113
+
Current boundary:
114
+
115
+
-`ReceiptVerifier` accepts first-writer receipt-report commitments and does not cryptographically verify receipts.
116
+
-`WorkDebtScheduler` allows any scheduler to assign work to a nonzero worker and allows scheduler or worker to mark completion.
117
+
-`FlowMemoryHookAdapter` validates nonzero inputs and emits an observation event; it is not a production Uniswap v4 hook.
118
+
119
+
Launch risk to watch:
120
+
121
+
- open submission is acceptable for V0 commitments only if docs and demos treat outputs as untrusted until off-chain verifier reports exist.
122
+
123
+
## Required Review Before Expanding
124
+
125
+
Before adding rewards, staking, slashing, custody, dynamic fees, production hook permissions, or appchain/L1 settlement:
The contracts are V0 launch foundations for FlowPulse, Rootfield, receipts, workers, verifiers, cursors, and hook-adapter events. They are not a production L1, production verifier network, token system, custody system, fee system, or production Uniswap v4 hook deployment.
46
+
47
+
Static-analysis findings should be triaged into:
48
+
49
+
- blocker: unsafe access control, broken event schema, corrupted state transition, or deploy-time risk
50
+
- launch-v0 fix: issue that matters for Base Sepolia/demo correctness
51
+
- future hardening: useful improvement that does not block the V0 launch boundary
52
+
53
+
## Required Before Any Public Testnet Deployment
54
+
55
+
- All Foundry tests pass.
56
+
-`forge fmt --check` passes or a deliberate formatting-normalization PR is opened.
57
+
- Slither is run and findings are attached to the PR or issue.
58
+
- Access-control changes are reviewed against [ACCESS_CONTROL_REVIEW.md](./ACCESS_CONTROL_REVIEW.md).
59
+
- Deployment scope is reviewed against [DEPLOYMENT_BOUNDARY.md](./DEPLOYMENT_BOUNDARY.md).
0 commit comments