Needs You
Everything that waits on a person in Trinity is one thing: needs you. When an agent reaches a decision it can't (or shouldn't) make on its own, it says so on its thread, as a card with the actions that answer it. The work stays where it is until you respond.
How Needs You Works
When an agent or the coordinator detects a situation that needs human judgment, the main agent of that work puts a card on its thread: the story foreman's card on the story's thread, the release agent's card on the release's thread. The card names what is needed ("PR #2 is ready for your review"), the job transitions to waiting_gate, a notification appears in your inbox and in the sidebar task indicator, and the pipeline doesn't advance until you respond.
A card is the same for every project member. It says who holds it and how long it has waited. A card that has been answered or has moved on folds to its header and one line saying so, naming who answered and when ("Approved by Ana · 5m ago", or "by you" for your own answer), for a release's card as for a story's; it opens again on a click; only the card of a wait that is still open stays open. Most cards are answered right there: the card shows what it is about and the buttons for the answer, the same buttons for the same people, with no dialog in between. PR Review is answered in its card too, and the review rounds and the full diff it asks about open in dialogs from the card's Show in rail. The cards that review a checkpoint or a merge (Checks Failed and Quality Checkpoint Approval) are answered in the card too, with a summary of what they are about; their large content (the audit's tabs, every failed check) is read in the story's rail, in the Details panel that the card's Show in rail opens. The cards that ask for values (Missing Secret, Missing Assets, Missing Business Details and Service Setup Required) fold their form into a section of the card that stays open while the wait lasts. The notification opens the card, and so does the card's row on the dashboard's Execution card.
A release's cards are on its thread too, answered the same way: Version Check Failed, Pointer Move, Re-authentication Needed, Checks Failed and Checks Unverified. The long content of four of them (every check of Checks Failed and Checks Unverified, the manifests of Version Check Failed, every package's pointer in Pointer Move) is read in the release's rail, in the Details panel that the card's Show in rail opens; Re-authentication Needed answers in full on its card.
The Needs you item. Every thread's rail has one Needs you item, marked with a raised hand. It shows a count and lists everything waiting on a person, oldest first. The list covers the thread's whole family: the thread itself plus its runs, stories and checkpoints, so a release's rail lists the cards of its stories and checkpoints alongside its own. Each entry opens the thread and the card it lives on. Runs of one job asking for the same permission appear as one entry, such as "6 prototype pages need permission", and the thread's waiting line reads "Waiting on you: 6 prototype pages need permission" and links to the card. The item is empty, and absent from the rail, when nothing waits on you.
Working on it. A wait that clears by itself (a merge waiting on checks, a wait for a key grant, stages that are running, a release waiting on its children, and the like) is working on it, never needs you. It gets no card and no count, and shows on its thread as progress; its entry below says what it waits for.
Cards that wait on a provider. Two cards come from the AI provider an agent runs on rather than from the work itself: the usage-limit card, when an account reaches its limit, and the provider card, when the provider an agent chose for a child can't run it. Both sit on the thread of the agent the paused work belongs to and are counted under Needs you like any other card. The provider card's wait also ends without an answer, as soon as the provider works. See When an account reaches its usage limit and When the provider chosen for a child can't run.
Waits with no thread. A few waits belong to no thread: a device approval, an identity rotation, the workspace's keys and the consent a project's setup asks for. They are answered on the Account page or in the project's setup, and they reach your inbox as "needs your approval".
Names and captions. A card and its inbox row name what is needed and on what: "Scaffold Vite needs your review", "Bill total & money core needs your answer". Lists and badges (the stories list, the graph's nodes, the queue, the dashboard's live execution, a project's readiness "Parked at ...") use the same captions, such as "Needs your review", and the metrics bar's segment for time spent on your answers reads "Waiting on you".
Each card carries a typed payload describing what triggered it — the same structure powers both the UI and the story's next pass.
Waits that pause a run before it starts. Five of the waits below are a pre-flight: Trinity checks them once, before the first agent spawns, so a run whose prerequisites are missing waits instead of dying part-way through with half its work on disk. Those five are Waiting for Key Grant, Service Setup Required, Secrets Backend Unreachable, Provider Key Missing, and Tool Not Installed for the case where git, or a configured step's CLI, isn't installed. They run on both kinds of story run — a standard story and a quality checkpoint — so a checkpoint on a device without git, or pinned to a provider you haven't keyed or a harness whose CLI is missing, waits up front rather than failing mid-audit. Answering one re-runs the whole set, so a run blocked on two prerequisites waits again on the second until both are cleared.
When Your Autonomy Level Answers for You
One setting, the autonomy level, decides which cards a run answers for you. It follows the work, not whoever runs it: the story's or release's own level, else its project's, else the workspace's, else Supervised. At Supervised every card waits for a person. At Mostly unattended the story cards answer themselves: technology deviations, missing business details, missing assets, external dependencies and the PR review (which merges without asking for a review). At Unattended the quality checkpoint answers itself too. A story whose audit left an unmet criterion, a missed intent or an unfixed critical finding still stops at the PR review, whatever the level. A quality checkpoint whose placeholder audit found a leak (a stub in shipping code), or could not classify its matches, also waits for you at every level.
An agent's access or tool ask follows the level too, and more autonomy never gives an agent less room. At Supervised the ask waits for you. At Mostly unattended and Unattended a story's stage is not stopped: the story's own agent answers it, allowing what the story's spec and plan show the work needs or denying what they don't, and when that agent cannot be reached the level grants the ask itself, within the run's sandbox. Only a file, a host or a tool, for This run or Once, is answered this way: a request for the whole fence waits for you at every level, and so does an ask that keeps coming back (after three answered asks in a row, or twenty among the newest, the next one waits for you with the reason on its card). Every ask answered without you leaves one quiet "btw" note on the story's thread, with no banner and no inbox entry: what was asked, what was decided, by whom (the story's agent, or the level) and why, and a Revoke on each grant it made. A revoke takes effect the next time the run starts a process; one already running keeps what it holds. A project set to Block never asks, and one set to Ask behaves as Ask at every level.
The release agent's decisions follow the same level, apart from the permission mode. At Mostly unattended and above the agent queues handed-off work, starts the release's checks, retries or hands back a failed story, investigates a CI failure and creates its fix story, lands a follow-up in the release or sends it to the next one, and settles a question from the Architect or a story on the goal, a convention or an obvious default, all without asking; at Supervised it asks on a card first. Dismissing a follow-up always waits for you. Each decision can be set apart from the level at each tier, in the Release agent decisions rows of the Autonomy card (see Automation settings). The permission mode (Block, Ask or Allow) decides only how far the agent's tools reach, never whether it decides for you: a thread set to Allow still asks where autonomy asks, and one set to Ask still decides where autonomy answers. Each decision an agent answers this way is recorded in Activity under its release, naming the decision, the level and the tier.
The cards that need your credential, your judgement or this machine never answer themselves at any level: missing secrets, a failed or unverified check, a registry pointer move, a story that ran out of attempts. (The Allow permission mode separately lets an agent's request for a missing tool install itself; see Tool Not Installed.) A wait that heals itself (a check still running, a version still pending) is working on it, not waiting on you.
Each answer leaves a record, so nothing is decided without a trace:
- Activity — an entry "had a card answered by settings", attributed to the system and naming the level.
- Your inbox — a quiet entry (no banner) for the person who started the run, such as "Review skipped by your settings; the PR goes to merge", whose body names the level and who set it ("By the project's Mostly unattended autonomy level"), or the story's own exception for that card. A re-run answering the same card updates that entry rather than adding another.
- The story's timeline — a beat that says the level answered, for example "Approved automatically by your settings." or, for a tool Trinity installed by itself, "Installed automatically (Allow)."
Your own answers show in Activity as "answered a card".
An answer is carried out by a machine running the release. If none is, answering starts this machine on the release, the same as pressing Start. When this machine cannot run it, the card says it is waiting for a machine to run the release and offers Start here.
Who Can Answer
Most cards are open to anyone who can reach the project. A few act with one person's own identity, or on one machine, so only that person can answer them:
- The person running the story answers a card that continues with their own credentials: re-authenticating, a commit email, their repository access, or their model key.
- The person running the story, on their own machine answers a card that continues with that machine's tools and files: an uninstalled tool, a failed partial merge, an unreachable secrets backend and a service setup. The answer is carried out on that machine, so if you answer from another device it is picked up there.
- Nobody answers the waits Trinity clears by itself (such as awaiting checks or waiting for a key grant); they are working on it, and you can still stop waiting.
Anyone can give a give-up answer, such as Mark failed or Skip, even on a card someone else holds. Saving a key for the whole team on a Missing Secret or Provider Key Missing card also needs the Manage Secrets permission, which is checked for you, the person answering. A team app key (Missing Secret) needs admin on the project's repository too, the same as adding it in Project Settings; without it the field is hidden and the card says why. The person holding the story can instead keep a key as their own, which needs Manage Secrets but not admin on the repository.
On a card, a line says which machine it runs on ("Runs on this machine", "Runs on your other machine" or "Runs on Hana's machine"; your own machines add the device's name, as in "Runs on your other machine (Studio)") and who can answer it, and how long it has waited. A card you cannot answer still shows you that. Its install and setup controls (the Tool Not Installed install steps and the Service Setup Required runners) appear only for the person running the story, on the machine running it; anyone else sees one line naming where to open Trinity to do it, such as "Open Trinity on Hana's machine to install" (the person running the story also gets Drive from here on their other devices, below). The answers you cannot give are hidden rather than greyed out, and so is anything that would act as you before answering, such as typing your own key or setting your commit email. A card that has been answered and is still being picked up says so, and offers nothing further.
Drive from here. A Tool Not Installed or Service Setup Required card you hold on another of your devices shows a Drive from here button beneath its line. It runs the same install or setup on the machine that holds the card and shows its progress on the device you are using: you answer what it asks (a computer password or a pasted token goes to that machine alone and is kept nowhere on this one), approve a plan when it shows one (a Mac or Linux install may), follow its sign-in link and watch its output to a result. A Mac's install steps, driven from here, open with a Homebrew step for the tools that install through it; the step does nothing on a Mac that already has Homebrew. A sign-in on a device whose tools do not include the CLI says to install it first instead of starting. The button appears only when that device is on your account's device list and has allowed setup from your other devices (its row under Profile, Devices reads Remote setup: on); otherwise a line says the device has not allowed it, or that the setting is not known yet. An offline device picks the request up when it connects, for up to 24 hours, and the card says when it was last seen; cancelling removes a request it has not picked up. A teammate who cannot act on the card sees only the read-only line. The card still closes on the other machine's own check that the work is done, so driving it from here adds no other way to answer it.
When the person holding a card is away, any project writer can take it over. On a card that holds an answer back from you, Take over appears with the card's answers, or Move to this machine when the card is yours but on another device. It asks you to confirm first, and the confirm says what stays behind. Taking over moves the card to you, on the device you are using: it stays open, keeps its age, and the previous holder can no longer act on it. Work they had not committed stays on their machine, and their access grants do not move to you; yours apply instead. If someone answers or takes the card first, you are told so. A card someone has already answered cannot be taken over, and a card that waits on a person is never failed for waiting.
A story whose machine has gone silent can be taken over in the same way. If the machine running a story has not been heard from for 10 minutes, a project writer sees Take over on that story in the Active list. The confirm says what stays behind: work not yet committed, or committed but not pushed, on the other machine stays there, and an access request its stage had open is closed, so the stage asks again if it still needs the access. The story then resumes from its last pushed commit, at its next stage, on the machine that took it over, once that machine starts working. Taking it over does not start that work by itself. A story whose machine is still working on it cannot be taken over.
Everyone a card waits on (the person running the story, and whoever queued it) gets an inbox entry, and it clears for all of them when the card is answered.
A card nobody answers is followed up. After an hour, the person holding it gets a second inbox entry reminding them, whatever their device is doing. After a day, everyone else on the project who can answer it is told too, and the story's timeline notes that the team was told. Answering the card or the wait clearing stops both. Taking it over moves them to the new holder, who gets a full hour and a full day of their own. Waits that clear by themselves, such as awaiting checks, are never followed up.
What Can Need You
Each wait below is a JobWaitReason. Most put a card on a thread; the ones that clear by themselves say they are working on it.
Deviation Approval (deviation_approval)
Payload: The agent's analysis, the proposed alternative, and the reasoning for the substitution.
- Approve Deviations — accept the substitution; the implementer uses the alternative
- Reject — Follow Plan — keep the original technology; the implementer proceeds as planned
Missing Assets (missing_assets)
Payload: One card per declared need, each with a purpose line and a prose description of what the story or release expects.
- Save & Continue — upload real assets to those cards, then the story replans with the new assets in hand
- Use Placeholders — explicit opt-in. Trinity threads this choice back into the analyst as a feedback directive so it doesn't redeclare the same need on replan. The post-checkpoint placeholder audit remains the safety net.
Answered by the level: At Mostly unattended or above the analyst is told up front not to declare needs, and a declaration that arrives anyway is answered with Use Placeholders instead of waiting.
Checkpoint Placeholder Audit
Quality checkpoints run a placeholder scan of the project's code (each repo's files that git does not ignore) in addition to the analyst-plan pre-flight. Two regex families are independent, and each is an on or off setting (auditImages, auditContacts):
- Images (
auditImages) — catches shippedplaceholder.svg,picsum.photos, Lorem ipsum, etc. - Contacts (
auditContacts) — catchesexample.comemails,555-*phones,John Doe,Your Company, stale copyright years.
A family is read from the work itself: the story's own setting, then the project's, then the workspace's, then the built-in on. It is the same for everyone, so who claims the job never changes what is scanned. Workspace owners set it under Workspace Settings → Automation → Placeholder Audits.
Findings surface as entries on the quality checkpoint's card — each with file:line refs.
Agent triage: when the scan finds anything, an agent classifies each match as leak, fixture / docs (info, non-blocking), or false_positive (dropped). For leaks, the agent also suggests a replacement using the project's uploaded assets + business details. If the agent itself fails, raw scan warnings surface unchanged.
A leak holds the checkpoint: a leak is a placeholder in shipping code. Any leak makes the checkpoint approval a card only a person can answer, at every autonomy level, and the card's summary names the leaks first.
Custom excludes: placeholderAuditExcludes (project / workspace / Trinity default) is a list of glob patterns added to the hard-coded base list (node_modules/, **/__tests__/**, etc.). A .trinityignore file at the root of each repo is also honoured (gitignore syntax).
On-demand scrub: Project Settings → Audit Codebase scans both families at any time, ignoring the audit settings — informational, nothing blocks.
Missing Business Details (missing_business_details)
Payload: Which fields are missing + why the story needs them.
- Save & Resume — fill in the missing fields directly in the card's inline form, then resume the run
- Skip — Use Placeholders — proceed without business details
Answered by the level: At Mostly unattended or above this card answers itself with Skip — Use Placeholders.
Missing Secret (missing_secret)
Payload: Each missing key — the service it belongs to, the env var name it's injected as, and why the story needs it.
- Save & Resume — enter the values directly in the card, one masked field per key. These are the app's own keys, for the packages the story works in. In a workspace with teammates the card says before you submit: You are adding a team secret. The key is saved to the project's secrets for those packages, every teammate's runs use it, and the run carries on with it. The person holding the story also gets Only mine: the key is saved as their own for this project, only runs they hold use it, and anyone who takes the story over is asked for their own. It is listed under Yours in Project Settings → Secrets, where it can be removed. Anyone else sees no such option. In a workspace of one the card says only that the key is saved to the project's secrets. The values go straight into your secrets and nowhere else: the card only records which keys were saved ("Saved OPENAI_API_KEY as a team secret"), never a value. A registry key gets no field, because only a person sets those in Secrets: the card says so and offers Cancel. An Only mine answer resumes only for the account that holds the story, on any of that person's machines, so a teammate's machine never picks it up.
This is a blocking card with no skip: the analyst pauses at the tool call and the run waits right here until you provide the keys (or the hold window elapses, after which the card resumes through the normal flow). You provide the secrets inline — there's no "go to Project Settings and come back."
Waiting for Key Grant (waiting_key_grant)
Payload: The key_names with visible-but-undecryptable rows, and the workspace whose grant is pending.
Working on it. This wait gets no card: it clears by itself once the grant lands, and nothing needs answering. The story picks up again by itself, within about a minute of the key reaching a machine of the person running it that runs the release. If the machine that held the story has gone quiet for five minutes, another machine of the same person takes it over and runs it. Someone on a key-holding device can skip the wait with Grant key in Workspace Settings → Access Control → Encryption Keys.
Service Setup Required (service_setup_required)
- Worker pre-flight — before the run's first phase, Trinity scans the project's stack for rows marked
needs_keysand checks whether each one has a secret bound. Any gap in a service the story's own run needs fires the card with the list of services to set up; a service on a build the story does not run against, and the registry or store a target ships through, do not. - Agent signal — any pipeline phase can raise the card mid-execution via the
signal_service_requiredtool when it discovers a service the worker pre-flight didn't catch (e.g. an internal SDK that needs a project ID).
Payload: List of missing_services[] — each with the service name, target binding, and (for agent signals) the agent's goal and blockingReason.
- Configure & resume — run the inline setup runner for each service. Trinity launches the relevant playbook (e.g.
gh auth login, paste-from-dashboard) pre-bound to the right target. Captured values flow into the secrets store and any config files materialize to disk before the story resumes. The button turns on only once Trinity reads every listed service as configured (each shows Configured ✓); Check again reads them again if you configured one another way. If the story resumes and a service still reads unconfigured, the card opens again listing only what remains. A service an agent raised mid-run has nothing for Trinity to read, so it shows Configured ✓ once its own setup run succeeds in the card, and Trinity takes that run's success as the proof when the story resumes. - Skip and run anyway — proceed without configuring (the agent owns the failure mode from here)
When a service's setup tool is one Trinity knows how to sign in (the GitHub CLI, Supabase, Wrangler, the Stripe CLI, the Twilio CLI or the Firebase CLI), its card shows a Sign in runner above the service's own setup. Signing in does not count as configuring the service, so the service still reads Configured ✓ only once its own setup has run.
The setup runner is the same UI you've seen in Project Settings → Stack → Setup — pty-driven CLI, capture forms for tokens, paste prompts for values the CLI prints at the end. Below it an Output panel shows what the command printed, open while it works and folded when it finishes; reopening the card within about five minutes of the run ending brings back the run and its output. Each card keeps its own run, so two cards for one service never share one. When Trinity has to generate the setup for a service it has no built-in playbook for, the runner first shows what it would run: the command, the secrets it reads (by name, never the value) and what it stores. Nothing runs until you choose Approve and run, and Cancel starts nothing.
Provider Key Missing (provider_key_missing)
Two things this deliberately doesn't do. A step the story proves it will skip — the auditor, when the story's review passes are set to 0 — is left out, so a model you picked for a phase that never runs can't block the story. And steps that are only sometimes skipped are still checked, because whether they run is decided later, during the run.
Payload: The step (operation) and the model it resolved to, the provider whose key is missing and the keyName it's stored under, and whether that model is pinned — the story's own per-step pin was honored — or is the account tier default. A step that pins a model doesn't always come back pinned: a pin the model catalog no longer carries is dropped in favor of the tier default, even if that default happens to land on the same model the pin named. The card names the step and model directly, so you know exactly what to change.
- Save & Resume — type the provider's API key directly in the card (a single masked field). Trinity saves it encrypted when you answer, never before, and resumes the run. In a workspace with teammates the card says it is a team secret: the key is saved as this project's team key for the provider, and every teammate's runs use it. The person holding the story can choose Only mine instead, which saves it as their own key for this project alone. It never reaches the workspace's other projects, and it can be removed under Yours in Project Settings → Secrets.
- Change Model — switch to a provider you already have configured, instead of supplying a new key. When the named step's model is
pinned, the card points you at that story's Execution Settings, since that per-step pick is what's driving the resolved model; when it's riding the tier default — including when a per-step pick was dropped — the card points you at Settings → AI Models instead.
Secrets Backend Unreachable (env_resolve_failed)
- Retry — once the backend is available again, retry the run; it re-resolves the environment and continues.
External Dependencies (external_deps)
Payload: List of external deps (name, description) and a human-readable explanation.
- Your report — complete the external action, then type what you provisioned or configured in the card's text field, attaching files if they help. Your report threads back to the agent and the story resumes.
Answered by the level: At Mostly unattended or above the analyst plans assuming the dependencies are available and this card does not wait.
A Fork the Judge Could Not Settle
This is a question on the story's thread, not a gate: the foreman asks with its recommendation, each option as an alternative with what it costs, and what would change its mind. The Analyst waits for your pick and then plans on it. It is listed under Needs you until you answer.
Story Blocked (story_blocked)
Payload: Which agent phase escalated and a prose explanation of what's stuck, then what you need to decide: the agent's recommendation, the alternatives it weighed with what each one costs (stopping the story and marking it failed can be one), and what would change its mind. Where the agent already tried approaches, they are listed too, so you know what not to suggest.
When the analyst finds a story is the wrong size (more than one change, or one change with other stories), the card reads Sent back to be re-planned and shows which way, the evidence and, for a fold, the other stories. The release's agents take it to the Architect, whose commit retires the story and puts the replacements in its place, and you decide at that Commit, unless Auto-resize stories is on: then the Architect commits a plain split or fold itself and tells you on the release thread, and a change that does anything more, a story that is running or has merged, or a round classified architectural still waits for your Commit. A story in a release raises no inbox notice or reminder for this; the text field and Mark failed still work if you want to step in.
- Your guidance — type what to change or try in the card's text field, attaching files if they help; sending it starts another pass of the story's stages over the work already done. To talk the blocker through first, use the story's thread.
- Mark failed — give up and mark the story Failed. The recorded cause reflects which agent was stuck: an audit-phase escalation records audit criticals; any other phase records retries exhausted.
There is no skip — send guidance or mark the story failed.
Story Failed (story_failed)
A structural failure (a report-missing run or an agent timeout) parks here after a single attempt rather than burning the full retry budget — re-running the same prompt just re-hangs, so there's no point exhausting retries first. A missing or forbidden repository parks the story after one attempt for the same reason: trying again cannot bring the repository back. The card's header says so ("This story failed on its first attempt").
Payload: The coarse failure cause phrased for humans (e.g. "ran out of retries", "produced no implementation"), a short reason, and — when present — the verbatim implement-phase diagnostic (the actual hang/crash message).
- Your guidance — type what to change or try in the card's text field, attaching files if they help; sending it starts another pass of the story's stages over the work already done. This is the recovery path.
- Mark failed — give up and mark the story Failed, carrying through the recorded cause so the failure reads the same as why it originally failed.
Who else may answer it: when the story belongs to a release, the release's agent may answer this card too, by re-running the story with a reason or handing it back with guidance. It does so on its own where the release's autonomy answers that decision, and on your answer to a Story S-n failed: card where it asks, and only while the retry budget in force for that story allows (your own Retry or guidance refills it). It never marks a story failed. On the story's timeline its answer reads "The release agent re-ran it." or "The release agent handed it back with guidance.", never as an answer closed without one.
There is no skip — recover by sending guidance or mark the story failed. The full blast-radius failure dossier is already filed for the architect when the story parks here, so a resolution proposal is usually waiting either way.
Repository Access (git_write_access)
Payload: Every managed repo you can't push to, each with its host and whether the block was confirmed. The repos the story's packages live in are called out to sharpen the message, but they never loosen the card.
- Check again — runs a fresh read-only re-probe. It resolves to access confirmed, still blocked, or "couldn't verify — the host didn't answer."
- Request access — notifies the project owner that you need write access to the listed repos (an entry in their activity inbox).
- Start story / Start anyway — always available, because it's the appeal: starting runs the story through to its push, which is the real test — a successful push overturns a stale negative, a genuine block re-confirms it. After a clearing re-check the button reads Start story; otherwise Start anyway.
PR Review (pr_review)
Payload: the card shows what the audit left for you, in this order: the acceptance criteria the audit did not find met, each with the Auditor's reason (a criterion the audit never checked is listed too, saying so); that the change misses the story's intent; and the critical findings left unfixed, each with its file and line. Below that it lists the story's pull requests, one per repo (a repo whose PR has already merged stays in the list), each with a link to its PR and a Show in rail button. The answer buttons sit under the list, in the card.
Show in rail opens the story's Review dialog, scrolled to that repo, where the review reads like a code review:
- What happened and what landed — the Documenter's brief for the repo: a headline, the run's timeline, what landed, the highlights, what is worth a look and the decisions made, each with the code it is about cut from the real diff. A repo with no brief says why instead.
- Review rounds — a timeline, oldest first. Each round shows which reviewers read it (each links to its own comment on the PR), its findings counted by severity (critical, warning, info) and by what became of them (applied, rejected, flagged), and the review's summary. Show findings expands the round's findings, each with its file, line, severity, review angle and what the Auditor did about it. When you asked for changes earlier, Your request heads the round it fed.
An item's Open in full diff opens the Diff dialog, with the repo's branch-vs-base diff rendered inline, so you can review the actual changes without opening the PR. A file tree sits beside it: search by path, filter by file type, or show only files with findings; lockfiles and generated files sit in one collapsed group. Each file opens collapsed, showing its name, its added/removed line counts and how many findings it carries; click a file, or its entry in the tree, to expand it, and the file you came from opens on its own. The latest round's findings appear inline: a finding with a line sits at that line, and one about a whole file sits at the file's header. Findings are shown at the lines the review read, so a finding the Auditor fixed can sit on a line that has since moved; its fixed, declined or open badge says what became of it.
A pull request merged on the forge, outside Trinity, answers this card too: within about a minute of the merge (a little longer once the card has waited over half an hour) the story finishes on its own, its issue closes and the card clears, as if you had pressed Merge. A pull request closed on the forge without merging is handled the same way and ends at the external PR closed card.
The Review and Diff items are in the rail while this card waits, even before the story has a review round. A page that has no rail shows the card without Show in rail.
- Merge — continue the merge chain
- Request changes — type your comments in the card's text field, attaching files if they help; they are sent back as a request for changes, which starts another pass of the story's stages against the PR. Your text is also posted, as you wrote it, as a comment on every repo's PR and shows in the card's timeline as Your request
- Skip — cancel this leg of the merge
Asking in the thread: you can also write the request for changes to the story's agent in the story's thread ("not merging yet, the nav breaks at 360px, please fix it"). The agent sends the story back on your message: your words travel whole as the request, with the agent's notes on what they mean for the story, and the card reads Requested changes by you via the foreman once it closes. The agent acts only on a message you wrote after the card appeared, and only to ask for changes: merging, skipping and approving stay on the card.
Waiting on Checks
Trinity merges a pull request only once the checks your repository host runs on it — CI workflows, status checks — have passed and the host itself will accept the merge. That holds for every merge Trinity makes: a story's PR, a batch branch merging on to the release branch once its last story lands (at an epic or phase Merge Level), a quality checkpoint's branch, a release's staging placement and promotion, a walk-up, and a backport. A merge that isn't green yet waits on one of the four below, and each one names the pull requests it's holding, with every check, where it stands, and a link to its output.
A batch branch's merge pauses on the story whose merge completed the batch. That story has already merged, so the pause holds only the batch branch: once the checks allow it, Trinity merges the batch branch and nothing of the story runs again.
What a paused merge was doing decides what stopping it means: a story or a quality checkpoint is marked Failed; a batch branch's or a release's merge is left undone, with its pull request still open.
Awaiting Checks (checks_pending)
Working on it. This wait gets no card: it clears by itself once the checks finish, whatever they say, and nothing needs answering. Trinity keeps re-reading the checks and carries on. If they're still running two hours after the pause, or no check has shown up 15 minutes after it although CI is set up, Trinity stops waiting on its own and asks you instead, at Checks Unverified.
Awaiting Host Review (forge_review_pending)
Working on it. This wait gets no card: it clears by itself once the host allows the merge, and nothing needs answering in Trinity. The review (or the rule) is satisfied on your repository host; Trinity notices and carries on. A story's review step never pauses here: when the level asks for the review, you are the review the host is waiting for, so the story goes straight to PR Review.
GitHub and GitLab report these rules to Trinity. Bitbucket and Forgejo don't, so on those hosts a merge the host refuses fails at the merge itself instead of waiting here.
Checks Unverified (checks_unverified)
- No checks ran, and Trinity couldn't tell from the repository's CI configuration whether any should have — the card says why. A repository with no CI configuration never lands here: nothing needs verifying, so its pull requests merge without asking.
- CI is set up for the change, but no check showed up within 15 minutes — CI may be switched off for the repository, or the workflow may not trigger. The card names the configuration files.
- The checks finished without passing — at least one was cancelled or finished neutral, and none failed. A check the workflow skipped counts as passed, unless the pull request changes the CI configuration itself, since the change may be what skipped it.
- The checks were still running after two hours at Awaiting Checks.
- Trinity couldn't read the pull request — your account can't see it, or the host's answer made no sense. Merge without checks tries the merge anyway, and it fails if the host still refuses.
- Merge without checks (or Review without checks, when the story was about to go to review) — go ahead this once.
- Check again — read the checks again and carry on with what they say now.
- Mark failed / Stop — give up on this merge.
Where it is read: On a release's thread the card gives the reason and the number of repositories, and Show in rail opens the release rail's Details panel with every repository's pull request and its checks. On a story's thread the card lists them in full.
A failing check is never covered by any of these: a failing check always stops the merge.
Checks Failed (checks_failed)
A story's own pull request never pauses here. When its checks fail, Trinity sends the story back to its implementer with the failing checks and their output as feedback, and the fixed story goes through the checks again. The same goes for a story whose branch fell behind its base while other stories merged: when what landed there touches the same areas of the code as the story, Trinity brings the story up to date, runs its tests on the result, and sends the story back with the failing tests and the commits it met if they fail, instead of merging a combination nobody tested. After three rounds that still fail, the story pauses at Story Failed instead.
Where it is read: On a story's thread the card lists each repo's pull request and its failing checks, and Show in rail opens the Details panel with every check and its status. On a release's thread the card carries the same summary, and Show in rail opens the release rail's Details panel.
A Merge Conflict an Agent Could Not Settle
A merge conflict is settled by the agent that holds the context for it, and reaches a person only when that agent cannot settle it. It is a question on a thread, not a gate: the asking agent gives its recommendation, each way forward as an alternative with what it costs, and what would change its mind. The conflicted work waits for your answer, and the question is listed under Needs you until you give it.
A story's conflict. When a story's merge meets a conflict, or bringing its branch up to a base that moved stops on one, the story's own implementer (the agent that built the work) resolves it in a conflict pass the story's foreman starts. The pass is the implementer alone: no audit and no documenter run. On the story's thread it reads as an implementer turn that resolves every conflicted repository and finishes its rebase, after which the story's merge runs again on its own. When the implementer cannot read what a side of the conflict meant, it asks the foreman. The foreman answers from the stories and their handoffs; when they do not settle it, it asks the release's agent, and only when the release's agent cannot settle it either does it ask you, in the story's thread. A story that belongs to no release has no release agent, so the foreman asks you at once. If you fixed the conflict by hand, say so in the thread; the fix has to be in the story's checkout on the machine that claimed the story, since a fix made anywhere else is not seen.
A merge that keeps meeting a conflict after two conflict passes, or a pass that leaves a repository's conflict unfinished, ends at Story Failed with the cause merge conflict (see the cause table in Stories). Its reason holds the implementer's account for each conflicted repository and names the repositories that already merged. Your guidance there re-enters the story, and its merge runs again only for the repositories that have not merged.
A release's conflict. The release's agent settles the conflicts of the merges it owns: carrying work that landed upstream into the release's branch (a walk-up), a staging placement onto a staging target, a promote hop or a hotfix's forward-port onto your dev branch, a finished epic's or phase's branch cascading into the release, a backport onto a maintenance line, and a quality checkpoint's branch merging into the release or into the branch its pull request targets. The merge is left in progress and the release is held from promoting. The release's agent reads the stories on both sides, then hands the merge to a conflict resolver, an agent that resolves the conflicted files. The release's agent settles the merge when the resolver reports it finished, and it works the conflict out with the Architect and the owning stories' threads when the resolver cannot. Only then does it ask you, in the release's thread. If you fixed the merge by hand, say so there; the fix has to be in the release's worktree.
When the agent gives a release's conflict up, what happens next depends on the merge. The merge is aborted and its pull request, where it has one, is left open, and then:
- A walk-up into a release that builds on another keeps that release's stories waiting until a new walk-up merges cleanly.
- A staging placement fails that target's placement, and you stage the release again.
- A promote hop ends the promote, and you start it again once the branches merge.
- A hotfix forward-port ends the promote too. Production already carries the fix, and you promote again once dev absorbs production.
- A cascade leaves the epic's or phase's pull request open, and the release's agent is not asked about it again until either branch moves.
- A backport leaves the maintenance line untouched, and that repository's backport reads failed.
- A checkpoint fails its story with the checkpoint's pull request left open, and you run the story again.
Quality Checkpoint Approval (quality_checkpoint_approval)
Payload: Audit findings, fixes applied, any remaining issues.
- Approve — marks the checkpoint passed
- Skip — acknowledges unresolved issues and continues
- Request changes — type what you ask for in the card's text field to start another pass of the story's stages; you can also ask the story's agent for the changes in the story's thread, as for a PR review
Where it is read: The card shows the audit's verdict and its counts, and Show in rail opens the Details panel with the Overview, Findings, Fixes, Preflight & SEO, Notes and Consolidation tabs, then the output of the project Run Project started.
External PR Closed (external_pr_closed)
Payload: PR URL, branch, and repo — so you can see what was closed.
- Recreate PR — re-open a fresh PR with the same branch and keep going
- Mark failed — give up on the story and mark it Failed
Partial Merge Failed (partial_merge_failed)
Payload: Which repos succeeded vs. failed, with error details per failed repo.
- Retry Failed — re-attempt the merge for just the failed repos; already-merged repos are untouched
- Mark failed — give up and mark the whole story Failed. Repos that already merged keep their code on the branch, but the story blocks dependents until you fix it or mark it failed — it never reads "merged" with a repo's work missing.
This card is specific to polyrepo projects. A conflict never raises it: a story's conflict goes to its conflict pass, and a conflict the pass gives up ends the story at Story Failed.
Re-auth Required (reauth_required)
A release publishing a package to its registry pauses here too when the package has no registry token, or the registry rejects it. The card names the package and the key to set (NPM_TOKEN or CARGO_REGISTRY_TOKEN); set it on that package in Project Settings → Secrets as a registry publish token, then choose I've set the token — resume, and Trinity picks the publish up at that package — nothing already published goes out again. If pointers are still waiting to move, the Pointer Move card asks for your approval again first. If the token is already set but this device can't decrypt it yet, the card says so; resume once the device has the workspace key. Its give-up action is Stop this step, which ends the release's publish there: what already landed on the registry stays, and nothing else publishes.
Payload: The account and host that need re-authentication, which op failed and on which repo, and a fix hint. A registry publish names the package and the registry instead of an account. The card is tied to either a story (a story job's git op) or a release (a release-finalize push).
- I've re-authenticated — resume — confirms you re-authenticated the credential out-of-band; Trinity re-runs only the failed op (re-push, re-open the PR, or re-merge), never the whole story or release
- The give-up action depends on the entity:
- Mark failed (story jobs) — marks the story Failed. A story that can't push didn't land — it isn't skipped, and it blocks dependents until you fix it or mark it failed.
- Skip this step (release runs) — records the release as
partially_shipped; repos that were already tagged persist. - Stop this step (a release merge paused before it read its pull request) — stops that merge, leaving its pull request open, the way stopping a checks card does.
Commit Email Needed (commit_email_required)
Payload: The host the author email is missing for, which op was blocked (push, PR open, or merge) and on which repo, and a fix hint. Tied to either a story or a release-finalize commit/tag.
- Set commit email & resume — set a verified commit email for the host directly in the card. The field prefills a suggestion from your account, validates against your verified addresses on that host (only verified emails are accepted), and offers one-tap chips. Once set, Trinity re-runs only the parked op.
- The give-up action depends on the entity:
- Mark failed (story jobs) — marks the story Failed.
- Skip this step (release runs) — ships as
partially_shipped.
You can also set this ahead of time: each connected account carries a commit email you can set in the connect flow or override per account in Settings — see Signing In → Commit email per account.
Tool Not Installed (tool_missing)
Git that's installed but has no user.name / user.email set does not pause a run here — Trinity resolves commit authorship from the account you connected, and asks separately via Commit Email Needed when it can't.
Payload: Which binary is missing and its install recipe, plus the underlying error for diagnostics.
- Check again — Trinity probes the machine again. The card resumes the story itself once the probe reads the tool ready, whether that is after an install step finishes or on Check again; there is no button to say you installed it. For Docker the probe passes only once the Docker daemon answers, so Docker Desktop installed but not running keeps the card open, and a resume that reaches the run with the daemon still down parks the story here again. On a Mac the card walks you through Docker Desktop alone, without the Homebrew step the other tools chain first.
- Mark failed — give up and mark the story Failed.
Workspace Not Ready (topology_not_ready)
Working on it. Nothing to answer — the run waits and resumes on its own once the workspace is whole. It clears itself; it exists so a run never fails just because provisioning hadn't finished yet.
Waiting to Tag (version_pending)
Working on it. Nothing to answer — Trinity re-checks the barrier and resumes on its own once every repository has landed, then tags the whole set on one matching version. Like Workspace Not Ready, it clears itself and never waits on a decision from you. A release whose versions each stay inside one repository never hits it; each repository tags off its own latest tag.
Version Check Failed (version_check_failed)
A card on the release's thread, and in your inbox, where you answer it. The card states each refusal, and Show in rail opens the release rail's Details panel with what each manifest declares.
- a version you pinned the release to sits at or below something already on its line, is already tagged there (including a candidate tagged on your integration branch), or, on a maintenance line, sits outside the line's series,
- the version sorts below one already tagged for the same release (a
2.0.0-rc.1after2.0.0-rc.2has shipped), - the release carries a label and is being shipped — a release candidate is integrated and tagged, never shipped,
- the release changes how packages version and the version isn't a new major above every affected package's current one — the card names the major, or
- the manifests no longer agree with what landing wrote: members of a fixed release group declare different versions, the packages carry different labels, or a version isn't
major.minor.patch, optionally followed by a-label.numbersuch as-rc.1(someone edited a manifest after landing).
The card lists each problem and what every manifest declares.
Waiting to Forward-Port (forward_port)
Working on it. Nothing to answer — Trinity merges production back onto dev and re-checks on its own, then tags and ships. Unlike Waiting to Tag, this wait applies to hotfixes whatever your release policy says: it's a property of how the release was routed, not of how versions are numbered.
A patch release never parks here. A maintenance line doesn't merge into anything, so a line that hasn't sent its fix to trunk breaks nothing — the patch ships straight away, and what waits instead is the next release on that line.
If Trinity's own merge-back can't land (a repository it can't push, or access it lacks), open the back-merge PR yourself and merge it — the wait clears as soon as your dev branch contains production, whichever merge got it there. The fix itself is already live on production the whole time; only the tag and the Shipped status are waiting.
A merge-back that conflicts is settled by the release's agent (see A Merge Conflict an Agent Could Not Settle). When the agent gives that conflict up, the promote ends instead of waiting here; production already carries the fix, and promoting again once dev absorbs production picks it up.
Pointer Move (pointer_move)
A card on the release's thread, and in your inbox, where you answer it. The card counts the packages that publish and those that move a pointer, and warns about a first publish or a failed registry read; Show in rail opens the release rail's Details panel with every package's pointer.
Payload: A dry run of every package about to publish, in publish order — its version, its pointer, what that pointer names right now, and what it will name once this publish lands. A package with no pointer to move (Cargo, Go, or a Python package) shows as publishing with nothing to move. A package the registry has never published before is called out separately: the registry sets latest on a first publish whatever tag you configured, so Trinity raises this card for it before the publish rather than after. If Trinity couldn't read a package's current pointer from the registry for a reason other than a dead credential, that shows too, so you know its "current" value is unverified rather than genuinely unset.
- Approve — publish the packages that waited, dependencies first, then move every pointer the dry run showed
- Stop — end the release here. A package already published stays published, with nothing about its pointer changed. A package flagged as a first publish is held back from publishing at all, since setting its
latestpointer happens as part of that publish itself.
Waiting for a Quiet Release (rename_pending)
Payload: Exactly what it's still waiting on — open pull requests into the branch, unsettled merges into your dev branch, live staging placements, and any run still going.
Working on it. Nothing to answer — the rename holds new work back, waits for what's already running to finish on its own, then moves the branch and lifts the hold. Like Workspace Not Ready and Waiting to Tag, it clears itself.
It will never cancel or interrupt a run to get there. If something is stuck rather than slow, resolve it the way you normally would — the rename picks itself back up as soon as the release goes quiet.
Cards a diagnosis run raises
When the Architect sends a diagnosis run to find out how running code or a live service behaves, the run can stop to put one of these to you. Each is a card, on the run's own transcript and on the thread's Needs you list, and the run waits until you answer, then carries on with what you said. A card's answer is only what you typed or chose: no card holds a secret's value.
- A step only you can do in a console — the run names a step in a vendor's console or dashboard that no command can do, with the page to open, who can do it and what to report back. Press Done when you did it, Not yet to come back to it, or Blocked and say why. The Architect puts the step on this card; the run does not.
- Agreeing to a push or a CI run — before a diagnosis run pushes a probe branch, starts a workflow or runs one again, Trinity asks you on a card that names the repository, the branch or workflow file, the runners the workflow uses and about how long a run takes. Agree lets the run do that one thing, once, within ten minutes and only while the run is still going. Decline keeps it from starting CI, and the run is not asked about the same act again for half an hour. Each push and each start asks again. A repository whose CI has nothing the act could start never asks.
- Approving a signing step — before the signing broker notarizes an app or signs a file for a run, a card shows the step, the file's path and a shortened fingerprint of its contents (with a control to copy the whole one), the identity or key and what the step commits. Approve lets the run do it once, and the run signs exactly the file you saw: if the file changes, it asks again. Decline stops the step, and the run is not asked again for the same file and identity for half an hour.
- Approving a use of your own key — a signing key kept in your ssh-agent or gpg-agent, set to Ask me before each signature in Secrets, asks on the same card every time a command wants a signature. The run's command waits for your answer, and an Approve covers that one signature.
- A key — a run that needs a key the project declares asks on the key card, the same card Architect uses. Save it with who can use it, or choose Later; the run learns the names saved, never a value. See Secrets.
- A host the sandbox does not reach — the run asks for the host, as on any access card, and a host you allow for the run reaches its later commands.
A diagnosis run does not stop and ask you when it only has to wait for time to pass, such as a vendor's setting still spreading or a CI run still going. It waits on a condition: Trinity checks again on a schedule without using the run's turns, and wakes the run when the condition holds, when the checks it allowed run out or when the deadline passes. That wait is working on it: no card, no count, and the run shows as waiting rather than as a finished diagnosis. A wait ends with the run's own time limit if that comes first. While it is waiting, the run cannot also set its own wake timer.
Marking a Story Failed
The failure cards (partial_merge_failed, external_pr_closed, reauth_required, commit_email_required, tool_missing, story_blocked, story_failed) share Mark failed as their give-up action (on release runs, reauth_required and commit_email_required offer Skip this step instead):
- The story is marked Failed with a cause that records the obstacle — see the cause table in Stories → Failed Stories. Branches, PRs, and repos that already merged keep their code; nothing is deleted.
- A failed story blocks its dependents until it's resolved, so the plan never builds on work that silently went missing.
- Marking a story failed files a failure dossier for the architect — the cause and reason, the attempt count, the card's details, the conflict pass's account when a conflict ended the story, and which stories are now stuck — and the architect immediately drafts a resolution proposal from it (retry, reshape, or delete). By the time you open the failed story, a reviewable way forward is usually waiting.
The same dossier is filed when a story fails without a card (retry exhaustion, an implement run that produced no changes), so every failure — from a card or automatic — carries the same paths to resolution. How loudly a failure surfaces depends on what it blocks — see Running → Failed Stories.
Feedback
Instead of a binary approve/skip, every card supports a feedback response that starts another pass of the story's stages (or re-enters the release):
- Triage — the agent classifies what you're asking for
- Analyst — re-reads the codebase with your feedback as context
- Implementer — makes changes, committing as it goes
- Audit — the Auditor's reviewers read the new changes and leave a review on each repo's PR, over up to the story's review passes
- Documenter — documents the round in each touched package's documentation, checks it, commits it, and closes the round out on each repo's PR; Trinity then walks the merge chain
This is the sanctioned way to iterate on agent output without editing code yourself. It's the same shape for story cards and release cards.
Attachments
When you provide feedback, you can attach files:
- Screenshots of desired behavior
- Updated wireframes or specs
- API contracts or documentation
- Anything the agent might need to reason about
Attached files are saved with your feedback so the agent can open them wherever it runs, and they're cleared after a week. They show up in the project's asset list under the surface they came from until then.
Reentry
Every card tracks how many times it's been re-entered via gate_reentry_count. Visible on the card — useful for spotting stories that keep bouncing back through feedback without converging. If a story hits a high reentry count, that's usually a sign the problem needs manual intervention or a restructured plan.
Best Practices
- Respond promptly — cards block the pipeline, and dependent stories stall behind them
- Prefer feedback over skip — another pass can fix most issues without you editing code
- Be specific — "Make the button blue" beats "This doesn't look right"; include screenshots when layout matters
- Use skip judiciously — bypassing a card (skipping a checkpoint, a merge leg, or release notes) can leave downstream work brittle; the card exists for a reason
- Audit skipped cards — check the activity feed to see which cards you skipped and why