Skip to content

fix(workboard): keep CLI changes visible to the running Gateway - #168457

Merged
steipete merged 14 commits into
mainfrom
dbasync/ow3-workboard
Oct 10, 2026
Merged

steipete merged 14 commits into
mainfrom
dbasync/ow3-workboard

Conversation

@steipete

@steipete steipete commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes stale Workboard results when a separate CLI process creates, moves, or dispatches cards while the Gateway owns the database.

User Impact

Local Workboard commands use the live Gateway's existing store and immediately expose committed changes to its next read. With the Gateway stopped, the same commands work under exclusive offline ownership. Delivery failures are never replayed locally. Offline dispatch JSON now explicitly reports empty started and startFailures lists while retaining gatewayUnavailable: true and the existing text output. Existing explicit remote dispatch options, timeout, scopes, and final-response behavior remain supported.

Why This Change Was Made

The CLI reused a direct SQLite store despite the Gateway owning cache invalidation. It now reuses the canonical runWithLocalStateOwner boundary through a narrow documented SDK subpath. Distinct .owner RPC methods prevent an older independently installed Workboard plugin from appearing to support owner routing just because its core Gateway is new. Legacy RPC names remain supported. Implicit local list/create/move request admin to preserve their former filesystem and unrestricted-workspace authority; the owner RPCs retain legacy read/write scopes, while dispatch retains its shipped scope choices. Improving local CLI usability with restricted tokens is a follow-up.

Store creation is deferred until the offline owner callback. Move preserves its expected-update predicate. Gateway create, move, and dispatch use existing commit-authority guards at new-effect boundaries; accepted launch settlement and failure compensation retain their existing independent lifecycle. No schema, retention, durability, or permission semantics change.

The SDK adds one subpath and four existing-owner function exports; the exact surface budgets account for those additions. The sole main integration is pinned to ff06ae699514: resolving the shared budget conflict preserves main's three session-entry functions plus these four additions (152 entrypoints, 3648 exports, 2118 callable exports). Production source: +241/-124; tests and shared fixtures: +356/-9; docs/package/check metadata: +38/-10. The generated mock allowance baseline shrinks by one retired factory. The shared fixture exercises the real physical owner lock and SQLite writers, with only the cross-process transport boundary simulated.

