feat(repair): define durable cluster intake intents - #883
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 27, 2026, 3:19 AM ET / 07:19 UTC. ClawSweeper reviewWhat this changesAdds authenticated, idempotent durable cluster-intake intents, queue publication, candidate filtering/history helpers, and regression coverage for the repair-cluster workflow. Merge readinessKeep this PR open for maintainer review. It is a MEMBER-authored, stacked durability change that defines a persistent intake contract and is a prerequisite for the open downstream dispatch and workflow-cutover PRs; GitHub currently reports the branch as dirty against current Priority: P2 Review scores
Verification
How this fits togetherThe repair lane turns candidate clusters into state-backed planning jobs for OpenClaw repositories. This PR packages selected jobs into a signed intake record, appends it to the durable state queue, and leaves later materialization and dispatch to the next stack layer. flowchart LR
A[Gitcrawl cluster candidates] --> B[Live eligibility filter]
B --> C[Authenticated intake intent]
C --> D[Durable state append queue]
D --> E[Intake ledger]
E --> F[Exactly-once materializer]
F --> G[Planning workflow dispatch]
Decision needed
Why: The PR creates persistent state and signed dispatch-policy boundaries, and its downstream stack depends on the exact contract; deciding whether that contract is the repository’s intended long-term repair-lane interface requires maintainer judgment. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase this layer cleanly onto current Do we have a high-confidence way to reproduce the issue? Not applicable as a feature/infrastructure PR: the relevant validation is a controlled durable-intake publication and materialization run rather than reproduction of a pre-existing user bug. Is this the best way to solve the issue? Unclear until the dirty branch is rebased. The durable-intent approach is coherent with the merged queue-priority layer, but maintainers must confirm the persistent schema and policy contract before the dependent stack lands. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 390d52176b82. LabelsLabel changes:
Label 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 (1 earlier review cycle)
|
1b65ffd to
19817b2
Compare
37025f8 to
0dc75d9
Compare
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat(repair): define durable cluster intake intents This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Summary
This is 3/5 in the cluster-fixer reliability stack, based on PR 882.
Validation
pnpm run build:allStack
No merge/automerge or production gate is enabled.