@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.
- package/README.md +4 -4
- package/apps/studio/dist/client.bundle.js +1 -1
- package/apps/studio/http.ts +4 -0
- package/apps/studio/server.ts +23 -1
- package/cli/bin/maude.mjs +1 -0
- package/cli/commands/flow.mjs +62 -0
- package/cli/commands/help.mjs +6 -1
- package/cli/commands/init.mjs +1 -1
- package/cli/lib/cache.mjs +1 -1
- package/cli/lib/ddr-to-kgai.mjs +2 -2
- package/cli/lib/flow-usage.mjs +137 -0
- package/package.json +9 -9
- package/plugins/flow/.claude-plugin/config.schema.json +164 -8
- package/plugins/flow/README.md +18 -17
- package/plugins/flow/dependencies.json +25 -26
- package/plugins/flow/templates/ai-skeleton/INDEX.md +3 -3
- package/plugins/flow/templates/ai-skeleton/README.md +5 -5
- package/plugins/flow/templates/ai-skeleton/context/README.md +1 -1
- package/plugins/flow/templates/ai-skeleton/logs/README.md +1 -1
- package/plugins/flow/templates/ai-skeleton/plans/README.md +1 -1
- package/plugins/flow/templates/ai-skeleton/reviews/README.md +2 -2
- package/plugins/flow/templates/ai-skeleton/scenario-guide.md +4 -4
- package/plugins/flow/templates/ai-skeleton/scenarios/README.md +2 -2
- package/plugins/flow/templates/ai-skeleton/templates/HANDOFF.md +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ A personal marketplace of Claude Code and Codex plugins. Two plugins today, plus
|
|
|
12
12
|
| Plugin | What it does |
|
|
13
13
|
| ------ | ------------ |
|
|
14
14
|
| **`design`** | Canvas-first iteration on TSX/JSX mocks under `.design/` — element selection via Cmd+Click, auto-managed dev server, chained UX/DS critique. Canvases can also be **video-comps** (Remotion compositions previewed in-app, exported to MP4/GIF through Maude's own capture engine — no extra install). |
|
|
15
|
-
| **`flow`** | Generic agentic workflow loop with a second-brain `.ai/` workspace. `/flow:plan`, `/flow:execute`, `/flow:
|
|
15
|
+
| **`flow`** | Generic agentic workflow loop with a second-brain `.ai/` workspace. `/flow:plan`, `/flow:execute`, `/flow:validate`, `/flow:done`, `/flow:bug-rca`, `/flow:bug-fix`, `/flow:release`, `/flow:record-ddr`, `/flow:init`, `/flow:run` (10 commands; variants are flags — see [Flow migration](https://maude.sh/docs/flow-migration)). Project-agnostic via `<project>` placeholders + per-repo `.ai/workflows.config.json`. |
|
|
16
16
|
|
|
17
17
|
Plus the **`maude`** CLI — `maude init` scaffolds a fresh `.ai/` workspace from the flow plugin skeleton; `maude design serve` boots the design dev server. The legacy `mdcc` alias still works (prints a deprecation warning) and will be removed in v0.17.x.
|
|
18
18
|
|
|
@@ -65,7 +65,7 @@ Then inside Claude Code (with `flow@maude` installed):
|
|
|
65
65
|
```
|
|
66
66
|
/init # Anthropic's built-in — generates CLAUDE.md tailored to your codebase
|
|
67
67
|
/flow:init # populates .ai/workflows.config.json with detected stack
|
|
68
|
-
/flow:status
|
|
68
|
+
/flow:run --status # confirm everything wired up
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
`/init` writes the `CLAUDE.md` Claude auto-loads every session (conventions, build commands, gotchas). `/flow:init` handles the structured workspace config — they're complementary, not duplicates.
|
|
@@ -80,11 +80,11 @@ maude doctor --fix # install missing deps (per-item prompt) + apply safe conf
|
|
|
80
80
|
maude doctor --json # machine-readable envelope
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
**Quality gates** are declared in `.ai/workflows.config.json` under the top-level `quality` map — a flat `gate → shell command` mapping (e.g. `{ "lint": "pnpm lint", "tests": "pnpm test" }`). Flow commands (`/flow:validate`, `/flow:
|
|
83
|
+
**Quality gates** are declared in `.ai/workflows.config.json` under the top-level `quality` map — a flat `gate → shell command` mapping (e.g. `{ "lint": "pnpm lint", "tests": "pnpm test" }`). Flow commands (`/flow:validate`, `/flow:validate --fast`, `/flow:execute --quick`) read it directly and run each via `eval`. There is **no `maude quality run` wrapper** — `pnpm <script>` is already the runner. Hook it into your own pre-commit tool with a one-liner: `eval $(jq -r '.quality.lint' .ai/workflows.config.json)`. Populate the block by running `maude doctor --fix` once your `package.json` scripts exist (additive — it never overwrites a command you tuned).
|
|
84
84
|
|
|
85
85
|
### Sidecar cache — `maude cache`
|
|
86
86
|
|
|
87
|
-
Flow + design commands reuse expensive cross-session work through a small sidecar cache at `.ai/cache/` ([DDR-061](.ai/archive/decisions/DDR-061-sidecar-cache-monitor-background-orchestration.md)): domain research (skips 30–90 s of WebSearch on a same-domain brief), codebase-intelligence scans (skips rescan when the tree is unchanged), parsed design-system vocabulary, and security-review reuse (one shared 1-hour window across `/flow:validate`, `/flow:done`, `/flow:validate
|
|
87
|
+
Flow + design commands reuse expensive cross-session work through a small sidecar cache at `.ai/cache/` ([DDR-061](.ai/archive/decisions/DDR-061-sidecar-cache-monitor-background-orchestration.md)): domain research (skips 30–90 s of WebSearch on a same-domain brief), codebase-intelligence scans (skips rescan when the tree is unchanged), parsed design-system vocabulary, and security-review reuse (one shared 1-hour window across `/flow:validate`, `/flow:done`, `/flow:validate --security`). Correctness comes first — most layers are content-addressed (a changed input changes the key → guaranteed miss), and a stale entry is never served speculatively.
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
90
|
maude cache list # layers, entry counts, sizes, last-write time
|