GeezerVison is showing github.com — Console surface for bridge wake-hook management (follow-up to #14378) · Issue #14544 · developing-today/code
Console surface for bridge wake-hook management (follow-up to #14378) #14544DescriptionFollow-up left open by bridge S12 (#14378, PR #14543): retiring the standalone bridge page removed its wake-hook form. Wake hooks are still managed through the unchanged API (GET/POST /api//wake-hooks) but have no console surface. Add hook management to the PM Stack console (list/create/remove wake hooks for an agent identity), riding the S7 edge-direct read/write path where it fits, so the console is the single owner surface for the bridge. Filed by Felix when closing #14378.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T18:41:29Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "c11f41086f57d626be7eb582763b721f8f557408"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- The PM Stack console lists, creates, and removes wake hooks for an agent identity via the existing wake-hooks API.
- Hook management rides the S7 edge-direct read/write path where it fits; the console is the single owner surface for the bridge (no standalone bridge page is restored).
- Creating/removing a hook in the console is reflected by a subsequent list call, with evidence recorded on this issue.
Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 24, 2026 ContributorAuthor More actions Intake review
Merged PRs mentioning it: [(8492, 'ci(mcpx-release): restore the mcpx/v* tag trigger (#7807)')] — none carries an explicit fixes-reference verified this run; treated as still live and flagged here.
Notes: Follow-up to issue #14378 (bridge S12, PR #14543). Suggested approach: extend the console's existing bridge surface using the unchanged GET/POST /api//wake-hooks API. Risk: duplicating the retired standalone page's form logic instead of reusing the S7 edge path — keep the console the single owner surface.
Risks / suggested approach: See notes above. Effort and priority labels applied by the monitor reflect the evidence in the issue body at intake.
🤖 Agent note · filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-24 13:14 CST
- Found via: monitor reconciliation (intake enrichment, protocol §5)
- Task: Intake pass — acceptance criteria appended, labels normalised, meta/enriched applied
- Expectation: Triage/route through the normal queue path
- Links: n/a
dezren39 commented on Nov 24, 2026 Progress note — wake-hook console slice implemented, verification partially landed
Lane: xaltha · Branch: xaltha/14544-wake-hook-console (worktree code-14544, commit beefb6a0e, pushed) · No PR yet: opening it once the two still-running verification runs land, per the slice's verify-first rule.
What landed on the branch
- Bridge (
pkgs/message-bridge/worker/src/fleet.js): GET /fleet/<credential>/wake-hooks joins the read-scope owner views — the same showHook projection as the owner's GET /api/<owner>/wake-hooks (address, kind, host, has_token; never token or path). Setting/removing stay owner-token acts.
- CLI (
pkgs/fleet/crates/fleet-bridge): new fleet bridge wake-hooks verb — list; --set - reads the hook JSON from stdin (a hook token never travels as an argument); --remove --address A posts the address alone. Per-verb help + book page (pkgs/fleet/book/reference/bridge.md) in step.
- Console (
pm-stack/console): Ops.wakeHooks/setWakeHook/removeWakeHook, the wake-hooks platform read, agent.wake-hook-set/agent.wake-hook-remove actions, and a Wake hooks card on the Agents screen (list, set form, per-hook remove) in public/app.js.
- Edge-direct (S7) where it fits: the list rides the edge path —
edge/src/direct.ts translates the verb to the bridge's read-scope view. A set is never held (its arguments carry the hook token — the mint precedent in edge-proto.ts); a remove is HOLDABLE like agent.revoke-enroll, with subjectOf mirrored in src/edge-proto.ts and public/outbox.js. No standalone bridge page restored.
Verification (remote only; fleet queue dispatch is blocked by TLS defect #13185, so all runs are fleet-command.yml fallbacks)
- ✅ Run 45485763017:
bun test test/console.test.ts test/direct.test.ts — 96 pass, 0 fail (includes the new wake-hook Ops/action/audit/holdable test and the direct.ts translation + needs-a-machine refusal tests). The same run's bridge half failed on environment only: the runner image has no node binary (exit 127).
- ⏳ Run 45488610318:
bun test test/console-views.test.mjs (read-scope list equals owner's, no-scope 404, POST 405, set→list→remove reflected) — still in progress at note time. An earlier attempt (45487352591) died on a command -v probe under set -e before the test ran.
- ⏳ Run 45487790657:
cargo test -p fleet-bridge via nix develop — still in progress. A direct cargo attempt (45485808368) failed on the runner's rustup having no default toolchain (environment, not code).
What's left
- Confirm runs 45488610318 and 45487790657 green (fix forward if either names the new code).
- Open the PR (Refs Console surface for bridge wake-hook management (follow-up to #14378) #14544) with this evidence.
- Acceptance (3)'s live create→list→remove reflection is covered by the console-views test against the real route/store; a deployed-console pass can follow once the edge and bridge deploy.
developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Landing record — wake-hook console slice merged
PR: #14685 — MERGED 2026-11-25T00:33:26Z, merge commit d7e91888af3ec2ab211a9edc15acb48947d0acb7. Implementation by xaltha (beefb6a0ef5); landing finished by ITEM-WORK-247 per the resume protocol in xaltha's progress note above.
Verification of the two runs left open
- Run 45488610318 (
bun test test/console-views.test.mjs): success — read-scope list equals owner's, no-scope 404, POST 405, set→list→remove reflected.
- Run 45487790657 (
cargo test -p fleet-bridge): cancelled before reporting, so the suite was re-run on the merged tree in a laptop worktree (named fallback — repo CI runs on main only; Actions exec cannot check out a pre-merge branch). First run: 28 passed, 2 failed — wake_hooks_verb_shapes and usage_errors_exit_2_before_any_request both tripped the debug_assert in parse(): the wake-hooks verb parses --address as a value flag, but the name was missing from VALUE_FLAGS.
- Fix-forward (
8362c289835, in the PR): register --address in VALUE_FLAGS — one line. Re-run: 30 passed, 0 failed.
- Post-merge re-runs on the exact PR tree (laptop worktree): console suites
bun test test/console.test.ts test/direct.test.ts 96 pass / 0 fail; bun test test/console-views.test.mjs 8 pass / 0 fail (includes the new wake-hooks read-scope test).
The branch was 173 commits behind main; origin/main was merged in cleanly (88c10934499, no conflicts) before the re-runs above, so all results are on the merged tree.
What remains
Per xaltha's note: acceptance (3)'s live create→list→remove reflection is covered by the console-views test against the real route/store; a deployed-console pass follows once the edge and bridge deploy. This issue stays open on that deployed pass — the PR used Refs #14544, not a closing keyword.
dezren39 commented on Nov 26, 2026 Triage (lane 9, queue task 23897, 2026-11-26): the code is done. What's left is the live check.
- Landed: PR Console surface for bridge wake-hook management (#14544) #14685 merged on 2026-11-25. It adds the console wake-hooks view, the read-scope bridge route and the
fleet bridge wake-hooks verb. Its tests passed on the merged tree.
- Deployed:
- The message-bridge deploy for that merge (
d7e91888a) succeeded, and later deploys did too. The latest is f8b16e506, which is live at bridge.security.cab as Worker version e7d9804d….
- The PM console edge deploy has also succeeded on every main push since then, most recently at 11:30Z today.
- Still open: acceptance (3), a create, list, remove round trip against the deployed console and bridge with the result recorded here.
Verdict: valid, and no code change is needed. Returning it to the queue so the deployed check can run once the laptop's fleet binary is rebuilt from main, or through the console with an owner session. Then close this with that evidence.
Generated by Claude Code dezren39 commented on Nov 26, 2026
Triage complete: #14544 is valid and its acceptance is now verified.
- PR Console surface for bridge wake-hook management (#14544) #14685 merged at
d7e91888af3ec2ab211a9edc15acb48947d0acb7; the bridge worker and PM console edge deployments succeeded. The merged console test covered the wake-hook view and set/list/remove behavior.
- Live deployed round trip: used the source-built
fleet bridge wake-hooks command to create and remove agent:codex-14544-console-probe-20261126 through the owner API. Between those actions, the exact GET /fleet/<credential>/wake-hooks read route used by the console returned the hook (example.com, no hook token); after removal, it was absent. Both reads returned HTTP 200.
- The synthetic hook was removed and the final list confirmed it absent.
Closing as completed; no code follow-up remains for this issue. dezren39 commented on Nov 26, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|