Working with Stories

Stories are the atomic unit of work Trinity executes. Each story is sized to be completed end-to-end by one agent run through the 4-phase story pipeline (a quality checkpoint runs the same four stages).

The Release's Stories

A release's stories live on its page, under the Stories tab, which is release-scoped: the release you open (Releases, then a release) decides what is drawn. The tab shows the release's tree — phases, each phase's epics and each epic's stories — with every story's status, its needs-you label and the filters below. A story is always in an epic, an epic always in a phase, and a phase always in the release,. The sidebar's Releases entry opens the active release (persisted per user, synced across your devices). A story's own page, with its thread, is reached by clicking it in the tree.

The Graph tab beside it draws the same release as a dependency graph.

Reading the Roadmap

The Roadmap button in the release's header opens its roadmap — the same planning round said in plain English rather than as a story graph, across five sections: Overview, Vision, Phasing, Architecture and Design system. A release whose planning round never drafted one says so rather than opening empty. A small change's roadmap is short: it shows an Overview and only the sections that apply to the change, so a one-line fix reads as a single paragraph rather than five sections of filler.

Sharing the Plan

Two Share controls sit in the release's header — Share roadmap and Share plan. They publish the two documents of the release, for two different readers, as two independent links (revoking one leaves the other live):

  • Share roadmap publishes the five prose sections above. This is the one to hand a client.
  • Share plan publishes the committed plan of the release in full — every story with its description, acceptance criteria, dependencies, and its display_id handle. This is the one to hand someone implementing it.

Both are the same kind of share you already use for prototypes, reports, drafts and recaps: pick who the link is for and how long it lasts, optionally require an access code, then Copy link, Rotate code or Unshare. A shared plan reads in exactly the order the app shows — phases, epics and stories in their real sequence, not the order they happened to be written.

A shared plan is a snapshot, like every other Trinity share: the reader keeps seeing it as it stood when you shared it until you choose to update. Update share appears whenever the source has moved since the link went out — for the plan, a story retitled or rewritten, an acceptance criterion changed, a dependency added, anything reordered, renamed, added or removed; for the roadmap, an edit to any of its five sections. Each link tracks only its own document, so rewriting a roadmap section never nags you to republish the plan. Neither appears just because work is progressing: stories completing, merging and shipping don't change the plan or the roadmap's authored prose, so a plan you're actively executing stays quiet rather than nagging you to republish every hour. Updating rebuilds the page behind the same link — the URL, its audience, its expiry and its access code all stay as they were.

Filters

The release's Stories narrows the tree by status (see below), by a story's needs-you label, and by phase: each phase section opens and closes on its own, and an epic's stories sit under the epic.

Status Tabs

Tabs with live counts group stories by lifecycle status:

Tab Meaning
All Everything the filters returned
Pending Not yet started — still waiting on dependencies or for a worker to claim it
In Progress A worker has claimed the story and it's running through the pipeline
Completed The pipeline's work is done and its pull request is open, waiting to be merged
Merged Merged into the release branch (stories whose release is mid-staging show here too)
Released Part of a release that transitioned to released (so stories shipped with a git tag)
Already Done The Analyst found the work already satisfied and short-circuited before the Implementer ran — no diff, no PR. The Documenter still runs, so it can produce a report. Counts as done and satisfies dependents without a merge.
Needs you Every story wearing an attention chip, whatever its tab (see below)
Failed Execution didn't pass — attempts exhausted, a merge conflict, an externally-closed PR, an audit rejection, an authentication failure, or an empty result. Blocks dependents until resolved — see Failed Stories.

A story's badge says only where it is. When a person has to act, a chip sits beside the badge, names the action and opens the card that takes it in the story's thread in Threads, scrolled to the card: Review (purple) beside Completed when finished work waits on your approval (a pull request to review, or a quality checkpoint parked at its approval), Retry? beside Failed when the run gave up and waits on your decision, and Answer beside In Progress when an agent's question or permission ask waits on you. The Needs you tab gathers them, and the same chips show on the story's page, its thread header and the graph. A story that has merged wears no chip.

