You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(logs): NAME-first form + failure triage folded into logs
Rolls the failure-triage story into the existing logs command so
there's no separate DLQ vocabulary to learn.
New forms:
buttons BUTTONNAME logs — past runs (JSON default)
buttons BUTTONNAME logs --failed — just failures
buttons BUTTONNAME logs --limit 10 — how many
buttons BUTTONNAME logs --follow — press + stream live (TUI)
buttons drawer DRAWERNAME logs — past runs for this drawer
buttons logs — recent failures across
every button + drawer
The verb-first `buttons logs NAME` still works as an alias so
existing scripts don't break. Implementation reuses the package
flag vars so both forms populate the same variables.
NAME-first routing:
- `buttons NAME logs ...` is rewritten to `buttons logs NAME ...`
in Execute() before Cobra sees it, so Cobra routes to logsCmd
with all flags parsed correctly.
- `buttons drawer NAME logs` is handled by drawerCmd's existing
manual NAME-first dispatch; --failed + --limit registered on
drawerCmd so they parse there too.
Replaces removed DLQ functionality with:
buttons logs --json (workspace failures)
buttons NAME logs --failed (per-target failures)
No new commands. No new packages. Same agent capability, fewer
verbs to remember.
Updated CLAUDE.md "Stage 2 plumbing" section to describe the
logs-based triage flow. SKILL.md + CLI docs regenerated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments