Repository navigation
feat(dashboard): add durable lifecycle Bay Kanban - #999
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 8:32 AM ET / 12:32 UTC. ClawSweeper reviewWhat this changesThe PR adds a public OpenClaw Bay lifecycle Kanban that reads a capped, redacted Durable Object projection and presents durable lifecycle lanes separately from transient queue activity. Merge readinessThis draft PR appears correct and includes sufficient controlled after-fix proof for the dashboard, Worker, and Durable Object path. It remains open for normal maintainer landing review because the intentionally uncached public 512+1-row Durable Object read carries an approved but real availability tradeoff. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw Bay is the dashboard’s public status view. The Worker forwards a public lifecycle request to the exact-review Durable Object, validates the returned snapshot, and the Bay page renders bounded lifecycle cards or a fail-closed Unknown state. flowchart LR
A[Bay dashboard] --> B[Public lifecycle endpoint]
B --> C[Exact-review Durable Object]
C --> D[Lifecycle projection rows]
D --> E[Bounded snapshot validation]
E --> F[Lifecycle Kanban lanes]
E --> G[Unknown fail-closed state]
Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the bounded fail-closed observer and land it only after a maintainer confirms the approved public read budget remains acceptable for expected Bay traffic. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug report. The contributor supplies high-confidence after-fix controlled Worker/DO and browser proof, including populated and fail-closed UI states. Is this the best way to solve the issue? Yes. The branch uses a narrow read-only projection path, validates it again at the Worker and browser boundaries, and shows Unknown instead of converting incomplete lifecycle data into plausible partial status. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 922ebc673e12. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
75ce8b7 to
adc2bc5
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Summary
Adds OpenClaw Bay's durable lifecycle Kanban for #898 Workstream 5. It renders only the WS2
ExactReviewLifecycleProjectionreducer, never worker-step, workflow, scheduler, repair, or live-activity state.Problem
The existing Bay shoreline presents transient worker and queue activity. It must not be mistaken for an authoritative lifecycle lane or used to infer lifecycle completion from workflow success or names.
Maintainer decision
The exact public observer contract and its uncached
512 + 1Durable Object read budget are explicitly approved in #898 maintainer decision. That decision requires fail-closed Unknown for over-cap, unavailable, malformed, mixed, or stale input and retains all WS5a/WS6/WS7, mutation, replay, gate, deployment, and production-action exclusions.Implementation
GET /api/durable-lifecycle-bay, which only forwards to theEXACT_REVIEW_QUEUEDurable ObjectGET /lifecycle-bay; it has no Worker/current-step fallback.ExactReviewLifecycleProjection: no schema initialization, prune, reclaim, scheduler/alarm, write, GitHub call, queue mutation, or pagination.512 + 1source cap, 24-card newest round-robin sample, no public cursor, freshness at <=60 seconds, and no partial cards/counts for unavailable, malformed, mixed, stale, or over-cap snapshots. Empty complete remains distinct from Unknown.githubEffectfields in durable rows so malformed stored projections fail closed to Unknown rather than fabricating a public GitHub-effect badge.Validation
Real Behavior Proof
adc2bc56090f9560b6c5c4c36421efb73fe1875a. The generated evidence was executed from source commitf05643e215b8026276b3b1b05483437055132d5b; the final head changes only its checked-in generated evidence and has the same proof-tree hash (e1a0719ba50b5991403e32f36cc3da0f9143e47b319d072c0cdadf80f8a0cfc3).mcr.microsoft.com/playwright:v1.60.0-noble,--no-hydrate,--timing-json), final leasecbx_e987e87ac0d9.GET /api/durable-lifecycle-bay-> DOGET /lifecycle-bayreturned fail-closed Unknown with null inventory, lanes, and sample. The next ordinary aggregate-only queue GET to the same disposable DO returnedcomplete: true. The built Bay demo showed the 24-card bounded lifecycle Kanban, then a mixed snapshot as Unknown with no partial cards/counts. Browser capture recorded 13 requests, 0 external requests, and 0 mutation requests.Codex review closeout
codex review --uncommittedthrough the local helper after the accepted fixes and after the generated proof refresh; final result clean with no accepted/actionable findings.codex review --base origin/mainthrough the local helper. It first identified the missing-githubEffectmalformed-row guard and inconsistent proof fixture lane totals; both were fixed, focused proof rerun, and the final branch review was clean with no actionable correctness findings.Risks and rollout
This is an intentionally fail-closed observer: an incomplete, stale, malformed, mixed, unavailable, or over-cap source shows Unknown rather than misleading partial facts. It introduces no migration, backfill, workflow/gate, inventory, reconciliation, live-activity, or deployment behavior. No live or production rollout was performed.
Relates to #898 and the merged lifecycle foundations #947, #952, #991, and #995.