Two more states exist in code without a dedicated tab: blocked (stories with unmet dependencies the coordinator can't resolve — surfaced as a warning inside the dashboard's Blocked Stories card, and listed under Blocked upstream on the release's queue) and staged (stories whose release currently holds a live staging placement — they appear under the Merged tab).

Story Detail

Click any story to open its detail view. Sections:

Description + Acceptance Criteria

Free-form description of what to build, plus a checklist of testable acceptance criteria. Agents use the ACs to verify their work before handing off.

Intent, description, and acceptance criteria all render as Markdown, with different latitude for each: description supports full rich formatting — lists, tables, inline code, and diagrams — while intent stays a short plain-prose blurb (no headings or diagrams) and each acceptance entry renders as a single line (inline code only, no lists, tables, or headings).

Metadata

  • Display ID — a stable 8-character code (like A3F9K2XQ) shown in the story header. It names the story wherever it's referenced — including depends_on references and dependencies across phases and epics — and doesn't change when stories are reordered.
  • Story type — standard (most stories), bug (fix work), or quality_checkpoint
  • Dependencies — other work that must complete first. A dependency can be another story, or a whole epic or phase as a rollup (shown as epic:<label> / phase:<label> chips) — "wait on the whole group": the story stays blocked until every story in that epic or phase is done. Either kind can point at work in another phase or epic of the same release
  • Packages — which packages the story's code lands in, and the targets that resolves to. See Story scoping below.
  • Tags — custom labels, including repo:<name> tags for multi-repo projects

How long a dependency holds depends on the Merge Level in force — the release's own override if it sets one, otherwise the project's. At story — the default — every story merges straight to the release branch, so a dependency clears the moment its upstream merges. At epic or phase, stories batch onto a shared branch first, and where the two sides sit decides the bar:

  • Same batch — the dependency clears as soon as the upstream's pull request lands in the batch branch they share. That branch is what the waiting story will be cut from, so the code is already there for it.
  • Different batch, same release — the dependency holds until the upstream's whole batch merges on to the release branch. Its own pull request landing isn't enough: until the batch cascades, that code sits in a branch the waiting story never sees. This is the case where an upstream can read Merged while its dependent is still Pending — the upstream merged into its batch, not yet into the release.
  • Different release — the dependency holds until the upstream release has shipped, same as at any merge level.

Every story sits in an epic, so every story has a group a batch branch is named from; at epic or phase it batches on its epic's branch, and its dependents wait by the rules above.

Story scoping

A story is scoped to the folders it touches, not to shipped artifacts. A story lands as a diff and a diff lands in directories, so its folders are the honest statement of what it changes. The packages it reaches follow from them: a package's own folder, or a component or core folder the package embeds.

Everything the run needs follows from that one fact: the working directory it runs in, the .env it composes, the manifests and lockfiles it reads, and the repo it pushes to are all properties of the packages its folders reach.

A story can span as many packages as the change touches, and that's the point of the checkout. Your workspace holds the project with all of its repos, so a change to a client and to the API it calls is one story rather than two you have to keep in step. The run reads all of them: the secrets check covers every package's keys at once, the manifests and lockfiles it reads cover every package, and the accessibility bar is the strictest level among them — a story reaching into a AAA codebase is held to AAA wherever else it also writes.

Which targets a story affects is then derived, not typed in. A story affects every target its packages ship. A React Native codebase that emits a Mobile target and a Web App target is one package, so a shared-code change there shows up on both — release notes credit it to both, and nobody had to remember to tick a second box.

There is no per-story artifact list to maintain, and no way for a story to claim one artifact of a package while disclaiming another: the code is shared by everything the package builds, so at coding time the distinction has nothing to act on.

Scoping is set during planning by the Folder Mapper phase and changed through the Architect conversation.

Execution Settings

The Execution Settings card controls how the story runs. A step you have not set runs its operation's tier, and its row says which model that is, except the implement, audit and docs steps of a story: the story's analyst chooses their tier and effort when it plans, and their rows read "Analyst’s choice". To run a step on something else, pin a model for it; a pin outranks the analyst.

Review passes sits above the grid and applies to the whole story — how many audit rounds the Auditor may run over the implementation. A story inherits the project's Review passes, shown with a project default badge; type or step a number to give this story its own, up to a cap of 10, and Use project default hands it back. Each pass is a full review round: the Auditor runs the panel of reviewers the Implementer picked to fit the change, applies the fixes it accepts and has them rechecked. A further pass runs only after one that applied a fix, since a round that changed nothing leaves nothing new to read, and 0 skips the audit entirely. Raise it for multi-concern or security-critical work. Setting fewer passes than the project's, 0 included, needs a workspace owner or manager; anyone who can edit the story can raise the number or hand it back with Use project default, and an agent cannot set it at all. A quality_checkpoint story has no review passes: its audit → fix cycle has its own cap (see Checkpoints).

Below it, Pipeline Steps is a grid with one row per phase — Analyst, Implement, Audit, and Docs on a standard story; Analyst, Implement, Audit, and Docs on a checkpoint — and each row carries three controls, so you can spend reasoning power on the step that needs it and keep the rest cheap:

  • Model — the first entry reads Runs <tier>: <model> and means the step is not pinned: it runs the tier its operation uses, on the model that tier resolves to. On the Implement, Audit and Docs rows of a standard story the first entry reads Analyst’s choice instead, because the analyst sets their tier and effort when it plans. Pick any other model to pin it for that one step, including a frontier-class model; the step then runs it as named. Choosing the first entry again removes the pin.
  • Effort — how hard that step reasons: Low, Medium, High, Extra High, Max, or Ultra. A note under the row shows the effective effort for the model that row resolves to — most models cap at Max (Ultra is reachable on GPT-6.2 Astra, GPT-6.2 Sol and GPT-6.1 Terra), some cap below Max, and a few (e.g. DeepSeek) take no effort setting at all.
  • Speed — Standard or Fast for that one step. Fast asks the vendor to answer sooner and is billed at its premium rate for that model, so it is the one control here that costs more rather than less; it stays on Standard unless you change it, and nothing sets it for you. The control is only enabled where the step's model publishes a faster tier — today the GPT models Trinity runs through Codex — and is greyed out on models whose vendor sells only one speed. Under heavy load a vendor may answer a Fast request at standard speed and charge standard rates for it.

Effort and speed apply to a pinned step, so on a step that is not pinned they are greyed out and show what the step runs (on an Analyst’s choice row they show that label, since the analyst decides). To set either, pin a model first; removing the pin clears them.

The model this card names is the model the run will use. On rows that name a model, the Runs <tier>: <model> entry and the Effective: … note both read the same answer the pipeline resolves for this story, so a project model override — or your own per-project override, or a per-story one — is reflected here rather than being invisible until the run records what it actually spent. Until that answer arrives the entry reads Runs <tier> with no model and "Resolving this step's effective model…" in place of the note; it never fills the gap with a guess.

Pipeline Status

When a story is running, you can see which agent phase it's in, the current operation, and anything that's waiting on you. Which pipeline runs depends on story type:

  • standard stories — the 4-phase story pipeline: Analyst → Implementer → Auditor → Documenter. A story foreman runs the four in order, each as an agent of its own, and can send the work back from the Auditor to the Implementer (see The Story Pipeline). If a run is interrupted (the app restarts, or another device takes the story over), it picks up at the stage after the last one that finished rather than starting again.
  • quality_checkpoint stories — the same four stages as any story, with an analyst that decides the checkpoint's work (a reviewer panel over the gated work, every open follow-up of the release decided in one batch, the project's health and documentation consolidation) → one implementer pass → audit → documentation → your approval