Evidence

  • Final Workboard owner + CLI suites: 24 passed with pnpm test src/cli/workboard-owner.test.ts extensions/workboard/src/cli.test.ts --maxWorkers=1 on 1e2c76b3a3e8, which contains exact parent 3c0ab3d0ee7b. Command wall time was 102.94 seconds; summed reported test durations were 6.663 seconds for the five owner cases and 8.781 seconds for the nineteen CLI cases. The owner cases cover warmed next-read visibility, no replay, revoked authority, accepted/rejected launch settlement, metadata admission, and offline commands.
  • The existing Gateway suite passed sixteen cases in the original run; its two omitted-params compatibility cases initially failed and passed after correction. Settlement regression failed under the rejected outer mutation guard: accepted and rejected launches remained prepared. The candidate settles them as accepted/failed while later work remains unstarted.
  • The original-routing regression against pinned main ff06ae699514 failed at the intended assertion: the warmed Gateway list remained empty after CLI creation. The candidate passes the same flow. The extended offline assertion also failed on the missing worker-result lists before producer normalization, then passed with accurate empty lists.
  • Every stage of the canonical typecheck pipeline now has passing evidence. Core/UI and the first ten core test graphs passed on c0c38840697d; the remaining seventeen graphs and scripts passed on d25682aed604; extension projects and the final root graph passed on 1e2c76b3a3e8. The other three root graphs passed on d25682aed604, and the changed CLI test graph was rechecked on the final head (2.4 seconds). Earlier owned failures were repaired, rather than reported as inherited. The final production delta normalizes the offline Workboard result; subsequent test-only changes do not invalidate the reused graphs.
  • Typed lint passed for the repaired core files and Workboard CLI/Gateway. Full lint still reports eleven untouched line-limit findings in session-incognito-history.worker.ts, server-http.ts, message-tool-execution.ts, subagent-registry-restore.ts, model-catalog-decisions.ts, prepared-model-runtime.full-catalog.ts, session-cold-storage.ts, session-entry-read-runtime.ts, session-transcript-worker-runtime.ts, session-transcript-worker.types.ts, and openclaw-agent-db-schema.ts. Their blobs are identical to pinned base ff06ae699514; no overall full-lint pass is claimed.
  • The canonical changed check stops at the inherited 456/455 environment-name count caused by the untouched HTML constant OPENCLAW_PITCH. Main fixes it in 060b20e595f36; this change adds no environment names or budget allowance. All remaining canonical plan commands were executed separately. Formatting, assertion safety, mock-export and timeout-race checks, dependency/config/SDK boundary checks, Doctor contracts, script/database/media/sidecar guards, coercion/deprecated-API checks and import-cycle checks passed. The touched Workboard page also passed MDX validation.
  • SDK surface check passed with exactly 152 entrypoints / 3648 exports / 2118 callable exports. Madge found zero cycles (18.17 seconds), and the SQLite worker ratchet found no T1 call-count growth (6.40 seconds). These checks were run on 3b7bd1fda1b0 and reused for unchanged production exports, import topology and SQLite access. Full build passed on combined head 2558c6fea23e (206.26 seconds, Testbox); SDK API diff passed there (393.49 seconds): one subpath / four exports added, no removed or modified direct declarations, and 148 reachable capture-runtime/method-tuple declaration changes. Later changes preserve those exported signatures and are covered by the completed current type stages; no current-head full-build run is claimed.
  • Full Knip retains three pinned-base findings: .github/actions/setup-release-harness/narrow-lockfile.mjs, src/infra/sqlite-source-fence-admission.ts, and exported PUBLIC_SESSION_ENTRY_SCRIPT. All three files are byte-identical to the pinned base. The separate all-exports phase passed (69.13 seconds), as did the script and full-tree export scans. No overall Knip pass is claimed.
  • Three fresh Codex P2 review rounds covered the combined Workboard/proxy change. All reported findings were fixed: dispatch timeout forwarding, parent-signal forwarding, and the child test entrypoint. The accepted-work authority issue was separately fixed and regression-proven. Later changes resolved required type/lint/environment-budget gates and normalized the offline response. No fourth review was run under the requested convergence rule.
  • CI seconds are not yet measured; the timings above are local command wall time and summed test durations.
  • Published-driver × candidate update cell: passed on final head 47c8225b55a17 through Testbox run 38061798619. Published 2026.9.9 updated to the exact candidate tree, finished successfully with readyz=200, and preserved durable/incognito state. Remote command wall time: 586.599 seconds. No schema changes.

Landing verification

The lander merged main for the documentation conflict and a landed CI baseline repair, and updated the Workboard lifecycle test to exercise captured Gateway RPC handlers. Its six cases pass (220.30 seconds runner / 265.36 seconds command); an isolated review of that test-only repair found no P0/P1 issues. The final-head Workboard CI shard also passes.

CI run 38059523684, attempt 1, remains red only for independently reproduced main failures: cron delivery awareness (one case), memory reindex retry (two cases), and Agents API retry history (three cases). All six fail identically on clean main 2f968aa9fe703 in unchanged owner inputs. The complete run has no cancelled jobs or other failing test jobs. Landing uses the explicitly authorized native inherited-failure admin exception; no overall CI pass is claimed.

Shared SQL census context; these CLI branches were not the measured candidate

The shared six-run alternating census compared base 427f926e7c2d with devices/backup candidate 13959252b2d6. Workboard and proxy capture were not in that candidate. Each value is a phase median [min–max]; warmed values are per turn (10 warmed turns per run). Requests count all worker requests. MAIN counts are included without treating movement to another thread as a saving.

Phase Base all-thread SQL Candidate all-thread SQL Base MAIN SQL Candidate MAIN SQL Base requests Candidate requests Duration C/M
01.boot 3347 [3325–3351] 3348 [3345–3349] 1988 [1986–1988] 1988 [1984–1988] 69 [66–70] 69 [69–70] 0.845
01.connect 379 [314–462] 345 [290–484] 61 [61–63] 61 [61–65] 45 [37–46] 42 [36–50] 1.140
02.first-turn 1988 [1875–2497] 2478 [1833–2497] 77 [56–105] 98 [70–105] 291 [290–346] 341 [288–346] 1.072
03.warmed 1105.7 [1087.7–1189] 1121.5 [1058.4–1142.5] 13 [11–19] 12.1 [9.8–13.9] 204.4 [200.1–213.2] 204.8 [199.8–209.1] 1.020
04.second-session 4270 [4108–4347] 4286 [4272–4340] 134 [126–156] 147 [137–148] 709 [688–729] 732 [719–736] 0.804
05.control-plane 86 [33–100] 121 [35–126] 13 [0–23] 35 [0–35] 11 [5–20] 24 [5–25] 0.951
06.cron 1327 [1257–1403] 1318 [1241–1320] 44 [40–46] 32 [9–74] 202 [190–213] 198 [188–201] 1.168
07.compaction 422 [408–526] 465 [407–536] 25 [25–53] 48 [25–48] 85 [84–102] 92 [84–104] 1.098
08.shutdown 201 [197–205] 204 [199–207] 133 [130–133] 133 [128–136] 15 [15–15] 15 [15–15] 0.357

