@1agh/maude 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,33 +6,34 @@ Generic agentic workflow loop with a second-brain `.ai/` workspace. Project-agno
6
6
 
7
7
  ## Commands at a glance
8
8
 
9
- 29 slash commands across 9 categories. Type **`/flow:help`** inside Claude Code for the live, auto-generated grouped index — it parses every command's `category:` frontmatter and prints the table fresh each time.
10
-
11
- | Group | Count | What it does |
12
- | ----- | ----- | ------------ |
13
- | **daily** | 11 | Every-cycle workflow: `plan`, `execute`, `done`, `validate`, `release`, `status`, `pause`, `resume`, `scenario`, `quick`, `help`. |
14
- | **setup-*** | 4 | One-shot bootstrapping: `init`, `setup-prd`, `setup-codebase-map`, `setup-context`. |
15
- | **validate-*** | 2 | Specialized validators: `validate-a11y`, `validate-visual`. |
16
- | **bug-*** | 2 | Incident workflow: `bug-rca`, `bug-fix`. |
17
- | **record-*** | 3 | Knowledge capture: `record-ddr`, `record-retro`, `record-execution`. |
18
- | **maintain-*** | 4 | Hygiene: `maintain-clean`, `maintain-docs`, `maintain-ai-health`, `maintain-discover`. |
19
- | **review-*** | 1 | `review-code` (pre-commit self-review). |
20
- | **release-*** | 1 | `release-changelog` (sibling of daily `release`). |
21
- | **utils-*** | 1 | `utils-verify` (sub-step of `execute`). |
9
+ 10 slash commands. Type **`/help`** inside Claude Code for the live list. Variants are flags (`/flow:plan --prd`, `/flow:execute --quick`, `/flow:validate --security`), not separate commands. Coming from the older surface? See [Flow migration](https://maude.sh/docs/flow-migration).
10
+
11
+ | Command | What it does |
12
+ | ------- | ------------ |
13
+ | `plan` | Feature plan; `--prd` drafts a PRD with phase plans. |
14
+ | `execute` | Run a plan task by task; `--quick` for trivial changes. |
15
+ | `validate` | Quality pipeline; `--fast`, `--security`, `--a11y`, `--visual`, `--review`, `--scenario` run one lane. |
16
+ | `done` | Validate, commit, PR, execution report, retro, archive. |
17
+ | `bug-rca`, `bug-fix` | Incident workflow. |
18
+ | `release` | Walk the release runbook; `--changelog` authors the entry. |
19
+ | `record-ddr` | Record a Design Decision Record. |
20
+ | `init` | Scaffold `.ai/`; `--context`, `--map`, `--kgai`. |
21
+ | `run` | Drive a plan as a goal (opt-in capped Stop hook); `--pause`, `--resume`, `--status`, `--stop`. |
22
22
 
23
23
  ## Naming convention
24
24
 
25
25
  | Type | Pattern | Examples |
26
26
  | ---- | ------- | -------- |
27
- | **Daily** (called every feature cycle) | terse verb, no prefix | `plan`, `execute`, `done`, `validate`, `release` |
28
- | **Everything else** | `<group>-<verb>` | `bug-fix`, `setup-prd`, `record-ddr`, `maintain-clean` |
27
+ | **Daily** (called every feature cycle) | terse verb, no prefix | `plan`, `execute`, `done`, `validate`, `release`, `run` |
28
+ | **Everything else** | `<group>-<verb>` | `bug-fix`, `bug-rca`, `record-ddr` |
29
29
 
30
- The prefix is **load-bearing**: Claude Code does not support subdirectory namespacing for slash commands ([issue #2422](https://github.com/anthropics/claude-code/issues/2422)), so the `<group>-` prefix is what makes `/flow:bug-` autocomplete to only the bug-* commands. Every non-daily command carries a `category:` frontmatter field that matches its prefix — `/flow:help` reads those fields to render the grouped index.
30
+ The prefix is **load-bearing**: Claude Code does not support subdirectory namespacing for slash commands ([issue #2422](https://github.com/anthropics/claude-code/issues/2422)), so the `<group>-` prefix is what makes `/flow:bug-` autocomplete to only the bug-* commands. Every non-daily command carries a `category:` frontmatter field that matches its prefix — the catalog is built from those fields.
31
31
 
32
32
  For the full catalog (group definitions, member descriptions, rename history), see [`CATEGORIES.md`](./CATEGORIES.md).
33
33
 
34
34
  ## Subagents
35
35
 
36
+ - `worker` / `spike` / `scout` — role agents `/flow:execute` and `/flow:run` delegate to (implement a slice / answer one question / read-only inventory).
36
37
  - `scenario-runner` — orchestrates cross-platform scenarios.
37
38
  - `a11y-auditor` — WCAG 2.1 AA pass over changed UI.
38
39
  - `design-system-guard` — compares rendered UI to the project's design system doc.
@@ -40,6 +41,6 @@ For the full catalog (group definitions, member descriptions, rename history), s
40
41
 
41
42
  ## Skills
42
43
 
43
- `workflow-state`, `ddr-keeper`, `scenario`, `agent-browser`, `agent-device`, `codebase-intelligence`, `a11y-checker`, `question-protocol`, `make-skill-template`, `claude-md-keeper`, `debugging-rules`, `a11y-rules`, `motion-rules`, `responsive-rules`, `testing-rules`, `skill-loader`, `orbit-backend` (the `orbit` tracker provider's contract).
44
+ `workflow-state`, `context-budget`, `scenario`, `agent-browser`, `agent-device`, `question-protocol`, `debugging-rules`, `ui-rules`, `testing-rules`, `orbit-backend` (the `orbit` tracker provider's contract).
44
45
 
45
46
  See [`skills/`](./skills/) for the full list and per-skill SKILL.md files.
@@ -33,9 +33,26 @@
33
33
  "linux": "apt-get install -y git || dnf install -y git"
34
34
  },
35
35
  "autoInstall": false,
36
- "usedBy": ["commands/init.md", "commands/done.md", "commands/quick.md"],
36
+ "usedBy": ["commands/init.md", "commands/done.md", "commands/execute.md"],
37
37
  "docsUrl": "https://git-scm.com"
38
38
  },
39
+ {
40
+ "id": "claude",
41
+ "type": "cli",
42
+ "hardness": "soft",
43
+ "check": {
44
+ "command": "claude --version",
45
+ "expectExit": 0,
46
+ "minVersion": "2.1.280"
47
+ },
48
+ "install": {
49
+ "preferred": "https://docs.anthropic.com/en/docs/claude-code"
50
+ },
51
+ "autoInstall": false,
52
+ "fallbackBehavior": "/flow:run hooks need Claude Code 2.1.280+ (SubagentStart/SubagentStop/Stop plugin hooks, agent model/effort frontmatter). Older versions and Codex run every flow command without them.",
53
+ "usedBy": ["commands/run.md", "hooks/hooks.json"],
54
+ "docsUrl": "https://docs.anthropic.com/en/docs/claude-code"
55
+ },
39
56
  {
40
57
  "id": "maude",
41
58
  "type": "cli",
@@ -64,11 +81,9 @@
64
81
  "preferred": "npm i -g @anthropic-ai/agent-browser"
65
82
  },
66
83
  "autoInstall": true,
67
- "fallbackBehavior": "/flow:scenario and a11y-auditor degrade to screenshot-less reports. Web scenarios cannot run.",
84
+ "fallbackBehavior": "/flow:validate --scenario and a11y-auditor degrade to screenshot-less reports. Web scenarios cannot run.",
68
85
  "usedBy": [
69
- "commands/scenario.md",
70
86
  "commands/validate.md",
71
- "commands/utils-verify.md",
72
87
  "agents/scenario-runner.md",
73
88
  "agents/a11y-auditor.md",
74
89
  "skills/agent-browser/SKILL.md"
@@ -87,11 +102,11 @@
87
102
  "preferred": "Requires Xcode + Android SDK. See agent-device docs."
88
103
  },
89
104
  "autoInstall": false,
90
- "fallbackBehavior": "/flow:scenario skips native (iOS/Android) variants. Web variants still run via agent-browser.",
105
+ "fallbackBehavior": "/flow:validate --scenario skips native (iOS/Android) variants. Web variants still run via agent-browser.",
91
106
  "usedBy": [
92
- "commands/scenario.md",
93
107
  "agents/scenario-runner.md",
94
- "skills/agent-device/SKILL.md"
108
+ "skills/agent-device/SKILL.md",
109
+ "commands/validate.md"
95
110
  ],
96
111
  "docsUrl": "https://github.com/anthropics/agent-device"
97
112
  },
@@ -109,7 +124,7 @@
109
124
  },
110
125
  "autoInstall": false,
111
126
  "fallbackBehavior": "flow/design fall back to the classic .ai/decisions/ + STATE.md file path (no regression). The kgai knowledge-graph backend (kg context/ingest/sync, cross-repo company memory) is inactive.",
112
- "usedBy": ["skills/kgai-backend/SKILL.md", "commands/migrate-kgai.md"],
127
+ "usedBy": ["skills/kgai-backend/SKILL.md", "commands/init.md"],
113
128
  "docsUrl": "https://github.com/kgaidev/kgai"
114
129
  },
115
130
  {
@@ -126,13 +141,8 @@
126
141
  "win32": "winget install jqlang.jq"
127
142
  },
128
143
  "autoInstall": false,
129
- "fallbackBehavior": "Slash commands' bash blocks that read .ai/workflows.config.json via jq cannot run. /flow:validate and /flow:utils-verify quality gates need this.",
130
- "usedBy": [
131
- "commands/validate.md",
132
- "commands/utils-verify.md",
133
- "commands/quick.md",
134
- "commands/done.md"
135
- ]
144
+ "fallbackBehavior": "Slash commands' bash blocks that read .ai/workflows.config.json via jq cannot run. /flow:validate (and its --fast lane) quality gates need this.",
145
+ "usedBy": ["commands/validate.md", "commands/done.md", "commands/execute.md"]
136
146
  },
137
147
  {
138
148
  "id": "askuserquestion-mcp",
@@ -144,17 +154,6 @@
144
154
  },
145
155
  "fallbackBehavior": "Question prompts fall back to numbered-prose chat. No multi-select UI.",
146
156
  "usedBy": ["skills/question-protocol/SKILL.md"]
147
- },
148
- {
149
- "id": "terminal-skills-mcp",
150
- "type": "mcp",
151
- "hardness": "soft",
152
- "check": {
153
- "mcp": "terminal-skills",
154
- "tool": "search_skills"
155
- },
156
- "fallbackBehavior": "skill-loader falls back to built-in plugin skills → matching agents → WebFetch on library docs.",
157
- "usedBy": ["skills/skill-loader/SKILL.md"]
158
157
  }