The Story Thread

A story that has run has a thread: one conversation across every attempt at it, readable by any project member. Open it from the story's row on the dashboard's Execution card while the story is running or waiting on you. The thread opens on the story's conversation, which is the story foreman's: its messages, its checkpoints and the cards that need you are all there, and a composer under it is always on. Write to the foreman from any machine, and it reads your message on whichever machine holds the conversation. The story's stages and the runs they dispatch are listed in the thread's Agents panel; open one to read it, and it has no composer of its own.

When a story needs your decision, the foreman puts a card on the thread, headed by what is needed ("PR #2 is ready for your review"). While it waits, the card says who holds it, how long it has waited and who can answer, and shows what it is about and its answers right there; the checkpoint and failed-checks cards show a summary and answer there too, and their Show in rail opens the Details panel below. The PR Review card is answered in place, and its Show in rail opens the Review dialog below. A card that has been answered, or is no longer waiting, folds to its header and one line ("Approved by Ana · 5m ago", naming what was decided, who decided it and when, or "No longer waiting" with when it parked) that opens again on a click, so the card that waits is the one open on the thread; what was decided is on the Story rail's timeline. A link to the card scrolls the thread to it.

A story the release agent (or a workspace owner or manager) has placed on one member's machines shows Assigned to that member at the top of the Story dialog, and only that member's machines run it. That member is told in their inbox and on the release thread, and the story waits for their machine rather than another member's. When it is assigned to you, Hand back returns it so any member's machine may run it again; work already running is left alone.

