@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 +17 -42
- package/package.json +1 -1
- package/rules/maestria-global.mdc +8 -0
- package/skills/orchestrator/SKILL.md +7 -1
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
16
|
+
## What It Provides
|
|
38
17
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
##
|
|
23
|
+
## Support / Platform Notes
|
|
46
24
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
55
|
-
vp check
|
|
56
|
-
```
|
|
29
|
+
## Documentation and Changelog
|
|
57
30
|
|
|
58
|
-
|
|
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
|
@@ -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
|
|
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
|
|