Skip to content

Commit 46417e9

Browse files
committed
docs: clarify durable coordination review boundary
1 parent d9d81e0 commit 46417e9

1 file changed

Lines changed: 45 additions & 12 deletions

File tree

‎docs/specs/durable-agent-coordination-kernel-rfc.md‎

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ is not a proposal to replace Task Flow, background tasks, Workboard, sessions, o
1616
external workflow systems. The intent is to give those existing surfaces a common
1717
runtime ledger for long-running, branching, multi-agent work.
1818

19+
The review request for this RFC is intentionally narrow: maintainers should use
20+
it to decide whether the boundary belongs in a small core durable kernel, inside
21+
Task Flow internals, or in a narrower shared task/session module. Until that
22+
boundary is accepted, this document should be read as proposed direction rather
23+
than shipped OpenClaw behavior.
24+
25+
The companion implementation proof is tracked in
26+
[openclaw/openclaw#97508](https://github.com/openclaw/openclaw/pull/97508). That
27+
PR demonstrates the proposed first slice as an opt-in, local-first ledger with
28+
read-only inspection and restart/upgrade proof; this RFC remains the architecture
29+
decision point.
30+
1931
## Problem
2032

2133
OpenClaw already has durable session transcripts, background task records, Task
@@ -101,22 +113,43 @@ The first implementation should be local-first and opt-in:
101113

102114
To keep review focused, this proposal should move in vertical slices:
103115

104-
1. RFC and maintainer alignment.
105-
2. Opt-in coordination ledger in the shared OpenClaw state database.
116+
1. RFC and maintainer alignment on the owner boundary.
117+
2. Opt-in coordination ledger in the shared OpenClaw state database, with schema
118+
lifecycle and upgrade-safety proof.
106119
3. Read-only Gateway and CLI timeline/projection APIs with disabled-by-default
107120
regression tests.
108121
4. Subagent child-run recording and fan-in projection without raw task
109122
persistence.
110123
5. Recovery worker, retention, and migration hardening after the primitive shape
111124
is accepted.
112125

113-
## Open Questions
114-
115-
- Should the initial coordination ledger be part of Task Flow internals, a
116-
standalone core runtime module, or a narrower shared task/session submodule?
117-
- Which existing operator surfaces should read the first projection: Task Flow,
118-
Workboard, CLI, Control UI, or all of them through Gateway?
119-
- What retention policy is acceptable for event timelines in local-first
120-
installs?
121-
- Which migration and doctor checks should be required before the feature moves
122-
from experimental to default-on?
126+
## Maintainer Decision Requested
127+
128+
Recommended decision:
129+
130+
- Treat the durable ledger as a small standalone core runtime module, with Task
131+
Flow, Workboard, CLI, and Control UI reading it through Gateway-facing
132+
projections instead of owning the persistence model directly. This keeps the
133+
primitive reusable across agent turns, subagent fan-in, and future operator
134+
surfaces without coupling the schema to one product view.
135+
- Use shared `state/openclaw.sqlite` as the local-first lifecycle home for the
136+
first coordination tables. This avoids introducing a new service, keeps the
137+
feature backupable with the existing OpenClaw state directory, and lets schema
138+
lifecycle, doctor checks, and upgrade safety be reviewed in one place.
139+
- Keep the MVP boundary at opt-in read-only inspection plus restart/upgrade
140+
safety. Task Flow integration, Workboard presentation, retention,
141+
compaction, and worker policy should remain follow-ups after maintainers
142+
accept the primitive shape.
143+
144+
Before publishing this RFC as accepted direction, please confirm whether this
145+
boundary is acceptable or whether upstream would prefer to place the ledger
146+
inside Task Flow internals or a broader shared task/session module.
147+
148+
## Non-Blocking Follow-Ups
149+
150+
- Choose the first operator surface for projection reads after the core boundary
151+
is accepted: Task Flow, Workboard, CLI, Control UI, or all of them through
152+
Gateway.
153+
- Define timeline retention and compaction policy for local-first installs.
154+
- Define the migration and doctor checks required before the feature moves from
155+
experimental to default-on.

0 commit comments

Comments
 (0)