A rail runs down the right edge of the thread with up to ten items. Story, Review and Diff are documents: each opens in a reading dialog over the thread, with a section list to jump through it, a control next to its × that expands it to fill the window or restores it, and Esc to close it. Whichever size you leave a dialog at is the size it opens at next time. The rest are lists that open as panels beside the conversation.

  • Needs you appears, with a count, while anything on the story is waiting for you: the foreman's own cards, a question from any agent working on the story however deep it sits (a stage, or an agent a stage started), and the story's cards for you to review or answer. It lists them all, longest waiting first, and each row takes you to its card. You answer on the card itself.
  • Story is always there once the thread exists. It opens the story's intent, description and acceptance criteria, the deviations from the spec that were approved (none until a deviation request has been answered, and only the ones you or your project settings approved; a request you rejected never appears here), and the roadmap when the story has one. It is what the story's agents are judged against, so you read the same reference they do.
  • Details appears while a quality checkpoint, failed checks or a PR review waits on the story. It holds what the card only summarizes: the checkpoint's audit tabs, every failed check with its status, and the output of the project Run Project started. The card's Show in rail opens it.
  • CI appears once the story has a pull request. It lists each pull request's checks with the failing ones first, then those still running, then the rest, each with how long it ran and a link to the run on the forge. A failed check opens to its output and annotations right there. While the panel is open, Trinity reads the forge every 30 seconds as checks run and every minute while a new pull request waits for its first check, and it stops once the checks settle; the panel's footer says which, and Refresh reads again at once. When the forge limits Trinity's requests, the footer says when it tries again. The item shows a spinner while a check is running and a count of the failed checks, as of the last time the story was read.
  • Review appears once the Auditor has posted its first review round, and while a PR Review card waits on the story. For each repo's pull request (a merged one stays) its dialog shows the review the card is answered from: the run's timeline, the Documenter's brief with the code it cites, and the review rounds, oldest first, each linking the comments its reviewers posted on the pull request. When seats of two vendors read a round, it also lists each seat's report behind a disclosure and, on each finding, the seats that raised it and how the Auditor settled it; a round read by one vendor is unchanged. It reads the same rounds as the PR Review card, so the two agree. A criterion is met only when the journey it sits on has been run to its last step, on what ships and on every target the change reaches, and the Auditor re-runs at least one; the evidence each run produced (log lines, responses, screenshots) is on the pull request and in the round.
  • Diff appears once the story's first stage has started or the Auditor has posted a review round, and while a PR Review card waits on the story. Its dialog gives the diff the full width, with a file tree beside it, and shows each pull request's branch diff against the branch it targets, with the Auditor's latest findings at their lines, then the change the story is making as it makes it, edits not yet committed and new files included, the same for everyone watching the story whichever device runs it. The live part refreshes a few seconds after the agents stop writing, and at least every 30 seconds while they keep writing. A repo with too much changed lists its larger files with their line counts and no contents and says it is truncated; binary files are listed the same way, and so are .env files (other than .env.example), whose contents never leave the device running the story. Files your project ignores never appear.
  • Concurrent appears while another story that is running right now is heading for the same ground: it shares a package with this one, holds files this story's plan also changes, or is touching files this story holds or touches. Each such story is listed with its id and title (a link to its thread when it has one), then the files it holds and the files it is touching where they meet this story's, or just "Shares a package" when only the package is shared. A story holds the files its plan names from the moment the plan is made, and stops holding them when it finishes, stops, waits on you, or goes quiet for ten minutes, so the list changes without anyone doing anything and refreshes about every 30 seconds. It is a warning, not a lock: nothing is blocked, and the agent writing a file another story holds is told so and keeps its changes there to what the plan requires.
  • Follow-ups appears once an agent working on the story has filed one. It lists the problems this story's work showed up in, newest first, whether the story filed them or another did, each with its reason, where it lives and how many places it occurs in, counting the other stories it showed up in.
  • Agents appears once the story has started its first run. It lists every agent working on the story at any depth, sorted into needs you, working now and earlier, and doubles as the story's timeline. A run of a standard story shows as its story foreman with its four stages under it, and which of the four is working now; when the Auditor has sent the work back, that is the Implementer again. Each stage and review seat shows how it was resourced: the harness, provider and model it ran on, its tier and effort, and the analyst's one-line reason, with Raised on redo where the foreman raised the choice after a send-back and Pinned where your pin for the step decided it. Not yet run lists the stages still to come with the tier and effort the analyst planned for each, and any review seat that never ran. Select a run to open its thread; a bar above the conversation shows where you are and takes you back up.
  • Related appears once the story's thread has something connected to it, and lists the release thread the story belongs to. A story's release is the one its epic's phase belongs to, so moving the phase or epic to another release moves the link. Each row names the thread's kind and title and whether it is open, waiting on you or completed, and opens the thread where it has a page.

When the foreman of another story running in your project writes to this story's foreman about files the two share, its message shows in this thread as a card headed From S-12's foreman, with a link to that story's thread. The foreman weighs it against this story's own description and acceptance criteria and is never bound by it. A foreman can send ten of these per run, and a story that is waiting on a person or not running is not messaged.

Failed Stories: Paths to Resolution

When a story can't get through, it lands in the Failed state instead of stalling — and a failed story is never a dead end: it carries an honest cause, it blocks its dependents (so nothing builds on missing work), and the architect drafts a way forward the moment it fails. Failing never deletes anything — branches, PRs, and repos that already merged keep their code.

The detail view shows a Details card with the failure cause and a short reason:

Cause What happened
retries exhausted Automatic attempts ran out — the retry threshold was hit, or you marked a story failed when its agent was stuck (outside the audit phase)
run not converging Trinity stopped a run that kept churning files without making real progress, and parked it for you to diagnose
run stuck in a loop Trinity detected the agent looping — repeating the same tool calls or spiraling without progress — and stopped it
merge conflict A merge conflict outlasted the story's conflict passes, the release agent gave up a checkpoint's conflict, or you marked a partly failed multi-repo merge failed
PR closed externally The story's PR was closed outside Trinity and you marked the story failed instead of recreating it
implementer produced no changes The implement run finished without producing a diff
audit criticals The audit phase escalated blocking findings it couldn't fix, and you marked the story failed
authentication failed A git operation hit an authentication failure and you declined to re-authenticate
required tool not installed git, Claude Code, or Codex wasn't installed on the device, and you marked the story failed instead of installing it

The Architect's Proposal

Every failure files a dossier for the architect — the cause, the attempt count, the card's details, the conflict pass's account when a conflict ended the story, and which stories the failure blocks — and the architect immediately drafts a resolution proposal from it, so the choice is usually ready by the time you open the story. The proposal renders as an Architect proposal card — on the story detail page and under the failed row on the release's queue — with the rationale, the concrete changes, and two buttons:

  • Approve — applies the drafted resolution:
    • Retry as-is — nothing structural is wrong (say, the conflict has since been resolved upstream); the failure clears and the story re-queues on the next scan.
    • Reshape & retry — the story as written can't land; the proposal rewrites it (title, description, acceptance, dependencies, tags), then clears it for re-run.
    • Delete with reconciliation — the story shouldn't exist; the proposal removes it with an explicit decision for every story that depended on it — drop the dependency or repoint it — so nothing is left dangling.
  • Dismiss — sets the proposal aside; the story stays Failed for you to handle manually.

