CHANGELOG.md

Changelog

Feedback reports name the factory version they cover. Bump version in .claude-plugin/plugin.json for changes to shipped plugin functionality, so installed projects pick them up and feedback can be traced to a release. Internal-only repository tooling does not require a plugin version bump or release entry.

0.6.1: delivery fixes

No record changes: run /factory:migrate 0.6.1 once after updating to record the checkpoint (see Upgrading to 0.6.1). Finish or pause open deliveries first.

  • Cross-agent runs and locks (#55): reviewers run on the other agent (Codex from Claude Code, Claude Code from Codex) when the session can start it, and say so when they fall back to the same agent. Locks carry an owner file (agent, task, time, session, checkout); a lock without one, from an earlier version, is taken over only with a developer decision. A run that fails logs run failed and releases its locks. Worker briefs use absolute paths and full SHAs, and the gate records HEAD from Git.
  • Gate noise (#80): an optional ## Known noise section in settings.md lists toolchain failures to re-run once. At the gate, a failure that passes on its re-run (and isn't covered by known noise or a recorded baseline decision) is run 3 more times on the branch and 3 on the base to tell a flaky test from a real one, and a repeated failure outside the diff is run on the base before it counts as a gap. Baseline entries may now record the error text.
  • Moved base (#76): before finishing and before pushing, delivery checks whether the base branch moved, shows the new commits and overlapping files, and offers to rebase. A clean update whose own changes stay identical and whose checks and STR pass again keeps the review and logs base updated; if they fail, the task goes back to building.
  • Stacked tasks (#79): a code task can be built on another task's branch; delivery.base_ref records (stacked on <ID>) and the PR targets the parent's branch.
  • Settle merged tasks (#78): new /factory:settle marks a task done when its PR was merged and nothing would be lost, and lists the rest under Needs attention. Behaviour change: /factory:tasks and delivery's start run it first, so /factory:tasks is no longer read-only; the overview shows each task's PR state (needs gh).
  • PR comments (#77): anything an agent writes on a PR starts with a quoted model label (> 🤖 Claude Opus 5.5 comment), feedback uses Conventional Comments, and PR descriptions have an Agents line naming the agents that built and reviewed the change (not recorded when a resumed session has no report).
  • Release migration: an explicit no-record-migration step that only records the 0.6.1 checkpoint.

0.6.0: lean task record, delivery gate and pull requests

Breaking for existing records: run /factory:migrate 0.6.0 once after updating (see Upgrading to 0.6.0). Delivery now opens pull requests by default; see below.

  • Lean task record (#51): both tracks share one task record. The body is General description, Goals, Scope of work and Acceptance criteria; workflow references (implements, delivery, submitted, and for design reviewer, approach, handoff, approval, dev_task) live in the header. The log keeps one line per status or priority change, and every task update shows a link to the file.
  • Scripted task overview (#57): /factory:tasks and automatic selection in delivery run the bundled skills/tasks/overview.mjs, which reads only task headers and locks. Tasks gain depends_on; a task waiting on another stays ready. Code tasks gain the checking (manual checks deferred) and waiting-for-approval (changed definition awaiting re-approval) statuses.
  • Delivery start and baseline (#48): every record-writing skill requires a Git repository (interactive ones offer git init); delivery resolves local-only and unreachable remotes, records where the base came from, and checks the baseline before building, recording any accepted failures. Project settings live in the catalog's settings.md. The Codex install now reminds you to exclude its generated copies from whole-repository formatters and linters.
  • Verification gate (#49): checks run static-first, criteria only a person can check are tracked as manual checks with their results, and checks start their own dev servers on a free port, never reusing or stopping one they didn't start.
  • Changes after approval (#50): edits to an approved definition need re-approval and send reviewed work back to building; a done task can be reopened on request, for example after PR review.
  • Run the result (#18): after review, delivery runs the task's steps to reproduce in a sandboxed copy of the app and records the evidence. Behaviour change: for a project with a remote, delivery now pushes the branch and opens a pull request at the end, and publishes the evidence to a factory-evidence branch. Set pull_requests: off in settings.md to opt out.
  • Release migration: moves workflow references from body sections into the header, adds depends_on (and approach for design tasks), reshapes the body into the four sections, and keeps IDs, priorities, log history and approval evidence. Done tasks are rewritten too and approved in bulk.

0.5.0: Codex adapter, task priorities and unattended feedback

Breaking for existing records: run /factory:migrate 0.5.0 once after updating (see Upgrading to 0.5.0).

  • Codex support (#24): /factory:codex copies the shared workflows into the project's .agents/ for Codex ($factory-deliver and so on), with a check mode for drift. Roles start through one internal delegate skill, so builder, reviewer and designer still run in a fresh context on either agent.
  • Task IDs and priorities (#25): new tasks get DEV-NNN (code) or DSGN-NNN (design) IDs from independent counters, and a required priority (urgent, high, normal, low). Delivery picks the highest-priority eligible ready task. New read-only /factory:tasks overview.
  • Unattended feedback (#37): /factory:feedback no longer interviews; it posts a feedback issue with numbered points and questions, and marks the journal entries it covered as Reported instead of saving reports. New /factory:journal review lists corrections from the current session as optional journal entries.
  • Release migration: renumbers every existing task by kind, keeping its number and recording legacy_id (003 → DEV-003 or DSGN-003), sets priority: normal where missing, marks journal entries covered by old reports, and archives reports/ in the external backup.
  • Sandbox-first migrate: every migration is rehearsed on a copy of the records in a separate repository (scripts/migration-sandbox.mjs), and the exact list of changes is approved before live records are written. Drift since the rehearsal invalidates it.

0.4.1: versioned migration command

  • Add migrate: preview and apply approved release instructions through a target version in order, preserving checkpoints, backups and interrupted-run recovery.
  • Remove migrate-tasks; its task-ID/all interface is replaced, not aliased. Use /factory:migrate 0.4.1 or report-only /factory:migrate check 0.4.1.
  • Bundle the earlier no-op/task-track steps so sequential upgrades do not depend on invoking removed commands or loading newer templates for an older target. Existing 0.4.0 records need no further relocation; the maintainer selected patch version 0.4.1 for this command replacement.

0.4.0: records outside product branches

  • Keep task state, journals, feedback and design evidence in a local, unversioned catalog under the shared Git directory; linked worktrees use one catalog without status commits or task copying.
  • Require a branch only for runnable design prototypes, not Figma-only tasks; preserve revision-specific human approval.
  • Keep durable project documentation in docs/factory/ and reusable project agent skills in .agents/skills/, updated alongside implementation.
  • Add explicit legacy-record reconciliation, verified backup/copy and separately approved product cleanup. Records are not transferred by Git push/clone; independent clones need an explicit coordinator and export.
  • Treat the pre-1.0 storage change as breaking: publish migration instructions for the 0.4.0 target layout, applied after every intervening release's steps, including repeat/interrupted-copy verification and rollback preserving newer work, without changing the legacy migrate-tasks skill.

0.3.1: separate tracks, usage and task migration

  • Document design-task usage, plugin updates, version checks and upgrading existing task files.
  • Add migrate-tasks: read-only audit by default, developer-confirmed updates, preserved history, and no inferred approvals or automatic task execution.
  • Separate design into design define/design deliver, with its own template, designer and definition reviewer. Keep development orchestration code-only, connected through an explicit approved-design reference.

0.3.0: human-approved design workflow

  • Add design tasks to define/deliver with independent task-definition review followed by mandatory human approval of the resulting visual/UI revision.
  • Prefer Figma when usable; support mocked prototypes on design/ branches using existing design-system code, with optional Storybook.
  • Require actionable review handoffs and link approved designs to separately defined development tasks. Existing tasks without a kind remain code tasks.

0.2.0: minimal restart

  • Started over from a minimal core. The first, fully specified design is kept on the archive/v0 branch (tag archive-v0).
  • Ships as a Claude Code plugin: define, deliver (orchestrator), journal, feedback, plus the builder and reviewer agents.
Original Markdown, including metadata
# Changelog

Feedback reports name the factory version they cover. Bump `version` in `.claude-plugin/plugin.json` for changes to shipped plugin functionality, so installed projects pick them up and feedback can be traced to a release. Internal-only repository tooling does not require a plugin version bump or release entry.

## 0.6.1: delivery fixes

No record changes: run `/factory:migrate 0.6.1` once after updating to record the checkpoint (see [Upgrading to 0.6.1](docs/updating.md#upgrading-to-061)). Finish or pause open deliveries first.

- **Cross-agent runs and locks** (#55): reviewers run on the other agent (Codex from Claude Code, Claude Code from Codex) when the session can start it, and say so when they fall back to the same agent. Locks carry an `owner` file (agent, task, time, session, checkout); a lock without one, from an earlier version, is taken over only with a developer decision. A run that fails logs `run failed` and releases its locks. Worker briefs use absolute paths and full SHAs, and the gate records HEAD from Git.
- **Gate noise** (#80): an optional `## Known noise` section in `settings.md` lists toolchain failures to re-run once. At the gate, a failure that passes on its re-run (and isn't covered by known noise or a recorded baseline decision) is run 3 more times on the branch and 3 on the base to tell a flaky test from a real one, and a repeated failure outside the diff is run on the base before it counts as a gap. Baseline entries may now record the error text.
- **Moved base** (#76): before finishing and before pushing, delivery checks whether the base branch moved, shows the new commits and overlapping files, and offers to rebase. A clean update whose own changes stay identical and whose checks and STR pass again keeps the review and logs `base updated`; if they fail, the task goes back to building.
- **Stacked tasks** (#79): a code task can be built on another task's branch; `delivery.base_ref` records `(stacked on <ID>)` and the PR targets the parent's branch.
- **Settle merged tasks** (#78): new `/factory:settle` marks a task `done` when its PR was merged and nothing would be lost, and lists the rest under **Needs attention**. **Behaviour change:** `/factory:tasks` and delivery's start run it first, so `/factory:tasks` is no longer read-only; the overview shows each task's PR state (needs `gh`).
- **PR comments** (#77): anything an agent writes on a PR starts with a quoted model label (`> 🤖 Claude Opus 5.5 comment`), feedback uses Conventional Comments, and PR descriptions have an **Agents** line naming the agents that built and reviewed the change (`not recorded` when a resumed session has no report).
- **Release migration**: an explicit no-record-migration step that only records the `0.6.1` checkpoint.

## 0.6.0: lean task record, delivery gate and pull requests

Breaking for existing records: run `/factory:migrate 0.6.0` once after updating (see [Upgrading to 0.6.0](docs/updating.md#upgrading-to-060)). Delivery now opens pull requests by default; see below.

- **Lean task record** (#51): both tracks share one [task record](skills/task-record.md). The body is General description, Goals, Scope of work and Acceptance criteria; workflow references (`implements`, `delivery`, `submitted`, and for design `reviewer`, `approach`, `handoff`, `approval`, `dev_task`) live in the header. The log keeps one line per status or priority change, and every task update shows a link to the file.
- **Scripted task overview** (#57): `/factory:tasks` and automatic selection in delivery run the bundled `skills/tasks/overview.mjs`, which reads only task headers and locks. Tasks gain `depends_on`; a task waiting on another stays `ready`. Code tasks gain the `checking` (manual checks deferred) and `waiting-for-approval` (changed definition awaiting re-approval) statuses.
- **Delivery start and baseline** (#48): every record-writing skill requires a Git repository (interactive ones offer `git init`); delivery resolves local-only and unreachable remotes, records where the base came from, and checks the baseline before building, recording any accepted failures. Project settings live in the catalog's `settings.md`. The Codex install now reminds you to exclude its generated copies from whole-repository formatters and linters.
- **Verification gate** (#49): checks run static-first, criteria only a person can check are tracked as manual checks with their results, and checks start their own dev servers on a free port, never reusing or stopping one they didn't start.
- **Changes after approval** (#50): edits to an approved definition need re-approval and send reviewed work back to building; a `done` task can be reopened on request, for example after PR review.
- **Run the result** (#18): after review, delivery runs the task's steps to reproduce in a sandboxed copy of the app and records the evidence. **Behaviour change:** for a project with a remote, delivery now pushes the branch and opens a pull request at the end, and publishes the evidence to a `factory-evidence` branch. Set `pull_requests: off` in `settings.md` to opt out.
- **Release migration**: moves workflow references from body sections into the header, adds `depends_on` (and `approach` for design tasks), reshapes the body into the four sections, and keeps IDs, priorities, log history and approval evidence. Done tasks are rewritten too and approved in bulk.

## 0.5.0: Codex adapter, task priorities and unattended feedback

Breaking for existing records: run `/factory:migrate 0.5.0` once after updating (see [Upgrading to 0.5.0](docs/updating.md#upgrading-to-050)).

- **Codex support** (#24): `/factory:codex` copies the shared workflows into the project's `.agents/` for Codex (`$factory-deliver` and so on), with a `check` mode for drift. Roles start through one internal `delegate` skill, so builder, reviewer and designer still run in a fresh context on either agent.
- **Task IDs and priorities** (#25): new tasks get `DEV-NNN` (code) or `DSGN-NNN` (design) IDs from independent counters, and a required priority (`urgent`, `high`, `normal`, `low`). Delivery picks the highest-priority eligible ready task. New read-only `/factory:tasks` overview.
- **Unattended feedback** (#37): `/factory:feedback` no longer interviews; it posts a `feedback` issue with numbered points and questions, and marks the journal entries it covered as **Reported** instead of saving reports. New `/factory:journal review` lists corrections from the current session as optional journal entries.
- **Release migration**: renumbers every existing task by kind, keeping its number and recording `legacy_id` (`003` → `DEV-003` or `DSGN-003`), sets `priority: normal` where missing, marks journal entries covered by old reports, and archives `reports/` in the external backup.
- **Sandbox-first `migrate`**: every migration is rehearsed on a copy of the records in a separate repository (`scripts/migration-sandbox.mjs`), and the exact list of changes is approved before live records are written. Drift since the rehearsal invalidates it.

## 0.4.1: versioned migration command

- Add `migrate`: preview and apply approved release instructions through a target version in order, preserving checkpoints, backups and interrupted-run recovery.
- Remove `migrate-tasks`; its task-ID/`all` interface is replaced, not aliased. Use `/factory:migrate 0.4.1` or report-only `/factory:migrate check 0.4.1`.
- Bundle the earlier no-op/task-track steps so sequential upgrades do not depend on invoking removed commands or loading newer templates for an older target. Existing `0.4.0` records need no further relocation; the maintainer selected patch version `0.4.1` for this command replacement.

## 0.4.0: records outside product branches

- Keep task state, journals, feedback and design evidence in a local, unversioned catalog under the shared Git directory; linked worktrees use one catalog without status commits or task copying.
- Require a branch only for runnable design prototypes, not Figma-only tasks; preserve revision-specific human approval.
- Keep durable project documentation in `docs/factory/` and reusable project agent skills in `.agents/skills/`, updated alongside implementation.
- Add explicit legacy-record reconciliation, verified backup/copy and separately approved product cleanup. Records are not transferred by Git push/clone; independent clones need an explicit coordinator and export.
- Treat the pre-1.0 storage change as breaking: publish migration instructions for the `0.4.0` target layout, applied after every intervening release's steps, including repeat/interrupted-copy verification and rollback preserving newer work, without changing the legacy `migrate-tasks` skill.

## 0.3.1: separate tracks, usage and task migration

- Document design-task usage, plugin updates, version checks and upgrading existing task files.
- Add `migrate-tasks`: read-only audit by default, developer-confirmed updates, preserved history, and no inferred approvals or automatic task execution.
- Separate design into `design define`/`design deliver`, with its own template, designer and definition reviewer. Keep development orchestration code-only, connected through an explicit approved-design reference.

## 0.3.0: human-approved design workflow

- Add design tasks to define/deliver with independent task-definition review followed by mandatory human approval of the resulting visual/UI revision.
- Prefer Figma when usable; support mocked prototypes on `design/` branches using existing design-system code, with optional Storybook.
- Require actionable review handoffs and link approved designs to separately defined development tasks. Existing tasks without a kind remain code tasks.

## 0.2.0: minimal restart

- Started over from a minimal core. The first, fully specified design is kept on the `archive/v0` branch (tag `archive-v0`).
- Ships as a Claude Code plugin: `define`, `deliver` (orchestrator), `journal`, `feedback`, plus the `builder` and `reviewer` agents.