Traces and decisions
Every job keeps a trace: an append-only record of everything that happened, in order. It is how you find out why a pull request looks the way it does, without asking the agent.
Jobs and runs
A job is one piece of work on the repository: an issue to build, or a pull request to review. It moves through phases: queued, building, reviewing, fixing, and then ready for a person, or deploying, recovering, and reverting when the factory merged it. A run is one agent working on a job in its own sandbox, as the builder or the reviewer. The builder keeps one sandbox for the whole job; every review round gets a new one.
What a trace records
- Phase changes, and when each run started and ended.
- What each agent was told and what it said.
- Every tool call as one line:
Edited src/save.ts +12 −3,> npm test, with the clipped output. - What was read from or written to GitHub: the pull request opened, commits pushed, reviews with their findings, CI results, merges.
- Decisions, and errors.
Highlights shows what changed the code, what was run, what reached GitHub, and every decision. Full adds the reads and searches, the briefs, the agents' reasoning summaries, and run bookkeeping. The stats panel shows duration, review rounds, sandbox time, tokens, and tool calls.
Decisions
A decision is a choice that changed what ships, kept for good with who or what made it and the facts it rested on. For example: build started, by maya; changes requested, by the reviewer, at commit a81c07e; left for a person, by policy pr-only, CI passed, review Looks good; merged, by rule label:docs.
Decisions are made by a person on Discord or GitHub, a merge rule, the merge policy, the reviewer, or the factory itself. Decisions and the things they are about (issues, pull requests, commits, deploys) are linked, so you can follow a deploy back to the request that started it.
Sharing a trace
Each job's trace has a page at /t/<workspace>/<share id>. The workspace id only routes the request; the share id is long and unguessable. The pull request's description links to it. Who may open it depends on its visibility:
- private: the workspace's maintainers, signed in.
- direct: anyone with the link.
- public: anyone, and listed on the workspace's public page.
A workspace sets its default visibility and the widest one it allows.
Limits
To keep traces readable and bounded, an event's text is clipped to 8 KB and its data to 16 KB, and a job keeps at most 5,000 events.