Repository navigation
Releases
0.10.3
flow-sync fails when the main specs do not carry the deltas of the change.
Fixes
-
flow-syncreported success without syncing anything. When the sync agent wrote nothing, for example on aMODIFIEDdelta whose requirement is not in the main spec, the run ended withstatus: success, exit code 0 and no commit. The newsyncedgate offlow-gate, run forsynconly, comparesopenspec/specs/with eachspecs/<capability>/spec.mddelta of the change. It fails when the main spec of a capability:- misses an
ADDEDorMODIFIEDrequirement, its text or one of its scenarios (blank space differences pass, and aMODIFIEDdelta that only adds a scenario passes once that scenario is in place); - still holds a
REMOVEDrequirement; - still holds the old title of a
RENAMEDrequirement, 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-syncexits 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>. - misses an
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
commit-slice commits a documentation task without slices.
Fixes
commit-sliceon 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-slicefound that slice only when the task classified as code: on a documentation task, it raisedUnknownSliceaftercheck-slicehad checked the task. The task now commits as itself, with adocs(...)subject for a documentation task.flow-applycommits these tasks withcommit-taskand was not affected; the failure showed when you rancheck-slicethencommit-sliceby 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
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
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-manyand/flow:apply-manyare gone. To merge a change thatflow-applyapplied, 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-allande2e, which onlyflow-apply-manycalled, as well asE2E_CMD. No workflow calls them: lines for these operations can stay in your.awf/commands.yaml. -
commands.sh settingsprints{"max_tasks":N,"max_total":N}:max_changesandFLOW_MAX_CHANGESare gone.(parallel)groups inside a change still run in parallel throughrun-tasks. -
In a Susan run,
flow-apply-manyused to list the changes: start oneflow-applyrun 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:proposereads from.awf/briefs/<change>.md. - Known limitation, documented: after
flow-accept,flow-syncandflow-archivereuse the branchdocs/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-sliceandcommit-slicelooked 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
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 oftasks.mdwithout slices is one slice that carries the task number, for example4.1.check-slicelooked for a slice line4.1under the task and failed, so the run ended infailedafter every gate had passed.commit-slicefailed 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
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 acall_workflowstep 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 reportedstatus: success, with the failed gates listed inwaived. The step now tests itsStatus. - Three gate-and-fix passes at most.
fix_checkstood outside the body ofgate_loop: each fix left the loop and re-entered it with a new count, somax_iterations: 3never 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
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 usesoutput_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: thewaitingstate prints the question and theTo answer:line. The state keeps its namewaitingand the report its format.flow-propose,flow-update,flow-sync,flow-archive,flow-accept,flow-apply: the new worktree. The run ends in the stateworktree_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 mergemerges in the worktree that hasmainchecked out, which may differ from the repository root, and exits 2 when no worktree has it. A failed merge reports the phasemerge(new) instead ofgate, and the failure message gives the reason.commands.sh merge(flow-apply-many) goes through the same script.levelsgate. 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
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 todocs/propose-<change>(from the origin when it exists there, else created frommain) and the workflow goes on, instead of exiting with code 2 and asking to run it again.flow-accept. Commitsacceptance.yaml, but does not merge intomain: the run pushes the branch, and a person merges it.flow-apply. Switches the clone tochange/<change>, installs the dependencies withcommands.sh deps ., and applies the change in place.commands.sh settingsforcesmax_tasksto 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 oneflow-applyrun 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
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.yamldeclareslevels(one path pattern per level:unit,functional,integration) has each slice carry its level next to its language tag,[php] [unit].- The new
levelsgate offlow-proposeandflow-updatefails 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
levelssees no change.
- The new
- 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.mdends with a test strategy that gives each scenario its level. - Go levels.
_functional_test.go, and_integration_test.gobehind theintegrationbuild tag, which the newgointegrationtool of the example registry runs. - Pyramid.
apply-change.jsoncounts the test files per level, in the project and in the change (pyramid);openspec-tasks.sh pyramid <change>prints the same. /flow:setupfix.zpm versionwrites 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
Drafted changes can now be reviewed with the Elephant-Goldfish Model (EGM) before acceptance.
- New
flow-reviewworkflow: 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.mdandspecs/form the feature part,tasks.mdthe implementation plan. Findings go to.awf/status/egm/review.md, the status to.awf/status/flow-review.json. - On a Blocker, the new
askoperation of the command contract puts the question to a person, and the run stops in its terminal statewaiting. The answer resumes it:awf resume <run> --from check --input egm_decision=proceed|revise|abandon. The defaultaskprints that line, prefixed withAWF_WORKFLOWS_PATHbecause awf 0.11.9 does not find a pack workflow on resume. - The
flowplugin (0.3.0) adds/flow:brainstorm(concepts brief in.awf/briefs/),/flow:reviewand/flow:resolve(fixes applied throughflow-update)./flow:proposeand/flow:updateend with the review,/flow:acceptstops while it waits or asks for a revision, and/flow:setupchecks 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