159
158
  ]
160
159
  }
@@ -1,6 +1,6 @@
1
1
  # `.ai/` — Index
2
2
 
3
- > Second-brain map. Auto-maintained by `/flow:status` and `/flow:setup-context`. Hand-edit additions are welcome.
3
+ > Second-brain map. Auto-maintained by `/flow:run --status` and `/flow:init --context`. Hand-edit additions are welcome.
4
4
 
5
5
  ## Identity
6
6
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  ## Active work
14
14
 
15
- > Updated by `/flow:status`. The single most useful screen for "where am I?".
15
+ > Updated by `/flow:run --status`. The single most useful screen for "where am I?".
16
16
 
17
17
  - current phase: see `state/STATE.md`
18
18
  - active plan: see `state/STATE.md` → Active plan
@@ -34,7 +34,7 @@
34
34
 
35
35
  > Most recent run per scenario. Drill into `scenarios/<id>/` for the full history.
36
36
 
37
- - (none yet — run with `/flow:scenario <flow>`)
37
+ - (none yet — run with `/flow:validate --scenario <flow>`)
38
38
 
39
39
  ## Where to find things
40
40
 
@@ -6,16 +6,16 @@ This folder is your project's persistent memory for the `flow` plugin. Plans, de
6
6
 
7
7
  | Folder | Owner command | Purpose |
