Repository navigation
feat(workboard): link boards to owning automations - #125076
Conversation
Boards can now record automationJobId, linking a board to the cron automation whose prompt/model/schedule categorize its cards. The cron job remains the single owner of that configuration; workboard stores only the reference. The board toolbar shows an Automation chip linking to the cron page when set. Deleting a board never deletes the job. Proof: pnpm test extensions/workboard packages/workboard-contract ui/src/pages/workboard ui/src/lib/workboard (9,492 passed), autoreview clean (codex/gpt-5.6-sol). check:changed blocked by remote capacity (Blacksmith down, Daytona lease cap); local fallback lanes green except a parent-branch lint finding fixed on that branch.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 17, 2026, 1:49 AM ET / 05:49 UTC. ClawSweeper reviewWhat this changesAdds an optional persisted automation-job reference to Workboards and shows a chip that opens the Automations page when that reference exists. Merge readinessKeep open: the previous destination-label finding is resolved, but a board automation reference can be added or replaced but not removed, leaving a stale Automation chip after a job is no longer applicable. Priority: P2 Review scores
Verification
How this fits togetherWorkboard stores board metadata in its plugin SQLite database and publishes board summaries to the Control UI. The new reference flows from the board tool and Gateway update path through persistence into the selected board’s toolbar. flowchart LR
A[Board tool or Gateway update] --> B[Board metadata normalization]
B --> C[Workboard SQLite state]
C --> D[Board summary]
D --> E[Workboard toolbar]
E --> F[Automations page]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +59, Tests +118, Docs +5. Total +182 across 17 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Make the association reversible: retain omission as unchanged, add one explicit clear operation, and prove that persistence and the toolbar both lose the reference. Do we have a high-confidence way to reproduce the issue? Yes—source inspection shows that setting a reference and then supplying null or an empty value fails, while omission retains it and no deletion path works for the default board. Is this the best way to solve the issue? No—the generic Automations destination is now correct, but the new optional association needs an explicit clear operation before it is a complete operator-facing feature. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d6be4f355203. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What 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)
|
|
ClawSweeper disposition for the review at #125076 (comment):
Additional proof after the review fix: Fresh autoreview on the review-fix diff completed with no accepted or actionable findings. |
|
Merged via squash.
|
* feat(workboard): reference the automation job that owns a board's prompt Boards can now record automationJobId, linking a board to the cron automation whose prompt/model/schedule categorize its cards. The cron job remains the single owner of that configuration; workboard stores only the reference. The board toolbar shows an Automation chip linking to the cron page when set. Deleting a board never deletes the job. Proof: pnpm test extensions/workboard packages/workboard-contract ui/src/pages/workboard ui/src/lib/workboard (9,492 passed), autoreview clean (codex/gpt-5.6-sol). check:changed blocked by remote capacity (Blacksmith down, Daytona lease cap); local fallback lanes green except a parent-branch lint finding fixed on that branch. * fix(ui): describe workboard automation destination
Related: #125023
What Problem This Solves
The AI-categorization design makes a cron automation job own a board's prompt, model, schedule, and run history. Boards had no way to reference that job, so operators could not see or reach the automation from the board.
Why This Change Was Made
Add
automationJobIdto persisted board metadata and board summaries, accepting only a non-empty validated string of at most 128 characters. Cron jobs remain operator-owned: dangling references render as-is, and deleting a board never deletes or mutates the referenced job. When a board has a reference, its toolbar shows an Automation chip that opens the Automations page.User Impact
Operators can see that a Workboard is automation-backed and reach the cron surface that owns its categorization prompt, model, schedule, and run history directly from the board. The ownership and deletion boundaries are documented in
docs/plugins/workboard.md.Evidence
Focused tests after replaying the single branch commit onto current
main:Command:
pnpm test extensions/workboard packages/workboard-contract ui/src/pages/workboard ui/src/lib/workboardLive classifier proof from an isolated dev Gateway:
The full live report recorded job
a2cf2fd6-8d2d-48d6-a911-b9030ede6b99, Gateway eventsspecifiedandtriage -> todo, and a 13,883 ms successful run. #125023 is the landed gateway-lifecycle prerequisite for this series.AI-assisted: yes. The branch was independently reviewed with the repository autoreview workflow; no accepted or actionable findings remained.