The ShipBench CLI reads and writes the nearest .shipbench/ project at or above your current directory, or the one in the directory selected with the global -C option.
shipbench --help
shipbench --version
shipbench -C ../another-project task list --json
Every command documents its own flags:
shipbench <command> --help
The CLI uses core for validation, slug creation, timestamps, dependency checks, archive safeguards, and layout updates. Humans may edit task files directly; scripts and agents should prefer CLI mutations.
Global option
shipbench [-C <path>] <command>
Without -C, every command except init uses the nearest board at or above
the current directory, so task list from src/ reads the board at the project
root. The search stops at the first .shipbench/ directory it reaches, and at the
top of the Git checkout it started in (a repository, a linked worktree, or a
submodule), so it never crosses into another checkout. When the board was found
above the current directory, commands that change a task first print
Using .shipbench/ from <path> on stderr. When there is no board, ShipBench says
where it looked and suggests shipbench init.
-C <path> names the board’s directory exactly: ShipBench uses the board there
and does not search above it. Relative paths resolve against the shell’s current
directory; absolute paths work as written. ShipBench exits with an error naming
the path when it does not exist or is not a directory.
init creates its board where it runs, or in the -C directory, and never
searches. When a board already exists above it in the same checkout, init still
creates the new one and prints a note naming the existing board.
The option applies to every command.
For init, the default project name comes from the selected directory’s
basename:
shipbench -C ../new-project init
JSON output
Every task command accepts --json. A command that writes a task prints the
resulting task on stdout, in the same shape as
shipbench task get, instead of a confirmation on
stderr. That lets a script or agent confirm a write without a second read.
task archive --done prints an array of the archived tasks, empty when none
qualified, and task delete prints { "slug": "<slug>", "deleted": true }.
task get prints JSON with or without the flag.
Command reference
shipbench init
shipbench init [--name <name>]
Initializes a new ShipBench project. --name defaults to the selected project directory’s name.
| Flag | Purpose |
|---|---|
-n, --name <name> |
Set the project display name. |
Initialization creates config.json, layout.json, README.md, AGENTS.md, and a welcome task only when the project is absent. A valid existing project remains byte-for-byte unchanged. An incomplete, malformed, or invalid project fails before any write. If you pass --name for an existing project, it must match the configured name.
The scaffolded README.md and AGENTS.md start with a comment recording the ShipBench version that wrote them, such as <!-- shipbench-scaffold 0.11.0: … -->. Keep that line when you edit either file. When you run init on an existing project, it names each of the two that has no stamp, or a stamp from a version other than the one you’re running, and links to Upgrading ShipBench.
shipbench task create
shipbench task create <title> [options]
Creates a task, generates a collision-safe slug, and sets both timestamps.
| Flag | Purpose |
|---|---|
-s, --status <status> |
Initial column; defaults to default_column. |
-a, --assignee <assignee> |
Freeform informational label. |
-p, --priority <priority> |
Configured priority value. |
-t, --tags <tags> |
Comma-separated tags; may be repeated. |
-d, --depends-on <slugs> |
Comma-separated dependency slugs; may be repeated. |
--related <slugs> |
Comma-separated slugs of live or archived tasks this one relates to, without depending on them; may be repeated. |
--body <text> |
Description as Markdown text. |
--body-file <path> |
Read the description from a UTF-8 file; - reads stdin. |
shipbench task create "Build API" \
--status todo \
--priority high \
--tags backend,api \
--depends-on choose-database \
--depends-on define-schema
--body and --body-file are mutually exclusive, and a task created without
either has an empty description.
Prefer --body-file for anything longer than a sentence. It reads the file as
UTF-8 directly, so the description never passes through shell quoting or a
shell’s encoding. That is what makes it the reliable path on Windows, where
PowerShell 5.1 decodes UTF-8 as Windows-1252 and corrupts every non-ASCII
character in a quoted argument and in a pipe alike.
shipbench task create "Build API" --body-file plan.md
shipbench task create "Build API" --body "Cursor pagination, no offsets."
shipbench task edit
shipbench task edit <slug> [description] [metadata] [--json]
Revises a task’s Markdown description, its validated metadata, or both, and
updates its updated timestamp. created is never touched, and the trailing
## Task Updates section is left exactly as it was — use
shipbench task comment for those. status and board
placement stay with shipbench task move.
Pass at least one change. Everything is applied in a single write that runs
core’s validation first, so a rejected value (an unconfigured priority, a
depends_on or related slug with no task file) leaves the task exactly as it
was — never half-edited.
| Flag | Effect |
|---|---|
--body / --body-file |
Replace the description whole; --body "" clears it. |
--title <text> |
Set the title. The slug and filename never change. |
-p, --priority <value> |
Set the priority (must be a configured value). |
-a, --assignee <label> |
Set the assignee. --clear-assignee removes it. |
-t, --tags <list> |
Replace every tag. --clear-tags empties the field. |
--add-tag <list> / --remove-tag <list> |
Add or drop tags, keeping the rest. |
-d, --depends-on <list> |
Replace every dependency. --clear-depends-on empties the field. |
--add-depends-on <list> / --remove-depends-on <list> |
Add or drop dependencies, keeping the rest. |
--related <list> |
Replace every related task. --clear-related empties the field. |
--add-related <list> / --remove-related <list> |
Add or drop related tasks, keeping the rest. |
<list> flags accept comma-separated values or repeated flags. The --tags /
--add-tag / --remove-tag / --clear-tags group is mutually exclusive, as is
the --depends-on group and the --related group; --assignee and
--clear-assignee conflict.
The related flags edit this task’s own list. An association recorded only in the
other task’s file shows up from this task in task list --json, but
--remove-related cannot drop it: the command is rejected and names the task to
edit instead.
shipbench task edit build-api --body-file revised-plan.md
shipbench task edit build-api --body ""
shipbench task edit build-api --priority high --add-tag urgent --remove-tag someday
shipbench task edit build-api --title "Build the public API" --depends-on ship-auth
shipbench task edit build-api --add-related spike-pagination
A description may not contain a ## Task Updates heading of its own — that
heading is what divides the description from the entries below it, so the write
is rejected rather than filing part of the description as Updates. Put the
heading in a code fence when a description means it literally. A description may
not leave a code fence open either: the fence would run past the end of the
description and swallow the marker, hiding every entry from the next read. See
Task Updates.
--json emits the edited task in the same shape as
shipbench task get.
shipbench task move
shipbench task move <slug> [--to <status>] [placement]
Moves a task to a configured column and updates its updated timestamp. The move appends the task to the destination’s manual layout unless the destination is done_column, which uses time ordering.
depends_on does not gate moves. It describes readiness; it is not a lock.
A placement flag says where in the destination column the task lands. They are mutually exclusive:
| Flag | Places the task |
|---|---|
--top |
First in the column |
--bottom |
Last in the column |
--before <slug> |
Immediately before another task in the same column |
--after <slug> |
Immediately after another task in the same column |
--position <n> |
At a 0-based index; -1 appends |
Prefer the anchors. --before build-api states an intent, while an index depends on what the column happens to look like right now.
With a placement flag, --to is optional and defaults to the task’s current column, which is how you reorder without moving:
shipbench task move build-api --before ship-auth
shipbench task move ship-auth --to in-progress --top
An in-column reorder writes only layout.json — the task file, including its updated timestamp, is untouched.
Placement flags cannot target done_column; it is always sorted by updated desc and carries no manual order. An anchor that is unknown, archived, in another column, or the task itself is an error.
shipbench task comment
shipbench task comment <slug> (<text> | --body <text> | --body-file <path>)
Appends a timestamped entry to the trailing ## Task Updates section and updates the task timestamp. Quote text that contains spaces:
shipbench task comment build-api \
"Switched to cursor pagination after the load test."
An update longer than a sentence takes the same --body-file that
shipbench task create does, and for the same reason —
the file is read as UTF-8 and the prose never passes through shell quoting or a
shell’s encoding:
shipbench task comment build-api --body-file update.md
The text may be given once, positionally or through an option, never both.
An entry’s text is prose, and Markdown headings inside it are yours to use. Only
a ### <ISO 8601 timestamp> line at the start of a line opens a new entry, so a
## Rollback plan written in an update stays part of that update. Three things
are refused on write, because the next read would file them as structure: a
## Task Updates heading of its own, a line-initial heading whose text is a
date, and an unclosed code fence.
See Task Updates for the time-anchored-fact heuristic.
Edit only an entry’s text with its zero-based index:
shipbench task comment edit <slug> <index> (<text> | --body <text> | --body-file <path>)
ShipBench preserves the entry timestamp and updates the task timestamp:
shipbench task comment edit build-api 0 \
"Kept cursor pagination after the second load test."
Delete an entry with the same index:
shipbench task comment delete <slug> <index>
Deleting shifts every entry below it up one index:
shipbench task comment delete build-api 0
Git keeps prior text and deleted entries in file history.
shipbench task flag
shipbench task flag <slug> [reason]
shipbench task unflag <slug>
Marks a task for attention without moving it. The reason is optional and must fit on one line; with no reason the task is saved as flag: true. Flagging a flagged task replaces its reason. unflag removes the field.
shipbench task flag build-api "Waiting on API credentials"
shipbench task unflag build-api
What a flag means is your project’s call: blocked, needs a decision, needs review. A flag is not --blocked, which means unmet depends_on. Nothing clears a flag for you, so a task moved to done keeps its flag until someone runs unflag. task list and task search mark flagged tasks in text output and take --flagged to show only them.
shipbench task get
shipbench task get <slug> [--archived] [--json]
Returns one task as JSON, so --json changes nothing. Alias: show. The payload always includes full frontmatter, the Markdown description, and parsed Updates:
{
"slug": "build-api",
"status": "in-progress",
"frontmatter": {
"title": "Build API",
"status": "in-progress",
"priority": "high",
"tags": ["backend", "api"],
"depends_on": ["define-schema"],
"created": "2026-07-21T03:49:00.000Z",
"updated": "2026-07-24T20:00:00.000Z"
},
"body": "Implement the project API.",
"comments": [
{
"timestamp": "2026-07-24T20:00:00.000Z",
"text": "Switched to cursor pagination after the load test."
}
]
}
If the slug is archived, the live lookup tells you to retry with --archived.
When a task’s Updates section cannot be parsed, body still holds only the
description. The section is preserved verbatim under unreadable_updates, with
the reason it would not parse, and a warning naming the offending line goes to
stderr so a piped --json read stays clean:
"comments": [],
"unreadable_updates": {
"text": "## Task Updates\n\n#### 2026-07-25T09:30:00.000Z\nWrong level.",
"reason": "expected each entry heading to use \"### <ISO 8601 timestamp>\", saw \"#### 2026-07-25T09:30:00.000Z\"."
}
The section is written back byte-identical on every write, so nothing is lost
while it stays broken. Repair it by fixing the named line in the task file;
task comment refuses the task until it parses. See
Task Updates.
For agents, task get is the preferred second step after a body-free task list --available --json shortlist.
task get reads one file, so frontmatter.related is exactly what that file records. Associations recorded on other tasks appear in related_tasks from task list --json and task search --json, which read the whole project.
shipbench task list
shipbench task list [options]
Lists live tasks in board order. Configured columns follow config.columns; tasks within each column follow the Board’s visible order. Uncategorized tasks come last. Archived listings retain archive order.
| Flag | Purpose |
|---|---|
-s, --status <statuses> |
Filter by status; comma-separated or repeatable, matching any listed value. An unconfigured value is an error, not an empty result. |
-a, --assignee <assignees> |
Filter by assignee; comma-separated or repeatable, matching any listed value. |
-p, --priority <priorities> |
Filter by priority; comma-separated or repeatable, matching any listed value. An unconfigured value is an error. |
--tag <tag> |
Filter by tag; comma-separated or repeatable. Multiple values use AND semantics. Matching is case-insensitive. |
--exclude-tag <tag> |
Leave out tasks carrying any of these tags; comma-separated or repeatable, case-insensitive. |
--flagged |
Return only flagged tasks. |
--available |
Return tasks in the actionable column whose dependencies are satisfied. |
--blocked |
Return tasks in the actionable column with at least one unsatisfied dependency. |
--limit <n> |
Return at most n tasks. 0 returns none. |
--archived |
List archived tasks instead of live tasks. |
--json |
Emit machine-readable JSON. |
--include-body |
With --json, add each description and parsed Updates. |
Filters combine with AND across flags. Within --status, --assignee, and
--priority a list matches any of its values; --tag narrows with AND, and
--exclude-tag drops a task carrying any of its tags:
shipbench task list --status todo --priority high --tag backend --json
shipbench task list --status todo,in-progress --json
shipbench task list --tag backend --tag auth --json
shipbench task list --tag backend,auth --json
shipbench task list --available --exclude-tag plan,spike --json
Available and blocked work
--available and --blocked use config.default_column unless you pass --status, which may name more than one column. A dependency is satisfied when the referenced task is in done_column or in the archive.
shipbench task list --available --json
shipbench task list --available --status backlog --tag research --json
shipbench task list --blocked --json
Availability results sort by configured priority, then oldest created timestamp, then slug. Use that order to choose what to inspect next; plain task list order describes where tasks appear on the board. A task can therefore appear first in its column and third in the availability results. With --json, read the array order for availability rank and each task’s position for board placement. ShipBench does not assign work.
--available and --blocked conflict with each other. Neither can be combined with --archived.
JSON output
Without --include-body, JSON remains compact:
{
"tasks": [
{
"slug": "build-api",
"title": "Build API",
"status": "todo",
"priority": "high",
"tags": ["backend"],
"depends_on": [],
"related": ["spike-pagination"],
"related_tasks": [
{
"slug": "spike-pagination",
"direction": "outgoing",
"title": "Spike: pagination",
"status": "done",
"archived": true
},
{
"slug": "build-client",
"direction": "incoming",
"title": "Build client",
"status": "todo",
"archived": false
}
],
"position": 0,
"created": "2026-07-21T03:49:00.000Z",
"updated": "2026-07-21T03:49:00.000Z"
}
],
"unreadable": [],
"warnings": []
}
related is the field as the file writes it. related_tasks resolves associations in both directions: direction is outgoing when this file names the other task, incoming when only the other file names this one, and both when each names the other, which is listed once. Each entry carries the target’s title and status, and archived says whether it lives in tasks/archive/. A target matching no task file has a null title and status and archived: false.
unreadable lists task files whose frontmatter does not parse, such as a hand edit that repeats a key. Each entry has slug, path, and reason, which names the file line where it can; --include-body adds the file’s raw content. These files have no status or fields, so filters, --available, and --limit never remove them, and text output prints each one as an [unreadable] line after the tasks. The command still exits 0: the read succeeded, and the broken file is in the output. task get on such a file fails and names the file.
position is zero-based within the task’s column and is computed before filters or availability ranking. --include-body adds body and comments to each task. --archived --json adds "archived": true at the top level and omits position because archived tasks have no board placement.
shipbench task search
shipbench task search <query> [options]
Search splits the query on whitespace and treats each term as a case-insensitive substring. Every term must appear somewhere in the task’s title, tags, Markdown description, or a Task Updates entry; terms may appear in different fields and in any order. A quarantined unreadable Updates section is searched too, and reported as an updates match. So a decision recorded only in an Update is still retrievable here.
Two opt-in controls tighten how a term matches, without changing the corpus or the ranking:
- Exact phrase. A double-quoted run in the query —
"token exchange"— is one term that must appear contiguously. Its internal whitespace matches any whitespace run, so a phrase still hits when it wraps across a line. Pass the quote characters literally: the shell strips its own quotes, so writeshipbench task search '"token exchange"'(or escape them). An empty or unbalanced quote is ignored. --whole-word. Match every term — loose or quoted — on word boundaries, socistops matchingdecision,explicit, andspecific.
| Flag | Purpose |
|---|---|
-s, --status <statuses> |
Restrict to tasks in any of these columns; comma-separated or repeatable. An unconfigured value is an error. |
-a, --assignee <assignees> |
Restrict to tasks with any of these assignees; comma-separated or repeatable. |
-p, --priority <priorities> |
Restrict to tasks with any of these priorities; comma-separated or repeatable. An unconfigured value is an error. |
--tag <tag> |
Restrict by tag; comma-separated or repeatable, AND semantics, case-insensitive. |
--exclude-tag <tag> |
Leave out tasks carrying any of these tags; comma-separated or repeatable, case-insensitive. |
--flagged |
Restrict to flagged tasks. |
--available |
Restrict to actionable-column tasks whose dependencies are satisfied. |
--blocked |
Restrict to actionable-column tasks with at least one unsatisfied dependency. |
--whole-word |
Match each term on word boundaries instead of as a substring. |
--archived |
Search only archived tasks. |
--all |
Search live and archived tasks. |
--limit <n> |
Return at most n matches. 0 returns none. |
--json |
Emit machine-readable JSON. |
--include-body |
With --json, add each complete matching description and its Task Updates. |
These are shipbench task list’s own filters, applied to the candidate set before the search runs — they narrow which tasks are searched and never change the relevance order. They combine with AND across flags, a list within --status / --assignee / --priority matches any of its values, --tag narrows with AND, --exclude-tag drops a task carrying any of its tags, and --available / --blocked use config.default_column unless --status overrides it, exactly as they do for task list.
--archived and --all are mutually exclusive. --available and --blocked are mutually exclusive, and neither can be combined with --archived or --all — availability is a live-column concept.
shipbench task search "oauth" --json
shipbench task search "migration" --all --json
shipbench task search "webhook" --available --tag backend --json
shipbench task search "error handling" --json --include-body --limit 5
shipbench task search "ci" --whole-word --json
shipbench task search '"token exchange"' --json
JSON reports where each match occurred, the task’s current status and location, a body snippet when applicable, the entry’s index, timestamp, and excerpt when an Update matched, and related_tasks in the shape task list uses. total_matches is the count before --limit is applied:
{
"matches": [
{
"slug": "setup-oauth",
"title": "Setup OAuth",
"status": "in-progress",
"location": "live",
"matched_fields": ["title", "body", "updates"],
"related_tasks": [],
"snippet": "Implement the OAuth callback and token exchange.",
"update_matches": [
{
"index": 2,
"timestamp": "2026-08-14T17:02:00.000Z",
"snippet": "Switched to device-code flow — the callback URL was the blocker."
}
]
}
],
"total_matches": 1,
"unreadable": [],
"warnings": []
}
unreadable works as it does for task list. Search cannot look inside a file whose frontmatter does not parse, so those files are always reported, whatever the query.
An unreadable Updates section reports { "unreadable": true, "snippet": "…" } in update_matches instead of an index and timestamp.
A match is a record, not a verdict. Search reports the task’s status and the Update timestamp and never labels a matched decision “current” — check the task itself before treating recorded reasoning as still in force.
Results are ranked by relevance. A match scores on which fields the query terms landed in — title outweighs tags, tags outweigh the description, the description outweighs Task Updates — scaled by how much of the query each field covers; a more recent updated breaks a tie. --limit then keeps the top n. When it drops any match, JSON still reports the full count in total_matches and text output ends with a … N of M matches not shown (raise --limit) line.
Semantic retrieval — matching on meaning rather than lexical overlap — is a planned follow-up.
shipbench task graph
shipbench task graph [--archived] [--json]
Builds the dependency DAG for live tasks. --archived includes archived tasks as nodes, which resolves archived dependencies to the archived status instead of missing.
Interactive terminals receive a readable tree. Redirected output becomes JSON automatically; agents and scripts should pass --json explicitly for a stable request.
{
"define-schema": {
"status": "done",
"depends_on": [],
"blocks": ["build-api"]
},
"build-api": {
"status": "todo",
"depends_on": ["define-schema"],
"blocks": []
}
}
Referenced slugs that cannot be resolved appear as nodes with "status": "missing".
One task’s dependencies
shipbench task graph <slug> [--blockers | --dependents] [--depth <n>] [--archived] [--json]
Pass a slug to see the chain around one task instead of the whole graph. It answers three questions: what does this task wait on, what lies behind those blockers, and what would finishing it unblock?
| Flag | Purpose |
|---|---|
--blockers |
Walk only what the task depends on. |
--dependents |
Walk only what depends on the task. Without either flag, both sides are shown. |
--depth <n> |
Levels to walk. 1 lists direct neighbors only. With no --depth, the walk goes all the way. |
--archived |
Also walk through archived tasks, and query an archived task by its slug. |
Readiness follows the same rules as task list --available. A dependency is satisfied when it is in the done column or in the archive, and an archived dependency counts as satisfied with or without --archived. The flag only decides whether the walk continues through archived tasks.
{
"slug": "build-api",
"status": "todo",
"title": "Build API",
"dependencies_satisfied": false,
"available": false,
"depth": null,
"truncated": false,
"blockers": [
{
"slug": "define-schema",
"status": "done",
"title": "Define schema",
"satisfied": true,
"children": []
},
{
"slug": "setup-auth",
"status": "in-progress",
"title": "Setup auth",
"satisfied": false,
"children": []
}
],
"dependents": [
{
"slug": "build-client",
"status": "todo",
"title": "Build client",
"unblocks_on_completion": true,
"waiting_on": [],
"children": []
}
]
}
availablemeans the task is in the default column with every dependency satisfied, the same test--availableapplies.dependencies_satisfieddrops the column check.satisfiedon a blocker says whether it counts as finished for the task that depends on it.unblocks_on_completionappears on direct dependents only. It is true when finishing this task would make the dependent available.waiting_onnames the dependent’s other unsatisfied dependencies. Transitive dependents don’t get either field, because finishing this task alone can’t make them available.childrenholds the next level out. A slug reached by more than one path is expanded once, where it is shallowest. Anywhere else it appears with"omitted": "repeat"."omitted": "cycle"marks a node that is its own ancestor on that path, so a hand-edited cycle never loops."omitted": "depth"marks a node with more beyond--depth, and any such node setstruncatedtotrue.- A dependency with no task file has
"status": "missing". One whose file doesn’t parse has"status": "unreadable". A task whosedepends_onisn’t a list of slugs carries"invalid_depends_on": true, and readiness treats it as unmet.
In an interactive terminal the same result prints as a tree, with each node’s notes in parentheses:
build-api [todo]: blocked
Blockers:
+- define-schema [done] (satisfied)
`- setup-auth [in-progress] (unsatisfied)
Dependents:
`- build-client [todo] (unblocks on completion)
The graph holds depends_on only. related points at work without ordering it, so it never appears here.
shipbench task archive
Archive one task:
shipbench task archive <slug> [--force]
Archive older completed tasks in bulk:
shipbench task archive --done [--keep <count>]
| Flag | Purpose |
|---|---|
--force |
Archive one non-done task even when live tasks depend on it. |
--done |
Select older tasks from done_column for bulk archiving. |
--keep <count> |
Keep this many most-recent done tasks live. Valid only with --done. |
A non-done task with live dependents is blocked unless you pass --force. Done tasks and tasks without live dependents archive without that flag.
Bulk archiving keeps done_display.max recent tasks by default. If that cap is disabled, the default bulk operation keeps all done tasks. Pass --keep 0 to archive every done task deliberately.
--done can move many files at once. Agents should run the bulk form only when the user explicitly requests it.
shipbench task unarchive
shipbench task unarchive <slug>
Restores an archived task byte-for-byte to tasks/. Slugs are unique across live and archived tasks, so a valid archive cannot collide with a new live task.
shipbench task delete
shipbench task delete <slug>
Deletes a live task. This is an irreversible filesystem operation; use Git to recover committed content. Prefer archiving when you may need the task later.
shipbench validate
shipbench validate [--archived] [--json]
Checks the project’s structure after hand edits, a merge, or a batch of agent changes. It reads config.json, layout.json, and every file in tasks/, reports each problem with the file it is in, and writes nothing. Repairs are separate commands.
| Flag | Purpose |
|---|---|
--archived |
Also check the files in tasks/archive/. Off by default. |
--json |
Print the report as JSON. stdout holds only the report. |
| Exit code | Meaning |
|---|---|
0 |
No errors. Warnings alone pass. |
1 |
At least one error. |
2 |
The check could not run: there is no board, or the command was mistyped. |
Text output groups problems under the file they are in. A fix: line follows any problem a CLI command can repair. A clean project prints nothing on stdout; the one-line summary goes to stderr.
.shipbench/tasks/build-api.md
error status-unknown: Unknown status "doing". Valid: todo, in-progress, done
fix: shipbench task move build-api --to=<status>
warning field-unknown: Unknown frontmatter field "estimate" (preserved).
An error is invalid data that misplaces, hides, or permanently blocks a task. A warning is a file that reads correctly but probably holds something nobody meant. Each problem carries a stable code:
| Code | Severity | Meaning |
|---|---|---|
config-unparseable |
error | config.json is not a JSON object. |
config-invalid |
error | The resolved config fails validation, one problem per entry. |
config-field-unknown |
warning | A config key core does not read, such as a misspelled colums. |
layout-unparseable |
error | layout.json is not JSON, or not a record of slug lists. Manual ordering is ignored. |
layout-column-unknown |
warning | A layout key names no configured column. |
frontmatter-unparseable |
error | A task’s frontmatter does not parse, so the task is unreadable. |
updates-unreadable |
error | The ## Task Updates section does not parse, so task comment refuses the task. |
title-invalid |
error | title is missing, blank, or not text. |
status-unknown |
error | status is missing or names no column, so the task is Uncategorized. |
priority-unknown |
error | priority is not a configured value. |
tags-invalid |
error | tags is not a list of text labels. |
timestamp-invalid |
error | created or updated is missing or not a timestamp. |
depends-on-invalid |
error | depends_on is not a list of slugs. |
depends-on-self |
error | The task depends on itself. |
depends-on-dangling |
error | A dependency matches no live or archived task. |
dependency-cycle |
error | Tasks depend on each other in a loop of any length. cycle lists it. |
related-invalid |
error | related is not a list of slugs. |
related-self |
warning | The task lists itself in related. |
related-dangling |
warning | A related slug matches no live or archived task. |
flag-invalid |
error | flag is neither true nor a one-line reason, so the task reads as unflagged. |
field-unknown |
warning | A frontmatter field core does not own. It is preserved. |
slug-reused-in-archive |
error | A slug names both a live and an archived file, so archiving either overwrites the other. |
file-ignored |
warning | A file in tasks/ that does not end in .md, so no read shows it. |
Supported states are not reported: a partial config.json, a missing or gitignored layout.json, and stale slugs in layout.json, which the next layout write prunes. When config.json does not parse or fails validation, task files are not checked, because statuses and priorities are only valid relative to it; fix the config and run the command again.
--json prints the report:
{
"valid": false,
"errors": 1,
"warnings": 0,
"checked": { "tasks": 12, "archived": null },
"problems": [
{
"severity": "error",
"code": "dependency-cycle",
"path": ".shipbench/tasks/build-api.md",
"slug": "build-api",
"field": "depends_on",
"message": "Dependency cycle: build-api → setup-auth → build-api. None of these tasks can become available until one of them stops depending on the next.",
"cycle": ["build-api", "setup-auth", "build-api"],
"hint": "remove one link, for example: shipbench task edit build-api --remove-depends-on=setup-auth"
}
]
}
checked counts the task files inspected, readable or not. null means that part was not checked: archived without --archived, and both when the config is invalid. slug and field appear when the problem has them, and hint when a command repairs it.
The command checks structure only. It cannot tell whether a task is finished, whether its reasoning is sound, or whether links in its description still point anywhere useful.
shipbench board
shipbench board # the browser board
shipbench board web # the same thing, explicitly named
shipbench board terminal # a read-only live view in this terminal
board has two surfaces. Bare board opens the browser one and stays an alias for board web; the two share no flags, which is why they are subcommands rather than a mode flag.
shipbench board web
shipbench board web [--port <number>] [--no-open]
Starts the local Board UI with real-time file watching.
| Flag | Purpose |
|---|---|
--port <number> |
Preferred port, from 1 through 65535; defaults to 4321. |
--no-open |
Start the server without opening a browser. |
The server binds to 127.0.0.1. If the preferred port is occupied, it tries the next nine ports and prints the selected URL. It only answers requests addressed to 127.0.0.1 or localhost on that port, and it refuses changes sent from any other origin, so a web page open in the same browser can’t read or write your board.
shipbench board terminal
shipbench board terminal [-s <statuses>] [--tag <tag>] [--exclude-tag <tag>] [-a <assignee>] [-p <priority>] [--flagged]
Renders the board in the terminal and repaints it as files change. Aliases: term, tui.
It is read-only and takes no keyboard input — Ctrl-C exits, nothing else is bound, and it never writes to .shipbench/. It is built to be left open in a pane while you or an agent work in another.
| Flag | Purpose |
|---|---|
-s, --status <statuses> |
Comma-separated column ids to render; defaults to every configured column. Here the list chooses which columns appear, rather than filtering tasks the way task list --status does. |
--tag <tag> |
Comma-separated or repeatable, with AND semantics. |
--exclude-tag <tag> |
Leave out tasks carrying any of these tags. Comma-separated or repeatable. |
-a, --assignee <assignee> |
Exact match. |
-p, --priority <priority> |
Exact match. |
--flagged |
Only flagged tasks. |
--status chooses which columns render; the other flags filter tasks inside them, and while any of them is active every column header reads shown/total.
The board replaces the current terminal screen while it runs and restores it on exit. It adapts to narrow terminals, and widening the window never shows you less. Tasks whose status matches no configured column remain visible under UNCATEGORIZED.
You can edit task files while the board is open. If it cannot load the project at startup, it tells you why. Once it is running, a broken config or failed read leaves the last good board on screen and adds a warning to the status line.
The terminal board marks a task with unfinished dependencies by replacing the priority meter’s separator with a dim ~: ››·~Waiting task. In narrower columns, where the meter is hidden, the row starts with ~. Archived dependencies count as satisfied, even when an archived file is malformed; malformed prerequisites add a warning instead of a waiting marker.
A flagged task takes ! in the same place, in the warning colour (››·!Flagged task), and the status line counts flagged tasks outside the done column. A flag outranks waiting on the same row. On a done task the ! is dim, because a flag left on finished work is most likely one nobody cleared. The view rereads the archive after project changes, so archiving or unarchiving a dependency updates the marker without a restart.
With stdout redirected it prints one plain 80×24 frame and exits, so shipbench board terminal > board.txt and piping into a log both do something useful. NO_COLOR drops styling; the priority meter distinguishes its tiers by character (››› / ››· / ›··), and waiting and flagged tasks keep their literal ~ and !, so every signal survives without colour.
Terminal support. Any terminal with the usual VT support works; Windows Terminal on Windows 11 is the verified baseline. Legacy Windows conhost is out of scope: the view depends on the alternate screen buffer and Unicode box-drawing, which it does not handle the same way.
Agent query workflow
Agents get the best balance of context and token use from a staged read:
# 1. Find unblocked candidates without descriptions.
shipbench task list --available --json --limit 10
# 2. Load one selected task completely.
shipbench task get <slug>
# 3. Search or inspect the graph only when the task needs more context.
shipbench task search "<term>" --all --json
shipbench task graph --archived --json
Use --include-body for bulk analysis, not routine selection. This keeps the first query predictable and small while preserving complete context on demand.