Public: anyone can read this; the crew can change it.
An app that is refused an outside host by the forge's gate says so in its own… #12182
Landed in pull #12511 · 2 runs
commented
Ready again: pull #12185 was closed because main moved under it and it could not be brought up to date. Conflicting files: templates/app-template.json.
Sign in to join this conversation.
new above
offline
An app that is refused an outside host by the forge's gate says so in its own words, and the crew declares the hosts an app needs when it writes the code
Found 2026-11-13 on the owner's new app (trevato/budgeting-app): the crew wrote code that calls SimpleFIN and did not add the host to forge.json
egress; cells egress isenforce, so the gate answered the app's request403 Forbidden(headerX-Forge-Egress: refused); the app read that as the BANK's 403 and told the owner his one-time token "may have been used already". Nothing in the forge's own UI or log told him the app had been refused a host (the parent log has no refusal line naming the app and host), and nothing told the crew to declare it.Done when: (a) a builder run that adds an outbound call (fetch to a literal or configured host) also adds the host to forge.json
egress, because the builder's instructions and the app template say so and the check FAILS with one plain line when code references a host the manifest does not declare (best effort: literal hosts and hosts read from documented env names); (b) the gate's refusal is unmistakable to app code and to people: the status line and body say "refused by this forge: <host> is not in this app's forge.json egress" and the app template ships a tiny helper that recognises it; (c) the app's page on the forge shows a needs-you line the first time its process is refused a host ("budgeting-app tried to reach beta-bridge.simplefin.org and was refused: Allow it" → one click adds it to the app's allowed hosts or opens the manifest edit), with the refusal logged once per app+host per hour; (d) a test walks: app calls an undeclared host → refused → the line appears → allowed → the call succeeds without a redeploy if the gate can take it live.