Commit graph Bifrost/tools/dispatch-agent-requests.mjs
Author SHA1 Message Date
Meta Vens
42728a677a Remove unused postBridgeJson/postDispatchRunJson and their ensureTrailingSlash copies
REC-099: `postBridgeJson` (tools/bifrost-bridge.mjs) and
`postDispatchRunJson` (tools/dispatch-agent-requests.mjs) each occur
exactly once in their file: their own definition, with no caller.
Each was the sole caller of that file's private `ensureTrailingSlash`
copy, which becomes dead in the same cut. The `ensureTrailingSlash`
copies in agent-transport.mjs and governance-threads.mjs are separate,
still-called definitions and were left untouched.

Kill attempts that failed: none.
- `rg -n "postBridgeJson" tools/*.mjs` -> only its own (now removed)
  definition.
- `rg -n "postDispatchRunJson" tools/*.mjs` -> only its own (now
  removed) definition.
- `rg -n "ensureTrailingSlash" tools/bifrost-bridge.mjs` and the same
  against tools/dispatch-agent-requests.mjs -> confirmed each file's
  copy had exactly one caller (the function just removed) before
  cutting it.

Checks run: `node --check tools/bifrost-bridge.mjs` and
`node --check tools/dispatch-agent-requests.mjs` -> both syntax OK. No
package.json/test suite exists for these standalone tool scripts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 14:41:21 +02:00
Meta Vens
cde3a78874 Move public crossings onto typed Bifrost transport 2026-07-15 22:16:07 +01:00
Meta Vens
ba01b78d68 Fix Bifrost bridge runtime and fixture env isolation 2026-06-22 14:03:07 +01:00
Meta Vens
a22092feff Require receipts for non-github bridge activity 2026-06-17 12:06:20 +01:00
Meta Vens
1fdf6b8a87 Harden dispatched app-server sandbox defaults 2026-06-17 10:08:16 +01:00
Meta Vens
390dcf16d2 Scrub ambient GitHub auth from dispatch turns 2026-06-17 09:13:26 +01:00
Meta Vens
f0661a8995 Lock recovery hatches in dispatched turns 2026-06-17 08:38:21 +01:00
Meta Vens
45dd81f968 Stop leaking real GitHub tool paths to dispatch turns 2026-06-17 08:08:49 +01:00
Meta Vens
01bc5558af Gate dispatched GitHub CLI mutations 2026-06-17 07:53:38 +01:00
Meta Vens
d93267eb47 Enforce bridge-owned GitHub pushes in dispatch turns 2026-06-17 06:51:08 +01:00
Meta Vens
793a910886 Fail closed when agent receipts cannot be recorded 2026-06-17 05:56:25 +01:00
Meta Vens
2281b0e63d Gate GitHub bridge actions and receipt agent runs 2026-06-17 04:03:14 +01:00
Meta Vens
db1d908de2 Clarify Bifrost observability receipts 2026-05-21 19:55:53 +01:00
Meta Vens
d68d4240e2 Clarify Bifrost dispatch receipts 2026-05-21 00:57:12 +01:00
Meta Vens
cd5f025efc Send dispatch receipts through Bifrost persona 2026-05-20 22:38:38 +01:00
Meta Vens
0221f298a5 Route agent requests through Codex app turns 2026-05-20 16:48:20 +01:00