Skip to content

Releases

0.10.3

Choose a tag to compare

@gplanchat gplanchat released this 25 Nov 09:32

flow-sync fails when the main specs do not carry the deltas of the change.

Fixes

  • flow-sync reported success without syncing anything. When the sync agent wrote nothing, for example on a MODIFIED delta whose requirement is not in the main spec, the run ended with status: success, exit code 0 and no commit. The new synced gate of flow-gate, run for sync only, compares openspec/specs/ with each specs/<capability>/spec.md delta of the change. It fails when the main spec of a capability:

    • misses an ADDED or MODIFIED requirement, its text or one of its scenarios (blank space differences pass, and a MODIFIED delta that only adds a scenario passes once that scenario is in place);
    • still holds a REMOVED requirement;
    • still holds the old title of a RENAMED requirement, or misses the new one.

    The fix agent gets the output of the gate, as for the other gates. When the deltas stay unsynced after three attempts, flow-sync exits with code 30 and names each requirement in .awf/status/flow-gate.log. You can also run the check by hand: bash <pack>/scripts/flow.sh gate synced <change>.

Requires awf 0.11.9 or later. The plugin flow stays at 0.5.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.10.3

0.10.2

Choose a tag to compare

@gplanchat gplanchat released this 24 Nov 17:30

commit-slice commits a documentation task without slices.

Fixes

  • commit-slice on a task without slices that is not a code task. A task without slice lines applies as a single slice numbered like the task. commit-slice found that slice only when the task classified as code: on a documentation task, it raised UnknownSlice after check-slice had checked the task. The task now commits as itself, with a docs(...) subject for a documentation task. flow-apply commits these tasks with commit-task and was not affected; the failure showed when you ran check-slice then commit-slice by hand.

Requires awf 0.11.9 or later. The plugin flow stays at 0.5.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.10.2

0.10.1

Choose a tag to compare

@gplanchat gplanchat released this 24 Nov 15:21

The README opens with two animations; the workflows and scripts are unchanged since 0.10.0.

Documentation

  • Who checks the code of your agents? A comparison of a coding agent that checks its own work with an agent whose work your tools check inside an AWF workflow.
  • One change, from the workshop to the archive. The ten steps of a change, with close-ups of a slice in RED, GREEN and review, and of a failing review tool fixed by an agent.
  • A short path to try the pack: install the pack and the Claude Code plugin, configure your project, then run /flow:propose <change>.

The animations live in docs/animations/ of the repository, outside the release archive; node docs/animations/capture.mjs <cycle|comparison> renders one again with Chromium and ffmpeg.

Requires awf 0.11.9 or later. The plugin flow stays at 0.5.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.10.1

0.10.0

Choose a tag to compare

@gplanchat gplanchat released this 24 Nov 12:40

flow-apply-many is removed. Apply a change with flow-apply, then merge it with the merge operation of the command contract.

Breaking changes

  • flow-apply-many and /flow:apply-many are gone. To merge a change that flow-apply applied, run from the root of main:

    bash <pack>/scripts/commands.sh merge <change>

    It runs the merge checks of your registry and aborts the merge when one fails. No workflow runs the end-to-end tests on main any more.

  • The command contract loses claim, release, verify, run-all and e2e, which only flow-apply-many called, as well as E2E_CMD. No workflow calls them: lines for these operations can stay in your .awf/commands.yaml.

  • commands.sh settings prints {"max_tasks":N,"max_total":N}: max_changes and FLOW_MAX_CHANGES are gone. (parallel) groups inside a change still run in parallel through run-tasks.

  • In a Susan run, flow-apply-many used to list the changes: start one flow-apply run per change.

Documentation

  • The README shows how the commands fit together, in a diagram of the four stages (discover, specify, build, close), and the RED, GREEN and review loop of a slice.
  • A new section places Event Storming and Example Mapping before flow-propose, maps each workshop card to the OpenSpec artifacts, and gives the format of the brief /flow:propose reads from .awf/briefs/<change>.md.
  • Known limitation, documented: after flow-accept, flow-sync and flow-archive reuse the branch docs/propose-<change>, which holds neither the code nor the checked boxes, and nothing merges their result into main. Delete that branch and its worktree after the acceptance, then merge the result by hand.