8
8
  | ------ | ------------- | ------- |
9
- | `state/` | `/flow:status`, `/flow:pause`, `/flow:resume` | Single source of truth for current workflow phase. `STATE.md` is durable; `HANDOFF.md` is transient (created on pause, deleted on resume). |
9
+ | `state/` | `/flow:run` | Single source of truth for current workflow phase. `STATE.md` is durable; `HANDOFF.md` is transient (created by `/flow:run --pause`, deleted by `--resume`). |
10
10
  | `plans/` | `/flow:plan`, `/flow:execute` | Feature plans with task lists. `archive/` holds completed plans. |
11
11
  | `decisions/` | `/flow:record-ddr` | Design Decision Records. Append-only, numbered, never deleted. |
12
- | `reviews/` | `/flow:review-code`, `/flow:record-retro` | Code review snapshots and retrospective notes from completed work. |
13
- | `scenarios/` | `/flow:scenario` | Cross-platform UI scenario specs + per-run report folders (screenshots, evidence). `_lib/` holds shared helpers. |
14
- | `logs/` | `/flow:validate`, `/flow:maintain-ai-health` | System-level audit logs (validation runs, infrastructure reviews). |
12
+ | `reviews/` | `/flow:validate --review`, `/flow:done` | Code review snapshots and retrospective notes from completed work. |
13
+ | `scenarios/` | `/flow:validate --scenario` | Cross-platform UI scenario specs + per-run report folders (screenshots, evidence). `_lib/` holds shared helpers. |
14
+ | `logs/` | `/flow:validate`, `maude doctor` | System-level audit logs (validation runs, infrastructure reviews). |
15
15
  | `dev-logs/` | manual | Dev journal — free-form notes, links, scratchpad. Optional. |
