What we copy from Grok Bot, and what we change
We copy Grok Bot's operating model and none of its product. Grok Bot 1.0 (11 November 2026) puts a bot in Slack threads that hands coding to cloud agents and posts their artifacts back.7 The bank builds the same shape on its own AWS accounts with Claude Code (why the product does not fit a bank: Lessons from the field).
- We copy where work happens and how it comes back: a coordinator that never writes code, a thread per task, a cloud virtual machine (VM) per run, and evidence posted back to the thread.89
- We change identity, autonomy and how a stop works: per-role service identities instead of the owner's logins, no proactive check-ins, follow-ups queued rather than injected, and a stop enforced by infrastructure, not asked of the agent.1114
Check-ins stay off because a November 2026 report counted 31 unrequested attempts by Grok Bot to read connected apps in five days, continuing after an employee told it four times to stop.13
All nine Grok Bot patterns, with the bank's version and the reason 9 rows
| Grok Bot pattern | The bank's version | Why |
|---|---|---|
| Copy | ||
| Coding goes to Cursor Projects, whose coordinator plans, delegates and "doesn't write code itself"8 | The coordinator routes, runs intake and reports; code is written only inside a run's virtual machine (VM) | Keeps the bot at two of the three Rule-of-Two properties (08.4) |
| Work lives in a thread; agents run in isolated cloud VMs9 | Thread → task → runs; one ephemeral VM per run, at most 4 hours | One unit to authorise, cancel, bill and audit |
| Screenshots, videos and logs come back to the thread9 | Per-claim verdicts, a link to the proof page, a draft PR and open risks | Review happens on evidence (chapter 06) |
| Routines fire on events as well as schedules, and an hourly schedule "can use a week of usage in a day"10 | Humans trigger work at launch; event triggers (never polling) arrive at F1 | Every run costs money and reviewer attention |
| Change | ||
| Bots use the owner's own logins and permissions11 | Per-role service identities; the requester is recorded and barred from approving | A requester's token hides the agent and breaks segregation of duties (chapter 09) |
| All of a user's Bots share one computer; its screens are "not separate security boundaries"12 | One VM per run, destroyed when the run ends | Nothing carries over from one task to the next |
| Proactive check-ins | Off. The bot starts work or reads a system only when someone asks, and answers in that thread | A November 2026 report counted 31 unrequested attempts to read connected apps in five days, continuing after an employee told the Bot four times to stop; none returned data only because the reporter's own gateway held each one13 |
| Follow-ups go into the running session | Follow-ups start a new run until gate L; then they are queued rows the run reads | Ramp queues follow-ups that arrive mid-run instead of injecting them ("We chose to queue them")14 |
| Stop is a request to the agent | Stop is enforced by infrastructure: terminate compute, revoke the token, attach an IAM deny, mark the registry | An agent can ignore a message; it cannot ignore a terminated VM |
We also adopt the hard rules of benny, the dormant Slack automation pack in Lauren Tan's pstack (verdict Inspire: port the rules, not the Cursor runtime). Above all, the coordinator is the only Slack writer, and the workflow never merges or deploys.15
Deep dive: the benny rules, in Tan's words 1 min
Thread coordinates never change, the bot never posts a root message in a channel, no child run gets a Slack token, missing configuration means stop rather than guess, and the workflow opens draft PRs only.15
"The coordinator is the only Slack poster… Never give a child a Slack token."
"Never merge or deploy from this workflow."
A thread, step by step
A request costs the requester one message, one button press and, later, one review; the platform does the rest, and the thread shows where it is, as in the report's running example.
@agent implement: card spending limit screen per ISSUE-12
Here is what I understood. Press Start if it is right.
- What
- Monthly spending-limit screen in card settings, behind a flag; saves through the existing card-controls API, which stays unchanged
- Done when
- 3 acceptance criteria from ISSUE-12
- Agent
- implement · Opus 5.5 · fresh sandbox
- Comes back
- draft PR + proof page (video, API transcript, property tests)
- Open risk
- Android not covered until month 4
can it do weekly limits too?
Jonas added a request. Only your messages reach the run. Adopt it?
Started. I will keep this card current and post here when there is something to look at.
- Step
- plan written → coding →
./x verify - Budget
- USD 10, enforced at the gateway
- Limit
- 4 hours, then the run ends
Done: 3 claims verified, 1 gap. Draft PR #214 is ready for your review.
- Limit can be set in card settings, and the screen shows what remains: verified (CI video)
- The limit is saved through the existing card-controls API, unchanged: verified (API transcript)
- An empty, zero or negative limit shows an inline error: verified (property tests)
- Android screen: gap (no Android surface until month 4, so nothing can prove it yet)
- Ask and acknowledgeStored in the inbox, then acknowledged within Slack's three seconds.5no model involved
- IntakeOne tool-less Sonnet 5.5 call reads only Ingrid's messages and drafts the card above. Its "Done when" line is the contract the verifier checks.seconds · USD 0.50 cap
- StartNothing runs until Ingrid presses Start; the registry checks her quota.human decision
- RunA fresh VM runs Claude Code. Failing continuous integration (CI) gets at most two repair rounds.≤4 h
- ReportPer-claim verdicts (
verified,failed,not-run,gap), proof page, draft PR, open risks.from the verifier - ReadyIngrid marks Ready and becomes requester of record; an independent approver attests on the proof page.chapter 09
Backpressure is visible. Each engineer may have 3 hosted runs going at once at launch, 8 from gate L (month 5) and 15 from gate F1 (month 6); these are ceilings, not forecasts. Review queues can also hold work back, and the bot says why.1
High-risk (T2) work stays in atelier mode until gate L. The bot offers a bounded subtask or a worktree the requester steers interactively, and never starts a background T2 run.1
Deep dive: queue rules, the intake file and interactive T2 work 1 min
Queue rules. Implement tasks queue while the requester has three or more agent PRs waiting for review, and open T2 agent PRs per domain are capped at twice that domain's certified approvers.1
The intake file. The card's "Done when" line is the oracle: how we will know the change is right. Behind the card sits a draft agent-task.yml with acceptance criteria in EARS form (the Easy Approach to Requirements Syntax), the evidence types, the risk tier and the data class; for T1 and T2 changes it adds a fall-back plan and a security-impact note (chapter 05).
Interactive T2 work. The requester steers the worktree on a laptop or, from month 4, attached to a hosted VM with ./x agent attach.1
All commands and buttons, and the Slack limits behind them 9 rows
| Command | What it does | From |
|---|---|---|
@agent <verb> | Starts a task: ask, investigate, implement or research; plain language works too | Launch |
!status | Private status of this thread's task, in the style of the per-thread command in Claude Tag, Anthropic's Slack agent (public beta)16 | Launch |
!stop | Terminates compute, revokes the run token, attaches a deny in AWS Identity and Access Management (IAM); the task stays open | Launch |
!why | Shows which rules or classifier output routed the request | Launch |
!new | Starts a new task in the same thread | Launch |
/agents | What is running: mine, my team's, needs review, one task | Launch |
| Start · Edit · Cancel · Sponsor · Adopt | Intake and authorisation decisions, answerable only by the person they are for | Launch |
!steer | Delivers a message to the running run | Gate L · month 5 |
| App Home | Personal dashboard: needs you, running, ready for review | Gate L · month 5 |
Slack is a surface with hard limits, so it cannot hold state. Events must be acknowledged within three seconds or Slack retries them.5 A streamed message lasts at most 10 minutes and 12,000 characters, so long runs use a status card updated through one outbox instead.17 Posting is limited to about one message a second per channel.18 And the bot must stay an internal app: internal apps keep conversations.replies at 50+ calls a minute and 1,000 objects, while commercially distributed apps outside the Marketplace fall to one call and 15 objects.19
Ingress, identity and who may instruct
The bot has no authority of its own: a run may do only what the person who asked, the people who can read the thread and the cell all allow, and the identity broker enforces that bound.
Ingress: store first, then acknowledge
Ingress connects over Slack's Socket Mode, so there is no public endpoint.20 It drops guests, external users and bots, masks Norwegian identity, account and card numbers, and stores each event in a Postgres inbox before acknowledging it. A crash can then cause a redelivery, which the inbox ignores, but never a loss.
Deep dive: the five ingress steps 1 min
- ReceiveSocket Mode on two Fargate tasks: an outbound WebSocket, so no public endpoint. Slack allows up to 10 connections and suggests the mode for apps behind a firewall.20control account
- VerifyCheck the event's workspace and enterprise, and that it is fresh.21no model
- DropGuests, Slack Connect channels, external users and bots, using Slack's own user and channel flags.22no model
- ScrubData loss prevention (DLP) masks fødselsnummer (mod-11), account numbers, IBANs (mod-97) and card numbers (Luhn).before storage
- Inbox, then ackInsert into the Postgres inbox, deduplicated on
event_id, then acknowledge. The inbox is also the work queue.one queue, one ordering
The red team asked for one queue rather than a relay plus a queue, so the inbox does both jobs (decision c25).23
The identity broker
The broker, a small service with no large language model (LLM), mints the only tokens a run ever holds. It is the trust anchor because Slack gives the bot only a Slack user ID and standard delegation flows cannot start from a Slack event.24 It maps that ID to the person's Microsoft Entra ID groups; its tokens last 15-30 minutes and can only narrow, and the coordinator cannot mint at all.
Deep dive: how the broker links identities and mints tokens 1 min
Slack gives the bot an authenticated Slack user ID, never a token from the bank's identity provider. The broker maps that ID to an Entra object ID through a link table. An email match is enough for green work only; amber work, implementing, sponsoring and approving need a one-time OpenID Connect (OIDC) link. Entitlements come from Entra groups, are cached for at most 15 minutes and are revoked when the directory's SCIM (System for Cross-domain Identity Management) feed removes the person.
Standard delegation flows need the user's own token, and AgentCore's user-ID variant "treats the userId value as an opaque string and does not verify it".24 So the broker mints only against signed Slack evidence or a verified VM instance identity, once per event or run. Its tokens carry req_sub, sponsor_sub, task_id, run_id, eff_tier, profile and cell.
- Agent profile
- What this agent type may ever touch, from the catalog (08.4).
- Requester, or sponsor
- The asker's Entra groups, cached for at most 15 minutes.
- Audience ceiling
- Who can read the thread. Public channel → green; private channel → the lowest tier among its members, checked against the channel's label; direct message → the requester's own; guests or Slack Connect present → refused.
- Cell
- General, or AML. The AML cell would be a separate deployment; the general bot never sits in it.
Three worked examples: a green answer, amber for one domain, and a denial 1 min
A bot whose rights come only from its profile fails the test in the caption; Claude Tag's channel sessions are an example ("What Claude can do never changes based on who asked").25 The bank's bot instead answers each of these three requests differently.
Green answer
A question in a company-wide channel. Everyone can read the answer, so the ceiling is green whatever the asker holds.
Amber for that domain, from month 6
The payments on-call engineer asks why test payments fail. She and the channel both carry amber for payments, so masked non-production telemetry is in scope; the detail sits behind a link.
Denied, with the reason
No entitlement opens it in the general cell. The bot says why in the thread and points to the AML team's own process.
The router never denies silently, because a silent no teaches people to ask a better-entitled colleague to re-post. It says which of three outcomes applies:
- Downgrade. Start the green part now and say what was left out.
- Sponsor. Offer the owning team's on-call a button; if they accept, they become requester of record for that part and receive the amber output.
- Deny. Only for red data, AML work and external audiences, always with the reason.
Who may instruct a run
Only the requester's and the sponsor's messages reach a run. For anyone else's, the requester gets an Adopt button, as in the mockup, and an adopted contributor cannot approve the change on T2; without this rule, the red team found, a colleague could shape a change and then approve it.
Everything the bot posts goes through one outbox with link previews off, because rendered previews are an exfiltration channel; a red-team exercise tests this before W-tech, the launch gate in weeks 12-13 (chapter 10).
Deep dive: adoption records, PR comments and the outbox rules 1 min
Messages from the requester and the sponsor become run_inbox rows that the run reads; anyone else's message is not delivered. Adoption is recorded as adopted_from_oid. The red-team finding is issue 6. Agents read PR comments only from the requester, the sponsor and assigned approvers. Claude Tag makes the same distinction, treating other people's messages as "information for the task rather than … instructions",25 and Open-Inspect refuses follow-ups from other users.27
The outbox is the bot's only path into Slack. It posts with link and media unfurling off, escapes mentions and control sequences, allows links only to listed domains, and quotes and labels any text an agent wrote. The test is the frozen-build red-team exercise, spike S2.
The agent catalog
Ten agent types, each defined as a file, are all limited to green data at launch: code, docs, synthetic data and public sources. Amber data (operational metadata, masked telemetry, engineering Slack) comes later, only through requester-bound sessions. No agent ever reaches red data: production personal, financial and card data, and secrets.1
Meta's Rule of Two says an agent session should hold at most two of three properties: U, untrusted input; S, sensitive access; C, state change or external communication.3 Where a type needs all three, the catalog names the control that breaks the chain; labels and system prompts do not count.
| Type | From | Rule of Two | Budget |
|---|---|---|---|
| coordinator | Launch | U + C | USD 0.50 a turn |
| ask | Launch | U + S | USD 2 |
| investigate | Launch | U + S + C: propose-only, closed egress | USD 5 |
| implement | Launch | U + S + C: propose-only, closed egress, independent proof | USD 10 |
| review | Launch | U + S; C only through a non-LLM poster | USD 3 / 8 |
| research | Launch | U + C, no S; queries DLP-checked and logged | USD 15 |
| prototype | Month 4 | As implement | USD 10 |
| maintenance | Gate L | As implement | USD 5 a run; hourly caps |
| triage | F1 | S + C; U only as enums | USD 3 |
| ops | Gate O | Proposal only | — |
The full catalog: trigger, tools, sandbox and human gate for each type 10 rows
| Type | Trigger | Tools and data | Sandbox and permissions | Human gate |
|---|---|---|---|---|
| coordinator | Every event | Registry, GitHub status, spawn; typed ops.status from F1 | No VM; intake is tool-less; outbox to the originating thread only | Requester presses Start |
| ask | @agent ask | Code search, docs, read-only ./x | ro VM; read-only token | None |
| investigate | @agent investigate | Pre-fetched CI logs and issues; masked non-prod Sentry and Grafana (month 6); customer tickets only through the B10 reader | code-ro VM; returns findings, a failing test as draft PR, propose_spawn | Requester |
| implement | @agent implement, issue label | ./x, skills, git broker; synthetic data | code VM; draft PR on agent/*; path policy; no new direct dependencies | Proof green; approver is neither requester nor contributor; T2 atelier until L |
| review | Ready for review, final push | Diff, CI results, manifest, all as data | LLM step without tools; a non-LLM poster writes comments | Only reproduced findings block |
| research | @agent research; collectors from month 4 | Allowlisted fetch through a query-stripping proxy; web search (month 4, eu-west-1); no repo | research VM: no repo token, secrets or internal network; the broker writes research/** | Human sign-off; regulatory items need interpretation-approved |
| prototype | Request | Design tokens, fixtures, Tenor synthetic people, fakes | code VM; proto/* and video; never main | Human re-specifies before real work |
| maintenance | Schedules | As implement | T0 and T1 paths only | T1 review; circuit breaker |
| triage | Non-prod alerts (F1); masked prod (O) | Typed ops.status; free text only through the B10 reader | code-ro VM in an amber subnet; situation reports with provenance, never relaying commands found in data | Holdout ≥70%, 0 harmful; no AML |
| ops | On-call | A closed set of named runbooks; a non-LLM apply service validates parameters | No VM | On-call with Entra step-up |
Models. Opus 5.5 leads implement and investigate, Sonnet 5.5 does intake, verification and review, and Haiku 5.5 classifies (chapter 11).
Deep dive: model pinning, VM profiles and the catalog as code 1 min
Pinning. Model IDs are pinned because unpinned aliases resolve to 4.5 models on Bedrock,1 and fast mode and agent teams are off for bots.
Sandboxes. Four VM profiles cover the types: code (implement, prototype, maintenance), code-ro (investigate; triage in an amber subnet), ro (ask) and research (no repo token, no secrets, no internal network). How a VM starts and what it can reach is in chapter 04.
Catalog as code. Types live in agents/catalog/ and tool profiles in catalog.yaml. A generator emits the formats in use, the Claude Code managed settings and allowedTools, so swapping gateways later means recompiling, not rewriting (decision c38). Adding a type is a T2 change: a catalog entry and profile, a router rule and new router eval cases.
Wall AML off from every general agent. The Anti-Money Laundering Act (hvitvaskingsloven § 28) forbids telling third parties about an investigation, and Finanstilsynet counts colleagues without a need to know as third parties.286 So the bot is not installed in AML channels or those of the money laundering reporting officer (MLRO), and leaves if invited. AML tasks are invisible to non-AML viewers, even as titles or counts. No AML case content reaches any model until a legal opinion settles whether a model provider acts på vegne av (on behalf of) the bank. An AML agent, if ever wanted, gets its own cell: Slack app, gateway, registry and operators.1
Deep dive: hvitvaskingsloven § 28 and Finanstilsynet's reading of it 1 min
Hvitvaskingsloven § 28 (the Anti-Money Laundering Act) forbids telling the customer or third parties about investigations or reports to Økokrim.28 Finanstilsynet's guidance, Rundskriv 4/2022, reads tredjepersoner (third parties) to include "ansatte … som ikke har behov for slik informasjon" (employees who do not need the information), applies a need-to-know principle "også innad i en juridisk enhet" (also within one legal entity), and covers anything from which someone "vil eller må forstå" (will or must understand) that an investigation is under way.6
Routing
Rules route; a model may only help, and never on risk. Of the ten steps every message takes, only step 4 is not deterministic code: a language-model classifier that arrives at gate F1 (month 6) once it passes its own eval.
Targets and tier are data, not prompts. Targets come from services.yaml and CODEOWNERS and are always teams or services, never individuals: the EU AI Act lists systems that allocate tasks by individual behaviour as high-risk (Annex III, point 4), and the bank designs as if the Act already applied in Norway.30 The tier comes from the changed paths and data class, by the same rules as review-tiers.yml, so a model that misreads "change the ledger posting rule" as low risk cannot make it so (chapter 09).
Deep dive: what the other routing steps do 1 min
Steps 1 and 2 handle everything that is not a new request. Control commands go straight to the registry. A message in a thread with an open task is either a run_inbox row, if it comes from the requester or sponsor, or an offer to adopt it.
Step 3 is a short list of rules: the verb after @agent, the channel binding in channels.yaml (for example, #reg-radar routes to research), a linked PR, or an alert key. Open-Inspect uses the same precedence of rules before any classifier, and its rule is "Ambiguity asks, never guesses".27
Step 4, from F1, is Haiku 5.5 on Bedrock's eu. profile. It returns structured output and has no tools, which makes it a "quarantined" reader: Slack text can sway its answer but cannot make it act. Anthropic's routing guide recommends Haiku 5.5 at low effort for high-volume classification.29
Steps 7 to 9 stop duplicates, ask one question when unsure, and write a routing_decision row that !why shows and the eval set reuses.
Do not turn on the classifier until it passes a router eval: 150-300 labelled requests, 20% held out from prompt authors, and zero risk under-classifications. Borrow the example targets in Anthropic's guide: about 95% routing accuracy, at least 80% on edge cases, rerouting below 10%, and at most a 5-10% accuracy drop for non-primary languages such as Norwegian.29 Re-run it in CI whenever the prompt, model or catalog changes (chapter 13).
The router, registry and tool catalog meet the team's ask for tools and routing (requirement R10) at launch, except ops data, triage and free-text routing, which wait for F1. R10 and the chat-coordination ask (R4) are only partly met at W-tech, by design (08.8).
The team's ask for tools and routing, answered line by line 6 rows
| The ask | The answer | When |
|---|---|---|
| Bots can see what is running | The registry, through /agents, !status and status cards; App Home later | Launch App Home at L |
| Bots can see GitHub | PR and CI status for the coordinator; a short-lived read-only token inside runs | Launch |
| Bots can see ops data | Typed ops.status; free text only inside requester-bound sessions | F1 |
| Bots help directly | Questions about running work, a PR or CI are answered from the registry and GitHub status, or by ask | Launch |
| Bots route to the right agent | Deterministic routing to implement, investigate or research; triage from F1; free-text classification from F1 | Launch F1 |
| New agents can be added | A T2 change: catalog entry and profile, router rule, new eval cases | Launch |
Tools and connectivity
Tools connect to agents by one rule: the credential decides. A tool that needs no credential beyond what the VM holds is a command-line tool plus a skill in the sandbox; one that needs a brokered credential or crosses a trust zone is a Model Context Protocol (MCP) server behind a gateway. Writes are always propose-only, executed by a non-LLM service, and tool output is untrusted data.
Tool catalog excerpt: effect, trust, credential and phase 11 rows
| Tool | Effect | Trust | Credential (holder) | Phase |
|---|---|---|---|---|
repo.clone, github.read, ci.logs.read | read | untrusted | Read-only App token, 15-30 min, no secret-scanning permission (broker → VM) | Launch |
context.prefetch | read | untrusted | Launcher, never inside the VM | Launch |
git.publish | propose | — | Publisher (non-LLM broker) | Launch |
review.post | write | — | review App in the non-LLM poster | Launch |
slack.post | write | — | Outbox; originating thread only; no unfurls | Launch |
web.fetch / web.search | read | untrusted | Query-stripping proxy / AgentCore Web Search | Launch Month 4 |
registry.read | read | row-level security | Coordinator | Gate L |
ticket.create (no read) | write | — | Typed Lambda | Month 4 |
ops.status | read | typed, green | Typed Lambda over paging and deploy records (coordinator, router, triage) | F1 |
sentry.read, grafana.read (masked non-prod) | read | amber | Masked accounts through AgentCore Gateway | Month 6 |
run.steer, run.cancel, run.handoff | write | — | Registry and session provider, with authorisation | F1 |
ops.status carries incident ID, service, severity and status enums, on-call, and deploy and flag events. It counts as green because its vocabulary is closed. ticket.create exists from month 4, when the ticket system is connected; the coordinator and router get it together with ops.status at F1 (decision c26). Source: recommendation §5.1 and §3.1No tool gateway until month 6
At launch every agent reads only green data, where a gateway adds a component but no boundary; the boundary is the credential's scope and masking at the source (decision c27).23 The gateway arrives with the first amber source in month 6, and even then vendor flags are not boundaries.
"Read-only" in a vendor's tool is not read-only for a bank. The GitHub MCP server's read-only mode filters tools, not token permissions, and its secret-scanning tools return the plaintext secret by default.431 AWS's ReadOnlyAccess policy grants secret-bearing reads such as Lambda environment variables.32 So the bank enforces read-only four ways: the injected credential, masking at ingest, the gateway's tool allowlist, and no alternate paths (decision c61). A bypass test suite per server configuration is filed as audit evidence.
Deep dive: the vendor read-only gaps and the four enforcement layers 1 min
The gaps. The GitHub MCP server's lockdown mode is a best-effort content filter. Its secret-scanning tools, labelled read-only, return the plaintext secret unless the caller passes hide_secret: true, and there is no operator switch to force it.431 AWS's ReadOnlyAccess also grants container-registry tokens and Parameter Store values.32
The layers. The injected credential means per-role GitHub Apps without secret-scanning permission and AWS roles built from narrower view-only policies. Masking happens at ingest. The gateway's tool allowlist can also rewrite arguments. And no alternate path may bypass the three.
The tool gateway is Amazon Bedrock AgentCore Gateway with Policy, which authorises each tool call with Cedar policy rules and denies by default. Policy has been generally available only since 3 March 2026,33 so it goes live behind eight controls, each closing a known gap, with the open-source agentgateway as the exit.40
The eight gateway controls, and the gap each one closes 8 rows
| Control | The gap it closes |
|---|---|
Permit-only Cedar with hasTag guards | Every token claim becomes a string tag,34 and a Cedar policy that errors is skipped, so an erroring "forbid" silently stops protecting35 |
| Mutation restricted by service control policy (SCP) | Enforcement can be switched to log-only per engine or policy36 with no dedicated condition key to stop it |
| Auto-revert on mode changes | The same switch, caught after the fact |
| 5-minute drift hash | Configuration drifting from what was reviewed |
supportedVersions in infrastructure as code | Support for the current MCP version is opt-in; requests without a version header fall back to 2025-03-2637 |
| Interceptor may rewrite arguments only | A request interceptor can short-circuit policy evaluation38 |
| Masking at source | Response filters are a last line, not the boundary |
| Decision spans to Object Lock, with a gap alarm | Policy decisions appear only as tracing spans, not in gateway logs39 |
Untrusted text comes back typed. Customer-controlled text, such as payment references, names, device strings and tickets, crosses trust boundary B10 only through a quarantined, tool-less reader that returns enums: an attacker can write into a payment reference, but not into an agent's instructions (chapter 03). Free-text operational data (logs, traces, ticket bodies, alert descriptions) is read only inside requester-bound investigate and triage sessions. The coordinator and router see only the registry and GitHub status, plus, from F1, the typed ops.status and the right to create, but not read, tickets (decision c26).
Integrations by phase, from launch to F1 4 rows
| Phase | Integrations |
|---|---|
| Launch | Slack; GitHub Enterprise Cloud (GHE.com, EU); Bedrock through the bank's model gateway; the registry; CodeArtifact and ECR; the evidence store; Entra → IAM Identity Center |
| Month 4 | One ticket system; research feeds (chapter 14); AgentCore Web Search in eu-west-1 |
| Month 6 | Sentry EU and mcp-grafana on masked non-production data, through the gateway |
| F1 | The paging and deploy sources behind ops.status |
The session registry
The bank keeps its own list of what is running, because no engine or vendor keeps one it can rely on. Lambda durable functions filter executions only by name, a single status, start time and version,41 have no query API,42 and keep history for at most 90 days after completion.43 The research found no call that lists running AgentCore Runtime sessions, and Anthropic's docs for Claude Managed Agents (beta) say its webhooks "aren't a durable log" and advise reconciling by listing.44
So the registry is Aurora PostgreSQL in Stockholm with row-level security (RLS), an exported append-only task_event table, point-in-time recovery and an annual cross-region restore test (decision c24). Engines and providers are reconciled against it, not the other way round, and its change_ref covers human PRs too, so one record follows every change to deployment and incident (chapter 09).
The registry schema sketch, from Slack thread to incident 14 tables
request(id, channel, thread_ts, requester_oid, sponsor_oid, audience_ceiling, created_at)
task(id, request_id, type, tier, data_class, spec_ref, requester_oid, sponsor_oid, owner_team,
budget_usd, fallback_plan_ref, security_impact, status)
run(id, task_id, attempt, instance_id, image_digest, ami_id, model_ids[], harness_version,
settings_digest, started_at, ended_at, end_reason, cost_usd, transcript_ref, chain_head)
run_inbox(id, run_id, author_oid, adopted_from_oid, body_ref, kind, delivered_at)
change_ref(id, task_id, pr_number, head_sha, sod_status, proof_status, merged_sha, provenance_ref)
deployment(id, change_ref_id, artefact_digest, environment, release_owner_oid, deployed_at)
incident_link(incident_id, change_ref_id, run_id, legal_hold)
artifact(id, change_ref_id, kind, sha256, producer, provenance, trusted, uri, lock_mode, retain_until)
task_event(id, task_id, at, actor, event, payload_hash) -- append-only, exported
slack_event_inbox(event_id PK, received_at, claimed_by, done_at)
identity_link(slack_user_id, entra_oid, linked_at, method) -- kept per §7.5, dual control
routing_decision(...), run_control(...), budget_ledger(...)
request) through each attempt (run) to the merged commit, its deployments and any incident. The inbox table doubles as the Slack acknowledgement record and the work queue.People reach the registry in stages (decision c29): status cards, /agents and the thread commands at launch; App Home (running, recently finished and blocked work, as in Slack's own layout for agents)45 and registry reads under RLS at gate L; and steer, cancel and handoff tools, each checked against who is asking, at F1.
Grok Bot's design team rejected dashboards, assignment boards and handoff controls;46 a bank cannot, because DORA needs every change recorded and producible (decision c59). So the registry is queryable, but as a change record, not a performance monitor: no individual rankings, results only for groups of five or more, requesters visible only to participants and the owning team, and AML tasks hidden. Who asked for what is logged only for DORA change evidence, security and running the platform in aggregate, and the data protection impact assessment (DPIA) and consultation with employee representatives come first (chapter 10).1
Steering, durable waiting and triggers (later)
Launch has no workflow engine, on purpose: runs last at most four hours and never wait for a human inside a process. A reply in the thread starts a follow-up run that resumes from the branch and from a transcript checked against the model gateway's hash chain (unverified until spike S3). The engine and what depends on it arrive through the gates of the roadmap.
- Launch · W-tech, weeks 12-13Follow-up runs,
!stop, rule-based routing; 3 runs each"Runs each" counts concurrent hosted runs per engineer. - Month 4
./x agent attachto a hosted VM; prototype agent; research collectorsInteractive steering of hosted work before background steering exists. - Gate L · month 5
!steer, maintenance loops, App Home; 8 runs eachSteering goes throughrun_inbox, outside any engine; spike S4 must show 0 messages lost or duplicated in 200 injections and a stop within 60 seconds. - Gate F1 · month 6Engine, triggers, LLM router, non-prod triage; 15 runs eachSpike S5 picks the engine: Lambda durable functions if they pass its tests, otherwise Restate. Triage must score at least 70% on a graded holdout with zero harmful outputs, and never decides whether to page anyone.
- Gate O · after go-liveMasked production triage;
opsrunbook proposalsNeeds masking of Norwegian identifiers, an injection corpus and a second-line decision.
Deep dive: steering, the engine choice and the triage pattern 2 min
Steering at gate L. The requester's replies become run_inbox rows, delivered to the running session as Agent SDK streaming input (unverified until spike S4 passes). Maintenance loops run on schedules with hourly caps.
The engine at F1 is chosen by spike S5: Lambda durable functions if they pass its stop-while-waiting and deploy-mid-run tests (its tests T2 and T4), otherwise self-hosted Restate. At F1, steer, cancel and handoff also become tools. Steering stays outside the engine either way, so no "doorbell" callback is needed. The facts that shaped this choice are blunt. Lambda durable functions have no signal, query or update API; outside systems can only complete callbacks an execution created.42 They have no continue-as-new47 and hard caps of 30,000 operations and 100 MB per execution.48 An event-source mapping must never feed one directly: mappings invoke synchronously, cap the execution at 30 minutes and start a new execution on every delivery.49 Restate, by contrast, has signals in its main TypeScript API.50 So the design uses one execution per run (up to 12 hours) and one per approval gate (under 15 days), started by a small Lambda, never one per Slack thread (decisions c18 and c20).23
Triage at F1 follows Anthropic's open-source oncall-kit, a reference implementation that is not maintained: "No auto-mitigation, period", a shadow period first, and holdout replays graded in a fresh context.51 The bank is stricter than the kit on one point: paging stays deterministic, so the agent never decides whether to page anyone.
"Humans answer in hours, so waiting has to be durable."
Until F1 the coordinator will feel thin, with no steering before gate L and only rule-based routing, and that invites engineers to reach for unapproved tools. The mitigations: the laptop lane from week 4, ./x agent attach in month 4, device management that blocks unapproved tools, and written triggers that bring the engine forward if 20% or more of runs are stopped to redirect them or waits exceed two hours (chapter 17).