Retry & guidance

The manual paths stay available alongside the proposal:

  • Retry — clears the failure and resets the attempt count so the coordinator runs the story again from scratch.
  • Guidance — on the agent-blocked and hard-failed cards, a text field takes what to change or try next, with files if they help. Sending it returns to the card and kicks off the retry path. The externally-closed-PR card offers recreate and Mark failed instead. A story that hits a hard failure (the implementer hung with no report, an agent timed out, or retries ran out) gets a Story Failed card for exactly this — see Needs You → Story Failed.

How many times a story retries before it's marked Failed is governed by a retry-exhaustion threshold (default 3 attempts).

When the story belongs to a release

A story of a release that parks at Story Failed is also read by the release's agent, so it doesn't wait there until someone notices. The agent reads the failure and the architect's draft, and then does one of four things. It re-runs the story with a stated reason, for a failure that looks flaky or environmental. It hands the story back with guidance, for a failure the story's own work can fix with direction. It sends it to the Architect, for a story that is the wrong size, misses a dependency or rests on a false premise. Or it asks you on a card that starts Story S-n failed: with its recommendation first. Where the release's autonomy answers that decision it re-runs and hands back by itself and says so in one line on the release thread; where it asks, the agent asks first and acts only on your answer. A re-run and a hand-back are the same thing underneath, a message that sends the story back through its own pipeline; sending it to the Architect is a message too, and the story stays parked. It re-runs a story as many times as the retry budget in force for that story gives the automatic retries (the story's own setting, else the release's, the project's or the workspace's; the default is 3), and past that the decision is yours. Your own Retry or guidance clears the story's failed-attempt count, which gives the agent its budget back. The agent never applies the architect's draft and never marks a story failed; Approve, Dismiss and your guidance on the card stay yours.

Agent Handoffs

