Workflows
Task-first recipes for the charly-vibes fleet. Commands shown are what works today. Verbs marked [facade v2] are proposed dispatch shortcuts (DDL-lyj5) — they do not exist yet; use the native tool until they land.
W1 — Clean machine to working repo
ddl init --yes --gates # installs all 17 tools, wires configs + lefthook gates
lefthook install # activate the git hooks ddl just wired
ddl doctor --strict # 17/17 healthy, or named remediation per tool
ddl status --refresh # build .ddl/status.json, regenerate committed renders
What a good failure looks like: ddl doctor names the tool and the fix
(e.g. bd: release binaries only, no cargo fallback → ddl install bd). If the
init cascade fails mid-run it prints the resume command; finish with
ddl init --tools <the-failed-tool>.
W2 — Daily loop
ddl status # what is stale or drifting (or read committed BRIEF.md)
bd ready # pick a ticket
bd update <id> --claim # claim atomically (ticket schema: lane + estimate required)
just test # testaruda-selected affected tests — fast inner loop
just ci # the one pre-push gate; same command CI runs
bd close <id> -r "what shipped, how verified"
[facade v2] ddl brief, ddl issues ready|show|close would forward to
podras/bd over the existing feed plumbing — same semantics, one CLI to learn.
Tools keep their own CLIs; dispatch never replaces them.
W3 — Feature with a spec change
openspec init --tools agents --scope project # once per repo (openspec >= 2.1)
# draft openspec/changes/<name>/{proposal,tasks,specs}.md BEFORE coding
# lefthook pre-commit runs ah check + spk lint over openspec/specs
just ci # full gate before pushing
bd close <id> -r "..." && bd export -o .beads/issues.jsonl && git add -f .beads/issues.jsonl
Fleet convention: every ticket maps to a red→green→refactor cycle; changes touching specs, the manifest, or managed config spans need the openspec proposal first.
W4 — Session close and resume
wai close # handoff + resume detection — do NOT skip
bd export -o .beads/issues.jsonl && git add -f .beads/issues.jsonl && git commit
git pull --rebase && git push # a session is NOT complete until push succeeds
Resuming later (today: four sources by hand):
ddl status --refresh # freshness before inference
bd ready; bd list --status in_progress --label branch:$(git branch --show-current)
turu recall branch --topic <topic> --budget 8000 --no-usage --json
[facade v2] candidate beyond F1: one ddl resume composing status + open
claims + staleness. Design deferred to DDL-lyj5; not promised for v0.13.
W5 — Fleet upgrade and conformance
ddl upgrade # all managed tools to latest compatible
cargo test --test standard_conformance # fleet drift check via ../<repo> siblings
ddl doctor --strict
W6 — Diagnose a red or frozen repo
ddl doctor --fix # auto-fixable drift first
ddl gates run -- just ci # long gates: detached, timeout-immune, per-run logs
<tool> doctor --json # nested doctors; ddl doctor already classifies these
Notes
- The per-repo entry point is always
just ci— if a check is not in it, it is not a gate. - “Orchestrate, don’t replace” (
docs/design.md): facade verbs forward to the owning tool’s own CLI; identity is preserved. - Dispatch must fail with remediation, not a bare error: a missing binary
should yield an envelope error naming
ddl install <tool>(proposed acceptance criterion, DDL-lyj5).