Releases: rafagomes/ai-workflow
Release list
v0.6.3 — /design Paper fidelity protocol
Fixed
/design now enforces an Implementation Fidelity Protocol in every generated docs/design/DESIGN_SYSTEM.md.
Problem: downstream skills (/feature, /factory, /fix) were reading the design system doc and implementing UI from markdown + memory, producing pixel drift vs. Paper.
Fix: the generated doc now opens with:
- A non-negotiable "read before writing any UI code" checklist that forces
mcp__paper__get_jsx/get_computed_styleson the target node before implementation. - A Paper Canvas Map table listing every artboard + its node ID + what it covers.
- A
📐 Paper referenceline at the end of every component block pointing to its exact canvas location. - Screenshots explicitly demoted to lowest-trust input.
Rule 1 in /design now codifies: Paper is the pixel-perfect source of truth; the doc is the rules layer. Component templates in the generated doc all carry the reference line.
Net effect: implementers stop eyeballing from PNGs and always resolve exact values from Paper via MCP.
v0.6.2 — /verify-design single-pass + model fit
Fixed
- `/verify-design` documents itself as a single-pass fidelity-fix skill, not a review-only gate. Empirically, dispatching it as review + separate fix doubles Paper MCP and Playwright load for the same outcome — the skill already does review + fix + re-verify in one pass.
- Adds a model-fit matrix for parent agents that dispatch this skill to sub-agents:
- Sonnet for first-pass delta work on a new/changed PR
- Haiku for re-verify against a known delta list
- Opus only for from-scratch design + implementation
- Direct user invocations run at the user's chosen model — no auto-downgrade for cost.
v0.6.0 — factory milestone scope, reviewer loops, CLAUDE.md split
Highlights
/factory repositioned to single-milestone/phase scope
- Now requires a phase or milestone:
/factory <phase-name>or/factory --milestone <N> - Convention: roadmap phase file
docs/roadmap/<NNN>_<name>.md↔ GitHub milestone titled<NNN>_<name>(filed by/issues) - Source of work is open issues in the milestone (closed = done, excluded). Bare
/factoryis rejected — use/autopilotfor multi-phase runs - Adds file-overlap-aware batching (greedy bin-packer ported from
/autopilot): no two features in a writer batch may touch the same file, so 10 PRs from a milestone open as 2-3 conflict-free batches
Per-PR review loop (factory) + fresh-context reviewer (/feature)
- Writers no longer self-review. The previous in-context
code-reviewskill call violated writer/reviewer separation and has been removed from both skills - Fresh-context sonnet reviewer per PR (factory) or per implementation (
/feature), with bounded scope: diff + spec + ≤3 files - On
FIX_REQUIRED, the writer agent is resumed viaSendMessage(warm context — re-spawning a fresh fixer would re-pay the spec/files read cost) with action items only - Hard cap of 2 fix cycles, then escalates to PR comment as
NEEDS_HUMAN. Spec-ambiguity is auto-detected when the same finding survives a cycle - Final verdict posted to the PR via
gh pr review. No auto-merge — factory stops with PRs open and reviewed for human merge
CLAUDE.md split
- The repo-root
CLAUDE.mdwas serving two purposes (global defaults + ai-workflow-only project rules) — anything ai-workflow-specific leaked into every project - Now split:
dotfiles/CLAUDE.md— global defaults, symlinked to~/.claude/CLAUDE.mdbyinstall.shCLAUDE.md(repo root) — ai-workflow-only rules: edit sources not symlinks, re-runinstall.shon skill changes, always update relevant docs in the same change, versioning + release flow
install.sh,adapters/codex/install.sh, andadapters/cursor/install.shupdated to read fromdotfiles/CLAUDE.md
Token shape (review loops)
/feature: +10-15% common case, +25-40% worst case (2 cycles) for substantially higher quality before your eyes/factory: +20-30% common case, +60-80% worst case per PR — but reviewers run parallel across PRs, so wall-clock is barely affected
Full changelog
See CHANGELOG.md.
v0.5.8
v0.5.7
What's Changed
/featuregains--commitand--prflags for hands-free finishing.--commit: auto-commits after completion using/commit's grouping logic, skipping plan presentation. Outputs onlygit log --oneline -N.--pr: implies--commit— also pushes and opens a PR without draft presentation. Outputs only the log lines and PR URL.- All other output is suppressed when either flag is active.
v0.5.6
Fixed
- `/rlabs-design` — surface-specific kit loading is now mandatory (slides → `slides/index.html`; website → all `ui_kits/website/` components; app → all `ui_kits/app/` components), and `assets/` + `preview/` specimen files are enumerated as first-class references. Reading only `colors_and_type.css`/`tokens.css` was producing off-brand output because tokens alone don't convey component composition or spacing rhythm.
- `/rlabs-design` — Playwright fidelity check is now required after applying the design: screenshot the matching reference `index.html` and the output at 1440×900 (and 390×844 if mobile in scope), compare against an explicit brand-rule checklist (typography, palette, radii, spacing, borders, motion, copy), fix drift in place, then report. Falls back to a stated manual check if Playwright is unavailable.
v0.5.4 — NNN prefixes for specs
Fixed
/specnow prefixes every spec with a zero-paddedNNNthat mirrors the roadmap phase number (docs/specs/002_jira-sync.md), with.A/.Bletter suffixes when a phase has multiple specs. Sliced specs use the directory formdocs/specs/NNN_<feature>/withREADME.md+MMM_<slice>.mdinside — the directory itself is how "sliced" is identified, no extra marker. Previously spec filenames carried no ordering signal, so readingdocs/specs/gave no hint which came first or how specs mapped back to roadmap phases./roadmap,/feature, and/issuesupdated to reference the new prefixed paths.
v0.5.3 — /feature and /fix stop after verification
Fixed
/featureand/fixno longer commit, push, or open PRs. Both stop after implementation, verification, and self-review with a structured report (files changed, lint/typecheck/test tail, security verdict, slice metadata, suggested commit subjects). The previous--prflag and auto-commit step quietly turned every run into a shipped PR before the user could read the diff. The user reviews the working tree, then ships via/commit+/pr.- Orchestrators (
/autopilot,/factory) keep their auto-commit/PR behavior — that is where it earns its keep. /featureAsking the user questionsrule now requires theAskUserQuestiontool for every mid-flight decision (missing spec, slice-size override, split shape, ambiguous metadata).
Changed
- Canonical feature flow in
CLAUDE.mdnow reads:/spec → (slice if >200 lines) → /issues → /feature <spec> → review the diff → /commit → /pr → /review → merge → cleanup. docs/TRUNK_BASED_WORKFLOW.mdanddocs/REFERENCE.mdrecipes updated to drop--prfrom/featureand/fix.
v0.5.2
Fixed
/issuesnow uses theAskUserQuestiontool for every interactive decision — drift/gone reconciliation, dry-run confirmation, roadmap-index horizon, and the per-milestone "proceed to next phase?" loop. Free-text confirmations were easy to miss and ambiguous to parse ("ok", "sure", "go"); structured options make each decision one click with an explicit recommended default, and batch the horizon + dry-run prompts into a single call on roadmap-index runs.
Full changelog: https://github.com/0xrafasec/ai-workflow/blob/main/CHANGELOG.md#052---2026-04-18
v0.5.1 — /issues two-milestone horizon pacing
Added
/issuestwo-milestone horizon — on a roadmap-index input,/issuesnow proposes filing only the current phase + the next phase (not the entire roadmap), names the phases it's skipping, and asks before filing more. Rolling forward is idempotent: re-running advances the window once phases complete.
This is the team practice that translates cleanly to solo work — it gives team discipline (issue-per-PR, milestone-scoped) without team overhead (stale labels, multi-quarter backlogs, triage meetings).
Changed
/issues"After writing" guidance now reinforces the horizon: when the current phase is roughly halfway done, re-run to file the next-next phase.
See CHANGELOG.md.