buildanything 2.0.0 → 2.1.2
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +9 -1
- package/README.md +57 -61
- package/agents/a11y-architect.md +2 -0
- package/agents/briefing-officer.md +172 -0
- package/agents/business-model.md +14 -12
- package/agents/code-architect.md +6 -1
- package/agents/code-reviewer.md +3 -2
- package/agents/code-simplifier.md +12 -4
- package/agents/design-brand-guardian.md +19 -0
- package/agents/design-critic.md +16 -11
- package/agents/design-inclusive-visuals-specialist.md +2 -0
- package/agents/design-ui-designer.md +17 -0
- package/agents/design-ux-architect.md +15 -0
- package/agents/design-ux-researcher.md +102 -7
- package/agents/engineering-ai-engineer.md +2 -0
- package/agents/engineering-backend-architect.md +2 -0
- package/agents/engineering-data-engineer.md +2 -0
- package/agents/engineering-devops-automator.md +2 -0
- package/agents/engineering-frontend-developer.md +13 -0
- package/agents/engineering-mobile-app-builder.md +2 -0
- package/agents/engineering-rapid-prototyper.md +15 -2
- package/agents/engineering-security-engineer.md +2 -0
- package/agents/engineering-senior-developer.md +13 -0
- package/agents/engineering-sre.md +2 -0
- package/agents/engineering-technical-writer.md +2 -0
- package/agents/feature-intel.md +8 -7
- package/agents/ios-app-review-guardian.md +2 -0
- package/agents/ios-foundation-models-specialist.md +2 -0
- package/agents/ios-product-reality-auditor.md +292 -0
- package/agents/ios-storekit-specialist.md +2 -0
- package/agents/ios-swift-architect.md +1 -0
- package/agents/ios-swift-search.md +1 -0
- package/agents/ios-swift-ui-design.md +7 -4
- package/agents/marketing-app-store-optimizer.md +2 -0
- package/agents/planner.md +6 -1
- package/agents/pr-test-analyzer.md +3 -2
- package/agents/product-feedback-synthesizer.md +62 -0
- package/agents/product-owner.md +163 -0
- package/agents/product-reality-auditor.md +216 -0
- package/agents/product-spec-writer.md +176 -0
- package/agents/refactor-cleaner.md +9 -1
- package/agents/security-reviewer.md +2 -1
- package/agents/silent-failure-hunter.md +2 -1
- package/agents/swift-build-resolver.md +2 -0
- package/agents/swift-reviewer.md +2 -1
- package/agents/tech-feasibility.md +5 -3
- package/agents/testing-api-tester.md +2 -0
- package/agents/testing-evidence-collector.md +24 -0
- package/agents/testing-performance-benchmarker.md +2 -0
- package/agents/testing-reality-checker.md +2 -1
- package/agents/visual-research.md +7 -5
- package/bin/adapters/scribe-tool.ts +4 -2
- package/bin/adapters/write-lease-tool.ts +1 -1
- package/bin/buildanything-runtime.ts +20 -107
- package/bin/graph-index.js +24 -0
- package/bin/graph-index.ts +340 -0
- package/bin/mcp-servers/graph-mcp.js +26 -0
- package/bin/mcp-servers/graph-mcp.ts +481 -0
- package/bin/mcp-servers/orchestrator-mcp.js +26 -0
- package/bin/mcp-servers/orchestrator-mcp.ts +361 -0
- package/bin/setup.js +272 -111
- package/commands/build.md +424 -177
- package/commands/idea-sweep.md +2 -2
- package/commands/setup.md +15 -4
- package/commands/ux-review.md +3 -3
- package/commands/verify.md +3 -0
- package/docs/migration/phase-graph.yaml +573 -157
- package/hooks/design-md-lint +4 -0
- package/hooks/design-md-lint.ts +295 -0
- package/hooks/pre-tool-use.ts +37 -6
- package/hooks/record-mode-transitions.ts +63 -6
- package/hooks/subagent-start.ts +3 -2
- package/package.json +3 -1
- package/protocols/agent-prompt-authoring.md +165 -0
- package/protocols/architecture-schema.md +10 -3
- package/protocols/cleanup.md +4 -0
- package/protocols/decision-log.md +8 -4
- package/protocols/design-md-authoring.md +520 -0
- package/protocols/design-md-spec.md +362 -0
- package/protocols/fake-data-detector.md +1 -1
- package/protocols/ios-fake-data-detector.md +65 -0
- package/protocols/ios-phase-branches.md +128 -43
- package/protocols/launch-readiness.md +9 -5
- package/protocols/metric-loop.md +1 -1
- package/protocols/page-spec-schema.md +234 -0
- package/protocols/product-spec-schema.md +354 -0
- package/protocols/sprint-tasks-schema.md +53 -0
- package/protocols/state-schema.json +38 -3
- package/protocols/state-schema.md +32 -2
- package/protocols/verify.md +29 -1
- package/protocols/web-phase-branches.md +246 -76
- package/skills/ios/ios-bootstrap/SKILL.md +1 -1
- package/src/graph/ids.ts +86 -0
- package/src/graph/index.ts +32 -0
- package/src/graph/parser/architecture.ts +603 -0
- package/src/graph/parser/component-manifest.ts +268 -0
- package/src/graph/parser/decisions-jsonl.ts +407 -0
- package/src/graph/parser/design-md-pass2.ts +253 -0
- package/src/graph/parser/design-md.ts +477 -0
- package/src/graph/parser/page-spec.ts +496 -0
- package/src/graph/parser/product-spec.ts +930 -0
- package/src/graph/parser/screenshot.ts +342 -0
- package/src/graph/parser/sprint-tasks.ts +317 -0
- package/src/graph/storage/index.ts +1154 -0
- package/src/graph/types.ts +432 -0
- package/src/graph/util/dhash.ts +84 -0
- package/src/lrr/aggregator.ts +105 -10
- package/src/orchestrator/hooks/context-header.ts +34 -10
- package/src/orchestrator/hooks/token-accounting.ts +25 -14
- package/src/orchestrator/mcp/cycle-counter.ts +2 -1
- package/src/orchestrator/mcp/scribe.ts +27 -16
- package/src/orchestrator/mcp/write-lease.ts +30 -13
- package/src/orchestrator/phase4-shared-context.ts +20 -4
- package/protocols/visual-dna.md +0 -185
package/commands/idea-sweep.md
CHANGED
|
@@ -102,7 +102,7 @@ organized by theme. Include direct quotes where the user's exact words matter.]
|
|
|
102
102
|
|
|
103
103
|
1. **market-intel agent** — Research market size (TAM/SAM/SOM), competitive landscape (5-10 players), timing/macro trends, and market structure for this idea: [paste SCQA]. Founder context: [paste Context Brief]
|
|
104
104
|
|
|
105
|
-
2. **tech-feasibility agent** — Evaluate technical architecture, hard problems, build-vs-buy decisions,
|
|
105
|
+
2. **tech-feasibility agent** — Evaluate technical architecture, hard problems, build-vs-buy decisions, scope, and stack recommendation for this idea: [paste SCQA]. Founder context: [paste Context Brief]
|
|
106
106
|
|
|
107
107
|
3. **user-research agent** — Analyze target user persona, jobs-to-be-done, current alternatives, behavioral barriers to adoption, and activation metrics for this idea: [paste SCQA]. Founder context: [paste Context Brief]
|
|
108
108
|
|
|
@@ -157,7 +157,7 @@ Write a markdown document titled `# [IDEA NAME] — Decision Brief` with these s
|
|
|
157
157
|
- **Critical Tensions** — 2-3 contradictions that must be resolved during build
|
|
158
158
|
- **Kill Criteria Status** — Table: Criterion | Status (CLEAR/AMBER/RED) | Evidence
|
|
159
159
|
- **Recommended Action** — One of: GO (proceed to brainstorming), PIVOT (adjacent opportunity), INVESTIGATE (specific questions), KILL (reason)
|
|
160
|
-
- **If GO:
|
|
160
|
+
- **If GO: Product Definition** — Core value prop, primary user, feature scope (under 50 words), revenue model, first 1,000 users channel, tech stack, first milestone
|
|
161
161
|
|
|
162
162
|
Save this document to `docs/briefs/` with today's date and a slug of the idea name.
|
|
163
163
|
|
package/commands/setup.md
CHANGED
|
@@ -6,7 +6,7 @@ description: "Install buildanything's external dependencies — tsx, companion p
|
|
|
6
6
|
|
|
7
7
|
You are installing buildanything's external dependencies. The plugin itself is already installed (that's how this command is running), but the companion plugins, CLI tools, and skills it depends on are not — they need to be installed separately. This command does that in one shot.
|
|
8
8
|
|
|
9
|
-
**iOS project?** If the user's intent is to build an iOS app, also run Steps
|
|
9
|
+
**iOS project?** If the user's intent is to build an iOS app, also run Steps 8–10 below. Skip them otherwise.
|
|
10
10
|
|
|
11
11
|
Run every step below. Each step is idempotent: check first, install only if missing, continue on failure. Collect results as you go and report them all at the end.
|
|
12
12
|
|
|
@@ -50,9 +50,20 @@ Run `npx skills add vercel-labs/agent-browser`. Record `installed` or `failed`.
|
|
|
50
50
|
|
|
51
51
|
Run `npx skills add vercel-labs/agent-browser --skill dogfood`. Record `installed` or `failed`.
|
|
52
52
|
|
|
53
|
+
### Step 7 — Install design.md linter (web/iOS Phase 3 lint gate)
|
|
54
|
+
|
|
55
|
+
`@google/design.md` is the linter that runs at Phase 3 Step 3.8 to validate `DESIGN.md`. It is pinned as a devDependency in `package.json` so lint behavior is reproducible across runs.
|
|
56
|
+
|
|
57
|
+
1. Check if installed: `npm ls @google/design.md` from the plugin root. If listed, record `already installed` and continue.
|
|
58
|
+
2. Otherwise run `npm install --save-dev @google/design.md` from the plugin root. Record `installed` or `failed` based on exit status.
|
|
59
|
+
|
|
60
|
+
A missing linter does NOT block Phase 0/1/2 — it only fails Phase 3.8 with a "linter spawn failed" stderr that names the install command. The plugin keeps working without it.
|
|
61
|
+
|
|
62
|
+
Note: the lint hook (`hooks/design-md-lint.ts`) auto-installs the pinned version on first use if it's listed in `package.json` devDependencies but missing from `node_modules`. This means setup is technically optional for design.md — the first Phase 3.8 will install on demand (~5-15s, one-time). Setup pre-installs to avoid that delay during a build.
|
|
63
|
+
|
|
53
64
|
---
|
|
54
65
|
|
|
55
|
-
## Step
|
|
66
|
+
## Step 8: Install iOS MCP servers _(iOS only)_
|
|
56
67
|
|
|
57
68
|
For each MCP server below, run `claude mcp list` first. If the name already appears, record `already configured`. Otherwise run the install command and record `configured` or `failed`.
|
|
58
69
|
|
|
@@ -63,7 +74,7 @@ For each MCP server below, run `claude mcp list` first. If the name already appe
|
|
|
63
74
|
|
|
64
75
|
If either fails: record the failure with the exact manual-install command.
|
|
65
76
|
|
|
66
|
-
## Step
|
|
77
|
+
## Step 9: Install Maestro _(iOS only)_
|
|
67
78
|
|
|
68
79
|
Maestro runs E2E flow YAML tests against a booted iOS simulator.
|
|
69
80
|
|
|
@@ -71,7 +82,7 @@ Maestro runs E2E flow YAML tests against a booted iOS simulator.
|
|
|
71
82
|
2. Otherwise run `brew install maestro`. Record `installed` or `failed`.
|
|
72
83
|
3. If `brew` is missing, record `skipped — install Homebrew first (brew.sh), then: brew install maestro`.
|
|
73
84
|
|
|
74
|
-
## Step
|
|
85
|
+
## Step 10: Verify iOS toolchain _(iOS only)_
|
|
75
86
|
|
|
76
87
|
Run `xcodebuild -version`. Record the version string. If not found, warn: "Xcode 26.3+ required — install from the Mac App Store."
|
|
77
88
|
|
package/commands/ux-review.md
CHANGED
|
@@ -103,8 +103,8 @@ iOS has no `/design-system` component gallery. The reference surface is **Apple
|
|
|
103
103
|
|
|
104
104
|
The design board is GENERATED by `/buildanything:build` Phase 3 Step 3.1 — this command only READS it.
|
|
105
105
|
|
|
106
|
-
- If `
|
|
107
|
-
- If it exists: use it as-is. Do NOT re-scrape references. **Cache rule:** to refresh the board, the user must delete `
|
|
106
|
+
- If `DESIGN.md` does NOT exist: **HALT** and instruct the user to run `/buildanything:build` Phase 3 first. Do not regenerate here.
|
|
107
|
+
- If it exists: use it as-is. Do NOT re-scrape references. **Cache rule:** to refresh the board, the user must delete `DESIGN.md` and re-run Phase 3.
|
|
108
108
|
|
|
109
109
|
### Step 3: Capture Current State
|
|
110
110
|
|
|
@@ -128,7 +128,7 @@ e. **`skills/ios/writing-for-interfaces`** — microcopy + tone review. Audit bu
|
|
|
128
128
|
|
|
129
129
|
### Step 5: Compare Against Design Board
|
|
130
130
|
|
|
131
|
-
Diff live simulator screenshots against `
|
|
131
|
+
Diff live simulator screenshots against `DESIGN.md`:
|
|
132
132
|
- Where does the live app match the board's vibe / patterns?
|
|
133
133
|
- Where does it drift (color, spacing, hierarchy, type, navigation model)?
|
|
134
134
|
- Which board patterns are NOT yet implemented but should be?
|
package/commands/verify.md
CHANGED
|
@@ -28,9 +28,12 @@ Check the user's argument:
|
|
|
28
28
|
| `security` | Check 5 only |
|
|
29
29
|
| `diff` | Check 6 only |
|
|
30
30
|
| `behavioral` | Check 7 only |
|
|
31
|
+
| `static` | Checks 1, 2, 3, 6 (build + types + lint + diff — Phase 6 post-metric-loop) |
|
|
31
32
|
|
|
32
33
|
Multiple scopes can be combined: `tests security` runs checks 4 and 5.
|
|
33
34
|
|
|
35
|
+
The `static` macro is used by Phase 6 after the metric loop has already evaluated behavioral quality — see `protocols/verify.md` Step 2 "Scope macros".
|
|
36
|
+
|
|
34
37
|
## Step 2: Run the Verification Protocol
|
|
35
38
|
|
|
36
39
|
Follow `protocols/verify.md` exactly:
|