16
16
  | `browser/` | `agent-browser` skill | Web automation evidence — DOM snapshots, HAR captures. |
17
17
  | `device/` | `agent-device` skill | Native device automation evidence — accessibility snapshots, screenshots, traces. |
18
- | `context/` | `/flow:setup-codebase-map`, `/flow:setup-context` | Living snapshots of codebase architecture (auto-generated, refresh periodically). |
18
+ | `context/` | `/flow:init --map`, `/flow:init --context` | Living snapshots of codebase architecture (auto-generated, refresh periodically). |
19
19
  | `business/` | manual | Domain knowledge, glossary, stakeholders, personas. Hand-curated. |
20
20
  | `docs/` | manual | Internal design docs, patterns, ADR-adjacent prose. |
21
21
  | `design-import/` | `/design:handoff` (design plugin) | Canvas artifacts in transit from `.design/` to production code. |
@@ -1,6 +1,6 @@
1
1
  # Context
2
2
 
3
- Living snapshots of the codebase architecture. Generated by `/flow:setup-codebase-map`; consumed by `/flow:plan`, `/flow:setup-context`, and subagents.
3
+ Living snapshots of the codebase architecture. Generated by `/flow:init --map`; consumed by `/flow:plan`, `/flow:init --context`, and subagents.
4
4
 
5
5
  ## Key files
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Logs
2
2
 
3
- System-level audit logs. Output of `/flow:validate`, `/flow:maintain-ai-health`, and other diagnostic commands.
3
+ System-level audit logs. Output of `/flow:validate`, `maude doctor`, and other diagnostic commands.
4
4
 
5
5
  ## Subfolders
6
6
 
