Changelog
On this page
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
[0.12.1] - 2026-11-23
[0.12.0] - 2026-11-23
Added
step.completedandstep.failedevents carrycost_usd: what the provider charged for the step, taken from its own stream (part.costfor opencode,total_cost_usdfor claude). The transcript’sstep.completedpayload keeps the same value ascost_usd, so a recorded run can be priced later. Providers that report no price leave it at zero, and the field is omitted from JSON.
[0.11.10] - 2026-11-16
[0.11.10] - 2026-11-16
[0.11.9] - 2026-11-14
[0.11.8] - 2026-11-02
[0.11.7] - 2026-10-30
[0.11.6] - 2026-10-28
[0.11.5] - 2026-10-27
[0.11.4] - 2026-10-27
[0.11.3] - 2026-10-23
[0.11.2] - 2026-10-22
[0.11.1] - 2026-10-20
[0.11.0] - 2026-06-22
Changed
- F108: F107 facade completion — routed all four interfaces (CLI, TUI, HTTP, ACP) through
ports.WorkflowFacade.Run+RunSession.Events()as the sole execution path, delivering F107’s “single core” promise. The facade event model (ports.Event+ProjectEvent) is enriched with typed payload structs (EnrichedStepPayload,EnrichedMessagePayload,EnrichedInputRequest,EnrichedTerminal) carrying step name, message content, error message, duration, and InputRequest prompt losslessly fromtranscript.ExchangeEventtyped payloads (StepPayload,MessagePayload,ToolPayload) — notranscript/infra types leak into the domain layer. CLIAdapter.Statusis now backed byapplication.SessionRegistry.Getplus ahistory.dbfallback soawf status <id>resolves both live and completed runs (replacing the prior not-found stub);awf list/history/resume/resume-list/validateroute throughcfg.Facade.*. TUI run action callsRunWorkflowViaFacadeand consumesEvents()directly, eliminating the 200mstickMsg/executionPollMsgpoll loop. HTTPPOST /api/workflows/{scope}/{name}/runexecutes via the facade and registers the returnedRunSessioninapplication.SessionRegistry(wired toSessionLookupvia a thin adapter) so SSE subscribers resolve the session synchronously by run ID. ACPdispatchViaFacadeis wired throughACPSessionService.SetFacadeinacp_serve.gowith oneWorkflowFacadeconstructed per ACP session (per-sessionstateStorerooted atacpSessionStateDir(sessionID)) preserving the F105 state-isolation pattern;projectFacadeEventsprojectsEventInputRequiredto asession/updatecarrying the prompt before parking, andfacadeEventToUpdatenow emits the actual assistant text instead ofev.RunID. Duplicate no-op recorders (cli.nopRecorder,tui.tuiNopRecorder) are consolidated into a singletranscript.NopRecorderininternal/infrastructure/transcript/. Legacy execution paths deleted: ACPrunner.Runbranch inHandleSessionPrompt,internal/infrastructure/acp/input_reader.go, CLIinteractiveExec+ directexecSvc.RunWithWorkflowAndRunIDcall, TUIbridge.RunWorkflow+tickMsg/executionPollMsg+scheduleTick, and the legacy HTTP run path throughBridge.StartExecution(Bridge.activeExecutionsis preserved forList/Get/Cancelmetadata).wiring_transcript.AttachMirrorSubscribermigrated to consumeRunSession.Events()keeping SC-001 (“onlyAdapter.newSessioncallsRecorder.Subscribe”) clean..go-arch-lint.ymlupdated for the new edges (interfaces/cli → infrastructure/transcript,application → portsfor enriched payloads) and stale edges removed. Conformance goldens (tests/fixtures/facade/{cli-stdout,acp-session-update,sse-frames,tui-tea-msg}.golden) driveTestFacadeConformance_4Interfaces;TestFacadeE2E_CtxCancelProducesWorkflowFailedandTestFacadeResume_RestoresStateare green; per-session/per-run ACP state isolation is verified byTestACP_ConcurrentSessionsNoStateCollisionunder-race. Iso-functional from the user’s perspective — no output regression and no YAML schema change. Unblocks F109 (tools hardening). - F105: ACP server migrated from the homegrown
pkg/acpserver/JSON-RPC engine (~1620 LOC across 10 files) to the officialgithub.com/coder/acp-go-sdkv0.13.0, wrapped in a newinternal/infrastructure/acp/adapter package implementingacp.Agentwith the four wired methods (Initialize,NewSession,Prompt,Cancel) and seven typed “method not supported” stubs (Authenticate,LoadSession,SetSessionMode,SetSessionModel,ExtMethod,ExtNotification,CancelNotification). Theawf acp-servelifecycle is rebuilt aroundacp.NewAgentSideConnection(agent, os.Stdout, os.Stdin)+<-conn.Done()withconn.SetLogger(stderr)keeping stdout exclusively for protocol frames.ports.ACPClient.RequestPermissionis now live, wired throughinternal/infrastructure/acp/permission.gotoconn.RequestPermission, with the stdout serialization invariant preserved under concurrentSessionUpdate+RequestPermissiontraffic (mirroring the legacyTestServer_OutboundWritesDoNotInterleaveguarantee). DomainACPHandlerErrortaxonomy (ACPErrInvalidParams,ACPErrInternal,ACPErrMethodNotFound,ACPErrUnsupportedContentBlock) stays inapplication/acp_errors.goand is mapped to SDK error variants bytoACPErrorininternal/infrastructure/acp/errors.go. The SDK import is confined tointernal/infrastructure/acp/and jointly enforced by.go-arch-lint.yml(newgo-sdk-acpvendor entry,infra-acp.canUse = [go-stdlib, go-sdk-acp]) and a new AST-basedarchitecture_test.gomirroring the F104 MCP pattern.pkg/acpserver/is fully deleted (10 files);internal/infrastructure/acp/message.goandacp_wiring.go:acpErrorCode()are removed as their bespoke types are subsumed by SDKSessionUpdateconstructors andtoACPErrorrespectively. User-facing behavior is iso-functional with the legacy engine: editors (Zed, acp.nvim) see identical session lifecycle, slash-command discovery, multi-turn parking, and approval-gate semantics. Panic isolation via SDK-independentdefer recover()wrapper with named returns (fmt.Sprintf("panic recovered: %v", r), no stack trace exfiltration). Adapter test coverage > 85% withmake test-racegreen. SDK 0.x risk and rollback rationale documented in ADR-020, which supersedes thepkg/acpserver/implementation detail of ADR-018 (the ACP protocol and per-session subprocess topology decisions in ADR-018 stand unchanged). Unblocks F107 (facade refactor) and F108 (Axis B permission gate).
Fixed
- F103: Codex provider output parity —
state.OutputandConversationResult.Outputfor thecodexprovider now contain clean aggregated assistant text instead of raw NDJSON, regardless ofoutput_formatvalue (json,stream-json,text, or absent), closing the gap left by B015 in 0.7.1 which only covered Claude, Gemini, and OpenCode. Aggregation is presence-aware: when the NDJSON stream contains ≥1assistant_messageevent, the extracted text overwritesOutput(emptyassistant_messageyieldsOutput == ""); when no events are parsed (plain-text mocks, pre-result lifecycle events only), the base output is preserved.state.ResponseandConversationResult.Responseare now populated viatryParseJSONResponseon the aggregated assistant text when it is a valid JSON object — matching Gemini/OpenCode semantics. Estimated token recount runs on the extracted text rather than the raw NDJSON length. Conversation parity achieved through a Codex-targeted override inExecuteConversationplus anextractTextContenthook wired intocliProviderHooks; base provider and other CLI providers (Claude, Gemini, OpenCode, GitHub Copilot) are bit-identical. NUL bytes, multi-event streams, empty assistant messages, and non-JSON plain text are all handled without panic or truncation. Workflow authors can now reference{{.states.codex_step.Output}}and{{.states.codex_step.Response}}with the same semantics as other providers, unblocking multi-step workflows that pipe Codex output downstream.
[0.10.0] - 2026-06-01
Changed
- F101: HTTP API workflow routes restructured around a
(scope, name)two-segment URL grammar to support pack-workflow execution. New routes:GET /api/workflows/{scope}/{name},POST /api/workflows/{scope}/{name}/run,POST /api/workflows/{scope}/{name}/validate. Thescopesentinellocaladdresses non-pack workflows (e.g./api/workflows/local/deploy-prod/run); the vendor (pack) name serves as scope for pack workflows (e.g./api/workflows/speckit/specify/run).WorkflowSummarygains additivescopeandworkflowfields alongside the canonicalnameso clients can build operation URLs directly without splitting on/. Breaking (F097 not yet released): the previous single-segment routes/api/workflows/{name}[/run|/validate]are removed; clients targeting F097 routes must migrate. OpenAPI 3.1 document at/openapi.jsonreflects the new path parameters automatically. SSE event streaming at/api/executions/{id}/eventsis unaffected (keyed by execution UUID). - F101: Pack loader (
internal/infrastructure/workflowpkg/) now rejects manifests whosenamematches the reserved scope tokenslocalorglobalwith a structuredUSER.INPUT.VALIDATION_FAILEDerror containingpack_nameandreserved_tokensin the details map. Enforcement is single-source at the manifest validator and applies on install, on discovery listing, and on any future pack-aware code path. Names that merely contain or prefix-share with reserved tokens (localpack,globalpack,run,validate) remain valid.
Fixed
- F101: Pack workflows are now executable over the HTTP API. F097 advertised pack workflows in
GET /api/workflowsbut the single-segment{name}placeholder in chi could not match canonical identifiers containing/(e.g.speckit/specify), so every action endpoint returned404 Not Found. The new(scope, name)grammar resolves pack identifiers natively and restores parity betweenGET /api/workflowslisting and the read/run/validate operations. - F101: TUI
Workflowstab no longer panics when a user triggers validation on a pack-sourced workflow. Pack entries carryName == "packName/workflowName"while the resolved workflow value object only knows the bare name, so the internalwfMaplookup missed andhandleValidatedereferenced a nil pointer. The validate handler now forwards the fully-qualified entry name (already accepted by the validation service) — same approach used by the existing nil guard inhandleLaunch. - F101: Workflow pack manifests with traversal-style names are now rejected.
Manifest.Validatepreviously applied^[a-z][a-z0-9-]*$only to the pack name; entries in theworkflows:list reachedfilepath.Joinunchecked, so a manifest declaringworkflows: ["../../etc/passwd"]could escapeworkflowsDirto whatever file happened to exist at the resolved path. The same regex is now enforced on every workflow name during validation. The pack discoverer adds defense-in-depth, silently skipping packs and workflow entries whose names fail the regex even when validation is bypassed.
Breaking Changes
- F100: Dedicated
roles/namespace for agent roles — the environment variable for overriding role search paths is renamed fromAWF_AGENTS_PATHtoAWF_ROLES_PATH. All role discovery now happens exclusively underroles/-namespaced directories. Migration guide for users upgrading from F098:- Environment variable: rename
AWF_AGENTS_PATH→AWF_ROLES_PATHin shell profiles, CI scripts, and Docker environments. - Local project directory: move
.awf/agents/<role>/→.awf/roles/<role>/. The old.awf/agents/path is no longer searched. - Cross-client local directory: move
.agents/<role>/(flat, at root) →.agents/roles/<role>/. Roles stored directly under.agents/without theroles/sub-namespace are no longer discovered. - Cross-client global directory: move
~/.agents/<role>/→~/.agents/roles/<role>/. Same sub-namespace requirement as above. - XDG global directory:
$XDG_CONFIG_HOME/awf/roles/path is unchanged (was not previously a dedicated path; roles were found via the oldAWF_AGENTS_PATHoverride only). - Workflows referencing roles by name (e.g.
role: go-senior) will fail at validation or execution time withErrRoleNotFounduntil the role directories are migrated to the new namespace. Path-based refs (e.g.role: ./path/to/role) are unaffected as long as the referenced path still exists.
- Environment variable: rename
Added
- F098: Agent role injection via AGENTS.md — new optional
role: <name-or-path>field on agent steps loads<role-dir>/AGENTS.md, strips YAML frontmatter, and injects the body assystem_prompt(Claude native--system-prompt; CLI providers via existing first-turn concat). Role discovery searches in strict priority order:AWF_ROLES_PATH(exclusive override),.awf/roles/,.agents/roles/,$XDG_CONFIG_HOME/awf/roles/,~/.agents/roles/. Explicit path references supported (relative to workflow file, absolute, tilde-expanded);rolevalue is interpolated (role: {{.inputs.persona}}) before discovery. When combined with inlinesystem_prompt, the role content is prepended (<role>\n\n<inline>). Works in bothmode: singleandmode: conversation— three injection sites (executeAgentStep,executeResumableAgentCall,ConversationManager.ExecuteConversation) unified through a singleComposeSystemPrompthelper.awf validatereports hard errors for missing role directories / missing AGENTS.md and non-blocking warnings for empty bodies,AGENTS.md> 500KB, and combinedrole + system_prompt> 10KB. Path-traversal patterns (..) rejected during validation. New error codeUSER.INPUT.MISSING_ROLE. Backward compatible: agent steps withoutrole:behave identically to pre-F098. Implementation mirrors the existing skills mechanism (newAgentRoleentity,AgentRoleRepositoryport,internal/infrastructure/roles/adapter,SetAgentRoleRepository()optional wiring). Roles establish who the agent is (system prompt); skills define what it knows (user-prompt XML block) — orthogonal channels by design - F097: HTTP REST API server (
awf serve) — newinternal/interfaces/api/adapter alongsidecli/andtui/exposing workflow discovery (GET /api/workflows,GET /api/workflows/{name},POST /api/workflows/{name}/validate), async execution (POST /api/workflows/{name}/runreturning 202 +execution_id), lifecycle control (GET /api/executions,GET /api/executions/{id},DELETE /api/executions/{id},POST /api/executions/{id}/resume), Server-Sent Events streaming (GET /api/executions/{id}/eventsemittingstep.started,step.completed,step.failed,workflow.completed,workflow.failed,output), and history queries (GET /api/history,GET /api/history/stats); Huma v2 + chi v5 generate OpenAPI 3.1 spec served at/openapi.json,/openapi.yaml, and Swagger UI at/docs; Bridge adapter pattern mirrorstui/bridge.gowithsync.Maptracking active executions; SSE polling at 200ms cadence matching TUI; graceful shutdown viasignal.NotifyContextwaits up to 30s for active streams; default binding127.0.0.1:2511(loopback-only, non-loopback opt-in via--host); arch-lint enforcesinterfaces-apimay import onlyapplication/anddomain/*(noinfrastructure/,cli/, ortui/); see ADR-016
[0.9.0] - 2026-05-14
Added
- F096: Agent skills integration — workflow steps declare skills via
skills: [skill-name]orskills: [path: ./custom/skill]YAML syntax; AWF discovers skills fromAWF_SKILLS_PATHenv var,<project>/.awf/skills/,<project>/.agents/skills/,<project>/.claude/skills/, and global XDG/home directories with defined priority; SKILL.md frontmatter (YAML header between---delimiters) is stripped to extract markdown body; skill content is injected into provider prompt context before the user prompt using agentskills.io structured wrapping format with skill directory path, relative path resolution hint, and<skill_resources>enumeration of bundled files (without eager loading);awf validatechecks all skill references for existence and warns on empty SKILL.md files; circular skill references and frontmatter parsing are explicitly out of scope for v1; skill content is loaded synchronously and deterministically (no model-driven activation)
Changed
- F095: Deterministic step display ordering in CLI execution summary —
--- Execution Details ---, step stdout/stderr blocks, andbuildStepInfosnow display steps in workflow-defined order (followingInitial→ default transitions →OnSuccess) instead of non-deterministic Go map iteration; new domain-levelExecutionOrder(*Workflow) []StepandNextDefaultStep(*Step) stringfunctions ininternal/domain/workflow/graph.goprovide a single source of truth for default-path graph traversal; TUI’s privateorderedSteps/nextStepNamedeleted and replaced by delegation to the domain functions; CLI display functions (showExecutionDetails,showStepOutputs,showEmptyStepFeedback,buildStepInfos) accept*workflow.Workflowparameter and iterate viaExecutionOrder()output;showEmptyStepFeedbackswitched from directexecCtx.Statesaccess to thread-safeGetStepStateper-step lookup - F094: Unified token counting via
ports.Tokenizerport — all CLI-based agent providers (Claude, Gemini, Codex, GitHub Copilot, OpenCode) now count tokens through an injectedTokenizerinterface instead of inlinelen(output)/4helpers; defaultApproximationTokenizerpreserves identical behavior; eliminates mutation side-effect on shared conversation turn state during input token estimation; deadestimateTokens/estimateInputTokenshelpers removed; enables future swap to real token counting (e.g., tiktoken, stream-extracted counts) by changing a single injection point
[0.8.1] - 2026-05-11
- F093: Add dangerously_skip_permissions alias for –allow-all for Github Copilot agent
[0.8.0] - 2026-05-09
Fixed
- F084: Bound
StreamFilterWriterline buffer to 10 MB — prevents silent stream abort on oversized NDJSON events from agent providers. When a single event exceeds 10 MB, a structured warning is logged with the line size and maximum cap; stream processing continues for subsequent events. Includes benchmarks verifying no throughput regression on normal-sized input (~200 B lines).
Added
- F089: GitHub Copilot agent provider — new
github_copilotprovider implementingAgentProviderinterface via thecopilotCLI binary; single-turn execution (-p <prompt> --output-format=json --silent), multi-turn conversation support (--resume=<session-id>), CLI flag mapping for model (--model), mode (--mode: interactive/plan/autopilot), effort (--effort: low/medium/high), tool permissions (--allow-tool,--deny-tool,--allow-all); JSONL streaming display event parsing; option validation formodeandeffortenums atawf validatetime; graceful fallback to stateless mode when session ID extraction fails; registered inRegisterDefaults()as 6th provider; authenticate viacopilot loginor environment variables (COPILOT_GITHUB_TOKEN,GH_TOKEN) - F088: Terminal User Interface (TUI) —
awf tuilaunches a full-screen Bubble Tea dashboard with five tabs: Workflows (filterable list with launch/validate actions), Monitoring (real-time execution tree with status icons and live log viewport via 200ms tick polling ofExecutionContext), History (browse past executions from SQLite with filtering by name/status/date), Agent Conversations (Glamour-rendered Markdown chat view), and External Logs (fsnotify-based live tailing of Claude Code JSONL session files); TUI lives ininternal/interfaces/tui/as a new interface adapter bridging to existingWorkflowService,ExecutionService, andHistoryServicevia asynctea.Cmdfactories; secret masking applied to all views; terminal state restored on exit/panic/signal; requires 256-color terminal support (graceful fallback to basic ANSI) - F085: Unified display-event abstraction across all agent providers — replaces per-provider
LineExtractorfunction-field with aDisplayEventParserreturning structuredDisplayEventvalues (discriminated byEventTextandEventToolUsekinds); all 6 providers (Claude, Codex, Gemini, GitHub Copilot, OpenCode, OpenAI-Compatible) now emit events through the same parser contract; single interfaces-layerRenderEventsrenderer with two display modes: default (text only, byte-equivalent to F082 behaviour) and verbose (text + tool-use markers in[tool: Name(Arg)]format); well-known tools (Read,Write,Edit,Bash,Grep,Glob,Task) display concise markers with argument truncation (≤ 40 chars); unknown tool names degrade gracefully; parser implementations return plain strings with no ANSI escapes (rendering concerns confined to interfaces layer);output_format: jsonbypasses event parsing entirely for raw passthrough;DisplayOutputaggregation onAgentResult/ConversationResultpreserved via text-event concatenation - F085: Unified display-event abstraction across all agent providers — replaces per-provider
LineExtractorfunction-field with aDisplayEventParserreturning structuredDisplayEventvalues (discriminated byEventTextandEventToolUsekinds); all 5 providers (Claude, Codex, Gemini, OpenCode, OpenAI-Compatible) now emit events through the same parser contract; single interfaces-layerRenderEventsrenderer with two display modes: default (text only, byte-equivalent to F082 behaviour) and verbose (text + tool-use markers in[tool: Name(Arg)]format); well-known tools (Read,Write,Edit,Bash,Grep,Glob,Task) display concise markers with argument truncation (≤ 40 chars); unknown tool names degrade gracefully; parser implementations return plain strings with no ANSI escapes (rendering concerns confined to interfaces layer);output_format: jsonbypasses event parsing entirely for raw passthrough;DisplayOutputaggregation onAgentResult/ConversationResultpreserved via text-event concatenation - F090: Plugin Event System — inter-plugin and core event reactivity via gRPC
EventServicewith unaryHandleEventRPC; in-processEventBuswith dot-segment glob pattern matching (workflow.*,step.*,*.*) and per-plugin buffered channels (256 events) for isolation;ExecutionServiceemits 7 lifecycle events (workflow.started,workflow.completed,workflow.failed,step.started,step.completed,step.failed,step.retrying); inter-plugin event routing viaHandleEventResponse.emitted_eventswith cycle detection (max propagation depth 3); SDKEventSubscriberinterface withPatterns()andHandleEvent()methods;BasePluginno-op defaults preserve backward compatibility (existing plugins unaffected); plugin manifesteventscapability withsubscribeandemitpattern declarations;EventBuswired throughInitSystem→RPCPluginManager.SetEventBus()→WithEventPublisherSetupOption →ExecutionService
Changed
- F087:
awf historynow displays full workflow execution IDs without truncation — UUIDs are shown in their complete 36-character form so they can be copied directly into downstream commands (awf status <id>,awf logs <id>); workflow names are also displayed in full; table rendering migrated from fixed-widthfmt.Fprintftotext/tabwriterfor auto-sizing columns, matching the pattern used by other table outputs
[0.7.1] - 2026-04-27
Fixed
- B015 (#318): Stream-json NDJSON output is now correctly extracted into
state.Outputfor all CLI agent providers (Claude, Gemini, OpenCode). Previously, on hosts withSessionStarthooks (claude-mem, superpowers, zpm, etc.) — or any environment producing pre-result lifecycle events — agent steps withoutput_format: jsonfailed withoutput format processing: invalid JSON: invalid character '{' after top-level value. Providers now always extract the agent’s response from the NDJSON stream soapplyOutputFormatparses the actual content instead of the wire envelope.
[0.7.0] - 2026-04-17
Breaking Changes
- F083: Conversation mode redesigned as an interactive user-driven loop — removes all automated multi-turn fields (
max_turns,max_context_tokens,strategy,stop_condition,inject_context) and theinitial_promptagent field. Workflows using these fields now fail YAML parsing silently (fields ignored); update them as follows:initial_prompt: X→ useprompt: X(serves as the first user message in conversation mode)conversation.max_turns,conversation.max_context_tokens,conversation.strategy,conversation.stop_condition,conversation.inject_context→ remove all five; the user now drives turn count and exit by typing into stdin (empty line,exit, orquit)mode: conversationnow requires a terminal (reads from stdin) and theConversationManageradds aStdinInputReaderwiringos.Stdin/os.Stdout; headless/CI usage must pipe stdin (e.g.,echo "" | awf run ...)- Only
conversation.continue_fromis preserved, for cross-step session resume - New
StopReasonUserExitreplaces the removedStopReasonCondition,StopReasonMaxTurns,StopReasonMaxTokensconstants
- F083:
conversation:sub-struct now usable inmode: single(the default) to opt a step into session tracking — a plain agent step withconversation: {}runsprovider.ExecuteConversationonce (no interactive loop), establishing a session that downstream steps can resume viacontinue_from; without the sub-struct,mode: singlebehaves exactly as before (no session, no tracking); this changes the semantic ofconversation:from “conversation mode only” to “session tracking marker” - F081: Codex model validation is stricter — only models with prefixes
gpt-,codex-, or o-series pattern (e.g.,o1,o3-mini) are accepted; workflows using non-OpenAI models (e.g.,code-davinci,text-davinci) will fail validation; update YAML to use valid OpenAI model names or switch to a different provider - F079: Stored
ConversationState.SessionIDvalues from prior runs are invalidated for Gemini and Codex — old sentinel values ("latest","last",codex-*prefixed IDs) do not match any real session and cause resume to skip (safe fallback to stateless mode); no migration needed, conversations restart cleanly on first run after upgrade - F078: CLI provider invocation flags updated to match current binary APIs — Claude and Gemini
output_format: jsonnow maps to--output-format stream-json(was--output-format json); Codex invocation changed fromcodex --prompt "<prompt>" --quiettocodex exec --json "<prompt>";quietoption removed from Codex (silently ignored); Codex conversation resume changed fromcodex resume <id> --prompt "<prompt>"tocodex resume <id> --json "<prompt>"; workflows usingoutput_format: jsonrequire no YAML changes (mapping is automatic); workflows usingquiet: truefor Codex should remove the option (no-op) - F077: Option keys normalized to snake_case —
allowedToolsrenamed toallowed_tools,dangerouslySkipPermissionsrenamed todangerously_skip_permissionsin workflow YAML; old camelCase keys are silently ignored (Go map miss);dangerously_skip_permissionsfails closed (permissions not skipped),allowed_toolsfails open (no tool restriction applied); update existing workflow files to use the new snake_case keys
Added
- F082: Human-readable streaming output for agent steps — when running with
awf run --output streaming, agent responses now display as clean text instead of raw NDJSON;output_formatfield controls filtering (text/none formats filter NDJSON,jsonformat passes through raw); buffered mode (--output buffered) displays filtered text in post-execution summary; raw NDJSON always preserved instate.Outputfor template interpolation;--output silentremains silent regardless ofoutput_format; per-provider extractors implemented for Claude (parsescontent_block_deltaevents) with stubs for Gemini/Codex/OpenCode - F081: Model validation by prefix/pattern for Gemini and Codex providers — Gemini validates that
modelstarts withgemini-(enables use of any Gemini model without CLI updates); Codex validatesmodelagainst prefixesgpt-,codex-, or o-series pattern (ofollowed by digit, e.g.,o1,o3-mini); validation errors include format guidance to guide correction - F078: OpenCode
--modelflag support —modeloption in workflow YAML now passed as--model <value>to OpenCode CLI in bothExecuteandExecuteConversation; OpenCode always passes--format jsonfor structured output - F077:
dangerously_skip_permissionssupport for Gemini (--approval-mode=yolo) and Codex (--yolo) providers — unified permission bypass key works across all three agent providers (Claude, Gemini, Codex) - F076:
awf upgradeself-update command — checks latest release on GitHub, downloads platform-specific binary, verifies SHA256 checksum, and atomically replaces the current executable;--checkreports available updates without installing;--version v0.5.0installs a specific version;--forceupgrades even if already on latest or running a dev build; heuristic warning when binary appears managed by a package manager (homebrew, apt, snap, nix); cross-filesystem fallback (copy + chmod) whenos.Renamefails;GITHUB_TOKENenv var supported for rate-limited environments
Changed
- F080: Extract shared
baseCLIProviderfrom 4 CLI agent providers (Claude, Gemini, Codex, OpenCode) — consolidates duplicatedExecuteandExecuteConversationorchestration logic into a single implementation with per-provider hooks (buildExecuteArgs,buildConversationArgs,extractSessionID,extractTextContent,validateOptions); fixesTokensEstimatedinconsistency (now alwaystruefor CLI providerExecuteresults); normalizes empty output guard (" "fallback) inExecuteConversationacross all providers; no public API changes, no new exported symbols; net reduction of ~400 lines of duplicated code
Fixed
- F079: Fix session resume for Gemini, Codex, and OpenCode CLI providers — replaced dead
extractSessionIDFromLinestext pattern extraction (searched for"Session: <id>"which no provider emits) with per-provider JSON extraction matching real provider output (session_idfrom Geminitype: "init",thread_idfrom Codextype: "thread.started",sessionIDfrom OpenCodetype: "step_start"); force--output-format stream-jsonfor Gemini inExecuteConversation; remove fabricatedcodex-prefix logic; OpenCode falls back to-c(continue last session) when JSON extraction fails; multi-turn conversation resume now works correctly for all 4 CLI providers - B014: Resolve
providerfield through interpolation engine in agent steps —provider: "{{.inputs.agent}}"was passed as a literal string to the registry instead of being resolved; now interpolated before lookup in bothexecuteAgentStepandExecuteConversationpaths; resolution errors include step name context
Removed
- F079: Dead
extractSessionIDFromLineshelper removed from agent helpers — searched for text pattern"Session: <id>"that no CLI provider emits; replaced by per-provider JSON extraction methods; fabricatedcodex-prefix detection and stripping logic removed from Codex provider - F078: Dead validation helpers
validatePrompt(),validateContext(),validateState()removed from agent helpers — all were no-ops or unreachable after provider refactoring - F077: Dead helper functions
getWorkflowID()andgetStepName()removed from agent helpers — keysworkflowID/stepNamewere never injected by any caller;workflowandstepfields removed from Claude provider audit log (redundant with execution service context)
0.6.0 - 2026-04-05
Fixed
- B013: Wire
ConversationManagerintoExecutionService— conversation mode workflows (mode: conversation) were always failing with"conversation manager not configured"because the manager was never instantiated in the CLI layer; all conversation features (session resume,continue_from,inject_context, stop conditions) now function end-to-end
Added
- C073:
awf workflow listdisplays installed packs with name, version, source, and public workflow names;(local)pseudo-entry shows.awf/workflows/discovery;awf workflow info <pack>shows manifest details, per-workflow descriptions, plugin install status, and embedded README;awf workflow update <pack>downloads newer versions from GitHub Releases with atomic replace preserving user overrides in.awf/prompts/<pack>/and.awf/scripts/<pack>/;awf workflow update --allchecks and updates all installed packs - C073:
awf listextended with pack workflows displayed aspack/workflownamespace prefix andpacksource label - C073: Plugin dependency warnings during
awf workflow installandawf workflow info— non-blocking stderr warnings with actionable install commands when packs declare plugin dependencies - C073:
awf workflow search [query]discovers workflow packs on GitHub viaawf-workflowtopic, with optional keyword filter and JSON output - C072:
awf run pack/workflownamespace syntax — 3-tier path resolution (user override → pack embedded → global XDG) for workflow execution;pack_nameavailable in{{.awf.pack_name}};call_workflowsupports pack-aware references viaSplitCallWorkflowName() - C071: Workflow pack format and installation —
awf workflow install owner/repo[@version]downloads packs from GitHub Releases with SHA-256 checksum verification, manifest validation (name,version,awf_versionconstraint, workflow file existence), and atomic installation to.awf/workflow-packs/<name>/;--globalinstalls to~/.local/share/awf/workflow-packs/;awf workflow remove <pack>deletes installed packs;state.jsontracks source metadata; plugin dependency warnings emitted during install
Changed
- C073: Extracted duplicated GitHub helpers (checksum parsing, API base URL doer, text download) from
workflow_cmd.goandplugin_cmd.gointopkg/registry/—ExtractChecksumForAsset(),NewGitHubAPIDoer(), andDownload()replace inline implementations - C070: Extracted transport layer from
internal/infrastructure/pluginmgr/into sharedpkg/registry/package — version parsing, GitHub Releases client, and download/checksum/extraction utilities are now reusable across plugin and workflow pack systems; zero behavioral change to existing plugin commands
0.5.0 - 2026-03-30
Breaking Changes
- C069: Plugin capability
commandsrenamed tostep_types— updateplugin.yamlmanifests declaringcapabilities: [commands]to usecapabilities: [step_types];commandswas never implemented and has no runtime behavior to migrate - F070: Replaced
customagent provider withopenai_compatible—provider: customworkflows fail validation with migration guidance; useprovider: openai_compatiblewithbase_urlandmodel - C059: Removed unimplemented
github.set_project_statusoperation — workflows using it now fail at validation instead of runtime - C058: Removed
ntfyandslacknotification backends — usewebhookbackend instead (supports ntfy, Slack, Discord, Teams, PagerDuty via URL + headers + body) - C057: Removed deprecated
Tokensfield from step state — useTokensUsed(unreplaced references silently evaluate to0) - B001: Expression context normalized to PascalCase —
output→Output,exit_code→ExitCode, etc. Validation errors provide suggestions - F050: State property references in templates require uppercase:
.Output,.Stderr,.ExitCode,.Status - BadgerDB replaced with SQLite for history storage — existing history not migrated
Argsfield removed fromports.Commandstruct (was unused)
Added
Agent & Conversation
- F075:
inject_contextappends interpolated context to user prompts on turns 2+ in conversation steps - F074:
continue_fromresumes a prior step’s session — CLI providers hand off session ID,openai_compatibleloads turn history - F073: Multi-turn CLI provider session resume —
claude,codex,gemini,opencodemaintain context across turns via native session flags - F070:
openai_compatibleagent provider for any Chat Completions API endpoint (OpenAI, Ollama, vLLM, Groq, LM Studio) - F065:
output_formatfield for agent steps —json(accessible via{{.states.step.JSON.field}}) ortext - F063:
prompt_fileloads external prompt files with path resolution and interpolation (1MB limit) - F033:
mode: conversationenables multi-turn agent interactions with context window management, stop conditions, and token tracking - F032:
type: agentinvokes AI CLI tools (Claude, Codex, Gemini, OpenCode) with prompt interpolation and response parsing
Operations & Plugins
- C069: Plugin validator capability — plugins implementing
sdk.Validatorrun custom workflow validation rules duringawf validate; results display with severity icons (✗error,⚠warning,ℹinfo); per-plugin timeout (default 5s via--validator-timeout); crashes treated as timeouts; results deduplicated by(message + step + field) - C069: Plugin step type capability — plugins implementing
sdk.StepTypeHandlerregister customtype:values for workflow steps; unknown types routed to matching plugin at runtime; step output accessible via{{states.step_name.Output}}and{{states.step_name.Data.key}}; first-registered-wins on name conflicts; step type registrations cached at plugin init - C069:
config:field on workflow steps — passes structured configuration to custom step type plugins (separate frominputs:context interpolation) - C069:
--skip-pluginsflag onawf runandawf validate— bypasses plugin validators and step type resolution;awf runfails with clear error when workflow contains a custom step type - C069:
--validator-timeoutflag onawf validate— sets per-plugin validation timeout (default 5s) - C068: Plugin registry with
awf plugin install/update/remove/search— download from GitHub Releases with SHA-256 checksum verification, atomic installation, version constraints, pre-release support,gh auth tokenfallback, andSOURCEcolumn inawf plugin list - C067: External plugin gRPC transport via HashiCorp go-plugin —
RPCPluginManagerstarts real plugin processes,sdk.Serve()entry point for plugin authors, echo example plugin inexamples/plugins/(ADR-015) - C066: Built-in operation providers (GitHub, HTTP, Notify) visible in
awf plugin listwith--operationsflag - F058:
http.requestoperation for declarative REST API calls (GET/POST/PUT/DELETE, timeout, retry, response capture) - F056:
notify.sendoperation with desktop and webhook backends, template interpolation - F054: GitHub CLI plugin with 8 operations (
get_issue,get_pr,create_pr,create_issue,add_labels,list_comments,add_comment,batch) - F057: Operation interface and registry foundation for plugin operations
- F021: Plugin system with discovery, enable/disable management, SDK, and RPC isolation
Workflow Features
- F068: Exit code-based transition routing —
whenconditions evaluated on non-zero exit paths - F066: Inline
on_failureshorthand —{message: "...", status: N}instead of named terminal states - F064:
script_fileloads external shell scripts with path resolution and interpolation - F043: Nested loop execution with
{{.loop.Parent.*}}access to outer variables - F042: Loop context variables:
Index,Index1,Item,First,Last,Length - F037: Dynamic variable interpolation in
max_iterations,while,until,break_when - F023:
call_workflowfor sub-workflow composition with input/output mapping - F017: Workflow templates with
use_template:and parameter overrides - F016:
for_eachandwhileloop constructs withmax_iterationsandbreak_when - F015: Conditional branching with
when:clauses and comparison operators - F011: Retry with exponential/linear/constant backoff, jitter, and retryable exit codes
- F010: Parallel step execution with
all_succeed,any_succeed,best_effortstrategies - F009: State machine with
on_success/on_failuretransitions andcontinue_on_error
CLI & Usability
- F072: Hugo documentation site with Doks theme, FlexSearch, dark/light mode
- F071: Structured JSONL audit trail (
$XDG_DATA_HOME/awf/audit.jsonl) - C060:
awf initcreates.awf/scripts/directory with example script - C048: Actionable error hints with “Did you mean?”, line/column refs, resolution steps (
--no-hintsto suppress) - C047: Structured error codes (
CATEGORY.SUBCATEGORY.SPECIFIC) withawf error <code>lookup - F046: Interactive input collection — prompts for missing inputs with enum lists and validation
- F045:
awf diagramgenerates DOT/PNG/SVG workflow visualizations - F044: XDG prompt discovery with
awf list promptsand@prompts/prefix in--input - F039:
awf run workflow.yaml --step=step_namefor single step execution with--mock - F036:
awf initscaffolding and.awf/config.yamlfor project-level input defaults - F035:
awf run <workflow> --helpshows workflow-specific input parameters - F020: Interactive mode (
--interactive) with pause-before-each-step and breakpoints - F019: Dry-run mode (
--dry-run) shows execution plan without running commands - F014:
awf historywith filters and--stats - F013:
awf resumefor interrupted workflow continuation - F012: Input validation with types, patterns, enums, min/max, file checks
Changed
- C065: OpenAI Compatible provider uses
max_completion_tokens—max_tokensaccepted as deprecated fallback - C064:
max_delayomission no longer caps retry delays to zero;multiplierdefaults to 2.0; invalid durations now produce parse errors - C063: Added
index1andparentto loop accessor; modulo operator supported inmax_iterations - C061: Timeout ownership centralized in application layer;
handleExecutionErrorevaluates transitions beforecontinue_on_error - YAML parsing reports all errors instead of silently skipping malformed steps
Fixed
- B011:
{{.awf.scripts_dir}}and{{.awf.prompts_dir}}incommand:anddir:fields now resolve local-before-global - B010:
awf validateno longer rejects{{.states.<step>.JSON.<field>}}references - B009:
script_filehonors shebang lines — scripts with#!use kernel dispatch instead of$SHELL -c - B008: Ctrl+C no longer hangs during interactive input prompts
- B007: Interactive and dry-run modes now respect
.awf/config.yamlinput defaults - B006: Shell commands no longer fail on Debian/Ubuntu where
/bin/shisdash— detects$SHELLat startup - B005: Local scripts and prompts override global XDG paths in
script_fileandprompt_file - B004: Validator no longer forces dead-code transitions on parallel branch children
- B003: While loop
break_whenevaluates correctly with arbitrary output values - B002: Agent provider processes no longer persist as orphans after workflow cancellation
- F051: Multi-turn conversations resolve prompts correctly past first turn
- F049:
awf initno longer creates unusedstorage/directories - F048: Loop body transitions honored —
gototargets and early exit work in while/foreach loops - F047: ForEach loop items serialize complex types as JSON instead of Go default format
- Bug-48: Multiple
awfprocesses can run workflows simultaneously (SQLite WAL mode) - JSONStore race condition on concurrent
Saveoperations