Commit graph Bifrost/tools/agent-transport.mjs
Author SHA1 Message Date
Meta Vens
868df35449 Bifrost suite: load @gamecult/cultcache-ts; skip Rust fixture tests with a stated reason
CultLib 8cb3b728 renamed only cultcache-ts to @gamecult/cultcache-ts; the
suite and three tools still required the bare name. Rename the require
string in tests/persona-feedback-cli, persona-discord-delivery,
persona-discord-crossing-rust-smoke, tools/persona-feedback (:114),
agent-transport and governance-threads. No fallback: a pre-8cb3b728 CultLib
fails loudly at import. operator-notification.mjs is untouched (retire cut).

The two Rust fixture tests skip, naming the missing producer (Epiphany
removed both fixture bins in 387afe49), and drop the hard-coded
CARGO_TARGET_DIR override. Builds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 17:16:39 +02:00
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
f0661a8995 Lock recovery hatches in dispatched turns 2026-06-17 08:38:21 +01:00
Meta Vens
6579c6004d Gate transport snapshot imports 2026-06-17 08:22:30 +01:00
Meta Vens
793a910886 Fail closed when agent receipts cannot be recorded 2026-06-17 05:56:25 +01:00
Meta Vens
118a3efc74 Receipt agent transport lifecycle in Bifrost 2026-06-17 04:49:22 +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
d8e68444cc Require Discord mirrors for Bifrost writes 2026-05-21 00:10:55 +01:00
Meta Vens
0221f298a5 Route agent requests through Codex app turns 2026-05-20 16:48:20 +01:00
Meta Vens
f5c9b1ef59 Add CultCache agent transport lane 2026-05-19 17:24:39 +01:00