@@ -11,6 +11,6 @@ Feature implementation plans. One file per feature, slug as filename (e.g. `onbo
11
11
  ## Conventions
12
12
 
13
13
  - **Front matter:** `name`, `status` (`proposed | active | done | archived`), `created`, `decisions` (DDR IDs).
14
- - **Task IDs:** `T1, T2, …` so `/flow:resume` can re-enter mid-flow.
14
+ - **Task IDs:** `T1, T2, …` so `/flow:run --resume` can re-enter mid-flow.
15
15
  - **Cross-links:** plan links to the PRD section it implements and to DDRs it depends on.
16
16
  - **Archive on `/flow:done`,** not on completion of the last task — `archive/` means "shipped, link permanent."
@@ -1,6 +1,6 @@
1
1
  # Reviews
2
2
 
3
- Code-review snapshots and retrospectives. Output of `/flow:review-code` and `/flow:record-retro`.
3
+ Code-review snapshots and retrospectives. Output of `/flow:validate --review` and `/flow:done`.
4
4
 
5
5
  ## File naming
6
6
 
@@ -9,7 +9,7 @@ Code-review snapshots and retrospectives. Output of `/flow:review-code` and `/fl
9
9
 
10
10
  ## What goes here
11
11
 
12
- - Findings from pre-commit `/flow:review-code` (verdicts, suggestions, follow-ups).
12
+ - Findings from pre-commit `/flow:validate --review` (verdicts, suggestions, follow-ups).
13
13
  - Retro notes after `/flow:done` — what worked, what didn't, what to change in the workflow loop itself.
14
14
 
15
15
  These are durable. Don't truncate; later retros benefit from older patterns.
@@ -1,6 +1,6 @@
1
1
  # Scenario Guide — PROJECT_NAME
2
2
 
3
- > Read by `flow:scenario` (skill + `scenario-runner` agent) before running or authoring a scenario. This file documents ONLY where this project's scenario testing diverges from `flow:scenario`'s generic protocol — device/platform matrix, selector strategy, report shape, speed levers. An absent or empty file is valid: `flow:scenario` runs its documented defaults with no changes. Delete any section below that doesn't apply to this project; don't fill a section with a generic restatement of the default behavior.
3
+ > Read by `/flow:validate --scenario` (skill + `scenario-runner` agent) before running or authoring a scenario. This file documents ONLY where this project's scenario testing diverges from `/flow:validate --scenario`'s generic protocol — device/platform matrix, selector strategy, report shape, speed levers. An absent or empty file is valid: `/flow:validate --scenario` runs its documented defaults with no changes. Delete any section below that doesn't apply to this project; don't fill a section with a generic restatement of the default behavior.
4
4
 
5
5
  ## Device / platform lifecycle
6
6
 
@@ -16,13 +16,13 @@ _Not yet documented — using the generic default (no project-specific reset ste
16
16
 
17
17
  ## Selector strategy overrides
18
18
 
19
- > `flow:scenario`'s default selector reach-order is: stable locator (testID / `data-testid`) → accessible name/text → vision-based check (advisory only, never gates a pass/fail). Document here only if this project's locator convention deviates — e.g. a different testID naming scheme, a platform where accessible-name lookup is unreliable, or an additional locator tier.
19
+ > `/flow:validate --scenario`'s default selector reach-order is: stable locator (testID / `data-testid`) → accessible name/text → vision-based check (advisory only, never gates a pass/fail). Document here only if this project's locator convention deviates — e.g. a different testID naming scheme, a platform where accessible-name lookup is unreliable, or an additional locator tier.
20
20
 
21
21
  _Not yet documented — using the generic default._
22
22
 
23
23
  ## Infra-error classification overrides
24
24
 
25
- > `flow:scenario`'s default treats environment/flake failures (device boot timeout, network blip, stale simulator state) as distinct from real product regressions, so they don't count as blockers. If this project binds that convention to a specific exit code or detection rule, document it here.
25
+ > `/flow:validate --scenario`'s default treats environment/flake failures (device boot timeout, network blip, stale simulator state) as distinct from real product regressions, so they don't count as blockers. If this project binds that convention to a specific exit code or detection rule, document it here.
26
26
 
27
27
  _Not yet documented — using the generic default._
28
28
 
@@ -34,6 +34,6 @@ _None recorded yet._
34
34
 
35
35
  ## Scenario-authoring notes
36
36
 
37
- > Anything specific to how new scenarios should be authored for this project beyond `flow:scenario`'s default collaborative loop (announce → act → screenshot → co-design asserts with the user → stop, one step at a time). E.g. project-specific `--save-script` conventions, or app areas that need special care when picking assertions.
37
+ > Anything specific to how new scenarios should be authored for this project beyond `/flow:validate --scenario`'s default collaborative loop (announce → act → screenshot → co-design asserts with the user → stop, one step at a time). E.g. project-specific `--save-script` conventions, or app areas that need special care when picking assertions.
38
38
 
39
39
  _Not yet documented — using the generic default._
@@ -2,7 +2,7 @@
2
2
 
3
3
  Cross-platform UI scenarios. One folder per scenario; per-run reports inside.
4
4
 
5
- > This file documents the **directory layout** convention for individual scenarios. For *behavioral* deltas from `flow:scenario`'s generic protocol (device lifecycle, selector conventions, infra-error classification, platform gotchas), see `../scenario-guide.md` instead — the two files have distinct scopes and shouldn't be merged.
5
+ > This file documents the **directory layout** convention for individual scenarios. For *behavioral* deltas from `/flow:validate --scenario`'s generic protocol (device lifecycle, selector conventions, infra-error classification, platform gotchas), see `../scenario-guide.md` instead — the two files have distinct scopes and shouldn't be merged.
6
6
 
7
7
  ## Layout
8
8
 
@@ -27,4 +27,4 @@ scenarios/
27
27
  - **Report format:** owned by the `scenario` skill — `maude scenario-report <run-dir>` generates the mechanical tables; the LLM authors only the prose sections.
28
28
  - **`covers.json`** (optional): declares the source globs the scenario exercises, split into `web` / `native` / `shared` git pathspecs. Enables the route-aware skip (re-run only when covered files changed) and the web-only scope skip (no sim boot for web-only diffs). Example: `{"web":["app/(video)/**"],"native":["expo-app/**"],"shared":["packages/api-client/**"]}`. Absent → the scenario always runs the full platform matrix.
29
29
 
30
- Run with `/flow:scenario <slug>` (registered scenarios) or `/flow:scenario <ad-hoc description>` (one-off).
30
+ Run with `/flow:validate --scenario <slug>` (registered scenarios) or `/flow:validate --scenario <ad-hoc description>` (one-off).
@@ -1,6 +1,6 @@
1
1
  # HANDOFF
2
2
 
3
- > Transient file. Created on `/flow:pause`, removed on `/flow:resume`. Do not commit standalone.
3
+ > Transient file. Created on `/flow:run --pause`, removed on `/flow:run --resume`. Do not commit standalone.
4
4
 
5
5
  **Created:** YYYY-MM-DD HH:MM
6
6
  **Reason:** <why paused — end of session, context switch, blocker>