This guide walks you through setting up awm in a project from scratch. Steps 1-4 are human setup. Steps 5+ show the agent-facing operations and how to wire them into your tools. The public contract is built around the smaller core surface described here rather than preserving every older alias or workflow shape. See the Integration Guide, CLI Reference, and MCP Reference for full command and tool details.
This guide is for adopting AWM in another repository. If you are maintaining AWM itself, use AGENTS.md, docs/maintainer-map.md, and docs/maintainer-reference.md for the repo-specific maintainer workflow instead of treating this file as the maintainer contract.
- Go 1.26+ installed if you plan to use
go installor build from source - A git repository you want to manage with awm
You do not need the full AWM surface on day 1.
plans-only:init,context, andworkgoverned workflow: addverify,review, anddonefull brokered flow: addfetch, optional review gates, and the richer template set
awm init starts from the minimal core. Heavier templates stay opt-in.
Preferred path:
go install github.com/bonztm/agent-workflow-manager/cmd/awm@latest
go install github.com/bonztm/agent-workflow-manager/cmd/awm-mcp@latest
go install github.com/bonztm/agent-workflow-manager/cmd/awm-web@latest # optional web dashboardGo installs binaries to $GOBIN if it is set, otherwise to $(go env GOPATH)/bin (typically ~/go/bin). That directory must be on your PATH.
export PATH="$(go env GOPATH)/bin:$PATH"If you want prebuilt binaries instead, download the awm-binaries artifact from a successful Go Build GitHub Actions run and put awm, awm-mcp, and optionally awm-web on your PATH.
If you are building locally from a checkout:
git clone https://github.com/bonztm/agent-workflow-manager.git
cd agent-workflow-manager
go build -o dist/awm ./cmd/awm
go build -o dist/awm-mcp ./cmd/awm-mcp
go build -o dist/awm-web ./cmd/awm-web # optional
export PATH="$PWD/dist:$PATH"Verify it works:
awm --helpFrom your project root, seed AWM and generate the initial AWM inventory:
awm initIf you want a heavier starter later, rerun init with one or more additive templates:
awm init \
--apply-template starter-contract \
--apply-template verify-generic \
--apply-template claude-command-packSwap in --apply-template codex-pack when you want repo-local Codex companion docs under .codex/awm-broker/ instead of Claude-specific command assets.
Use --apply-template opencode-pack when you want repo-local OpenCode companion docs under .opencode/awm-broker/ without assuming a global OpenCode skill location.
This scans your repo and creates auto-indexed pointer stubs for discovered files so fetch, health, and governed scope checks can work immediately. When --project is omitted, awm uses AWM_PROJECT_ID first and otherwise infers the project identifier from the effective repo root. Pass --project when you want a short stable namespace that differs from the folder name.
init automatically:
- Respects
.gitignore(on by default) - Seeds
.awm/awm-rules.yaml,.awm/awm-tags.yaml,.awm/awm-tests.yaml, and.awm/awm-workflows.yamlwhen missing - Creates/extends
.env.examplewith AWM runtime variables - Adds
.awm/context.db*entries to.gitignore - Auto-indexes discovered repo files into pointer stubs
Use --persist-candidates to save the enumerated file list to .awm/init_candidates.json.
Templates (--apply-template) are repeatable and safe to re-run. They only create missing files, upgrade pristine scaffolds, and merge additive JSON fragments — they never delete or overwrite files you've edited. Removed or renamed template names resolve through a deprecated-alias map to their current replacement. Built-ins: starter-contract, detailed-planning-enforcement, verify-generic, verify-go, verify-ts, verify-python, verify-rust, codex-pack, codex-hooks, opencode-pack, claude-command-pack, claude-hooks, git-hooks-precommit. See docs/examples/init-templates.md for the seeded files and template-specific behavior.
If you want to inspect indexing drift later, use awm health --include-details or awm status. The standalone coverage command is gone; the useful signals now live in health/status.
init creates .awm/awm-rules.yaml when it is missing. Replace the blank scaffold with your project rules:
version: awm.rules.v1
rules:
- id: rule_context_first
summary: Always call context before reading or editing files.
content: Run `awm context` first, then follow all hard rules in the receipt.
enforcement: hard
tags: [startup, context]
- id: rule_minimal_fetch
summary: Keep context compact by fetching only what is required.
content: Fetch only the keys needed for the active task and current step.
enforcement: soft
tags: [context, efficiency]
- id: rule_done
summary: Close every task with a completion report.
content: Call done with changed files for file-backed work when you know them, or let AWM auto-detect the receipt delta. When that detected delta is empty, the closure is effectively no-file.
enforcement: hard
tags: [completion, audit]
- id: rule_verify_before_completion
summary: Run verify before done when code changes.
content: Use verify to satisfy executable checks before closing code changes with done.
enforcement: hard
tags: [verification, quality]These are starter rules. Add, remove, or modify them to match how you want agents to behave in your project. See concepts.md for the full rule format reference.
init creates .awm/awm-tags.yaml when it is missing, with inferred repo tag suggestions when strong repeated terms are found. Use this file to add repo-local canonical tags and aliases on top of awm's embedded base dictionary. See examples/awm-tags.yaml for the format.
init creates .awm/awm-tests.yaml when neither .awm/awm-tests.yaml nor awm-tests.yaml exists. It starts as a blank skeleton:
version: awm.tests.v1
defaults:
cwd: .
timeout_sec: 300
tests: []For a starter verify profile, rerun init with one of:
awm init --apply-template verify-genericfor a language-agnostic profile that works out of the boxawm init --apply-template verify-gofor Go reposawm init --apply-template verify-tsfor TypeScript reposawm init --apply-template verify-pythonfor Python reposawm init --apply-template verify-rustfor Rust reposawm init --apply-template detailed-planning-enforcementfor the richer feature-plan contract; it can be applied directly or afterstarter-contractplus anyverify-*profile, and it upgrades those pristine files when present
init creates .awm/awm-workflows.yaml when neither canonical location exists. It starts as a thin skeleton:
version: awm.workflows.v1
completion:
required_tasks: []This is intentionally minimal. Add run blocks when you want gates like review --run to execute a repo-local script. See concepts.md for the full format.
init creates or extends .env.example with AWM runtime defaults:
AWM_PROJECT_ID=myproject
AWM_PROJECT_ROOT=/path/to/repo
AWM_SQLITE_PATH=.awm/context.db
AWM_PG_DSN=postgres://user:pass@localhost:5432/agents_context?sslmode=disable
AWM_UNBOUNDED=false # true removes built-in history/list caps for supported surfaces
AWM_LOG_LEVEL=info
AWM_LOG_SINK=stderrFor a stronger baseline than the blank scaffolds, copy these into your repo and trim to fit:
| File | Description |
|---|---|
| examples/awm-rules.yaml | Rules with common agent constraints |
| examples/awm-tags.yaml | Tag aliases for typical projects |
| examples/awm-tests.yaml | Verification check definitions |
| examples/awm-workflows.yaml | Completion gate definitions |
| examples/AGENTS.md | Root repo contract for Codex and other AGENTS-aware tools |
| examples/CLAUDE.md | Claude Code instructions |
awm sync --mode working_treeThis syncs both file pointers and canonical rules in one pass.
Verify they landed:
awm health --include-detailsThe following operations are what agents call during tasks — via CLI scripts, slash commands, or MCP tools. You can run them manually here to verify your setup works.
Note: All examples below omit
--projectbecause awm infers the project from the repo root (orAWM_PROJECT_IDif set). Pass--project <id>explicitly only when you need a namespace that differs from the folder name.
Maintenance note: when you change rules, tags, tests, workflows, onboarding, or tool-surface behavior, run
awm sync --mode working_tree --insert-new-candidatesandawm health --include-detailsbeforedone.
Agents call this at the start of every task to get a scoped receipt:
awm context \
--task-text "add input validation to the signup form" \
--phase executeFor longer task descriptions, use --task-file instead:
echo "Refactor the signup flow to validate email format, password strength, and CSRF tokens" > task.txt
awm context --task-file task.txt --phase executeThe response is a JSON receipt containing:
rules— hard constraints (full content included for hard enforcement rules)plans— active work plans for the project, with fetch keys for resumptioninitial_scope_paths— explicitly known starting scope when the caller already knows it_meta— receipt ID, resolved tags, task metadata, and the baseline AWM will later use to compute the real task delta forverifyanddone
Plans from prior runs are automatically included — agents can see in-progress work and choose to resume or start fresh. The receipt_id from _meta is the handle for all subsequent operations.
Agents call this to hydrate full content only when a returned key actually needs to be opened:
awm fetch --key "myproject:src/signup.go#validate"Or derive the plan fetch key from the receipt:
awm fetch --receipt-id <receipt-id>To fetch a list of keys from a file:
echo '["myproject:src/signup.go#validate", "myproject:src/signup_test.go"]' > keys.json
awm fetch --keys-file keys.jsonAgents call this to track multi-step progress. Plans and tasks survive context compaction, so context can return active plans after chat resets.
One-shot (no temp files) with inline JSON:
awm work --receipt-id <receipt-id> --mode merge \
--plan-json '{"title":"Signup validation","objective":"Implement + verify validation changes","status":"in_progress"}' \
--tasks-json '[{"key":"add-validation","summary":"Add input validation logic","status":"in_progress"},{"key":"verify:tests","summary":"Run tests for changed behavior","status":"pending"}]'tasks are the canonical payload for tracking. If you only need to record a single review-gate outcome, use review instead.
When governed file work expands beyond the receipt's initial scope, record the later-discovered files through plan.discovered_paths in work before expecting review to pass. done also accepts path-like entries from plan.in_scope, but discovered_paths remains the right way to declare later-found concrete files.
AWM's built-in work schema already includes plan.stages, parent_task_key, depends_on, and acceptance_criteria. A repo can use those fields to define a stricter staged-plan contract for multi-step work without changing AWM itself.
Typical pattern:
- use a root plan with an explicit kind plus explicit scope metadata
- mirror
plan.stages.spec_outline/refined_spec/implementation_planwith top-levelstage:*tasks - keep one orchestrator on the root plan and treat leaf tasks as the atomic execution units
- when a plan reaches a terminal status, AWM reconciles those stage fields from the matching
stage:*task statuses during auto-close - require
acceptance_criteriaand exactreferenceson atomic leaf tasks - use child plans with
kind=feature_streamandparent_plan_keyfor parallel execution streams - run a repo-local validator from
verify;AWM_PLAN_KEYandAWM_RECEIPT_IDare injected into verify commands automatically
This repo uses that pattern in feature-plans.md and enforces it with scripts/awm-feature-plan-validate.py, but that stricter staged-plan contract remains repo policy, not an AWM product default.
verify and review are complementary, not interchangeable:
| Need | Use |
|---|---|
Deterministic repo-defined executable checks selected from .awm/awm-tests.yaml |
verify |
One named workflow signoff gate from .awm/awm-workflows.yaml |
review |
Typical governed closeout is work -> verify -> review --run when required -> done.
Agents call this when a workflow gate needs a single review outcome without assembling a full work payload. When the workflow definition includes a runnable gate, prefer --run:
awm review \
--receipt-id <receipt-id> \
--runreview is intentionally thin — it lowers to a single work.tasks[] merge update.
Use review for one named workflow signoff gate. Do not use it as a substitute for deterministic repo checks or bulk test execution.
- Run mode: awm loads the matching task from
.awm/awm-workflows.yaml, executes itsrunblock, persists a review-attempt record, and updates the work-task snapshot. When fingerprint dedupe is enabled, AWM only skips reruns after a passing attempt already assessed the current fingerprint; failed or interrupted same-fingerprint attempts rerun until any configuredmax_attemptsbudget is exhausted.donerequires a passing runnable review for the current fingerprint when dedupe is enabled. The scoped fingerprint covers effective scope: receiptinitial_scope_paths, work-declareddiscovered_paths, and AWM-managed governance files that completion reporting already allows outside project file scope, including repo-rootAGENTS.mdandCLAUDE.md. - Defaults:
key=review:cross-llm,summary="Cross-LLM review". - Use
--plan-keyinstead of--receipt-idwhen resuming from a plan, or--keyif your workflow uses a different task key.
If you need to record a manual review note instead of running a workflow command, omit --run:
awm review \
--receipt-id <receipt-id> \
--outcome "Cross-checked the fix with a second model and found no new blockers."Manual fields (--status, --outcome, --blocked-reason, --evidence) are only for non-run mode and do not satisfy runnable review gates that define run. Use --status superseded when a review step is no longer relevant and should close cleanly instead of being left open. Keep raw reviewer commands in repo-local scripts referenced by .awm/awm-workflows.yaml.
Use the public history surface to rediscover active or archived plans, receipts, and runs without direct database access:
awm history --entity work --scope current
awm history --entity work --query "signup validation"
awm history --entity work --query "bootstrap" --scope completed
awm history --entity all --limit 20
awm history --entity receipt --query "signup validation"One surface:
awm history— compact discovery across work, receipts, and runs; set--entity workwhen you need work-specific--scopeor--kindfilters
Results are compact and include fetch_keys, so agents can search first and then fetch the exact payloads they need.
Use status when you need one command to explain the current AWM setup before debugging a workflow:
awm status --task-text "what would context load for this task?" --phase executeIt reports the active project and backend, which repo-local rules/tags/tests/workflows files were discovered and loaded, which init-managed integrations are installed, any missing setup, and warnings for stale plans or plan-status drift.
Before done for code changes, run repo-defined executable verification:
awm verify --receipt-id <receipt-id> --phase review \
--file-changed src/signup.go \
--file-changed src/signup_test.goUse verify for deterministic repo-defined checks from .awm/awm-tests.yaml. If you need one named workflow signoff gate instead, use review.
Agents call this to close a task after verification is satisfied. AWM computes the task delta from the receipt baseline. When changed files are supplied, awm cross-checks them against the detected delta, surfaces mismatches as violations, validates that file-backed work stays within effective scope (initial_scope_paths + discovered_paths + path-like plan.in_scope entries + AWM-managed governance files), and checks any configured completion task keys from .awm/awm-workflows.yaml. The built-in managed governance set includes repo-root AGENTS.md, CLAUDE.md, and the canonical .awm/** contract files. If no workflow gates are configured, file-backed closures fall back to verify:tests.
awm done \
--receipt-id <receipt-id> \
--file-changed src/signup.go \
--file-changed src/signup_test.go \
--outcome "Added email and password validation with tests"File-based alternatives for scripted workflows:
echo '["src/signup.go", "src/signup_test.go"]' > changed.json
awm done \
--receipt-id <receipt-id> \
--files-changed-file changed.json \
--outcome-file outcome.txtYou can also omit files_changed entirely and let AWM use the baseline-derived task delta. When that detected delta is empty, the closeout is effectively no-file:
awm done \
--receipt-id <receipt-id> \
--outcome "Drafted the feature plan and recorded follow-up tasks"Once the index and rules are set up, connect your agents so they call awm operations automatically.
Install the slash command pack into your project:
bash <(curl -fsSL https://raw.githubusercontent.com/bonztm/agent-workflow-manager/main/scripts/install-skill-pack.sh) --claudeRun this from your project root. It installs /awm-context, /awm-work, /awm-review, /awm-verify, and /awm-done slash commands into .claude/commands/. The default slash-command loop is /awm-context, /awm-work, /awm-verify, and /awm-done.
If you already have this repo checked out locally, the equivalent command is ./scripts/install-skill-pack.sh --claude.
If you prefer to seed the same files directly through init, rerun:
awm init \
--apply-template claude-command-pack \
--apply-template claude-hooks \
--apply-template git-hooks-precommitclaude-hooks is additive and opt-in. It seeds .claude/settings.json plus hook scripts that re-inject the AWM loop on Claude session start/compaction, keep edits blocked until /awm-context or an equivalent context request succeeds in the current session, nudge /awm-work once edits span files or governed scope expands, and block stop until edited work is closed with awm done.
git-hooks-precommit seeds .githooks/pre-commit, which forwards staged additions, modifications, renames, type changes, and deletions into awm verify --phase review. Enable it with:
git config core.hooksPath .githooksAdd a thin CLAUDE.md to your project root. A starter template is at docs/examples/CLAUDE.md.
Install the skill pack:
bash <(curl -fsSL https://raw.githubusercontent.com/bonztm/agent-workflow-manager/main/scripts/install-skill-pack.sh) --codexThis installs the global awm-broker skill to ~/.codex/skills/awm-broker, including codex/README.md and codex/AGENTS.example.md companion docs inside the installed skill.
If you already have this repo checked out locally, the equivalent command is ./scripts/install-skill-pack.sh --codex.
If you also want repo-local Codex companion docs in the project itself, seed them with:
awm init --apply-template codex-packThat template creates:
.codex/awm-broker/README.md.codex/awm-broker/AGENTS.example.md
If you also want the experimental repo-local Codex hook layer, seed it with:
awm init --apply-template codex-hooksThat template creates:
.codex/config.toml.codex/hooks.json.codex/hooks/awm-common.sh.codex/hooks/awm-session-context.sh.codex/hooks/awm-prompt-guard.sh.codex/hooks/awm-stop-guard.sh
The hook layer is opt-in and intentionally narrower than Claude's hook pack. Today it only covers startup guidance, prompt-time context nudges, and a one-time stop reminder, and it depends on Codex's current experimental hook support.
Keep the repo-root AGENTS.md authoritative. A starter template is at docs/examples/AGENTS.md, and the Codex companion example above is there to make the full AWM loop explicit for Codex-driven repos.
Codex is a primary AWM operator, not only a review backend. The normal loop is:
contextworkverifyreviewdone
Claude and Codex hand off through the same AWM state. A common pattern is:
- Start in one tool with
context - Record or update the durable plan with
work - Let the other tool resume from the same
receipt_idorplan_key - Close with shared
verify,review, anddonehistory instead of vendor-local notes
There is intentionally no fake slash-command or Claude-equivalent hook parity here. The default Codex path still relies on the installed skill, the repo-root AGENTS.md, and normal CLI/MCP access; codex-hooks is an optional experimental helper layer.
Install the repo-local OpenCode companion docs into your project:
bash <(curl -fsSL https://raw.githubusercontent.com/bonztm/agent-workflow-manager/main/scripts/install-skill-pack.sh) --opencodeRun this from your project root. It installs:
.opencode/awm-broker/README.md.opencode/awm-broker/AGENTS.example.md
If you already have this repo checked out locally, the equivalent command is ./scripts/install-skill-pack.sh --opencode.
Use --opencode when you are adding OpenCode guidance to an existing repo immediately.
If you prefer to seed the same files through init, rerun:
awm init --apply-template opencode-packUse opencode-pack when you are already bootstrapping the repo with awm init and want the OpenCode companion docs created alongside the rest of the starter AWM assets.
Keep the repo-root AGENTS.md authoritative. The current OpenCode path is explicit and repo-local: companion docs plus normal awm CLI or MCP access.
OpenCode is a primary AWM operator, not only a review backend. The normal loop is:
contextworkverifyreviewdone
Use OpenCode's native repo search and edit tools normally; AWM provides durable state, rules, verification, review, and governed closeout.
Short walkthrough:
- Install the companion docs with
--opencode, or seed them duringawm initwithopencode-pack. - Keep
AGENTS.mdauthoritative and use.opencode/awm-broker/README.mdas the thin OpenCode companion. - Start implementation or debugging work with
awm context --project <id> --task-text "..." --phase execute. - If the task spans multiple steps or files, persist it with
awm work; addplan.discovered_pathsbefore review/done when governed scope expands. With no receipt yet,awm work --task-text "<task>"auto-opens one in a single call. - Run
awm verifybefore completion, thenawm review --runwhen.awm/awm-workflows.yamlselects a runnable review gate, thenawm done.
For already isolated/containerized hosts, prefer workflow run.argv that uses scripts/awm-cross-review.sh --yolo; the shared high-trust shortcut avoids nested sandbox conflicts while relying on the outer container boundary.
There is intentionally no undocumented global OpenCode skill path or hidden hook story here. AWM does not currently ship an OpenCode hook pack because this repo has not documented a verified native OpenCode hook mechanism yet.
For models with native tool support, use the MCP adapter. It is a JSON-RPC 2.0 stdio server:
# awm-mcp implements the MCP protocol over stdio
awm-mcpSee the Integration Guide for how to wire awm-mcp into your runtime and the MCP Reference for tool details. The adapter exposes 12 convenience-routed operations plus one backend-only export surface:
- Core (4):
context,work,verify,done - Supporting (3):
fetch,review,history - Advanced backend-only (1):
export - Maintenance (4):
sync,health,status,init
Use export through awm run --in <request.json> or as a tools/call JSON-RPC request to the awm-mcp server when you need stable JSON or Markdown output for AWM-owned context, fetch, history, or status data. Example envelope: examples/export-request.json.
For interactive CLI use, context, fetch, history, and status also accept --format json|markdown, plus --out-file and --force, to emit raw rendered artifacts through that same backend export path. Example command: examples/context-export-command.txt.
awm-web provides a read-only web dashboard for humans to see what agents are working on without touching the CLI.
awm-web # starts on :8080
awm-web serve --addr :9090 # custom portPages:
- Board (
/) — Kanban board with Pending, In Progress, Blocked, and Done columns. Tasks are tree-sorted with children beneath parents. Click any card for details including navigable parent/child links and rolled-up progress. - Status (
/status.html) — Project info, loaded sources, installed integrations, and warnings. - Health (
/healthz) — JSON liveness probe for k8s.
awm-web reads the same environment variables as awm (AWM_PROJECT_ID, AWM_PG_DSN, etc.) and shares the same database. A Dockerfile.awm-web is provided for containerized deployment.
After code changes:
awm sync --mode changed --git-range HEAD~1..HEADOr sync against the working tree (includes uncommitted changes):
awm sync --mode working_tree- Edit
.awm/awm-rules.yamland, when needed,.awm/awm-workflows.yaml - Run
awm sync --mode working_tree - Run
awm healthto verify
sync re-syncs both file pointers and canonical rules. Use --insert-new-candidates to auto-index any unindexed files during sync. To sync rules only (without touching file pointers), use awm health --fix sync_ruleset.
If your ruleset or tag dictionary is in a non-standard location, pass --rules-file and/or --tags-file:
awm sync --mode working_tree --rules-file path/to/my-rules.yaml --tags-file path/to/my-tags.yamlawm health --include-detailsReports stale pointers, orphan relations, unknown tags, and other drift.
awm health --fix allRun awm health --help to list fixers directly in the CLI.
Available fixers:
all— run the default fixer set (sync_working_tree,index_unindexed_files,sync_ruleset)sync_working_tree— re-sync file hashes from diskindex_unindexed_files— add missing files to the indexsync_ruleset— re-sync rules from canonical ruleset
Use --dry-run when you want a preview without changing state:
awm health --fix all --dry-run
awm health --fix sync_ruleset --dry-runFor repo-defined executable verification, add .awm/awm-tests.yaml (preferred) or awm-tests.yaml in the repo root:
version: awm.tests.v1
defaults:
cwd: .
timeout_sec: 300
tests:
- id: go-unit
summary: Run Go unit tests for the repo
command:
argv: ["go", "test", "./..."]
env:
GOFLAGS: "-count=1"
select:
phases: ["execute", "review"]
changed_paths_any: ["cmd/**", "internal/**"]
expected:
exit_code: 0
- id: smoke
summary: Run repo smoke checks on every verification pass
command:
argv: ["go", "test", "./cmd/...", "./internal/..."]
select:
always_run: true
expected:
exit_code: 0Inspect selection without executing:
awm verify --phase review --file-changed internal/auth/service.go --dry-runRun the selected checks:
awm verify --phase review --file-changed internal/auth/service.goWhen you include --receipt-id or --plan-key, verify updates the verify:tests work task for definition-of-done tracking.
For repo-defined completion gates, add .awm/awm-workflows.yaml (preferred) or awm-workflows.yaml in the repo root:
version: awm.workflows.v1
completion:
required_tasks:
- key: verify:tests
select:
changed_paths_any: ["cmd/**", "internal/**", "go.mod", "go.sum"]
- key: review:cross-llm
summary: Cross-LLM review
rerun_requires_new_fingerprint: true
select:
phases: ["review"]
changed_paths_any: ["cmd/**", "internal/**", "spec/**"]
run:
# Edit argv to match your reviewer setup (provider, model, reasoning level, native
# permission/sandbox flags, etc.)
argv: ["scripts/awm-cross-review.sh", "--provider", "codex", "--yolo"]
cwd: .
timeout_sec: 1800Init seeds the thin required_tasks: [] skeleton by default. Adding gates like review:cross-llm is an opt-in repo policy choice.
When a gate defines run, agents satisfy it with awm review --run (or run=true). AWM only skips reruns after a passing attempt already assessed the current fingerprint; failed or interrupted same-fingerprint attempts rerun until any configured max_attempts budget is exhausted. The scoped fingerprint covers effective scope (initial_scope_paths + discovered_paths) plus AWM-managed governance files that completion reporting already allows outside project file scope, including repo-root AGENTS.md and CLAUDE.md. Without run, agents can use manual review fields or a direct work update, but those manual notes do not satisfy runnable gates. Repo-local reviewer choices such as provider selection, model, reasoning effort, and the shared --yolo high-trust shortcut belong in the workflow run.argv; for Claude, --yolo maps to dangerous permission bypass, and --dangerously-skip-permissions remains available as the explicit provider-native form.
If the working tree is dirty but the active effective scope captures zero of those changes into the runnable review set, the runner should fail fast and tell the agent to rerun context with a broader task or declare the missing files through work. Runnable review output should also surface the total repo-changed versus scoped-changed file counts for quick diagnosis.
Keep richer plan-shape enforcement in verify, not completion.required_tasks, unless you truly need an additional final gate. Workflow selectors operate on phase, tags, paths, and pointers; they do not currently distinguish thin plans from kind=feature plans by themselves.
awm uses SQLite by default with zero configuration. When you run inside a repo, the database is created automatically at <repo-root>/.awm/context.db. awm also reads <repo-root>/.env when present, with process environment variables taking precedence.
If you need to run awm from outside the repo directory, set AWM_PROJECT_ROOT. If the repo root name is not the namespace you want, also set AWM_PROJECT_ID:
export AWM_PROJECT_ID=myproject
export AWM_PROJECT_ROOT=/path/to/repoTo set a specific SQLite path:
export AWM_SQLITE_PATH=/path/to/context.dbFor production or multi-writer environments, switch to Postgres:
export AWM_PG_DSN='postgres://user:pass@localhost:5432/agents_context?sslmode=disable'See SQLite Operations for backup, restore, and rotation procedures.
- Read Concepts if any terms are unclear
- Browse example request templates for all command formats