The raw first-turn and warmed SQL gate did not pass in this census. Excess attribution is indeterminate; this is not a claim that all increases are noise or background work. No statement or request reduction is claimed for this PR. The new owner discovery runs only when a Workboard CLI command invokes runWithLocalStateOwner; Gateway registration adds handler names, and ordinary Workboard reads/writes continue through the existing store. No new SQL statement or worker request is introduced on the ordinary chat-turn path. Per-operation Workboard CLI statement/request totals were not measured; the boundary tests prove routing, visibility, and settlement, not a call-count reduction. The separate follow-up observations and their limitations are recorded below.

Separate remote follow-up observations; neither measured these CLI branches

The designated Hetzner follow-up and the independently retained Testbox follow-up are separate one-pair observations for the devices/backups work. They are not pooled with each other or with the initial six-run census, and neither measured this Workboard or proxy branch.

Startup through shutdown All-thread SQL, base → candidate SQL delta Worker requests, base → candidate Request delta Evidence limit
Designated Hetzner pair 22583 → 22437 −146 3396 → 3391 −5 Completed totals retained; detailed operation/caller artifacts were lost after later setup exhausted remote temporary storage.
Separate Testbox pair 21645 → 21652 +7 3315 → 3317 +2 Full phase, operation, caller and SQL-class vectors retained and reconciled; event-level async origins are unavailable after reduction.

The Testbox pair compared 427f926e7c2d763e362f59678c6486b6f2f4aec4 with devices/backups candidate b2825e4bebc51e76b62b539daf275d50e212182c. Total wall time was 41.840 → 41.774 seconds. Each phase cell below is a one-sample median [min–max]; warmed SQL and requests are per turn across ten warmed turns, while warmed duration covers that whole window.

Phase All-thread M → C MAIN M → C Requests M → C Duration M → C (s) C/M duration
01.boot 3320.0 [3320.0–3320.0] → 3319.0 [3319.0–3319.0] 1984.0 [1984.0–1984.0] → 1984.0 [1984.0–1984.0] 67.0 [67.0–67.0] → 67.0 [67.0–67.0] 6.449 → 6.340 0.983
01.connect 484.0 [484.0–484.0] → 490.0 [490.0–490.0] 69.0 [69.0–69.0] → 69.0 [69.0–69.0] 72.0 [72.0–72.0] → 73.0 [73.0–73.0] 1.322 → 1.366 1.033
02.first-turn 1813.0 [1813.0–1813.0] → 1816.0 [1816.0–1816.0] 59.0 [59.0–59.0] → 59.0 [59.0–59.0] 264.0 [264.0–264.0] → 263.0 [263.0–263.0] 4.537 → 4.473 0.986
03.warmed 1023.9 [1023.9–1023.9] → 1023.4 [1023.4–1023.4] 7.8 [7.8–7.8] → 7.8 [7.8–7.8] 195.0 [195.0–195.0] → 195.0 [195.0–195.0] 15.207 → 15.145 0.996
04.second-session 3944.0 [3944.0–3944.0] → 3948.0 [3948.0–3948.0] 118.0 [118.0–118.0] → 118.0 [118.0–118.0] 684.0 [684.0–684.0] → 686.0 [686.0–686.0] 6.399 → 6.434 1.005
05.control-plane 34.0 [34.0–34.0] → 34.0 [34.0–34.0] 0.0 [0.0–0.0] → 0.0 [0.0–0.0] 5.0 [5.0–5.0] → 5.0 [5.0–5.0] 1.072 → 1.086 1.013
06.cron 1210.0 [1210.0–1210.0] → 1211.0 [1211.0–1211.0] 44.0 [44.0–44.0] → 44.0 [44.0–44.0] 175.0 [175.0–175.0] → 175.0 [175.0–175.0] 5.287 → 5.280 0.999
07.compaction 406.0 [406.0–406.0] → 405.0 [405.0–405.0] 25.0 [25.0–25.0] → 25.0 [25.0–25.0] 84.0 [84.0–84.0] → 84.0 [84.0–84.0] 1.249 → 1.324 1.060
08.shutdown 195.0 [195.0–195.0] → 195.0 [195.0–195.0] 129.0 [129.0–129.0] → 129.0 [129.0–129.0] 14.0 [14.0–14.0] → 14.0 [14.0–14.0] 0.318 → 0.326 1.025

