Folder Agents
You are deciding whether repeated work deserves its own specialist, and you need to know what a Folder Agent contains, can do, and must never do.
A Folder Agent is a self-describing specialist directory under team/<agent-name>/. It owns one ongoing responsibility and works only when a human opens that directory in a supported AI assistant CLI. It is not a daemon, server, background listener, database, or autonomous worker.
Relation to Factory V2
This page describes Folder Chief's own local product contract. Do not infer that all Factory employees have the same write directory, invocation pattern or prohibition on delegation. Those depend on the role and installation grants. A folder alone does not prove confinement or Factory commissioning. See Factory V2.
When a Folder Agent fits
| Signal | What it means |
|---|---|
| The request shape repeats | The same category of work returns often enough to justify a standing role. |
| The work needs its own state | The specialist needs notes and continuity without cluttering the Chief's whole-of-work memory. |
| The responsibility has a distinct cadence | It has a recognizable trigger, such as an on-request review, weekly check, or inbox queue. |
| Correctness is checkable | The Chief can inspect a concrete output and determine whether it meets named acceptance scenarios. |
A one-off task stays with the Chief. So does work whose success cannot be checked objectively. Folder Chief's critical hiring rule is simple: if there is no credible way to tell whether the specialist's output is right, do not create the role.
What every Folder Agent contains
| Path | Purpose |
|---|---|
AGENTS.md |
The specialist's compact identity, mission, outcome, boundaries, tools, and allowed read scope. |
direction.md |
Dated, attributed standing direction from the owner or Chief. |
work/ |
The only location for deliverables and work products. |
notes/ |
Private working notes for the specialist's own continuity. |
log.md |
An append-only activity record. |
tests/acceptance.md |
Concrete scenarios used to check both useful behavior and stop conditions. |
CLAUDE.md and GEMINI.md |
Platform pointers back to the canonical contract where those harnesses use them. |
Optional procedures/, examples/, or templates/ directories appear only when the responsibility genuinely needs them.
The hiring questions
Before a Folder Agent exists, the Chief and owner settle four facts:
| Question | Required answer |
|---|---|
| Outcome | The specific deliverable that means the responsibility is handled. |
| Boundaries | The actions and locations the specialist must never touch. |
| Knowledge scope | The exact parts of brain/ the specialist may read. The owner's profile is excluded unless the owner explicitly grants it. |
| Verification | The observable checks that show whether the work is correct. |
The resulting contract stays compact, and the acceptance set includes at least one scenario that requires the specialist to stop and ask for guidance.
Every new Folder Agent starts with at least two acceptance scenarios:
- A useful-work scenario proves that a representative instruction produces the expected file in
work/and a matching entry inlog.md. - A boundary scenario proves that missing, contradictory, destructive, external-action, or out-of-scope input makes the specialist stop and ask for guidance.
Direction, work, and verification
The working relationship is file-based:
| Flow | Record |
|---|---|
| Owner or Chief → specialist | Instructions are appended to direction.md verbatim, with attribution and date. |
| Specialist → Chief | Deliverables go to work/; activity summaries go to log.md. |
| Chief → shared memory | The Chief inspects the specialist's files and writes only verified findings into brain/. |
The Chief checks files directly rather than relying on a conversational status report. Only the Chief writes to the shared vault, which avoids competing edits and keeps one accountable path into durable owner knowledge.
Default boundaries
A Folder Agent:
- writes only inside its own directory;
- produces deliverables only in
work/; - reads only the knowledge paths named in its contract;
- treats capabilities as explicit, never ambient;
- never stores credentials;
- never sends email, publishes content, modifies an external service, or dispatches messages;
- never edits
brain/,chief/,journal/, peer-agent folders, raw sources, or historical logs; - never creates another agent; and
- stops when an input is missing, contradictory, outside scope, destructive, or requires an external action.
Lifecycle
An active specialist appears in team/ROSTER.md with its responsibility, status, hire date, and directory. Its first run is supervised and checked against an acceptance scenario. When the recurring responsibility ends, its roster status changes to retired and its folder is moved under team/retired/ or removed according to the owner's choice, with Git history retaining prior tracked work.
Next step
Read Folder Chief for the whole-workspace model and the Chief's role as coordinator, memory keeper, and verifier.
Audience, source and original lineage
Audience: prospective user, owner, new teammate · Reading modes: executive, engineer, ai
Original lineage (not approval of later edits): registry-listed (no candidate packet)
Registry source: content/public/folder-agents.md