diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 6285faa..713c634 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -6,14 +6,14 @@ }, "metadata": { "description": "Professional Cursor plugins with APEX workflow, SOLID principles, and expert development agents for Next.js, Laravel, Swift, Tailwind CSS, and more", - "version": "0.1.17" + "version": "0.1.18" }, "plugins": [ { "name": "core-guards", "source": ".cursor-plugin/plugins/core-guards", "description": "Core security guards (git, install, security) and SOLID enforcement hooks", - "version": "1.1.41", + "version": "1.1.42", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -36,7 +36,7 @@ "name": "fuse-ai-pilot", "source": ".cursor-plugin/plugins/fuse-ai-pilot", "description": "AI Pilot workflow agents: sniper (code quality), research-expert, explore-codebase, websearch", - "version": "1.2.49", + "version": "1.2.50", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -81,7 +81,7 @@ "name": "fuse-cartographer", "source": ".cursor-plugin/plugins/fuse-cartographer", "description": "Generates indented markdown maps of the plugin ecosystem for agent navigation", - "version": "1.0.16", + "version": "1.0.17", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -102,7 +102,7 @@ "name": "fuse-changelog", "source": ".cursor-plugin/plugins/fuse-changelog", "description": "Claude Code update watcher: changelog tracking, breaking changes detection, community pulse via Exa, plugin compatibility analysis", - "version": "1.0.18", + "version": "1.0.19", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -145,7 +145,7 @@ "name": "fuse-design", "source": ".cursor-plugin/plugins/fuse-design", "description": "Design Director for websites, web apps, iOS, and Android. Generates HTML/CSS directly (Gemini Design MCP, Magic/21st.dev, and shadcn MCP are optional). iOS/Android produce tokens + a device-framed mockup + a handoff spec, never SwiftUI/Compose. Design method, design system tokens, motion, UX copy, and a deterministic design-review gate. Anti-AI-Slop, WCAG 2.2.", - "version": "2.2.14", + "version": "2.2.15", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -207,7 +207,7 @@ "name": "fuse-go", "source": ".cursor-plugin/plugins/fuse-go", "description": "Expert Go 1.26+ — idioms, concurrency, backend services, cargo-grade tooling (golangci-lint v2, govulncheck), with SOLID principles", - "version": "1.0.10", + "version": "1.0.11", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -233,7 +233,7 @@ "name": "fuse-hermes", "source": ".cursor-plugin/plugins/fuse-hermes", "description": "Expert Nous Research Hermes Agent 0.23+ — config.yaml, SOUL.md / .hermes.md, profiles, delegation, cron, gateways, security, plus chief-of-staff operating patterns driven by a universal profile.yaml", - "version": "1.0.2", + "version": "1.0.3", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -259,7 +259,7 @@ "name": "fuse-laravel", "source": ".cursor-plugin/plugins/fuse-laravel", "description": "Expert Laravel 13 + PHP 8.3+ with SOLID principles, first-class PHP Attributes, Laravel AI SDK, JSON:API Resources, native vector search (pgvector), Eloquent, Livewire, queues with routing, and comprehensive documentation", - "version": "1.2.12", + "version": "1.2.13", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -281,7 +281,7 @@ "name": "fuse-lessons", "source": ".cursor-plugin/plugins/fuse-lessons", "description": "Project memory: writes compact 'never reproduce' lessons to MEMORY/LESSON.md on finish, force-reads them at session/subagent start.", - "version": "1.0.10", + "version": "1.0.11", "author": { "name": "Fusengine" }, @@ -299,7 +299,7 @@ "name": "fuse-nextjs", "source": ".cursor-plugin/plugins/fuse-nextjs", "description": "Expert Next.js 16 + React 19 with App Router, Server Components, Prisma 7, and Better Auth", - "version": "1.1.28", + "version": "1.1.29", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -321,7 +321,7 @@ "name": "fuse-php", "source": ".cursor-plugin/plugins/fuse-php", "description": "Expert modern PHP 8.5/8.4 for non-Laravel projects — libraries, standalone Symfony components, Slim, API-first apps, and CLI tools, with PER Coding Style 3.0, PHPStan, and SOLID principles", - "version": "1.0.11", + "version": "1.0.12", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -374,7 +374,7 @@ "name": "fuse-react", "source": ".cursor-plugin/plugins/fuse-react", "description": "Expert React 19 with hooks, TanStack Router, Zustand, React Hook Form, Testing Library, shadcn/ui, and SOLID principles", - "version": "1.0.25", + "version": "1.0.26", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -398,7 +398,7 @@ "name": "fuse-rules", "source": ".cursor-plugin/plugins/fuse-rules", "description": "Global rules for all sessions: APEX workflow, SOLID/DRY enforcement, project detection, agent delegation, frontend/git standards", - "version": "1.0.29", + "version": "1.0.30", "author": { "name": "Fusengine" }, @@ -411,7 +411,7 @@ "name": "fuse-rust", "source": ".cursor-plugin/plugins/fuse-rust", "description": "Expert Rust 1.96+ (2024 edition) — ownership, error handling, async/tokio, axum backends, cargo tooling, with SOLID principles", - "version": "1.0.11", + "version": "1.0.12", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -437,7 +437,7 @@ "name": "fuse-security", "source": ".cursor-plugin/plugins/fuse-security", "description": "Security vulnerability detection and remediation: OWASP Top 10, SAST scanning, CVE research, dependency audit, secrets detection", - "version": "1.0.22", + "version": "1.0.23", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -460,7 +460,7 @@ "name": "fuse-seo", "source": ".cursor-plugin/plugins/fuse-seo", "description": "SEO/GEO 2026 plugin. Local-first, framework-aware, zero third-party APIs. Covers technical SEO, schema markup, E-E-A-T, AI Overviews optimization, local SEO, sitemaps, hreflang, internal linking, content briefs, semantic clustering, and search experience optimization.", - "version": "1.0.16", + "version": "1.0.17", "author": { "name": "Fusengine" }, @@ -490,7 +490,7 @@ "name": "fuse-shadcn-ui", "source": ".cursor-plugin/plugins/fuse-shadcn-ui", "description": "Expert shadcn/ui with Radix UI and Base UI detection, component patterns, registries, theming, and migration", - "version": "1.0.22", + "version": "1.0.23", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -514,7 +514,7 @@ "name": "fuse-solid", "source": ".cursor-plugin/plugins/fuse-solid", "description": "SOLID principles enforcement with automatic project detection and validation for all languages", - "version": "1.0.23", + "version": "1.0.24", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -535,7 +535,7 @@ "name": "fuse-swift-apple-expert", "source": ".cursor-plugin/plugins/fuse-swift-apple-expert", "description": "Expert Swift 6.4.2 + SwiftUI (Xcode 27.2) for iOS 27.2, macOS 27.2, iPadOS 27.2, watchOS 27.2, visionOS 27.2, tvOS 27.2 with Liquid Glass, @Observable, actors, SwiftData inheritance", - "version": "1.1.25", + "version": "1.1.26", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -562,7 +562,7 @@ "name": "fuse-tailwindcss", "source": ".cursor-plugin/plugins/fuse-tailwindcss", "description": "Expert Tailwind CSS v4.1 - CSS-first configuration, @theme, @utility, @variant, Oxide engine 5x faster, OKLCH colors, container queries, 15 specialized skills", - "version": "1.1.15", + "version": "1.1.16", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -594,7 +594,7 @@ "name": "fuse-tanstack-start", "source": ".cursor-plugin/plugins/fuse-tanstack-start", "description": "Expert TanStack Start (React, RC) full-stack framework with file-based routing, createServerFn server functions, selective SSR, and Nitro deployment", - "version": "1.0.9", + "version": "1.0.10", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" @@ -619,7 +619,7 @@ "name": "fuse-typescript", "source": ".cursor-plugin/plugins/fuse-typescript", "description": "Expert TypeScript 6.0 for pure TS projects — CLI tools, libraries, scripts, and backends on Node 24 LTS or Bun 1.3, with SOLID principles", - "version": "1.0.11", + "version": "1.0.12", "author": { "name": "Fusengine", "email": "hello@fusengine.ch" diff --git a/.cursor-plugin/plugin-runtime/hook.sh b/.cursor-plugin/plugin-runtime/hook.sh index ead17e1..657a272 100644 --- a/.cursor-plugin/plugin-runtime/hook.sh +++ b/.cursor-plugin/plugin-runtime/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/core-guards/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/core-guards/.cursor-plugin/plugin.json index c2b1605..2a71de4 100644 --- a/.cursor-plugin/plugins/core-guards/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/core-guards/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "core-guards", - "version": "1.1.41", + "version": "1.1.42", "description": "Core security guards (git, install, security) and SOLID enforcement hooks", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/core-guards/scripts/hook.sh b/.cursor-plugin/plugins/core-guards/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/core-guards/scripts/hook.sh +++ b/.cursor-plugin/plugins/core-guards/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-ai-pilot/.cursor-plugin/plugin.json index 6be41fa..e7eb62f 100644 --- a/.cursor-plugin/plugins/fuse-ai-pilot/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-ai-pilot/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-ai-pilot", - "version": "1.2.49", + "version": "1.2.50", "description": "AI Pilot workflow agents: sniper (code quality), research-expert, explore-codebase, websearch", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/agents/skill-creator.md b/.cursor-plugin/plugins/fuse-ai-pilot/agents/skill-creator.md index c22cf68..29ff1d1 100644 --- a/.cursor-plugin/plugins/fuse-ai-pilot/agents/skill-creator.md +++ b/.cursor-plugin/plugins/fuse-ai-pilot/agents/skill-creator.md @@ -53,7 +53,7 @@ Execute the 4 skill-creator flows — New, Restructure, Improve, Adapt — produ 6. **Verify discovery**: confirm `skills//SKILL.md` sits under the plugin's native `skills/` root (or an explicit `.cursor-plugin/plugin.json` `skills` path, if the plugin declares one). Per the skill's `references/registration.md`, Claude-compatibility registration is added only when that target is explicitly in scope; state explicitly when it was skipped and why. 7. **Report** using Output Format below. Do not run `sniper` yourself — hand off to the lead. -**Project skill mode** (lead-orchestration steps 3 and 11): the target is the ONE skill `/.cursor/skills/project-/` (`` = project root folder, kebab-case; Cursor's project-skill location, https://cursor.com/docs/skills), not a plugin skill -- no `versions`, no registration (Cursor auto-discovers `.cursor/skills/`). Layout, nothing else: `SKILL.md` (frontmatter `name: project-` = the folder name + `description: "Use when working in the project: ..."` so Cursor loads it; ~30 lines: what the project does in 2 lines, stack in 1 line, key commands, table need -> `references/` file) + `references/architecture.md` (modules, data flow, where things live), `stack.md` (versions, key libs, technical choices), `commands.md` (install, dev, test, build, deploy), `conventions.md` (naming, file structure, style), `pitfalls.md` (known traps and how to avoid them; history stays in `LESSON.md`). Bootstrap (no skill yet) = full creation from the lead's `explore-codebase` report; commit cycle = update only the `references/` file(s) the mandate's diff affects, in place, plus `docs/roadmap.md` (Done / In progress / Next) when the lead asks. Facts come from the project's own files, never invented. +**Project skill mode** (lead-orchestration steps 3 and 11; only in a mandate that writes files and reaches the commit cycle -- a read-only mandate (audit, question, review) never launches it, and `docs/roadmap.md` and the project skill are not created or updated there): the target is the ONE skill `/.cursor/skills/project-/` (`` = project root folder, kebab-case; Cursor's project-skill location, https://cursor.com/docs/skills), not a plugin skill -- no `versions`, no registration (Cursor auto-discovers `.cursor/skills/`). Layout, nothing else: `SKILL.md` (frontmatter `name: project-` = the folder name + `description: "Use when working in the project: ..."` so Cursor loads it; ~30 lines: what the project does in 2 lines, stack in 1 line, key commands, table need -> `references/` file) + `references/architecture.md` (modules, data flow, where things live), `stack.md` (versions, key libs, technical choices), `commands.md` (install, dev, test, build, deploy), `conventions.md` (naming, file structure, style), `pitfalls.md` (known traps and how to avoid them; history stays in `LESSON.md`). Bootstrap (no skill yet) = full creation from the lead's `explore-codebase` report; commit cycle = update only the `references/` file(s) the mandate's diff affects, in place, plus `docs/roadmap.md` (Done / In progress / Next) when the lead asks. Facts come from the project's own files, never invented. ## Size and SOLID Rules diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/scripts/hook.sh b/.cursor-plugin/plugins/fuse-ai-pilot/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-ai-pilot/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-ai-pilot/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/SKILL.md b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/SKILL.md index 466eb3d..1a8c236 100644 --- a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/SKILL.md +++ b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/SKILL.md @@ -52,7 +52,7 @@ No edit (even one line), no ssh, no UI driving, no script, no migration, no LESS ### 1. Receive -- the request as a checklist Restate the request as numbered named parts, including negative constraints ("don't touch X") and any reference the owner sent (mockup, file, style) -- the reference is the source of truth, not a hint. Read the project's `docs/decisions.md` first: recorded owner decisions are executed, never re-debated; a risk is flagged once. Record each new owner decision there, dated, one line. Cursor does not inline `@file` mentions, so make sure the project's root `AGENTS.md` lists `docs/decisions.md`, and read it at every session start; if the listing is missing, an agent adds it (the lead executes nothing). -**Roadmap**: the project keeps `docs/roadmap.md` (three sections: Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md (Cursor does not inline `@file`). Read it with decisions.md; if the file or the listing is missing, an agent creates it in this mandate. +**Roadmap**: the project keeps `docs/roadmap.md` (three sections: Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md (Cursor does not inline `@file`). Read it with decisions.md. Only a WRITE mandate that reaches the commit cycle creates or updates it (an agent does, if the file or the listing is missing); a read-only mandate (audit, question, review) reads it if present and writes nothing. **Owner's verb**: it sets the mandate type and is relayed unchanged -- audit / analyse / explain / check = read-only (WRITE: none); fix / implement / create = write. Never turn an audit into a fix or a question into an action. **Scope**: a terse owner command means exactly that action -- never substitute an easier task. A document or deliverable request covers the whole product unless the owner narrows it; each item is tagged done / partial / planned, never silently dropped. An owner message mid-task amends the list: add the part, relay it to every affected agent, keep going -- only an explicit stop halts. @@ -65,7 +65,7 @@ For every folder an agent will write: `ls -lT ` + `date`. Mtime under ~5 ### 3. Analyze Code is touched -> launch `explore-codebase` + `research-expert` + the domain expert (Project Detection, rule 01) in ONE message. A trivial 1-3 line change goes to `apex-quick` (one agent). A read-only question -> `explore-codebase` alone. Debug ("why", "not working") always goes through Analyze. -**Project skill bootstrap**: when `/.cursor/skills/project-/SKILL.md` does not exist (`` = the project root folder name, kebab-case), the lead hands the `explore-codebase` report of this Analyze (an `apex-quick` or no-Analyze mandate -> the lead launches `explore-codebase` for it first) to `fuse-ai-pilot:skill-creator`, in the same mandate, to create the initial project skill once, full layout below. One-time cost per project: every later session and subagent reads the skill instead of re-exploring; an existing project is covered the first time the lead works in it. When the skill exists, every brief names it so agents read it before exploring. Layout (`skill-creator` "Project skill mode" owns it): +**Project skill bootstrap** (WRITE mandates only -- a read-only mandate reads the project skill if present and never creates it): when `/.cursor/skills/project-/SKILL.md` does not exist (`` = the project root folder name, kebab-case), the lead hands the `explore-codebase` report of this Analyze (an `apex-quick` or no-Analyze mandate -> the lead launches `explore-codebase` for it first) to `fuse-ai-pilot:skill-creator`, in the same mandate, to create the initial project skill once, full layout below. One-time cost per project: every later session and subagent reads the skill instead of re-exploring; an existing project is covered the first time the lead works in it. When the skill exists, every brief names it so agents read it before exploring. Layout (`skill-creator` "Project skill mode" owns it): ``` /.cursor/skills/project-/ @@ -90,13 +90,13 @@ One named agent per task (domain expert per rule 01). Write the table before lau | `api-auth` | ... | `src/auth/**` | solid-*, domain skills, `verification` | A shared resource (build, simulator, dev server, database) has exactly one owner; the others ask it through their report to the lead, who relays by resuming the owner. Pick the skills each agent must load: the stack's SOLID skill via `solid-detection`, the domain skills (`design-method` -> `design-web`/`design-ios`, `swiftui-core`...), plus `verification`. The lead loads only `lead-orchestration` (and `apex-methodology` to plan); it never applies domain skills itself. Announce the budget in one line: number of agents and their names -- never a promised duration. -**PRD** (multi-agent mandate, `FUSE_PRD=1`): after the table, run `prd init` and write the task PRD from it, one entry per agent (`references/prd.md`). `FUSE_PRD` off or a single agent: skip, nothing changes. +**PRD** (WRITE mandate with 2+ agents, `FUSE_PRD=1`): after the table, an agent runs `prd init`; the lead writes the task PRD from the table, one entry per agent, and runs `prd status` / `validate` / `compact` (`references/prd.md`). `FUSE_PRD` off, a single agent, or a read-only mandate (even multi-agent): skip, `prd init` never runs, nothing changes. **Check:** each task has exactly one agent; no file and no shared resource has two owners; with PRD on, every table row has a task-PRD entry. ### 6. Brief -- fixed headers Fill `references/brief-template.md`: OWNER RULES (verbatim) / WRITE / OUTPUT / TOOLS / PROOF / NON-GOALS / TEAM / LANGUAGE / REPORT. A protected path (HARD STOP 3: `~/.claude`, `~/.codex`, `~/.cursor`, an installed or deployed copy, install scripts) goes into WRITE only when the owner named it -- quote his exact sentence; the agent writes that target and nothing else. **"Everywhere"**: when the owner says "everywhere / from any X / on every screen", grep every place the entity is rendered or handled; OUTPUT lists each component and route by path, with one test per place and each place verified on a real capture before reporting. -**PRD**: with PRD on, each brief carries a `PRD ASSIGNMENT` block (agent name, files, sub-tasks, its report path) -- Cursor's adapter drops the SubagentStart slice, so the brief is the only way the agent learns it (`references/prd.md`). +**PRD**: with PRD on, each brief carries a `PRD ASSIGNMENT` block (agent name, files, sub-tasks, its ABSOLUTE report path `/.cursor/apex/prd/agents/-prd.json`) -- Cursor's adapter drops the SubagentStart slice, so the brief is the only way the agent learns it (`references/prd.md`). **Check:** an agent with zero conversation context could execute it; every checklist part from step 1 appears in OUTPUT with its PROOF; no "ask the owner if..." escape hatch. ### 7. Launch @@ -128,7 +128,7 @@ Once every agent has finished: `sniper` once on all changes, then the `challenge ### 11. Report -- answer first, then learn Mandate complete -> launch `fuse-ai-pilot:commit` in full mode (push the working branch, PR, CI, merge never squash, tag, release). -**Roadmap + project skill, before the release**: AFTER the WIP commits are validated and BEFORE the release PR, the lead launches `fuse-ai-pilot:skill-creator` ONCE with the mandate's diff (`git diff ...HEAD`): it updates only the affected `references/` file(s) of the single project skill `/.cursor/skills/project-/` (layout in step 3; in place, never a second project skill, never a duplicated section), and in the same run `docs/roadmap.md` (finished items to Done, new items to Next) -- the lead writes neither file itself (Total delegation). Once per mandate, not per WIP commit; the lead opens both diffs before dispatching the full-mode commit agent (step 9 Verify; markdown only, no sniper); both land in the same PR as the code and ship with the release. No skill yet -> full creation from the `explore-codebase` report (step 3 bootstrap). Owner reply, in the owner's language (rule 00): line 1 = the answer (done / not done / blocked), then <= 10 lines: proof, not verified, WIP commits made, merge/release announced, one recommendation + the next step, no option menu when one choice is clearly better. Deliverables at a path the owner sees -- never only a hidden directory. +**Roadmap + project skill, before the release** (WRITE mandates reaching the commit cycle only; a read-only mandate skips this and writes neither file): AFTER the WIP commits are validated and BEFORE the release PR, the lead launches `fuse-ai-pilot:skill-creator` ONCE with the mandate's diff (`git diff ...HEAD`): it updates only the affected `references/` file(s) of the single project skill `/.cursor/skills/project-/` (layout in step 3; in place, never a second project skill, never a duplicated section), and in the same run `docs/roadmap.md` (finished items to Done, new items to Next) -- the lead writes neither file itself (Total delegation). Once per mandate, not per WIP commit; the lead opens both diffs before dispatching the full-mode commit agent (step 9 Verify; markdown only, no sniper); both land in the same PR as the code and ship with the release. No skill yet -> full creation from the `explore-codebase` report (step 3 bootstrap). Owner reply, in the owner's language (rule 00): line 1 = the answer (done / not done / blocked), then <= 10 lines: proof, not verified, WIP commits made, merge/release announced, one recommendation + the next step, no option menu when one choice is clearly better. Deliverables at a path the owner sees -- never only a hidden directory. Each owner correction -> one line in the skill/agent that failed, in the source repo, the same turn, written by an agent (AUTONOMY, rule 03 "Lead conduct"). Sync to an installed copy only when the owner asked for it (HARD STOP 3). **Check:** line 1 answers the question asked; every deliverable path is outside a dot-folder (the project skill under `.cursor/skills/` is the platform-defined exception); `docs/roadmap.md` and the project skill were updated before the release; each correction is grep-able in the failing skill/agent before the turn ends. diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/brief-template.md b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/brief-template.md index 9198789..8e4961f 100644 --- a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/brief-template.md +++ b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/brief-template.md @@ -56,9 +56,9 @@ N. Negative -- `git diff --stat` shows no change under X - Cursor has no peer messaging: for a contract or interface change, a result you wait for, or a file a peer owns (never edit it), say so in your report to the lead, who relays by resuming the peer. - Shared resource owner (build, simulator, server): -## PRD ASSIGNMENT (only when FUSE_PRD=1 and the mandate has 2+ agents; see prd.md) +## PRD ASSIGNMENT (only when FUSE_PRD=1 and the mandate WRITES files with 2+ agents; never in a read-only mandate; see prd.md) Task: . You are ``. Your files: . Your sub-tasks: . -When done, write ONLY `.cursor/apex/prd/agents/-prd.json` (Write tool): { "": { "": { "status": "done", "modified": [""], "unchanged": [] } } }. Never the router, the task PRD or another agent's report. +When done, write ONLY `/.cursor/apex/prd/agents/-prd.json` (absolute path, Write tool; never `/prd/agents/...` or a relative `prd/agents/...`, the harness refuses it -- Cursor injects no PRD context, this line is your only source): { "": { "": { "status": "done", "modified": [""], "unchanged": [] } } }. Never the router, the task PRD or another agent's report. ## LANGUAGE Code comments, docs, commit messages: English. Replies to the user: the user's language. diff --git a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/prd.md b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/prd.md index e0fa7f2..2af09a2 100644 --- a/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/prd.md +++ b/.cursor-plugin/plugins/fuse-ai-pilot/skills/lead-orchestration/references/prd.md @@ -19,13 +19,16 @@ When a lead splits one task across several subagents, PRD gives each agent one J |-----------|----------------| | `FUSE_PRD` is not exactly `1` (in `~/.cursor/.env` or `/.env`) | Skip everything below. Zero change. The owner sets the flag; the lead never writes `~/.cursor/.env` (HARD STOP 3). | | `FUSE_PRD=1`, one agent | Skip. | -| `FUSE_PRD=1`, two or more agents | Follow the procedure below. | +| `FUSE_PRD=1`, read-only mandate (audit, question, review), any number of agents | Skip. `prd init` never runs: it would create `.cursor/apex/prd.json` in a mandate that writes nothing. | +| `FUSE_PRD=1`, WRITE mandate with two or more agents | Follow the procedure below. | -## Cursor specifics (measured in harness 0.1.121) +## Cursor specifics (measured in harness 0.1.123) - Ownership is **consultative** on Cursor: the harness never blocks a PRD write there (no agent identity reaches it). - The Cursor adapter **drops the `SubagentStart` slice**: the agent never receives its PRD assignment from the harness. The lead's brief carries it (step 6, block below). - Files live under `/.cursor/apex/`. +- The agent report path is ABSOLUTE: `/.cursor/apex/prd/agents/-prd.json`. Since harness 0.1.122 a `*-prd.json` written under `/prd/agents` or `/prd/agents` is refused (`prd-outside-report.ts`), naming the correct path. Cursor injects no PRD context into sub-agents, so the brief's PRD ASSIGNMENT must carry this exact absolute path. +- Who does what: an agent runs `prd init`; the lead runs `prd status` / `prd validate` / `prd compact` and writes the task PRD itself. ## Which harness to run @@ -33,16 +36,16 @@ Run the harness from the plugin install that `scripts/hook.sh` resolves, never a ``` H="$HOME/.cursor/.fusengine-global/versions/$(cat "$HOME/.cursor/.fusengine-global/current")/node_modules/@fusengine/harness/dist/cli/bin.mjs" -bun "$H" --version # prd init needs >= 0.1.121 +bun "$H" --version # needs >= 0.1.123 (idempotent init, outside-tree report refusal) ``` Read-only use of `~/.cursor` only. A harness below 0.1.121 answers `unknown sub-command "init"`: the router cannot be created (the lead cannot Write `apex/prd.json`), so PRD stays off for the mandate -- say so in one line in the report, continue without it. ## Procedure -1. **Init (the router only)** -- after the step 5 table, the lead or an agent it names runs: +1. **Init (the router only)** -- after the step 5 table, an agent (named in the table; the lead does not run it) runs: `FUSE_PRD=1 bun "$H" prd init --id cursor --task --root ` - Creates `.cursor/apex/prd.json` = `{ "": { "prd": "prd/-prd.json", "status": "assigned" } }`. Never rewrites an existing router (exit 0 if valid and it holds the task; exit 1 if the task is missing -- then Write the entry). `` matches `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`. + Creates `.cursor/apex/prd.json` = `{ "": { "prd": "prd/-prd.json", "status": "assigned" } }`. Never rewrites an existing router: a re-run prints `prd init: exists with task ""` and exits 0 (valid router holding the task); exit 1 if the task is missing -- then Write the entry. `` matches `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`. 2. **Task PRD (the lead writes it)** -- `.cursor/apex/prd/-prd.json` is coordinator-only; the lead writes it itself with Write (same exception class as `docs/decisions.md`; an agent never writes it). One entry per table row, keyed by the agent's name: ```json @@ -58,7 +61,7 @@ Read-only use of `~/.cursor` only. A harness below 0.1.121 answers `unknown sub- ## PRD ASSIGNMENT Task: . You are ``. Your files: . Your sub-tasks: . - When done, write ONLY your own report `.cursor/apex/prd/agents/-prd.json` (Write tool, never a shell redirect): + When done, write ONLY your own report `/.cursor/apex/prd/agents/-prd.json` (absolute path, Write tool, never a shell redirect; never `/prd/agents/...`): { "": { "": { "status": "done", "modified": [""], "unchanged": [] } } } Never write the router, the task PRD or another agent's report. ``` diff --git a/.cursor-plugin/plugins/fuse-cartographer/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-cartographer/.cursor-plugin/plugin.json index abc2322..6334b45 100644 --- a/.cursor-plugin/plugins/fuse-cartographer/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-cartographer/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-cartographer", - "version": "1.0.16", + "version": "1.0.17", "description": "Generates indented markdown maps of the plugin ecosystem for agent navigation", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-cartographer/scripts/hook.sh b/.cursor-plugin/plugins/fuse-cartographer/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-cartographer/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-cartographer/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-changelog/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-changelog/.cursor-plugin/plugin.json index 0ade485..78c0b91 100644 --- a/.cursor-plugin/plugins/fuse-changelog/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-changelog/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-changelog", - "version": "1.0.18", + "version": "1.0.19", "description": "Claude Code update watcher: changelog tracking, breaking changes detection, community pulse via Exa, plugin compatibility analysis", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-changelog/scripts/hook.sh b/.cursor-plugin/plugins/fuse-changelog/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-changelog/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-changelog/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-design/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-design/.cursor-plugin/plugin.json index f293a23..0bb6318 100644 --- a/.cursor-plugin/plugins/fuse-design/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-design/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-design", - "version": "2.2.14", + "version": "2.2.15", "description": "Design Director for websites, web apps, iOS, and Android. Generates HTML/CSS directly (Gemini Design MCP, Magic/21st.dev, and shadcn MCP are optional). iOS/Android produce tokens + a device-framed mockup + a handoff spec, never SwiftUI/Compose. Design method, design system tokens, motion, UX copy, and a deterministic design-review gate. Anti-AI-Slop, WCAG 2.2.", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-design/scripts/hook.sh b/.cursor-plugin/plugins/fuse-design/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-design/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-design/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-go/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-go/.cursor-plugin/plugin.json index 2f52e86..044f4e7 100644 --- a/.cursor-plugin/plugins/fuse-go/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-go/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-go", - "version": "1.0.10", + "version": "1.0.11", "description": "Expert Go 1.26+ — idioms, concurrency, backend services, cargo-grade tooling (golangci-lint v2, govulncheck), with SOLID principles", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-go/scripts/hook.sh b/.cursor-plugin/plugins/fuse-go/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-go/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-go/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-hermes/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-hermes/.cursor-plugin/plugin.json index 801645e..684b55a 100644 --- a/.cursor-plugin/plugins/fuse-hermes/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-hermes/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-hermes", - "version": "1.0.2", + "version": "1.0.3", "description": "Expert Nous Research Hermes Agent 0.23+ — config.yaml, SOUL.md / .hermes.md, profiles, delegation, cron, gateways, security, plus chief-of-staff operating patterns driven by a universal profile.yaml", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-hermes/scripts/hook.sh b/.cursor-plugin/plugins/fuse-hermes/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-hermes/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-hermes/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-laravel/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-laravel/.cursor-plugin/plugin.json index 3c7186f..0be7856 100644 --- a/.cursor-plugin/plugins/fuse-laravel/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-laravel/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-laravel", - "version": "1.2.12", + "version": "1.2.13", "description": "Expert Laravel 13 + PHP 8.3+ with SOLID principles, first-class PHP Attributes, Laravel AI SDK, JSON:API Resources, native vector search (pgvector), Eloquent, Livewire, queues with routing, and comprehensive documentation", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-laravel/scripts/hook.sh b/.cursor-plugin/plugins/fuse-laravel/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-laravel/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-laravel/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-lessons/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-lessons/.cursor-plugin/plugin.json index c20331c..254a6a4 100644 --- a/.cursor-plugin/plugins/fuse-lessons/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-lessons/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-lessons", - "version": "1.0.10", + "version": "1.0.11", "description": "Project memory: writes compact 'never reproduce' lessons to MEMORY/LESSON.md on finish, force-reads them at session/subagent start.", "author": { "name": "Fusengine" diff --git a/.cursor-plugin/plugins/fuse-lessons/scripts/hook.sh b/.cursor-plugin/plugins/fuse-lessons/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-lessons/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-lessons/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-nextjs/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-nextjs/.cursor-plugin/plugin.json index 8f91f29..2341c3d 100644 --- a/.cursor-plugin/plugins/fuse-nextjs/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-nextjs/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-nextjs", - "version": "1.1.28", + "version": "1.1.29", "description": "Expert Next.js 16 + React 19 with App Router, Server Components, Prisma 7, and Better Auth", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-nextjs/scripts/hook.sh b/.cursor-plugin/plugins/fuse-nextjs/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-nextjs/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-nextjs/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-php/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-php/.cursor-plugin/plugin.json index 25cb853..16bbce2 100644 --- a/.cursor-plugin/plugins/fuse-php/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-php/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-php", - "version": "1.0.11", + "version": "1.0.12", "description": "Expert modern PHP 8.5/8.4 for non-Laravel projects — libraries, standalone Symfony components, Slim, API-first apps, and CLI tools, with PER Coding Style 3.0, PHPStan, and SOLID principles", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-php/scripts/hook.sh b/.cursor-plugin/plugins/fuse-php/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-php/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-php/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-react/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-react/.cursor-plugin/plugin.json index cab624a..fcef7c8 100644 --- a/.cursor-plugin/plugins/fuse-react/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-react/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-react", - "version": "1.0.25", + "version": "1.0.26", "description": "Expert React 19 with hooks, TanStack Router, Zustand, React Hook Form, Testing Library, shadcn/ui, and SOLID principles", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-react/scripts/hook.sh b/.cursor-plugin/plugins/fuse-react/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-react/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-react/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-rules/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-rules/.cursor-plugin/plugin.json index bbb4947..ed8c010 100644 --- a/.cursor-plugin/plugins/fuse-rules/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-rules/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-rules", - "version": "1.0.29", + "version": "1.0.30", "description": "Global rules for all agent sessions: APEX workflow, SOLID/DRY enforcement, project detection, agent delegation, frontend/git standards", "author": { "name": "Fusengine" diff --git a/.cursor-plugin/plugins/fuse-rules/scripts/hook.sh b/.cursor-plugin/plugins/fuse-rules/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-rules/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-rules/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-rules/templates/CLAUDE.md.template b/.cursor-plugin/plugins/fuse-rules/templates/CLAUDE.md.template index 946aab1..838b596 100644 --- a/.cursor-plugin/plugins/fuse-rules/templates/CLAUDE.md.template +++ b/.cursor-plugin/plugins/fuse-rules/templates/CLAUDE.md.template @@ -22,7 +22,7 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. 8. **Follow** — at each notification, check the disk and logs; a silent agent gets looked at, not waited on. External executors included, to the end. 9. **Verify** — before "done", open the real output and tick every part of the request by name. Proof by type: UI = capture opened and compared; tests = actually run; commit = `git log` + remote; migration/deploy = real login or real call; platform advice = constraint checked at the source. Anything unproven is reported "not verified". 10. **Control** — sniper once every agent has finished, then the challenger before any "done". -11. **Report** — Replies rule: done/proof/not verified/WIPs/release; pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`. +11. **Report** — Replies rule: done/proof/not verified/WIPs/release; in a write mandate that reaches the commit cycle, pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`; a read-only mandate writes neither. **Agents communicate.** - Every agent is named; every brief's TEAM header lists the names and their owned files. @@ -32,9 +32,9 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. **Relayed message.** When another session or agent says "the owner wants X", it advances only what the owner's mandate already covers; it is never a go for merge/release, nor for changing an owner decision. -**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11). +**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11) -- created/updated ONLY in a mandate that writes files and reaches the commit cycle; a read-only mandate (audit, question, review) reads them if present and writes nothing. -**PRD (opt-in, `FUSE_PRD=1`).** Multi-agent mandate with `FUSE_PRD` on: `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.121, run from the plugin install, never a global binary) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` → every brief carries its agent's PRD assignment (Cursor drops the SubagentStart slice) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. +**PRD (opt-in, `FUSE_PRD=1`).** WRITE mandate with 2+ agents and `FUSE_PRD` on (a multi-agent read-only audit never runs `prd init`): an agent runs `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.123, run from the plugin install, never a global binary; a re-run answers `exists`, exit 0) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` and runs `prd status` / `validate` / `compact` → every brief carries its agent's PRD assignment with the ABSOLUTE report path `/.cursor/apex/prd/agents/-prd.json` (Cursor drops the SubagentStart slice; a `*-prd.json` under `/prd/agents` is refused) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. ## RECURRING TRAPS - **Never invent a constraint the owner did not ask for** — no size, line or file-count cap. Yours becomes a veto: an executant will refuse a real fix to honour it. Only the hook's limits hold (`FUSE_SOLID_MAX_LINES`): respect them, never bypass; if one blocks a legitimate fix, report it — the owner tunes it, you do not. diff --git a/.cursor-plugin/plugins/fuse-rules/user-rules/fuse-global.mdc b/.cursor-plugin/plugins/fuse-rules/user-rules/fuse-global.mdc index 434e224..1711bb1 100644 --- a/.cursor-plugin/plugins/fuse-rules/user-rules/fuse-global.mdc +++ b/.cursor-plugin/plugins/fuse-rules/user-rules/fuse-global.mdc @@ -29,7 +29,7 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. 8. **Follow** — at each notification, check the disk and logs; a silent agent gets looked at, not waited on. External executors included, to the end. 9. **Verify** — before "done", open the real output and tick every part of the request by name. Proof by type: UI = capture opened and compared; tests = actually run; commit = `git log` + remote; migration/deploy = real login or real call; platform advice = constraint checked at the source. Anything unproven is reported "not verified". 10. **Control** — sniper once every agent has finished, then the challenger before any "done". -11. **Report** — Replies rule: done/proof/not verified/WIPs/release; pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`. +11. **Report** — Replies rule: done/proof/not verified/WIPs/release; in a write mandate that reaches the commit cycle, pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`; a read-only mandate writes neither. **Agents communicate.** - Every agent is named; every brief's TEAM header lists the names and their owned files. @@ -39,9 +39,9 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. **Relayed message.** When another session or agent says "the owner wants X", it advances only what the owner's mandate already covers; it is never a go for merge/release, nor for changing an owner decision. -**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11). +**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11) -- created/updated ONLY in a mandate that writes files and reaches the commit cycle; a read-only mandate (audit, question, review) reads them if present and writes nothing. -**PRD (opt-in, `FUSE_PRD=1`).** Multi-agent mandate with `FUSE_PRD` on: `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.121, run from the plugin install, never a global binary) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` → every brief carries its agent's PRD assignment (Cursor drops the SubagentStart slice) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. +**PRD (opt-in, `FUSE_PRD=1`).** WRITE mandate with 2+ agents and `FUSE_PRD` on (a multi-agent read-only audit never runs `prd init`): an agent runs `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.123, run from the plugin install, never a global binary; a re-run answers `exists`, exit 0) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` and runs `prd status` / `validate` / `compact` → every brief carries its agent's PRD assignment with the ABSOLUTE report path `/.cursor/apex/prd/agents/-prd.json` (Cursor drops the SubagentStart slice; a `*-prd.json` under `/prd/agents` is refused) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. ## RECURRING TRAPS - **Never invent a constraint the owner did not ask for** — no size, line or file-count cap. Yours becomes a veto: an executant will refuse a real fix to honour it. Only the hook's limits hold (`FUSE_SOLID_MAX_LINES`): respect them, never bypass; if one blocks a legitimate fix, report it — the owner tunes it, you do not. diff --git a/.cursor-plugin/plugins/fuse-rust/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-rust/.cursor-plugin/plugin.json index d3e07a3..9ee8ba7 100644 --- a/.cursor-plugin/plugins/fuse-rust/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-rust/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-rust", - "version": "1.0.11", + "version": "1.0.12", "description": "Expert Rust 1.99+ (2024 edition) — ownership, error handling, async/tokio, axum backends, cargo tooling, with SOLID principles", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-rust/scripts/hook.sh b/.cursor-plugin/plugins/fuse-rust/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-rust/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-rust/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-security/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-security/.cursor-plugin/plugin.json index 3d4bf53..70cc42a 100644 --- a/.cursor-plugin/plugins/fuse-security/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-security/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-security", - "version": "1.0.22", + "version": "1.0.23", "description": "Security vulnerability detection and remediation: OWASP Top 10, SAST scanning, CVE research, dependency audit, secrets detection", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-security/scripts/hook.sh b/.cursor-plugin/plugins/fuse-security/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-security/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-security/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-seo/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-seo/.cursor-plugin/plugin.json index 80018ea..5bc98fd 100644 --- a/.cursor-plugin/plugins/fuse-seo/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-seo/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-seo", - "version": "1.0.16", + "version": "1.0.17", "description": "SEO/GEO 2026 plugin. Local-first, framework-aware, zero third-party APIs. Covers technical SEO, schema markup, E-E-A-T, AI Overviews optimization, local SEO, sitemaps, hreflang, internal linking, content briefs, semantic clustering, and search experience optimization.", "author": { "name": "Fusengine" diff --git a/.cursor-plugin/plugins/fuse-seo/scripts/hook.sh b/.cursor-plugin/plugins/fuse-seo/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-seo/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-seo/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-shadcn-ui/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-shadcn-ui/.cursor-plugin/plugin.json index cfcbe5e..8c8bd00 100644 --- a/.cursor-plugin/plugins/fuse-shadcn-ui/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-shadcn-ui/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-shadcn-ui", - "version": "1.0.22", + "version": "1.0.23", "description": "Expert shadcn/ui with Radix UI and Base UI detection, component patterns, registries, theming, and migration", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-shadcn-ui/scripts/hook.sh b/.cursor-plugin/plugins/fuse-shadcn-ui/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-shadcn-ui/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-shadcn-ui/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-solid/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-solid/.cursor-plugin/plugin.json index 9a3c818..358f429 100644 --- a/.cursor-plugin/plugins/fuse-solid/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-solid/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-solid", - "version": "1.0.23", + "version": "1.0.24", "description": "SOLID principles enforcement with automatic project detection and validation for all languages", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-solid/scripts/hook.sh b/.cursor-plugin/plugins/fuse-solid/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-solid/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-solid/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json index 67fcc13..a245ed1 100644 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-swift-apple-expert", - "version": "1.1.25", + "version": "1.1.26", "description": "Expert Swift 6.4.2 + SwiftUI (Xcode 27.2) for iOS 27.2, macOS 27.2, iPadOS 27.2, watchOS 27.2, visionOS 27.2, tvOS 27.2 with Liquid Glass, @Observable, actors, SwiftData inheritance", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-swift-apple-expert/scripts/hook.sh b/.cursor-plugin/plugins/fuse-swift-apple-expert/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-swift-apple-expert/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-swift-apple-expert/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-tailwindcss/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-tailwindcss/.cursor-plugin/plugin.json index ab7bae0..83c17f0 100644 --- a/.cursor-plugin/plugins/fuse-tailwindcss/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-tailwindcss/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-tailwindcss", - "version": "1.1.15", + "version": "1.1.16", "description": "Expert Tailwind CSS v4.1 - CSS-first configuration, @theme, @utility, @variant, Oxide engine 5x faster, OKLCH colors, container queries, 15 specialized skills", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-tailwindcss/scripts/hook.sh b/.cursor-plugin/plugins/fuse-tailwindcss/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-tailwindcss/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-tailwindcss/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-tanstack-start/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-tanstack-start/.cursor-plugin/plugin.json index 05cc038..1a09fe3 100644 --- a/.cursor-plugin/plugins/fuse-tanstack-start/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-tanstack-start/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-tanstack-start", - "version": "1.0.9", + "version": "1.0.10", "description": "Expert TanStack Start (React, 1.x stable) full-stack framework with file-based routing, createServerFn server functions, selective SSR, and Nitro deployment", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-tanstack-start/scripts/hook.sh b/.cursor-plugin/plugins/fuse-tanstack-start/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-tanstack-start/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-tanstack-start/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/.cursor-plugin/plugins/fuse-typescript/.cursor-plugin/plugin.json b/.cursor-plugin/plugins/fuse-typescript/.cursor-plugin/plugin.json index b1ced34..016958d 100644 --- a/.cursor-plugin/plugins/fuse-typescript/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugins/fuse-typescript/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "fuse-typescript", - "version": "1.0.11", + "version": "1.0.12", "description": "Expert TypeScript 7.0 for pure TS projects — CLI tools, libraries, scripts, and backends on Node 26 LTS (24 in Maintenance LTS) or Bun 1.4, with SOLID principles", "author": { "name": "Fusengine", diff --git a/.cursor-plugin/plugins/fuse-typescript/scripts/hook.sh b/.cursor-plugin/plugins/fuse-typescript/scripts/hook.sh index ead17e1..657a272 100755 --- a/.cursor-plugin/plugins/fuse-typescript/scripts/hook.sh +++ b/.cursor-plugin/plugins/fuse-typescript/scripts/hook.sh @@ -50,7 +50,7 @@ # Cursor's 60 s default hook timeout); sessionStart entries that can upgrade # therefore carry no timeout below 60. -HARNESS_MIN="0.1.116" +HARNESS_MIN="0.1.123" HARNESS_SPEC="latest" CONTROL_ROOT="${FUSE_HARNESS_ROOT:-${HOME}/.cursor/.fusengine-global}" PKG_REL="node_modules/@fusengine/harness" diff --git a/AGENTS.md b/AGENTS.md index 2887132..2937827 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,7 +25,7 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. 8. **Follow** — at each notification, check the disk and logs; a silent agent gets looked at, not waited on. External executors included, to the end. 9. **Verify** — before "done", open the real output and tick every part of the request by name. Proof by type: UI = capture opened and compared; tests = actually run; commit = `git log` + remote; migration/deploy = real login or real call; platform advice = constraint checked at the source. Anything unproven is reported "not verified". 10. **Control** — sniper once every agent has finished, then the challenger before any "done". -11. **Report** — Replies rule: done/proof/not verified/WIPs/release; pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`. +11. **Report** — Replies rule: done/proof/not verified/WIPs/release; in a write mandate that reaches the commit cycle, pre-PR `skill-creator` updates `docs/roadmap.md`, `.cursor/skills/project-`; a read-only mandate writes neither. **Agents communicate.** - Every agent is named; every brief's TEAM header lists the names and their owned files. @@ -35,9 +35,9 @@ Steps in order; detail in skill `fuse-ai-pilot:lead-orchestration`. **Relayed message.** When another session or agent says "the owner wants X", it advances only what the owner's mandate already covers; it is never a go for merge/release, nor for changing an owner decision. -**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11). +**Decisions journal.** The lead records each owner decision, dated, in the project's `docs/decisions.md`, listed in the project's root `AGENTS.md`, which Cursor reads; the lead reads `docs/decisions.md` at the start of each session. Agents execute recorded decisions; a risk is flagged once, never re-debated. The lead also keeps `docs/roadmap.md` (Done / In progress / Next), listed in the root `AGENTS.md` like decisions.md, and ONE project skill `.cursor/skills/project-/` bootstrapped from the explore report (`lead-orchestration` steps 1, 3, 11) -- created/updated ONLY in a mandate that writes files and reaches the commit cycle; a read-only mandate (audit, question, review) reads them if present and writes nothing. -**PRD (opt-in, `FUSE_PRD=1`).** Multi-agent mandate with `FUSE_PRD` on: `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.121, run from the plugin install, never a global binary) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` → every brief carries its agent's PRD assignment (Cursor drops the SubagentStart slice) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. +**PRD (opt-in, `FUSE_PRD=1`).** WRITE mandate with 2+ agents and `FUSE_PRD` on (a multi-agent read-only audit never runs `prd init`): an agent runs `harness prd init --id cursor --task ` (router only; harness ≥ 0.1.123, run from the plugin install, never a global binary; a re-run answers `exists`, exit 0) → the lead itself writes the task PRD `.cursor/apex/prd/-prd.json` and runs `prd status` / `validate` / `compact` → every brief carries its agent's PRD assignment with the ABSOLUTE report path `/.cursor/apex/prd/agents/-prd.json` (Cursor drops the SubagentStart slice; a `*-prd.json` under `/prd/agents` is refused) → agents write only their own report → resume = `prd status` → before done `prd validate ` exit 0. `FUSE_PRD` off: nothing changes. Detail: `lead-orchestration` `references/prd.md`. ## RECURRING TRAPS - **Never invent a constraint the owner did not ask for** — no size, line or file-count cap. Yours becomes a veto: an executant will refuse a real fix to honour it. Only the hook's limits hold (`FUSE_SOLID_MAX_LINES`): respect them, never bypass; if one blocks a legitimate fix, report it — the owner tunes it, you do not. diff --git a/CHANGELOG.md b/CHANGELOG.md index 23f8d4e..1b1aed3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [0.1.18] - 16-11-2026 + +- fix(lead): the per-project roadmap and project skill are written only in + write mandates that reach the commit cycle — a read-only mandate writes + nothing (`AGENTS.md`, `fuse-rules` `user-rules/fuse-global.mdc` and + `templates/CLAUDE.md.template`, `lead-orchestration`, `skill-creator`) +- fix(lead): the PRD applies only to write mandates with 2+ agents — the + agent runs `prd init`, the lead runs status/validate/compact, and each agent + reports at `/.cursor/apex/prd/agents/-prd.json` + (`lead-orchestration/references/prd.md`, `references/brief-template.md`) +- fix(harness): `HARNESS_MIN` 0.1.116 → 0.1.123 in every `hook.sh` and + `plugin-runtime/hook.sh` (`prd init` idempotent with `exists`, a wrong + `prd/agents` path refused); harness auto-update tests updated +- docs(decisions): decisions journal records the 2026-11-16 "Harness minimum + 0.1.123 and release 0.1.18 without real Cursor run" owner decision +- chore(plugins): PATCH bump, mirrored in `.cursor-plugin/marketplace.json` — + core-guards 1.1.42, fuse-ai-pilot 1.2.50, fuse-cartographer 1.0.17, + fuse-changelog 1.0.19, fuse-design 2.2.15, fuse-go 1.0.11, fuse-hermes + 1.0.3, fuse-laravel 1.2.13, fuse-lessons 1.0.11, fuse-nextjs 1.1.29, + fuse-php 1.0.12, fuse-react 1.0.26, fuse-rules 1.0.30, fuse-rust 1.0.12, + fuse-security 1.0.23, fuse-seo 1.0.17, fuse-shadcn-ui 1.0.23, fuse-solid + 1.0.24, fuse-swift-apple-expert 1.1.26, fuse-tailwindcss 1.1.16, + fuse-tanstack-start 1.0.10, fuse-typescript 1.0.12 +- chore(marketplace): suite `metadata.version` 0.1.17 → 0.1.18, README version + badge updated +- Not verified: real Cursor run — `cursor-agent` usage limit reached; the + refusal of a `prd/agents` write is verified from the harness source only + ## [0.1.17] - 16-11-2026 - feat(lead): per-project `docs/roadmap.md` and a project skill at diff --git a/README.md b/README.md index 5e197bc..61deff2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fusengine Cursor Plugins -![version](https://img.shields.io/badge/version-0.1.17-blue?style=flat-square) +![version](https://img.shields.io/badge/version-0.1.18-blue?style=flat-square) ![plugins](https://img.shields.io/badge/plugins-26-brightgreen?style=flat-square) ![runtime](https://img.shields.io/badge/runtime-Cursor%20CLI-black?style=flat-square) ![License: MIT](https://img.shields.io/badge/License-MIT-yellow?style=flat-square) diff --git a/docs/decisions.md b/docs/decisions.md index 07a4ad0..2085606 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -12,3 +12,4 @@ Owner decisions for this repository, dated. Agents execute recorded decisions; a - **2026-11-14 — Release 0.1.14.** Owner, typed in this session: « Oui, release 0.1.14 » (PR #18, Apple OS 27 skills port; real Cursor run not executed — Free quota exhausted). - **2026-11-16 — Release 0.1.16 without real Cursor run.** Owner, typed in this session after being told the real Cursor run would be reported in one line if the quota still blocked it: « Oui, commit cycle ». Release 0.1.16 (brainstorming in Analyze step 3) ships with the run recorded as not verified (`cursor-agent`: "ActionRequiredError: You've hit your usage limit" on default and auto models). - **2026-11-16 — Release 0.1.17 without real Cursor run.** Owner, typed in this session after being told the `cursor-agent` account (Free plan) had exhausted its Agent quota: « publie c'est pas grave ». Release 0.1.17 (per-project roadmap, project skill, opt-in PRD workflow) ships with the real Cursor run recorded as not verified; PRD stays inactive until the installed harness reaches 0.1.121. +- **2026-11-16 — Harness minimum 0.1.123 and release 0.1.18 without real Cursor run.** Owner « Oui aux deux » (relayed by the lead) to raising HARNESS_MIN and publishing without the real run, then « Go » typed in this session to "fix roadmap + PRD + HARNESS_MIN 0.1.123, publie sans run". `HARNESS_MIN` is 0.1.123 in every `hook.sh` (replaces the 2026-11-11 0.1.116 entry); roadmap/project skill only in write mandates; PRD only in write mandates with 2+ agents. Real Cursor run not verified (usage limit). diff --git a/tests/harness-autoupdate-real.sh b/tests/harness-autoupdate-real.sh index 2507e33..1531482 100644 --- a/tests/harness-autoupdate-real.sh +++ b/tests/harness-autoupdate-real.sh @@ -51,7 +51,7 @@ ALLOW="$(cd /tmp && hook '{"hook_event_name":"beforeShellExecution","command":"l case "$ALLOW" in *'"permission":"allow"'*) ok "guard allows benign command on $now" ;; *) fail "benign not allowed: $ALLOW" ;; esac # ---- Regression: 0.1.115 falsely flags `( ... 2>&1) || true` as a file write ------------ -# Fixed in 0.1.116, so HARNESS_MIN (0.1.116) must pull a real 0.1.115 install forward. +# Fixed in 0.1.116, so HARNESS_MIN (0.1.123) must pull a real 0.1.115 install forward. if [ "$LATEST" = 0.1.115 ]; then echo "registry latest is 0.1.115: regression case skipped"; else HOME_DIR="$TMP/home2"; CR="$HOME_DIR/.cursor/.fusengine-global" mkdir -p "$CR/versions/0.1.115" diff --git a/tests/harness-autoupdate.test.sh b/tests/harness-autoupdate.test.sh index e5b4529..ee1ba99 100644 --- a/tests/harness-autoupdate.test.sh +++ b/tests/harness-autoupdate.test.sh @@ -40,7 +40,7 @@ if [ "$1" = add ]; then [ -z "$STUB_ADD_SLEEP" ] || /bin/sleep "$STUB_ADD_SLEEP" [ "${STUB_ADD_RC:-0}" = 0 ] || exit "$STUB_ADD_RC" mkdir -p node_modules/@fusengine/harness/dist/cli - printf '{\n "name": "@fusengine/harness",\n "version": "%s"\n}\n' "${STUB_NEW_VERSION:-0.1.116}" \ + printf '{\n "name": "@fusengine/harness",\n "version": "%s"\n}\n' "${STUB_NEW_VERSION:-0.1.123}" \ > node_modules/@fusengine/harness/package.json echo "// bin" > node_modules/@fusengine/harness/dist/cli/bin.mjs exit 0 @@ -91,9 +91,9 @@ reset_env() { unset STUB_ADD_SLEEP FUSE_HARNESS_INSTALL_TIMEOUT_SEC STUB_ADD_RC eq() { [ "$1" = "$2" ]; } # 1. Current version at session start: zero process, zero update, scopes intact. -reset_env; new_case; seed_current 0.1.116 +reset_env; new_case; seed_current 0.1.123 hook --session-start rules -check "current: bin run with scope, flag stripped" grep -q "versions/0.1.116/.*bin.mjs hook cursor rules$" "$LOG" +check "current: bin run with scope, flag stripped" grep -q "versions/0.1.123/.*bin.mjs hook cursor rules$" "$LOG" check "current: no bun add" eq "$(adds)" 0 check "current: ZERO external process" eq "$(wc -c < "$PROCS" | tr -d ' ')" 0 @@ -107,8 +107,8 @@ check "newer: ZERO external process" eq "$(wc -c < "$PROCS" | tr -d ' ')" 0 reset_env; new_case; seed_current 0.1.110 hook --session-start solid check "stale: exactly one bun add" eq "$(adds)" 1 -check "stale: pointer switched" eq "$(cur)" 0.1.116 -check "stale: new bin executed with scope" grep -q "versions/0.1.116/.*bin.mjs hook cursor solid$" "$LOG" +check "stale: pointer switched" eq "$(cur)" 0.1.123 +check "stale: new bin executed with scope" grep -q "versions/0.1.123/.*bin.mjs hook cursor solid$" "$LOG" check "stale: previous version kept" test -f "$CR/versions/0.1.110/node_modules/@fusengine/harness/dist/cli/bin.mjs" check "stale: no stamp after success" test ! -e "$CR/.harness-update-failed" check "stale: lock released" test ! -e "$CR/.harness-update.lock" @@ -118,11 +118,11 @@ check "stale: staging dir cleaned" eq "$(ls -A "$CR/versions" | grep -c ' reset_env; new_case; seed_legacy 0.1.110 hook --session-start check "legacy: one bun add" eq "$(adds)" 1 -check "legacy: pointer created" eq "$(cur)" 0.1.116 +check "legacy: pointer created" eq "$(cur)" 0.1.123 check "legacy: legacy tree untouched" test -f "$CR/node_modules/@fusengine/harness/dist/cli/bin.mjs" # 5. Legacy fast path without upgrade need. -reset_env; new_case; seed_legacy 0.1.116 +reset_env; new_case; seed_legacy 0.1.123 hook --session-start check "legacy current: legacy bin runs" grep -q "$CR/node_modules/@fusengine/harness/dist/cli/bin.mjs hook cursor" "$LOG" check "legacy current: no add" eq "$(adds)" 0 @@ -207,10 +207,10 @@ check "prune: old extra removed" test ! -e "$CR/versions/0.1.100" check "prune: dead staging removed" test ! -e "$CR/versions/.stage-999" check "prune: previous kept" test -d "$CR/versions/0.1.110" check "prune: recent extra kept" test -d "$CR/versions/0.1.108" -check "prune: new kept" test -d "$CR/versions/0.1.116" +check "prune: new kept" test -d "$CR/versions/0.1.123" # 14. Hostile pointer never escapes the control root. -reset_env; new_case; seed_legacy 0.1.116; echo "../../etc" > "$CR/current" +reset_env; new_case; seed_legacy 0.1.123; echo "../../etc" > "$CR/current" hook --session-start check "bad pointer: legacy bin used" grep -q "$CR/node_modules/@fusengine/harness/dist/cli/bin.mjs hook cursor" "$LOG" @@ -218,8 +218,8 @@ check "bad pointer: legacy bin used" grep -q "$CR/node_modules/@fusengine/harnes reset_env; new_case hook solid check "self-heal: one add" eq "$(adds)" 1 -check "self-heal: pointer set" eq "$(cur)" 0.1.116 -check "self-heal: new bin ran" grep -q "versions/0.1.116/.*bin.mjs hook cursor solid$" "$LOG" +check "self-heal: pointer set" eq "$(cur)" 0.1.123 +check "self-heal: new bin ran" grep -q "versions/0.1.123/.*bin.mjs hook cursor solid$" "$LOG" rm -rf "$CR/versions" "$CR/current"; : > "$LOG" hook solid check "self-heal: stamp stops a second attempt" eq "$(adds)" 0 @@ -228,7 +228,7 @@ check "self-heal: stamp stops a second attempt" eq "$(adds)" 0 reset_env; new_case; seed_current 0.1.110; : > "$CR/.harness-update-failed" hook --install-harness; rc=$? check "install-harness: rc 0" eq "$rc" 0 -check "install-harness: pointer moved" eq "$(cur)" 0.1.116 +check "install-harness: pointer moved" eq "$(cur)" 0.1.123 check "install-harness: no bin run" eq "$(runs)" 0 reset_env; new_case; seed_current 0.1.110; STUB_ADD_RC=1; hook --install-harness; rc=$? check "install-harness failure: rc 1, pointer intact" eq "$rc.$(cur)" 1.0.1.110 @@ -237,11 +237,11 @@ reset_env # 17. versions/ exists but is broken: replaced by the verified stage, never kept broken. # (The stub bun runs every bin successfully, so "broken" is simulated by a missing bin.) reset_env; new_case; seed_current 0.1.110 -mkdir -p "$CR/versions/0.1.116/node_modules" +mkdir -p "$CR/versions/0.1.123/node_modules" hook --session-start -check "broken dest: replaced and switched" eq "$(cur)" 0.1.116 -check "broken dest: bin present afterwards" test -f "$CR/versions/0.1.116/node_modules/@fusengine/harness/dist/cli/bin.mjs" -check "broken dest: old tree kept aside" test -d "$CR/versions/0.1.116.broken.$(ls "$CR/versions" | sed -n 's/.*broken\.//p' | head -1)" +check "broken dest: replaced and switched" eq "$(cur)" 0.1.123 +check "broken dest: bin present afterwards" test -f "$CR/versions/0.1.123/node_modules/@fusengine/harness/dist/cli/bin.mjs" +check "broken dest: old tree kept aside" test -d "$CR/versions/0.1.123.broken.$(ls "$CR/versions" | sed -n 's/.*broken\.//p' | head -1)" # 18. `current` is a directory: the switch is reported as failed (stamp), not as success. reset_env; new_case; seed_current 0.1.110; rm "$CR/current"; mkdir "$CR/current" @@ -263,7 +263,7 @@ check "hung install: old bin ran" grep -q "versions/0.1.110/.*bin check "hung install: lock released" test ! -e "$CR/.harness-update.lock" check "hung install: staging cleaned" eq "$(ls -A "$CR/versions" | grep -c '^\.stage' || true)" 0 check "hung install: exactly one stderr warning" eq "$(wc -l < "$T/err" | tr -d ' ')" 1 -check "hung install: warning names versions" grep -q "installed 0.1.110, target >= 0.1.116" "$T/err" +check "hung install: warning names versions" grep -q "installed 0.1.110, target >= 0.1.123" "$T/err" check "hung install: stdout clean" test ! -s "$T/out" reset_env @@ -291,19 +291,19 @@ if [ -z "${HOOK_SH:-}" ]; then fi # 21b. 0.1.115 carries the false "[CONFIRM] Shell redirect" on `( ... 2>&1) || true`: it is stale -# now that HARNESS_MIN is 0.1.116, on every upgrade path. +# now that HARNESS_MIN is 0.1.123, on every upgrade path. reset_env; new_case; seed_current 0.1.115 hook --session-start solid -check "0.1.115 is stale: session-start upgrades it" eq "$(adds).$(cur)" 1.0.1.116 +check "0.1.115 is stale: session-start upgrades it" eq "$(adds).$(cur)" 1.0.1.123 reset_env; new_case; seed_current 0.1.115 hook --harness-check -check "0.1.115 is stale: --harness-check upgrades it" eq "$(adds).$(cur).$(runs)" 1.0.1.116.0 +check "0.1.115 is stale: --harness-check upgrades it" eq "$(adds).$(cur).$(runs)" 1.0.1.123.0 reset_env; new_case; seed_legacy 0.1.115 hook --session-start -check "0.1.115 legacy install is stale too" eq "$(adds).$(cur)" 1.0.1.116 +check "0.1.115 legacy install is stale too" eq "$(adds).$(cur)" 1.0.1.123 reset_env; new_case; seed_current 0.1.115 hook --install-harness; rc=$? -check "installer path (--install-harness) upgrades 0.1.115 regardless of HARNESS_MIN" eq "$rc.$(cur)" 0.0.1.116 +check "installer path (--install-harness) upgrades 0.1.115 regardless of HARNESS_MIN" eq "$rc.$(cur)" 0.0.1.123 reset_env # 22. --harness-check (upgrade-only mode for plugins whose sessionStart must not run the bin). @@ -311,10 +311,10 @@ reset_env; new_case; seed_current 0.1.110 hook --harness-check > "$T/out" 2> "$T/err"; rc=$? check "check/stale: rc 0" eq "$rc" 0 check "check/stale: one bun add" eq "$(adds)" 1 -check "check/stale: pointer switched" eq "$(cur)" 0.1.116 +check "check/stale: pointer switched" eq "$(cur)" 0.1.123 check "check/stale: bin never executed" eq "$(runs)" 0 check "check/stale: stdout empty" test ! -s "$T/out" -reset_env; new_case; seed_current 0.1.116 +reset_env; new_case; seed_current 0.1.123 hook --harness-check > "$T/out" 2> "$T/err"; rc=$? check "check/current: rc 0, nothing run" eq "$rc.$(adds).$(runs)" 0.0.0 check "check/current: ZERO process" eq "$(wc -c < "$PROCS" | tr -d ' ')" 0 @@ -336,7 +336,7 @@ hook --install-harness > "$T/out" 2> "$T/err"; rc=$? check "install-harness failure: rc 1" eq "$rc" 1 check "install-harness failure: one warning line, stdout empty" eq "$(wc -l < "$T/err" | tr -d ' ').$(wc -c < "$T/out" | tr -d ' ')" 1.0 check "install-harness failure: warning text, no 'retry in -'" \ - bash -c 'grep -q "installed 0.1.110, target >= 0.1.116" "$1" && grep -q "re-run the installer to retry" "$1" && ! grep -q "retry in -" "$1"' _ "$T/err" + bash -c 'grep -q "installed 0.1.110, target >= 0.1.123" "$1" && grep -q "re-run the installer to retry" "$1" && ! grep -q "retry in -" "$1"' _ "$T/err" reset_env # 24. Install bound stays under Cursor's 60 s default hook timeout.