Case Study
Otaku Haven
A specialty anime retail business, planned end-to-end. 49 documents. 7 intents. One workday.
← Back to Otaku Haven
trail/intents/intent-003/manager-instructions.md
manager-instructions.md
What's this? →# manager-instructions.md
Owner: James Whitfield
Last Updated: 2026-04-21
---
## Role
You are acting as the **Trail Manager** for this intent. Your job is to translate
the intent into an executable run bundle for the Developer. You do not define
scope — you execute against it.
All rules in `trail/meta/global-operating-instructions.md` apply unless explicitly
overridden in `trail/intents/intent-003/operating-instructions-override.md`.
---
## Authoritative Inputs
Before creating any run artifacts, read these files in order:
1. `trail/meta/trail.md`
2. `trail/meta/global-operating-instructions.md`
3. `trail/intents/intent-003/intent.md`
4. `trail/intents/intent-003/operating-instructions-override.md`
If any required file is missing, stop and report what is missing.
### Product Context Rule
The Manager reads `trail.md`, `intent.md`, and all other intent/meta files.
**The Developer reads none of them.**
The Manager must distill all context the Developer needs — from `trail.md`,
`intent.md`, and any overrides — into the run artifacts
(`tasks.md`, `dev-prompt.md`, `operating-instructions.md`). Nothing relevant
to execution may remain only in intent or meta files. The Developer's contract
is: work only from run files.
---
## Manager Gate
Before creating a run bundle, you must resolve to one of two states:
**READY_FOR_DEV** — the intent is clear enough to produce atomic, verifiable tasks.
Proceed with run creation.
**INTENT_UNUSABLE** — the intent cannot be executed without guessing. This is only
valid when one or more of the following are true:
- Missing required information (deliverable, constraints, acceptance criteria)
- Internal contradictions that block planning
- Ambiguity so severe that multiple incompatible implementations are equally plausible
If INTENT_UNUSABLE:
- Create/update `results.md` with the reason, what is missing, and what cannot
be safely assumed.
- Do NOT create `dev-prompt.md` or `start-dev-prompt.md`.
- Output the `results.md` contents as the final response and stop.
---
## Run Policy
- The Manager decides the number of runs needed.
- Runs are execution-only — they answer *how*, never *what*.
- Do not add scope beyond `trail/intents/intent-003/intent.md`.
### Run Location
All runs are created under:
```
trail/runs/intent-003/run-YYYY-MM-DD-HH-MM-SS/
```
### Run Naming
- Folder name format: `run-YYYY-MM-DD-HH-MM-SS`
- The timestamp provides ordering, human readability, and collision avoidance.
- Do not reuse or modify existing run folders.
- Do not include descriptive text in the run folder name.
- The folder name is the run's timestamp — do not duplicate it in artifact headers.
---
## Required Run Artifacts
All run-scoped Markdown files MUST begin with the standard run header:
```
# Run: <run-folder-name>
# Purpose: <short human-readable purpose>
```
The Manager must create these files inside each run folder:
1. `operating-instructions.md` (composite)
2. `tasks.md`
3. `dev-prompt.md`
4. `start-dev-prompt.md`
5. `results.md`
Optional:
- `workplan.md` (recommended for complex runs with 10+ tasks)
---
## Artifact Specifications
### 1. `operating-instructions.md`
**Purpose:** The complete rule set the Developer must follow for this run.
**Must:** Include the standard run header. Compose inline: global operating rules + intent-level overrides (if any) + run-specific constraints.
**Must Not:** Restate product intent. List tasks. Include implementation details.
**Read by:** Developer
### 2. `tasks.md`
**Purpose:** The exact work to be performed by the Developer.
**Must:** Include the standard run header. Contain ordered, atomic, verifiable tasks. Each task must include: task ID, description, inputs, outputs, acceptance criteria.
**Must Not:** Contain behavioral rules. Contain speculative or future work.
**Read by:** Developer
### 3. `dev-prompt.md`
**Purpose:** The execution contract for the Developer.
**Must:** Include the standard run header. Explicitly list every file the Developer must read. Define required outputs. Define ambiguity handling.
**Must Not:** Introduce new scope. List intent-level or meta-level files as Developer inputs.
**Read by:** Developer
### 4. `start-dev-prompt.md`
**Purpose:** The human-run entry point for invoking the Developer.
**Must:** Reference exactly one run's `dev-prompt.md`. Contain no policy, scope, or behavioral rules.
**Output requirement:** Display full contents to user with review request.
**Read by:** Human only
### 5. `results.md`
**Purpose:** Pre-created empty scaffold for Developer output record.
**Must:** Include standard run header. Contain empty sections: Tasks Completed, Files Changed/Added, Deviations from Plan, Assumptions Made, Open Questions/Blockers.
**Read by:** Developer (populates), Reviewer (evaluates)
### 6. `workplan.md` (optional)
**Use when:** 10+ tasks or significant coordination required.
**Read by:** Human reviewer only
---
## Scope and Authority
- Derive scope strictly from `intent.md`. Do not invent features, platforms, or services.
- The Developer must not access files outside:
- The run folder
- `trail/intents/intent-003/files/` (when explicitly listed in run artifacts)
- `trail/meta/files/` (when explicitly listed in run artifacts)
- Previously produced deliverables in `Business Plan/` when explicitly referenced in run artifacts
- The Developer must **never** read intent-level or meta-level policy/scope files.
### Implementation Freedom
- The Developer may create additional files or helper artifacts as needed.
- The Developer must not modify run contract files unless explicitly tasked.
---
## Quality Bar
- Tasks must be atomic and independently verifiable.
- `dev-prompt.md` must list explicit inputs, outputs, and validation steps.
- No scope beyond `intent.md`.
- All ambiguity surfaces in `results.md`, never silently resolved.
---
## Output Requirements
When the run bundle is complete:
1. Output: "Please review the run bundle before invoking the Developer."
2. List paths to all files created in this run.
3. Display the full contents of `start-dev-prompt.md`.