Also in this release (0.9.2)

  • A task without slices applies as a single slice numbered like the task. check-slice and commit-slice looked for a slice line that does not exist, so the task failed after its slice had passed every check. They now check and commit the task itself.

Requires awf 0.11.9 or later. The plugin flow moves to 0.5.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.10.0

0.9.2

Choose a tag to compare

@gplanchat gplanchat released this 24 Nov 12:40

flow-apply checks and commits a task that has no slices.

  • A task without slice lines passes. In a change already in main, a task of tasks.md without slices is one slice that carries the task number, for example 4.1. check-slice looked for a slice line 4.1 under the task and failed, so the run ended in failed after every gate had passed. commit-slice failed the same way. Both now check and commit the task itself.

Requires awf 0.11.9 or later. The plugin flow stays at 0.4.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.9.2

0.9.1

Choose a tag to compare

@gplanchat gplanchat released this 23 Nov 22:57

flow-propose, flow-update and flow-sync now fail when their gates fail.

  • Failed gates no longer pass. The gate step tested states.gate.ExitCode == 0. awf 0.11.9 gives a call_workflow step exit code 0 even when the sub-workflow fails, so a failed gate went straight to the commit. A change that the drafting agent never wrote reported status: success, with the failed gates listed in waived. The step now tests its Status.
  • Three gate-and-fix passes at most. fix_check stood outside the body of gate_loop: each fix left the loop and re-entered it with a new count, so max_iterations: 3 never stopped it. That path only runs when a gate fails, which the fault above hid. The loop now stops after three passes, then runs the final gate.

Requires awf 0.11.9 or later. The plugin flow stays at 0.4.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.9.1

0.9.0

Choose a tag to compare

@gplanchat gplanchat released this 23 Nov 22:17

Failures of the flow-* workflows now say what happened, in awf's default silent output, and flow-accept merges into main wherever main is checked out.

awf 0.11.9 shows no step output in its default silent mode, and exits with code 3 for every failure, whatever status: the workflow sets. Several messages of the pack were step output and never reached you. They now travel in the message of a terminal state, which awf prints in every mode.

  • flow-review: a reviewer that fails leaves its reason. The reviewer step no longer uses output_format: json, which failed the step without a message when the answer held text around the JSON object. The findings object is read with or without text or code fences around it. A failed reviewer, or an answer with no findings object, goes to .awf/status/egm/<reviewer>.err, and the failure message names that file. awf passes on neither the stderr nor the exit code of an agent step: the file holds the status and the output.
  • flow-review: the waiting state prints the question and the To answer: line. The state keeps its name waiting and the report its format.
  • flow-propose, flow-update, flow-sync, flow-archive, flow-accept, flow-apply: the new worktree. The run ends in the state worktree_ready, whose message is "The worktree ... is ready. Run again: cd ... && awf run openspec-tdd/flow- ...". The /flow:* commands recognise the case by that line, and no longer by exit code 2.
  • flow-accept: the merge. merge-gate.sh merge merges in the worktree that has main checked out, which may differ from the repository root, and exits 2 when no worktree has it. A failed merge reports the phase merge (new) instead of gate, and the failure message gives the reason. commands.sh merge (flow-apply-many) goes through the same script.
  • levels gate. Without .awf/languages.yaml, no language declares test levels and the gate passes. A registry that exists but cannot be read still fails.
  • Waivers. A waived gate writes "Gate waived for by until (waiver in ...)" to .awf/status/flow-gate.log, and the commands quote it.

awf resume of a pack workflow needs awf 0.11.10, or AWF_WORKFLOWS_PATH=<pack>/workflows with awf 0.11.9, as the To answer: line shows. Requires awf 0.11.9 or later. Plugin flow 0.4.0.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.9.0

