@maestria/cursor 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,61 +1,36 @@
1
1
  # @maestria/cursor
2
2
 
3
- A [Cursor](https://cursor.com/) plugin that brings Maestria's structured agent orchestration to Cursor IDE and Cursor CLI (`agent`).
3
+ A declarative [Cursor](https://cursor.com/) plugin that brings Maestria's structured agent orchestration to Cursor IDE and Cursor CLI (`agent`) - 7 specialist Task agents, an orchestrator skill, always-on global rules, and workflow commands.
4
4
 
5
- ## Features
6
-
7
- - **7 specialist agents** — adventurer, architect, builder, diagnose, planner, reviewer, writer (Task subagents)
8
- - **Orchestrator skill** — dispatcher methodology, handoff contracts, maker/checker guidance
9
- - **Always-on global rules** — `rules/maestria-global.mdc` with `alwaysApply: true`
10
- - **Workflow commands** — `/fein`, `/sonar`, `/blitz`
11
- - **IDE + CLI parity** — one plugin bundle for both surfaces
5
+ > This package is part of Maestria. See [VISION.md](https://github.com/agustinusnathaniel/maestria/blob/main/VISION.md) for the project vision, motivation, and scope. The agents, skills, and rules are **generated** from the canonical directives in `packages/core/agent-directives/` by the [sync pipeline](https://github.com/agustinusnathaniel/maestria/blob/main/CONTRIBUTING.md#3-the-sync-pipeline-core-concept).
12
6
 
13
7
  ## Installation
14
8
 
15
- ### Recommended: via maestria CLI
16
-
17
9
  ```bash
10
+ # Recommended: via the maestria CLI (copies the plugin to ~/.cursor/plugins/local/maestria)
18
11
  pnpx maestria@latest install cursor
19
12
  ```
20
13
 
21
- Copies the plugin to `~/.cursor/plugins/local/maestria`. Restart Cursor IDE, or in CLI:
22
-
23
- ```bash
24
- agent --plugin-dir ~/.cursor/plugins/local/maestria
25
- ```
26
-
27
- ### Alternative: local development
28
-
29
- From a checkout of this monorepo:
30
-
31
- ```bash
32
- agent --plugin-dir ./packages/cursor
33
- ```
34
-
35
- See [INSTALL.md](./INSTALL.md) for the full checklist.
14
+ Restart Cursor IDE, or load the plugin in Cursor CLI with `agent --plugin-dir ~/.cursor/plugins/local/maestria`. See [INSTALL.md](https://github.com/agustinusnathaniel/maestria/blob/main/packages/cursor/INSTALL.md) for the full checklist, manual setup, verification, and uninstall.
36
15
 
37
- ## Commands
16
+ ## What It Provides
38
17
 
39
- | Command | Description |
40
- | -------- | -------------------------------------------------- |
41
- | `/fein` | Full pipeline: recon design implement → review |
42
- | `/sonar` | Research only: recon design stop |
43
- | `/blitz` | Fast implementation via builder |
18
+ - **7 specialist Task agents** - adventurer, architect, builder, diagnose, planner, reviewer, writer.
19
+ - **Orchestrator skill** - dispatcher methodology, handoff contracts, maker/checker guidance.
20
+ - **Always-on global rules** - `rules/maestria-global.mdc` with `alwaysApply: true`.
21
+ - **Workflow commands** - `/fein` (full pipeline), `/sonar` (research only), `/blitz` (fast implementation).
44
22
 
45
- ## Development
23
+ ## Support / Platform Notes
46
24
 
47
- ```bash
48
- # Sync agents/skills/rules from core
49
- cd packages/cursor && pnpm exec tsx ../core/scripts/sync.ts --verbose
50
-
51
- # Test
52
- pnpm --filter @maestria/cursor test
25
+ - Declarative plugin: manifest, agents, skills, rules, and commands only - no build step or runtime code.
26
+ - Read-only roles use Cursor's `readonly: true` runtime flag where supported; everything else is advisory prompt guidance, not a sandbox.
27
+ - The generated agents, skills, and rules are projections of the canonical core directives. To change behavior, edit `packages/core/agent-directives/` and re-run the sync pipeline - never edit the generated files under `agents/`, `skills/`, or `rules/` directly.
53
28
 
54
- # Format, lint, type-check (repo root)
55
- vp check
56
- ```
29
+ ## Documentation and Changelog
57
30
 
58
- Canonical prompts live in `packages/core/agent-directives/`. Edit those, then sync. Never edit generated files under `agents/`, `skills/`, or `rules/` directly.
31
+ - [User-facing documentation](https://maestria.sznm.dev/cursor/) on the docs site
32
+ - [Installation checklist](https://github.com/agustinusnathaniel/maestria/blob/main/packages/cursor/INSTALL.md)
33
+ - [Changelog](https://github.com/agustinusnathaniel/maestria/blob/main/packages/cursor/CHANGELOG.md)
59
34
 
60
35
  ## License
61
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maestria/cursor",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "private": false,
5
5
  "description": "Maestria methodology plugin for Cursor IDE and Cursor CLI - specialists, orchestrator, and workflow commands",
6
6
  "keywords": [
@@ -37,6 +37,14 @@ This is the cross-platform behavior contract. It defines outcomes, evidence, saf
37
37
  - Adjacent findings do not expand the current task automatically. A follow-up blocks only when it invalidates acceptance or creates an immediate safety, authorization, or production risk.
38
38
  - Security, authentication, authorization, and permission findings are mandatory stops. Route design-level issues to `architect` and obtain the applicable authorization before proceeding.
39
39
 
40
+ ## Session Continuation and Delivery
41
+
42
+ - **!!! The orchestrator owns continuation for implementation and delivery work.** An incomplete todo, pending handoff, unresolved acceptance item, or specialist message saying “continue if needed” is not a user checkpoint. Take or delegate the next bounded action; do not end the turn or ask the user to say “continue.” Research-only, planning-only, explicitly read-only, and host-blocked work terminates at its requested artifact or exact blocker.
43
+ - A specialist's read-only or no-edit result ends that delegation, not the parent work unit. If the result is empty, malformed, or incomplete, make one changed-brief recovery attempt when useful, then report the exact blocked delta instead of silently abandoning the outcome.
44
+ - Freeze the outcome, acceptance criteria, non-goals, and review budget at the start of the work unit. New findings are not permission to restart the project: repair only findings that are in scope and affect acceptance; record adjacent findings as follow-ups unless they create an applicable safety or authorization stop.
45
+ - Do not reset a review or repair budget by splitting the same outcome into more delegations, changing specialist names, or relabelling the finding. A new scope requires a new outcome and acceptance criteria.
46
+ - For implementation work, continue through validation and the project's normal delivery artifact. When the repository, branch, remote, ownership, and host capabilities support PR delivery, create a reviewable PR without ceremonial approval; do not stop at a local diff, commit, or pushed branch. Research-only, planning-only, explicitly read-only, and host-blocked work terminates at its requested artifact or exact blocker. Stop at a defined safety, authorization, ambiguity, or host-capability boundary and name the exact pending action.
47
+
40
48
  ## Delegation and Context
41
49
 
42
50
  Supported specialists are `adventurer`, `architect`, `builder`, `diagnose`, `planner`, `reviewer`, and `writer`.
@@ -95,7 +95,13 @@ Modes are case-insensitive and per-turn unless the platform documents another li
95
95
 
96
96
  ## Commit and Session Flow
97
97
 
98
- For normal engineering work, own the delivery path: `inspect -> plan -> implement -> validate -> review -> repair material blockers -> commit -> push -> PR`. Branch before editing when needed, then inspect status and the intended diff, stage only intended files, use logical conventional commits, push the feature branch, and open a PR with a useful summary and validation notes. Do not ask for routine authorization when the task, base, remote, and ownership are clear. Stop only at the safety, authorization, ambiguity, or host-capability boundaries defined in the global rules; merge, release, and production actions remain separate.
98
+ For implementation work, own the delivery path: `inspect -> plan -> implement -> validate -> review -> repair -> commit -> push -> PR`.
99
+
100
+ When the repository, branch, remote, ownership, and host capabilities support PR delivery, complete it without ceremonial approval. Do not stop at a local diff, commit, pushed branch, or `PR pending`. Merge, release, and production actions remain separate.
101
+
102
+ The parent session owns continuation until the selected implementation outcome reaches its terminal artifact. Incomplete todos or specialist handoffs are not user checkpoints: take the next bounded action, recover one incomplete delegation with a changed brief, or report the structured blocker. Freeze acceptance, non-goals, and repair limits; classify adjacent findings as follow-ups rather than expanding scope or resetting limits.
103
+
104
+ Research-only, planning-only, explicitly read-only, `sonar`, and host-blocked routes terminate at their requested artifact or exact blocker. Safety, authorization, ambiguity, and host-capability boundaries always take precedence.
99
105
 
100
106
  An explicitly authorized checkpoint may preserve unreviewed work but never authorizes shipping. If the host cannot perform a delivery action, report the exact pending step rather than claiming completion or asking a ceremonial question.
101
107