ShipBenchv0.11.0

Type to search the documentation.

↑↓ navigate ↵ open Esc close

ShipBench Project Files

Updated 11-20-2026•10 min read•shipbench v0.11.0

The ShipBench project system stores planning data in a small set of files inside each Git repository. These files stand on their own: the ShipBench CLI, the local board, and coding agents are all clients of the same project data. This page defines those files and the behavior required of clients that read or write them.

Directory structure

.shipbench/
├── config.json          # Human-owned board configuration
├── layout.json          # Machine-managed partial placement index
├── README.md            # Human-facing project-board reference
├── AGENTS.md            # Machine-facing agent instructions
└── tasks/
    ├── setup-auth.md    # One live task per Markdown file
    └── archive/         # Archived tasks

Tasks live in tasks/. Archived tasks live in tasks/archive/ and stay out of normal board reads and searches unless a command explicitly includes the archive.

Read the narrowest thing that answers the question. Because each task has a slug, read one task when one task is enough. Use list, search, multiple descriptions, or archive reads only for broader questions. This principle applies to the CLI and direct file access.

Project configuration

config.json defines the project name, board columns, completion column, priorities, and future custom fields. A fresh project starts with:

{
  "version": 1,
  "name": "my-project",
  "columns": [
    { "id": "todo", "label": "To Do" },
    { "id": "in-progress", "label": "In Progress" },
    { "id": "done", "label": "Done" }
  ],
  "default_column": "todo",
  "done_column": "done",
  "done_display": { "max": 20 },
  "priority": {
    "values": ["low", "medium", "high"],
    "default": "medium"
  },
  "schema": { "custom_fields": {} }
}

Column IDs are the valid values for a task’s status; labels are display text. default_column receives new tasks that omit --status. done_column identifies completion for dependency checks, board ordering, display limits, and bulk archiving.

config.json may be partial. Readers deep-merge it over the built-in defaults, so you may omit blocks you do not customize. Arrays such as columns and priority.values define the complete configured list, so include every value you want to keep when replacing them.

Task files

Each task is a Markdown document named by its slug:

---
title: Setup GitHub OAuth
status: in-progress
priority: high
assignee: agent
tags: [auth, backend]
depends_on: [choose-auth-provider]
related: [spike-oauth-providers]
created: 2026-07-21T03:49:00.000Z
updated: 2026-07-24T20:00:00.000Z
---

Implement the callback route and token exchange.

## Task Updates

### 2026-07-24T20:00:00.000Z
Switched to PKCE after the security review.

The YAML frontmatter carries structured data. The content below it is the task description, written in ordinary Markdown. An optional trailing ## Task Updates section carries timestamped entries.

Field Required Meaning
title Yes Human-readable task title.
status Yes A column ID from config.json.
priority No A value from priority.values; creation uses the configured default.
assignee No Freeform informational label. It does not claim or lock work.
tags No Array of freeform strings.
depends_on No Array of task slugs that must finish first.
related No Array of task slugs this task is associated with. Points at work without ordering it. See Related tasks.
flag No Marks the task for attention: a one-line reason, or true. See Flags.
created Yes ISO 8601 timestamp recorded when the task is created and never changed.
updated Yes ISO 8601 timestamp changed by task-content and status mutations. Layout-only reorders and archiving leave the task file unchanged.

Readers preserve unknown frontmatter fields and report them as warnings. Subsequent writes must retain fields they do not recognize.

A file whose frontmatter does not parse is not a task, but readers still report it, with the reason, rather than leaving it out. Writers refuse to change it. Repairing it is a text edit in the file.

Slugs and dependencies

New task filenames derive from their titles: lowercase, hyphenated, and stripped of special characters. If the resulting slug exists in either the live or archive directory, task creation appends a numeric suffix such as setup-auth-2.md. Archived slugs remain reserved so dependency references stay unambiguous.

depends_on is data, not a lock. It does not prevent edits or column moves. Writes reject an unknown slug, a self-reference, and a direct two-task cycle. Reads keep a task with a dangling dependency visible and report a warning.

A dependency is satisfied when it is:

  • a live task in done_column, or
  • present in tasks/archive/.

Use shipbench task list --available to select tasks whose dependencies are satisfied, --blocked to find tasks still waiting, and shipbench task graph to inspect forward and reverse relationships. shipbench task graph <slug> narrows that to one task’s blockers and dependents.

related records that two tasks are associated: the spike that produced a decision, a sibling task sharing a surface, the audit that explains a constraint. depends_on orders work; related only points at it. It never affects availability, never blocks archiving, never enters the dependency graph, and never moves a task.

Writes reject a self-reference and a slug matching no task file. Unlike depends_on, an archived target is valid, because pointing at finished work is the ordinary reason to link, while an archived prerequisite is already satisfied. Only slugs a write adds are checked, so a link that went dangling after it was written survives an edit to the rest of the list. Two files naming each other is normal; there are no cycle rules. Reads keep a task with a dangling or malformed value visible and report a warning.

The association is undirected, but a file stores one direction, and writing one task never changes another task’s file. Tools that read the whole project show both directions and list an association recorded on both files once. A single-task read reports the frontmatter as written. An association recorded on the other task’s file is removed by editing that task.

A Markdown link in a description is a path, so it depends on where both files are. Archiving moves a file into tasks/archive/ and rewrites no other file, so a relative link between a live task and an archived one stops resolving. A related slug does not have that problem, because it names the task rather than its location. When a description links to another task, record that task in related (or depends_on) as well. shipbench task archive names the live tasks that link to the task it archives, and the board opens a linked live task whichever directory the link names, and shows an archived one at its archive path.