openspec-tdd 0.8.0

Choose a tag to compare

@gplanchat gplanchat released this 17 Nov 13:47

Run the flow-* workflows in a Susan run, without worktrees.

A Susan run is a fresh clone of the project with all its branches, positioned on main and discarded at the end. Susan sets NEXUS_AGENT_RUN_ID and pushes the current branch at the end of the run, never main. With NEXUS_AGENT_RUN_ID set:

  • flow-propose, flow-update, flow-sync, flow-archive, flow-accept. No worktree: the clone switches to docs/propose-<change> (from the origin when it exists there, else created from main) and the workflow goes on, instead of exiting with code 2 and asking to run it again.
  • flow-accept. Commits acceptance.yaml, but does not merge into main: the run pushes the branch, and a person merges it.
  • flow-apply. Switches the clone to change/<change>, installs the dependencies with commands.sh deps ., and applies the change in place. commands.sh settings forces max_tasks to 1: a (parallel) group creates no sub-worktree.
  • flow-apply-many. Checks the names, writes {"mode":"run","status":"listed","changes":[...]} to .awf/status/apply-many.json, and stops: start one flow-apply run per change.
  • flow.sh switch <branch>. New subcommand, run mode only.

Outside a run, nothing changes. Requires awf 0.11.9 or later.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.8.0

openspec-tdd 0.7.0

Choose a tag to compare

@gplanchat gplanchat released this 16 Nov 07:39

Test levels for slices, and a fix of the setup check of the flow plugin.

  • Test level of a slice. A language whose entry in .awf/languages.yaml declares levels (one path pattern per level: unit, functional, integration) has each slice carry its level next to its language tag, [php] [unit].
    • The new levels gate of flow-propose and flow-update fails on a slice without a level.
    • RED fails with code 14 when a test file of the slice is at another level.
    • A language without levels sees no change.
  • Level rules. The RED tester and the PHP, TS and Go profiles say which level proves which kind of scenario: the lowest that proves the behavior. design.md ends with a test strategy that gives each scenario its level.
  • Go levels. _functional_test.go, and _integration_test.go behind the integration build tag, which the new gointegration tool of the example registry runs.
  • Pyramid. apply-change.json counts the test files per level, in the project and in the change (pyramid); openspec-tasks.sh pyramid <change> prints the same.
  • /flow:setup fix. zpm version writes to stderr: the check read an empty version and reported zpm as too old.

Requires awf 0.11.9 or later.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.7.0

openspec-tdd 0.6.0

Choose a tag to compare

@gplanchat gplanchat released this 15 Nov 19:08

Drafted changes can now be reviewed with the Elephant-Goldfish Model (EGM) before acceptance.

  • New flow-review workflow: seven reviewers of the EGM plugin (zoom-out, comprehension, design, structural, style, implementation readiness, codebase details) each run as a fresh agent with read-only tools. proposal.md, design.md and specs/ form the feature part, tasks.md the implementation plan. Findings go to .awf/status/egm/review.md, the status to .awf/status/flow-review.json.
  • On a Blocker, the new ask operation of the command contract puts the question to a person, and the run stops in its terminal state waiting. The answer resumes it: awf resume <run> --from check --input egm_decision=proceed|revise|abandon. The default ask prints that line, prefixed with AWF_WORKFLOWS_PATH because awf 0.11.9 does not find a pack workflow on resume.
  • The flow plugin (0.3.0) adds /flow:brainstorm (concepts brief in .awf/briefs/), /flow:review and /flow:resolve (fixes applied through flow-update). /flow:propose and /flow:update end with the review, /flow:accept stops while it waits or asks for a revision, and /flow:setup checks the EGM plugin.
  • The drafting skills write for the EGM feature-spec and implementation-readiness standards.

flow-review needs the EGM plugin installed in Claude Code, or EGM_ROOT pointing to a copy of its repository, and jq.

Requires awf 0.11.9 or later.

awf workflow install gplanchat/awf-workflow-openspec-tdd@0.6.0