The retained Testbox observation has unchanged warmed MAIN SQL (7.8/turn) and worker requests (195/turn), with all-thread warmed SQL 1023.9 → 1023.4. Its first-turn change is 1813 → 1816 statements, MAIN stays 59, and worker requests fall 264 → 263. Count reconciliation is complete: first-turn SQL is existing admission trios (+6), config-machine reads (+3), exact-entry reads (−1), and catalog reads (−5), net +3. Whole-workload varying operations sum to +7 statements; the only extra requests are session-row-facts (+1) and sessionRows.sharedFacts (+1). Every named varying caller is byte-identical and no retained native SQL stack names changed operational source. Unknown caller labels and unavailable event-level async origins remain explicit limits; the retained Testbox vectors cannot recover the lost Hetzner vectors.

The designated whole-workload observation is lower; the independent Testbox observation is slightly higher. Under the campaign's updated RAW TURN INCREASE and TARGETS ARE AIMS disposition, there is no confirmed PR-caused regression. This is not a claim that the independent Testbox totals decreased, nor a reconstruction of missing attribution. No statement or request saving is claimed for either CLI branch, and their per-operation CLI totals remain unmeasured.

@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes scripts Repository scripts plugin: workboard size: L labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

Workboard CLI commands use the running Gateway’s store or acquire exclusive offline ownership before opening SQLite.

Example: Run openclaw workboard create "Routed card" after the Gateway has cached an empty board.

  • Before: The CLI succeeds, but the Gateway’s next read can remain empty.
  • After: The Gateway creates Routed card and its next read includes it.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The repair is useful and the earlier lifecycle defect is corrected, but required authority evidence is absent and two current CI failures remain unattributed.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Successful CLI card changes can remain absent from the running Gateway’s next Workboard read.
Reason: The established feature owner authored a focused ownership repair and explicitly records its scope and mixed-version tradeoffs.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep this PR open: it repairs a current Workboard ownership defect, and the previous lifecycle finding is resolved without a new actionable patch defect established.

Priority: P2
Reviewed head: 47c8225b55a17b3502ec5601fcbd7cc130f16bfc

Before merge

  • Add real behavior proof - Authority-chain proof required: the fixture exercises real locks and SQLite but calls handlers outside production Gateway authorization and mocks worker launch; provide sanitized allowed-success and wrong-owner, insufficient-scope, and mid-preparation-revocation traces showing rejection before final writes or launch, with credentials and non-public endpoints redacted; the published-driver upgrade cell also remains pending. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve security review attention item - No concrete authorization bypass was established, but the material authority boundary still needs final-effect validation.
  • Resolve merge risk - The new owner RPC boundary’s rejection of unauthorized and mid-preparation-revoked callers before final effects remains unverified.
  • Complete next step - Determine whether agentsapi-attempt.test.ts:530 and manager-search-reindex-backoff.test.ts:173 fail independently of this PR, and repair only failures caused by its diff.

Findings

None.

Tests

  • Low-value test extensions/workboard/src/cli.test.ts: The configured-remote case removes its configuration fixture and inherits a mocked false selector result, duplicating explicit-remote coverage; remove it or exercise actual configured-target selection.
  • Missing end-to-end proof: Supply production-authorized final-effect traces for allowed, wrong-owner, insufficient-scope, and mid-preparation-revoked callers, plus the pending published-driver upgrade scenario.
Agent review details

How this fits together

The optional Workboard plugin receives CLI and Gateway operations, persists cards through worker-backed SQLite, and returns board snapshots or worker-dispatch results.

flowchart TD
CLI[Workboard CLI] --> Owner[Local state owner]
Owner --> Gateway[Gateway RPC]
Owner --> Offline[Exclusive offline custody]
Gateway --> Store[Workboard store]
Offline --> Store
Store --> SQLite[SQLite worker]
Gateway --> Workers[Subagent workers]
Loading

