Expand description
vitrify brief [<task>]: with no task, the procedure index; with one,
the operative procedure — disk override else embedded.
build-unit --unit --holder emits the full generated worker prompt: the
filled vitrify-job block, the brief’s delegation contract, and the
unit’s resolved reading set inlined.
Every brief names the binary’s version ({version}); brief run also
names the configured status-check interval ({status_check_seconds}),
and brief authoring / brief change say who approves a TDD
({approval_*}, from authoring.approval: APPROVAL_SLOTS).
Every path a brief names is the real one for this repository: {sdd} is
the SDD’s root relative to the checkout (so --sdd {sdd} works from the
primary checkout and from any worktree, in a repository with one SDD or
many), and {worktrees} / {worktree} are where vitrify keeps its
working copies (Layout).
Constants§
- APPROVAL_
SLOTS - The sign-off sentences of the authoring and change briefs: per slot, the
text for
authoring.approval = "human"— the wording the briefs always had — and for"agent", where approval is delegated to the agent that follows the brief. Each text continues the line its slot starts on. - VERSION
Functions§
- build_
worker_ prompt - Fill the
vitrify-jobblock and inline the resolved reading set — the four-part delegation contract. The manual entry: the SDD comes from--sddor discovery in the checkout the verb runs in. - build_
worker_ prompt_ at - The orchestrator’s entry: the prompt for a unit whose claim is made and
whose worktree is
root. Everything — the claim’s sequence, the reading set, the paths the worker is shown — is read from that worktree, at the claim commit it was forked from.sessionis the orchestrator’s note to this worker (what is already done for it, what an earlier attempt left). - fill_
approval - Fill the sign-off slots for
approval. A brief without them — an override written before they existed — is left as it is. - run