Each phase posts a structured report when it hands off. Standard stories produce four reports (analyst, implementer, auditor, documenter); checkpoints produce their own set. Reports include decisions made, detected services, and simplification passes. The Handoff History shows each report with the time it was created and processed, so you can see how long each phase took. A request-changes round posts the same reports: the analyst's plan reads as a written plan, and the auditor's handoff carries the implementer's report. On a fix, the implementer's report shows its new test failing with the fix undone, and lists every command it ran; the audit's reviewers start from that list rather than running it again. The analyst's plan also names the files the story owns, any paths it must leave alone and why, and the project skills the implementer opens first. A plan for a rename checks that no old name is left. An implementer that needs a path the plan fenced asks the story's foreman instead of editing it. The foreman takes the path on for the story when no other story is working on it. When another story is, it holds the step until that story has merged, brings your story's branch up to the merge, and then takes the path on; a case it cannot settle (a story in another release, two stories waiting on each other, a conflict the story's implementer cannot settle while bringing its branch up to the merged story) goes to the release's agent.

Pull Requests and Review Rounds

A story with changes always has a pull request in each repo it changed; nothing turns that off. The Implementer opens it, and each PR's description links the story's issue for that repo (Tracks) and lists the story's other PRs under Related pull requests; on a host with no issue tracker the description carries the plan itself instead. The story then collects review rounds on those PRs. One round is one pass of the Auditor: it posts each reviewer's report as its own comment on each repo's PR, then a summary review that links them (the goal, the reviewers that ran and the ones skipped, what was applied, rejected and flagged, and a verdict), with inline comments on the lines it found problems at and the rest in the review body, marking each finding applied, rejected or flagged. The Documenter then posts its close-out on the same PRs, and on the story's issue for each repo. When you ask for changes on the PR Review card, your text is posted on every repo's PR too, and the round that follows picks up from it. The card shows all of this, round by round. Merging the pull requests on the forge yourself works too: while the story waits on its PR Review card, Trinity notices the merge within about a minute, closes the story's issues and marks the story merged, and the card clears.

Story Issues

Trinity publishes each story as an issue on your repository host, one in every repo the story touches, so the plan is visible where your team already tracks work. Nothing in the run depends on them: if an issue can't be filed, the story carries on and its pull request opens without one.

What gets filed, and when. The Analyst files the issues as soon as its plan is written, before the Implementer starts. Each issue holds the story's intent, its acceptance criteria (every box still open, since nothing has been audited yet), the Analyst's plan, and links to the story's other repos under Also touches. If a repo has no issue when the Implementer opens its pull request, that is when it is filed. A request-changes round updates the same issues with the new plan rather than filing more. A quality checkpoint's branch pull request files one too, with the checkpoint's audit as its plan (see Checkpoints).

What gets skipped. Nothing is switched off: every story is published on every repo, public or private, since your repo's visibility is already your choice about who sees it. A host without an issue tracker has no issue to file, so the plan is written into the pull request description instead. On Bitbucket the documenter's close-out is posted as a comment on the pull request. What Each Git Host Supports lists which hosts take issues.

When an issue closes. A repo's issue closes as completed when that repo's pull request merges, whether Trinity merged it or you did on the host. It closes as not planned when the story ends without merging: the story is deleted (on its own, with its project or release, by a project reset, or by an Architect plan that removes it), the analyst finds it already satisfied and it completes with nothing to merge, a quality checkpoint is skipped or stopped on its failed-checks card, or a repo finishes with no changes to merge. An issue that is already closed keeps the reason it closed with. A story's issues stay open when you reset the story: a rerun updates the same issues. Trinity can only reach an issue while the repo is on this machine and an account that can write to it is connected, so an issue it can't reach stays open.

Stack Items

A story can carry a revision of a stack item: the framework, database or tool it adds, swaps or removes. During planning, the dependency mapper names which story installs each target and package the plan introduces, which story introduces or changes each design system, and which story adds or removes each stack item. The story's pull request makes the change in your repository.

A revision is pending while its story has not merged and takes effect once it has, so a story that never merges leaves its revision pending: a record of what was decided, not a claim that anything was built. Project Settings → Stack lists each item with its revisions and the story each came from.

PR and Merge Status

For completed stories, the detail view shows:

  • Pull-request link + status per repo (in multi-repo projects, one row per repo)
  • Branch names used (derived from the project's branch template)
  • Merge status — the story merges into its release branch (batched per the project's Merge Level); the release later promotes from there through your Dev Branch, optional Staging Targets, and on to the Base Branch

Once a story is merged, the detail view also shows a collapsible Changes section with the full merged diff rendered inline — one panel per repo — so you can read exactly what shipped without leaving the page or opening the code viewer.

Reset story

The Reset story button (on the story detail view) takes a story all the way back to a clean slate so you can run it again from scratch. Resetting closes the story's open pull requests, deletes its branch and worktree, and clears its run history — its jobs, handoffs, activity, and review rounds — leaving the story Pending with no run state. The story's issues stay open, and a rerun updates them rather than filing new ones. The confirm dialog ("Reset this story from scratch?") summarizes what gets removed before you commit.

Two guards protect you from a destructive mistake:

  • A merged or released story can't be reset — its code has already shipped, so the button doesn't appear.
  • A story that's currently running has to be stopped first; resetting never cancels a live run out from under a worker. A run that is parked waiting on you at a gate holds no worker, so Reset ends that run too, and the confirm dialog says so.

Reset is the right tool when a story went down the wrong path and you want a genuine fresh start, rather than Retry (which re-runs from the existing branch) or editing a Pending story in place.

Story Types

Standard (standard)

Planned development work — features, refactors, anything the Architect laid out. Lives in an epic of a phase of the release, and flows through the 4-phase story pipeline.

Bug (bug)

Fix work for something that is broken. It sits in the related epic, or in a small epic the Architect adds, in the right phase (or a new phase). Writing a planning document around the fix would only fabricate structure nobody wants. (Any story type can take that shape; bug is purely about what the work IS, and it routes no branches of its own.)

A bug story is a first-class member of its release: it blocks the release from going Ready until it lands, its work shows up in metrics, and it appears in the generated release notes, exactly like a planned story.

Where it merges follows from its shape, not its type: a batch branch is named after the epic a story sits in, so a bug story batches on its epic's branch at epic and phase, and that branch merges to the release branch once every story in the epic has landed. At story it merges straight to the release branch.

When you want several fixes to stage together and land as one, that is what a release-level merge override is for: put them in a release set to epic and give them a shared epic. Speed is the other direction — a release set to story sends every story it holds straight to the branch, whatever the project's default.

Quality Checkpoint (quality_checkpoint)

Placed by the Dependency Mapper at natural audit boundaries (end of a feature set, before a major shift, anywhere downstream stories depend on earlier work being correct). Runs the story's four stages, with an analyst that decides the checkpoint's work, and ends at a mandatory approval card (which the Unattended autonomy level answers for you, still logging an entry for the audit trail).

Quality checkpoints do not tag repos or ship a release — that's a separate pipeline, described in Releases.

Editing Stories

Pending stories are fully editable — open the detail view and change the fields inline; edits save immediately. Once a story is past pending — in progress, completed, merged, staged, released, already-done, or failed — it's protected from edits to avoid disrupting active or shipped work. If you need to change something that already ran, add a new story that builds on it (Architect is the clean way to do this).

All edits are tracked in the activity feed with field-level diffs.

Comments

Each story has a Comments tab (the count of comments shows next to the tab label). Comments are how you add clarifications or constraints to a story after it was written — "don't use X this time", "match the pattern in Y", "this needs to handle Z".

When the story runs, the Analyst and Implementer read every unresolved comment and treat it as a constraint: an unresolved comment overrides the default the agents would otherwise have chosen, and they call out in their handoff reports which comments shaped the work. Resolve a comment once it no longer applies and the agents ignore it.

This is the way to steer a story you can no longer edit. Pending stories are editable inline (see Editing Stories above); once a story is in progress or later it's locked — but a comment still reaches the agents on the next phase or re-attempt that reads the thread.

Architect sees the thread too. A story's comments are part of the story, so whenever Architect reads a story — one story, a search, a whole release plan, or a plan it checked out to edit — the discussion comes with it, resolved comments included. That means you can point Architect at a story and it already knows what was said about it, rather than needing you to repeat it. Architect can also reply on a thread and mark comments resolved once the point is settled, so a question you left on a story can be answered in place.

Automation Overrides (per-story)

Every story has an Automation tab letting you override settings just for that story. Overrides sit above the project-level default in the cascade:

Trinity defaults → Workspace → My workspace → Project → My project → Entity (story/release) → Job

The story's Autonomy level card sits below the permission mode. It sets how many of this story's cards answer themselves (Supervised, Mostly unattended or Unattended) and Use … from project follows the project's. It never depends on who runs the story. Under Mostly unattended and Unattended, an agent's access or tool ask during the story is answered without waiting for you: the story's agent allows or denies it, or the level grants it when the story's agent cannot be reached, and a short note on the story's thread says what was decided and why, with a Revoke for every grant it made. A project member can pick a level at most as loose as the one the story inherits, and clear it; a looser level is disabled and says it needs a workspace owner or manager. If the save is refused, the card returns to its previous value and shows the reason.

A story's Permission mode select sits at the top of this tab. It sets how far the agents working on this story may reach for access (Block, Ask or Allow), and Inherit follows the project. A project member can pick any mode at least as strict as the project's; a looser one is disabled and says it needs a workspace owner or manager. If the save is refused, the select returns to its previous value and shows the reason.

Per-story overrides available:

  • Squash merge — squash commits on merge
  • Delete branch after merge — clean up after merging
  • Placeholder audits — whether this story's quality checkpoint scans for each placeholder family (images, contact details); unset follows the project, then the workspace

Leave any toggle unset to inherit from the project (or the workspace) default. Overrides don't cascade to other stories. This card carries automation toggles only — the models a story runs on are set per pipeline step in Execution Settings above, over the per-tier defaults from Project Settings → AI Models.

Multi-Repo Stories

In polyrepo / multi-target projects, one story can touch multiple repos. Each repo is tracked independently:

  • Separate branches per repo (each computed from the repo's branch template)
  • Independent PR + merge status per repo
  • repo:<name> tags on the release control which repos are tagged when the release ships (no repo tag = all repos tagged)

The story detail view groups per-repo state so you can see at a glance which repos are green vs. blocked.