Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 11, 2026, 12:16 PM ET / 16:16 UTC. ClawSweeper reviewWhat this changesThis PR adds Workboard proof-provenance metadata and diagnostics across plugin storage, Gateway methods, agent tools, documentation, and the Control UI. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 12 items remain Keep open. The claim endpoint filters a caller-supplied session key, but generic public card writes can still persist it and redirect claim-only navigation; the new persisted verification meaning also needs owner ratification and real host/Gateway proof. Priority: P1 Review scores
Verification
How this fits togetherWorkboard records task cards, claims, and proof in plugin-owned SQLite state. Agent tools and Gateway RPC mutate those cards, while the Control UI projects diagnostics and links cards back to sessions. flowchart LR
A[Agent tool context] --> B[Workboard plugin]
C[Gateway write request] --> B
B --> D[SQLite card store]
D --> E[Proof diagnostics]
D --> F[Control UI]
F --> G[Session navigation]
Decision needed
Why: The label is stored in SQLite and exposed through tools, Gateway data, docs, and the Control UI, so its operator-facing meaning cannot be settled by a code review alone. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new trusted claim-provenance boundary is bypassable through generic public Gateway card writes. PR surfaceSource +235, Tests +729, Docs +36. Total +1000 across 29 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: 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:
Copy recommended automerge instructionTechnical reviewBest possible solution: First decide whether caller-declared independent verification is a supported durable contract; then keep claim session provenance exclusively host-produced, reject it from every public write path, and prove the accepted flow through a real Gateway or plugin host. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: send workboard.cards.update or bulk a metadata.claim.sessionKey-only patch for an existing claim; normalizing it retains fallback claim credentials and persists the supplied navigation key. This review did not execute contributor code. Is this the best way to solve the issue? No. Filtering sessionKey only at workboard.cards.claim is too narrow; enforce the trusted-producer rule at all public card-write ingress before considering the product contract. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6e9e56924326. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (19 earlier review cycles; latest 8 shown)
|
|
@clawsweeper Remediation pushed at |
…antics-fastforward
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
@clawsweeper re-review Exact head: Both actionable findings are repaired: every new Workboard proof/completion enum is now a flat provider-compatible string enum, and proof writes clear all proof-derived diagnostics with failed-to-passed and stale-to-current regressions. The branch is merged with current main, migration/reopen and batch-read coverage pass, and the committed behavior proof now activates the real plugin entry and invokes its registered tool factory over disposable SQLite. Please update the existing durable ClawSweeper review comment in place for this exact head. The remaining caller-declared provenance contract is explicitly presented as a maintainer decision; no merge or production change is requested. The previous exact-head run left a separate "review started" placeholder ( |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review Exact head: All five findings from durable review comment
The branch is merged with current Please update the existing durable ClawSweeper review comment in place for this exact head. The remaining caller-declared provenance contract is explicitly presented as a maintainer decision; no merge or production change is requested. The previous review run correctly updated original durable comment |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
The two exact-head findings from the durable review have been repaired at
Focused evidence: 233 UI tests passed, UI test TypeScript validation passed, type-aware lint/format/diff checks passed, docs format/MDX/link checks passed, and both mandatory independent reviews were clean with TruffleHog clean. The PR body contains the full exact-head evidence. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing due to inactivity. |
Supersedes #113641.
What Problem This Solves
Workboard proof carries explicit caller-declared provenance:
worker_reportedis the default.independently_verifiedmeans the caller reports that a separate verifier checked the evidence.doneremains manual operator acceptance; it does not become automatic verification.Diagnostics surface missing, stale, or contradictory proof without changing Workboard's manual acceptance authority.
Why This Change Was Made
Proof state needed a stable identity and honest provenance so a pending proof can be resolved without rewriting history or implying that Workboard independently verified it. The same data must remain usable across SQLite, agent tools, Gateway methods, and the Control UI.
Current-main remediation
Exact head:
2cb1afdddc204cc7ade1b1126f4ce232ef970f9dmainatec78d365062without source conflicts.verification TEXTcolumn, matching the repository's additive-schema policy. Historical null/missing values read asworker_reported, and all current writers persist an explicit value.contradictory_proofdiagnostic.workboardCardNavigationSessionKey, but that claim provenance cannot resolve lifecycle/task authority or driveworkboard.cards.update.workboard.cards.claimGateway boundary now allowlists onlyownerId,token, andttlSeconds, so an operator-controlled RPCsessionKeycannot be persisted as authoritative navigation provenance.workboard_claimagent-tool path is unchanged: it still persists only the authoritativeOpenClawPluginToolContext.sessionKeysupplied by the host.missing_proofapplies toreviewanddone, whilestale_proofandcontradictory_proofare documented explicitly.done.The earlier current-main repair also retained the Plugin SDK flat string-enum contract, explicit proof correlation, registered-plugin E2E proof, SQLite batch-read coverage, and the missing/stale/contradictory diagnostic model.
User Impact
Operators can distinguish worker-reported proof from caller-declared independent verification, see contradictory or stale evidence, and navigate from claim-only Workboard cards back to the claiming session without treating claim provenance as lifecycle authority. Public Gateway callers can no longer forge that claiming-session identity; trusted agent-tool context remains the authoritative producer. No production configuration or migration action is required.
Evidence
Registered-plugin behavior proof
The committed E2E proof activates the real Workboard plugin entry, captures its registered tool factory, invokes the registered tools through a disposable SQLite store, and exercises claim -> review without proof -> proof resolution -> done. It does not construct
createWorkboardTools()directly.{ "path": ["activated-plugin", "registered-tool-factory", "sqlite"], "database": "temporary sqlite database", "stages": [ { "stage": "claim", "status": "running" }, { "stage": "review_without_proof", "status": "review", "diagnostics": ["missing_proof"] }, { "stage": "proof_added", "status": "review", "diagnostics": [], "latestProof": { "status": "passed", "verification": "worker_reported" } }, { "stage": "done", "status": "done", "acceptance": "manual_operator_acceptance", "latestProof": { "verification": "worker_reported" } } ], "credentials": false, "externalService": false, "productionModified": false }Exact-head validation
sessionKey: "agent:main:session:forged"; the repaired focused regression passes 1/1.pnpm tsgo:extensionsandpnpm tsgo:test:extensionsboth passed; direct strict type-aware Oxlint passed on both changed files; Oxfmt andgit diff --checkpassed.doneandfailedsessions remainunlinkedand do not callworkboard.cards.update(2/2 passed).pnpm tsgo:uiandpnpm tsgo:test:uipassed; type-aware Oxlint, Oxfmt, andgit diff --checkpassed.gpt-5.6-solhigh-reasoning bundle; findings[];patch is correctat 0.99 confidence; reviewer exited 0.2cb1afdddc204cc7ade1b1126f4ce232ef970f9d: TruffleHog clean in 4.8 seconds; 3,169-byte, one-pass Codexgpt-5.6-solhigh-reasoning bundle; findings[];patch is correctat 0.99 confidence; reviewer exited 0.2cb1afdddc204cc7ade1b1126f4ce232ef970f9dare being attached by this push. The preceding exact-head run on564e04f2352043ce96aba5a1d67d7bfb12a7e89cwas terminal with 8 passed, 54 intentionally skipped, 0 failed; the substantive matrix remains intentionally skipped while the PR is draft. The run is attached at 31503362538.git diff --checkpassed.overall: patch is correct, confidence0.97)./workspacecanonicalizes toC:\workspace(lines 200 and 574), outside this two-file repair.oxlint --type-aware --deny-warningsgate then passed both changed files in 106.6 seconds.No live OpenClaw state, production service, external provider, or credential was used.
Maintainer decision still required
Please ratify whether
independently_verifiedshould remain a caller-declared persisted public provenance label. The implementation is intentionally fail-honest: the contributor branch is repaired and proven, but automation is not claiming that a repository maintainer has approved the product contract.Remaining proof and refresh blockers
independently_verifiedas a caller-declared persisted public provenance label. It must not be described as Workboard attestation.