Flags

flag asks for someone’s attention without moving the task. Its value is a one-line reason, or true when there is none to give. What a flag means is the project’s call: blocked, needs a decision, needs review. The field is informational like assignee. It gates nothing, and nothing sets or clears it as a side effect, so a task moved to done_column keeps its flag until someone removes the field.

Writes reject a blank or multi-line reason and any value other than a string or true. Reads treat any other value as unflagged and report a warning. A flag is not the same as being blocked: --blocked means unmet depends_on.

Task Updates

The reserved trailing ## Task Updates section separates time-anchored entries from the timeless description. Each entry has an ISO 8601 ### heading followed by Markdown text.

Use this question to choose where a fact belongs:

Would this still be true or useful without knowing when it happened?

If yes, edit the description. If the moment matters—a decision, pivot, scope change, or external event—append an Update:

shipbench task comment setup-github-oauth \
  "Switched to PKCE after the security review."

That question is guidance; nothing validates it. Update text can be any Markdown, and you can use the section as a freeform comment log if you like. Updates are what someone chose to write down. Git already keeps the file’s full history. Tracing a Decision shows how Updates and links between tasks let you work out later why something was built.

Only a ### <ISO 8601 timestamp> line at the start of a line, outside a code fence, opens an entry. Every other heading in an entry belongs to that entry’s text, so an update is free to use ## or #### for its own structure. Three shapes are refused on write instead, because the next read would file them as structure rather than prose: a ## Task Updates heading of its own, a line-initial heading whose text is a date, and an unclosed code fence. Indenting the line by four spaces or fencing it keeps any of them as literal text.

A well-formed trailing Updates section is separate from the task description above it. If the section will not parse, readers keep that separation anyway: the description stays the description, the section is preserved verbatim and marked unreadable, no entries are returned, and an updates warning names the line that broke it. The task is never dropped, and a later write puts the section back byte-identical, so repairing it is a text edit in the file.

The ## Task Updates line is what divides the two, so a description cannot contain one of its own. Writes reject a description carrying that heading, because the next read would file everything below it as entries. The heading counts only outside a code fence, so a description may quote it in fenced Markdown — and for the same reason a description may not leave a fence open, which would put the real marker inside a code block and hide every entry below it.

You may correct an entry’s text or delete a wrong entry. Commands address entries by zero-based index:

shipbench task comment edit setup-github-oauth 0 \
  "Kept PKCE after the second security review."
shipbench task comment delete setup-github-oauth 0

Editing preserves the entry’s ### timestamp; deleting removes the entry. Both actions update the task’s updated field. Git keeps the earlier text or deleted entry for recovery.

Layout and ordering

Choose whether manual board order belongs to the project or only to each checkout:

  • Commit .shipbench/layout.json when every clone should share the same drag-and-drop order.
  • Add .shipbench/layout.json to .gitignore when each checkout should keep its own order.

Both strategies are valid. A missing or gitignored layout.json makes ShipBench use deterministic timestamp ordering, so a fresh clone still renders a stable board. If the file is already tracked, remove it from Git’s index after adding the ignore rule:

git rm --cached .shipbench/layout.json

Tracked or ignored, layout.json stores a partial index of manual placements as a record of column IDs to task slugs:

{
  "todo": ["setup-auth", "build-api"],
  "in-progress": ["landing-page"]
}

Treat this file as machine-managed. Operations that change manual task placement update it. It is not a complete snapshot of visible order. It can omit whole columns and unlisted tasks, never retains done_column, may carry stale slugs until another layout write, and may be absent or gitignored.

Visible ordering combines config.json, the task files, and the partial layout index:

  • Configured columns render in config.columns order, followed by Uncategorized tasks.
  • Listed tasks in a regular column render in layout.json order.
  • Unlisted tasks render below them, newest created timestamp first.
  • Missing or stale slugs are ignored and pruned by relevant writes.
  • The Uncategorized column ignores layout and sorts by created, newest first.
  • done_column ignores layout and sorts by updated, newest first.
  • done_display.max caps the visible done tasks; search bypasses the cap.

Do not read layout.json alone to determine board order; it can give an incomplete or stale answer. shipbench task list reports live tasks in configured column order and visible within-column order, and JSON output includes each task’s zero-based position within its column. Direct file readers can apply the rules above to the individually addressable task files.

Archiving

Archiving moves a task byte-for-byte to tasks/archive/<slug>.md. It does not change frontmatter, status, or timestamps, so unarchiving restores the same task.

Any task can be archived. An archive request for a non-done task with live dependents must fail unless the caller explicitly forces it. Bulk archiving is always explicit; the convention defines no automatic archiving.

See the ShipBench CLI Reference for archive commands and safeguards.

Validation model

The convention requires strict writes and graceful reads.

  • Writes reject invalid statuses, priorities, timestamps, dependencies, flags, and malformed fields.
  • Reads return recoverable tasks with warnings, including unknown statuses and fields.
  • A file whose frontmatter does not parse is never dropped. Reads return it as unreadable with the reason, the board shows it as a read-only card in an Unreadable column, and every other task still loads.
  • Tasks with an unknown status appear in the board’s Uncategorized column.

Strict writes stop the CLI and other tools from producing invalid files. Graceful reads mean a hand-edited file with a mistake in it still shows up, with a warning, instead of disappearing.