Metadata-Version: 2.5
Name: buildbard
Version: 1.21.1
Summary: Buildbard CLI — spec-driven TDD orchestrator (deviatdd rewrite)
Requires-Python: >=3.13
Requires-Dist: rich>=13.0
Requires-Dist: typer>=0.12
Description-Content-Type: text/markdown

![buildbard](buildbard.svg)

# buildbard

Spec-driven TDD orchestrator. Python CLI (`buildbard` / `bard`).

## Setup

```sh
mise run setup
```

## Use

```sh
mise run dev          # CLI help
mise run check        # lint + format-check
mise run test         # unit tests
mise run verify       # CLI + integration behavior checks
```

## Where the contract lives

- `specs/constitution.md` — invariants, execution interface, phase write boundaries.
- `docs/09-data-model.md` — durable state and JSONL schemas.
- `docs/11-error-taxonomy.md` — halt tokens and their recovery.

`specs/` is the specification record: epics, PRDs, issues, and the ledger. Older epics cite retired `docs/` files; the contracts they describe live in the files above.
```

## Automatic phase timeout

Automatic Tasks preparation and micro phases have a one-hour (3,600-second)
agent timeout, including phases launched through `bard run` and review repair.
Set `BARD_PHASE_TIMEOUT` to a positive integer number of seconds to override it:

```sh
BARD_PHASE_TIMEOUT=2400 bard micro run --task TSK-013-01 --unpark
```

Invalid values fail before an agent starts or its handover changes. An explicit
Python-call timeout takes precedence. Standalone non-micro commands retain their
existing timeouts; verification and human-review gates remain required.