Technical review

Best possible solution:

Keep Workboard operations with the live Gateway and use exclusive offline custody only after its ownership has released.

Do we have a high-confidence way to reproduce the issue?

Current-main source exposes separate CLI writes beside writer-invalidated resident caches, and the body reports a baseline-failing warmed-read regression; this review ran no target code.

Is this the best way to solve the issue?

Reusing the canonical state owner fixes the producer boundary, preserves explicit remote dispatch, and avoids replaying uncertain mutations.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f694a7e6821e.

Merge-risk options

Maintainer options:

  1. Hold merging for final-effect validation (recommended)
    Keep the PR open until allowed and forbidden callers are exercised through production Gateway authorization, including revocation during preparation before writes or worker launch.

Provenance checked

  • Workboard direct CLI persistence and fallback changes intended behavior with a stated reason (ed46e62: The original CLI supplied local card operations and data-only fallback while preserving remote dispatch failures.)
  • Dispatch cap and mixed-version method selection keeps the original intent (da62904: Expose a request-scoped cap through an additive method so older Gateways reject unsupported limits before starting workers.)
  • Gateway workspace authorization keeps the original intent (0ecbbe2: Persist the caller’s workspace ceiling and intersect it with current dispatch authority without removing full-host operator access.)
  • Canonical local-state routing keeps the original intent (1b08795: Route same-root mutations through the authenticated physical owner and retain exclusive offline custody without uncertain replay.)
  • Gateway generation retirement keeps the original intent (7f0410c: Lifecycle coverage distinguishes retirement of one registration generation from continued operation of its replacement.)

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete authorization bypass was established, but the material authority boundary still needs final-effect validation.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 599bcd7 adds extensions/workboard/src/gateway.ts:132 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 599bcd79e5ae; files: extensions/workboard/src/gateway.ts)
  • Souvik Ghosh: Raw commit da62904 adds extensions/workboard/src/cli.ts:246 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: da629045d95d; files: extensions/workboard/src/cli.ts)

PR surface

Source +117, Tests +343, Docs +12, Config +4, Other +3. Total +479 across 19 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 7 241 124 +117
Tests 6 388 45 +343
Docs 2 28 16 +12
Config 1 4 0 +4
Generated 0 0 0 0
Other 3 7 4 +3
Total 19 668 189 +479

Review metrics

Metric Value Why it matters
Public contract additions One SDK subpath, four function exports, five owner RPC methods The change promotes existing ownership and transport helpers and adds method discovery for independently installed plugins.

Labels

Label changes:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🧂 unranked krab, so this older rating label is no longer current.

Label justifications:

  • P2: The defect affects consistency of the optional Workboard CLI and has a focused owner-boundary repair.
  • merge-risk: 🚨 compatibility: The public SDK grows and older live plugins intentionally refuse new owner-routed commands; the feature owner explicitly accepts that compatibility tradeoff.
  • merge-risk: 🚨 security-boundary: The additional RPCs bind remote requester authority and expected-owner identity to persisted mutations and worker launch.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add final-effect proof for wrong-owner and insufficient-scope callers, and prove mid-preparation revocation invalidates authority before writes or worker launch.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-10T13:40:13.064Z sha 3c0ab3d :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-10T14:15:56.532Z sha eff5e03 :: needs real behavior proof before merge. :: [P2] Update lifecycle coverage for per-command CLI stores

Reviewed October 10, 2026, 10:42 AM ET / 14:42 UTC (Revision 3).

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 10, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Oct 10, 2026
@steipete
steipete merged commit c4e70bc into main Oct 10, 2026
237 of 242 checks passed
@steipete
steipete deleted the dbasync/ow3-workboard branch October 10, 2026 15:22
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
…claw#168457)

* feat(plugin-sdk): expose local state owner routing for CLI commands

* fix(workboard): route CLI mutations through the active Gateway

* fix(workboard): preserve dispatch without explicit parameters

* fix(plugin-sdk): type and account for the CLI ownership surface

* test(workboard): preserve state owner module exports

* test(workboard): prune the retired config mock allowance

* test(workboard): load plugin owners through public test surfaces

* test(workboard): type owner routing fixtures precisely

* test(workboard): type the facade export as a standalone function

* fix(workboard): report empty worker results for offline dispatch

* test(workboard): exercise Gateway lifecycle through RPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. plugin: workboard rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: L status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant