@maestria/cursor 0.2.2 → 0.2.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maestria",
3
- "version": "0.1.0",
3
+ "version": "0.2.4",
4
4
  "description": "Maestria methodology for Cursor - pipeline specialists, orchestrator skill, and workflow commands",
5
5
  "author": {
6
6
  "name": "agustinusnathaniel"
package/INSTALL.md CHANGED
@@ -18,10 +18,10 @@ The CLI pulls `@maestria/cursor` from npm (`npm pack @maestria/cursor@latest`) a
18
18
  ~/.cursor/plugins/local/maestria
19
19
  ```
20
20
 
21
- Restart Cursor IDE so Customize → Plugins picks up the local plugin. For CLI:
21
+ Restart Cursor IDE, or use **Developer: Reload Window**, so Customize → Plugins picks up the local plugin. The current Cursor CLI is `agent` (`cursor-agent` remains a compatibility alias) and discovers local plugins from the same directory:
22
22
 
23
23
  ```bash
24
- agent --plugin-dir ~/.cursor/plugins/local/maestria
24
+ agent
25
25
  ```
26
26
 
27
27
  ### Updating
@@ -34,7 +34,7 @@ pnpx maestria@latest status
34
34
  To pin to a specific version:
35
35
 
36
36
  ```bash
37
- pnpx maestria@latest update cursor@0.1.0
37
+ pnpx maestria@latest update cursor --version 0.2.2
38
38
  ```
39
39
 
40
40
  ## Verify
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @maestria/cursor
2
2
 
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.
3
+ A declarative [Cursor](https://cursor.com/) plugin that brings Maestria's structured agent orchestration to Cursor IDE and Cursor CLI (`agent`; `cursor-agent` is a compatibility alias) - 7 specialist Task agents, an orchestrator skill, always-on global rules, and workflow commands.
4
4
 
5
5
  > This package is part of the Maestria project. See [VISION.md](https://github.com/agustinusnathaniel/maestria/blob/main/VISION.md) for the project vision, motivation, and scope.
6
6
 
@@ -11,7 +11,7 @@ A declarative [Cursor](https://cursor.com/) plugin that brings Maestria's struct
11
11
  pnpx maestria@latest install cursor
12
12
  ```
13
13
 
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.
14
+ Restart Cursor IDE (or use **Developer: Reload Window**). Cursor CLI uses `agent` and discovers local plugins from `~/.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.
15
15
 
16
16
  ## What It Provides
17
17
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: adventurer
3
2
  description: Codebase reconnaissance agent. Maps unknown territory, traces call chains, maps module relationships. Use before implementation in unfamiliar code. Read-only - never implement or design.
3
+ name: adventurer
4
4
  readonly: true
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: architect
3
2
  description: Architecture decisions using decision matrices and ADRs. Evaluates options with weighted criteria. Use for technology choices, implementation approaches, trade-off analysis.
3
+ name: architect
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
package/agents/builder.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: builder
3
2
  description: Focused implementation agent for atomic tasks. Executes one verifiable unit of work. Use for targeted fixes, feature implementation, refactors, adding tests.
3
+ name: builder
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: diagnose
3
2
  description: Systematic 6-step regression tracing from error message to root cause to prevention. Use for cryptic errors, regressions, production bugs.
3
+ name: diagnose
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -63,7 +63,7 @@ Fix the root cause with minimal changes:
63
63
 
64
64
  Prevent similar bugs:
65
65
 
66
- - Add/update regression tests
66
+ - Consider regression tests where a durable contract or plausible recurrence justifies them (per Global Rules testing judgment)
67
67
  - Consider linting rules to catch the pattern
68
68
  - Document the lesson in a knowledge artifact for future reference
69
69
 
package/agents/planner.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: planner
3
2
  description: Create detailed implementation plans with phased dependencies, timelines, and success criteria. Use for complex multi-phase features before building.
3
+ name: planner
4
4
  readonly: true
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: reviewer
3
2
  description: Code review with quality gates. Reviews correctness, edge cases, security, performance, maintainability. Use for post-implementation validation; in full routes, review after the integrated builder batch is reconciled. Read-only - never edit.
3
+ name: reviewer
4
4
  readonly: true
5
5
  ---
6
6
 
@@ -64,9 +64,9 @@ The initial general reviewer must give a verdict for every category. A specializ
64
64
 
65
65
  ### 7. Test Coverage
66
66
 
67
- - Are tests present for new functionality?
68
- - Do tests cover edge cases and error paths?
69
- - Are tests meaningful (not just checking implementation details)?
67
+ - Is meaningful regression risk covered proportionate to stakes (per Global Rules testing judgment)?
68
+ - Do tests cover edge cases and error paths where the contract demands it?
69
+ - Are tests meaningful (observable behavior, not implementation details)?
70
70
 
71
71
  ### 8. Assumption Validation
72
72
 
package/agents/writer.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: writer
3
2
  description: Documentation writing following structured patterns. Use for README files, API docs, architecture docs, changelogs, decision records.
3
+ name: writer
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -0,0 +1,27 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0%" stop-color="#1a1a2e"/>
5
+ <stop offset="100%" stop-color="#16213e"/>
6
+ </linearGradient>
7
+ <linearGradient id="accent" x1="0" y1="0" x2="1" y2="1">
8
+ <stop offset="0%" stop-color="#6c63ff"/>
9
+ <stop offset="100%" stop-color="#a855f7"/>
10
+ </linearGradient>
11
+ </defs>
12
+ <!-- Rounded square background -->
13
+ <rect width="512" height="512" rx="96" fill="url(#bg)"/>
14
+ <!-- Subtle border -->
15
+ <rect x="2" y="2" width="508" height="508" rx="94" fill="none" stroke="#2a2a4a" stroke-width="4"/>
16
+ <!-- M letterform composed of pipeline blocks -->
17
+ <!-- Left vertical bar -->
18
+ <rect x="96" y="120" width="48" height="272" rx="16" fill="url(#accent)"/>
19
+ <!-- Right vertical bar -->
20
+ <rect x="368" y="120" width="48" height="272" rx="16" fill="url(#accent)"/>
21
+ <!-- Diagonal left -->
22
+ <rect x="130" y="156" width="48" height="272" rx="16" fill="url(#accent)" transform="rotate(48, 154, 156)"/>
23
+ <!-- Diagonal right -->
24
+ <rect x="334" y="156" width="48" height="272" rx="16" fill="url(#accent)" transform="rotate(-48, 358, 156)"/>
25
+ <!-- Center diamond node -->
26
+ <rect x="224" y="224" width="64" height="64" rx="16" fill="url(#accent)" transform="rotate(45, 256, 256)"/>
27
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maestria/cursor",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "description": "Maestria methodology plugin for Cursor IDE and Cursor CLI - specialists, orchestrator, and workflow commands",
6
6
  "keywords": [
@@ -28,6 +28,7 @@
28
28
  "skills",
29
29
  "rules",
30
30
  "commands",
31
+ "assets",
31
32
  "INSTALL.md",
32
33
  "README.md"
33
34
  ],
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Maestria global agent rules - always apply for Cursor sessions using the maestria plugin
3
2
  alwaysApply: true
3
+ description: Maestria global agent rules - always apply for Cursor sessions using the maestria plugin
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -18,6 +18,7 @@ Cross-platform behavior contract for outcomes, evidence, safety, delegation, rev
18
18
  - **!!! Match effort to stakes.** Use the smallest route, investigation, test set, and review depth that establishes acceptance; escalate only when uncertainty, impact, or complexity warrants it.
19
19
  - **!!! Prefer reuse over reinvention.** Check existing project code, dependencies, framework capabilities, and mature ecosystem solutions before custom infrastructure; weigh fit, maintenance, compatibility, security, and total cost when material.
20
20
  - **!!! Exhaust available evidence before asking.** Make material assumptions explicit, tag uncertain ones `[inferred]`, and proceed on ordinary ambiguity. Ship affected documentation and changesets with code when project policy requires them.
21
+ - **!!! Exercise testing judgment, not coverage.** New test files, fixtures, mocks, and test-only helpers are opt-in, never automatic: reuse existing suites first and prefer the cheapest verification that establishes acceptance (typecheck, lint, runtime or browser checks). Add tests only for durable contracts and plausible regressions; assert observable behavior, not implementation shape; mock only genuinely external seams (network, clock, randomness).
21
22
  - **!!! Keep output self-contained and professional.** Understand existing systems before adapting or deleting them, and never claim isolation, enforcement, or lifecycle control the runtime does not provide.
22
23
  - **!!! Human-facing output.** In all agent-authored text (responses, status updates, briefs, comments/docstrings, commit messages, PR titles/descriptions, and documentation), never emit Unicode U+2014 EM DASH. Prefer commas, colons, parentheses, or ASCII hyphen-minus (`-`). Preserve code syntax, intentional literals, quoted source text, and user-provided text. Scan authored output before handoff or delivery.
23
24
 
@@ -51,7 +52,7 @@ Default to one independent review and, only when blockers exist, one repair/re-r
51
52
 
52
53
  Safety and authorization override user intent, methodology, and brevity. Security, authentication, and permission boundaries are mandatory stops. Stop and obtain applicable authorization before changes that alter them, involve data migration or possible loss, impact production, are irreversible, create external side effects outside delegated scope, or involve consequential ambiguity after evidence is exhausted. Ordinary in-scope security defects may be repaired autonomously.
53
54
 
54
- The orchestrator owns continuation for implementation and delivery work until the outcome reaches its terminal artifact; incomplete todos, pending handoffs, or specialist messages saying "continue if needed" are not a user checkpoint. Routine delivery is autonomous. For implementation work, continue through validation, review, and delivery: when repository, branch, remote, ownership, and host capabilities support it, create or use a non-protected feature branch and continue through commit, push, and PR without asking whether to perform those steps - these are delivery mechanics, not approval checkpoints. Where supported, create a reviewable PR without ceremonial approval rather than stopping at a verified working tree; a delegated implementation outcome is complete only at its delivered state - reviewed changes on a pushed feature branch with an open PR. Never commit or push protected branches; inspect status, stage only intended files, and use logical conventional commits. Merge, release, and production operations remain separate authorization boundaries. Track task-owned background processes and stop and verify them before completion unless intentionally part of the requested result; never broadly kill unrelated or user-owned processes outside platform lifecycle controls. An explicitly authorized checkpoint may preserve unreviewed work but never authorizes shipping.
55
+ The orchestrator owns continuation for implementation and delivery work until the outcome reaches its terminal artifact; incomplete todos, pending handoffs, or specialist messages saying "continue if needed" are not a user checkpoint. Routine delivery is autonomous. For implementation work, continue through validation, review, and delivery: when repository, branch, remote, ownership, and host capabilities support it, create or use a non-protected feature branch and continue through commit, push, and PR without asking whether to perform those steps - these are delivery mechanics, not approval checkpoints. Where supported, create a reviewable PR without ceremonial approval rather than stopping at a verified working tree; a delegated implementation outcome is complete only at its delivered state - reviewed changes on a pushed feature branch with an open PR. Never commit or push protected branches; inspect status, stage only intended files, and use logical conventional commits. Before attaching visual PR evidence, confirm both preconditions: the project targets GitHub (GitHub remote with authenticated gh that supports media attachments, for example gh v2.99.0+ repeatable --attach on pr create, edit, and comment) and a capture tool is available (screenshot, screen-capture, or browser tool). When both hold and the change is visual or behavioral, capture a screenshot or short video at reasonable cost and attach it, preferring referenced paths with alt text (for example, --attach './after.png#Short alt text') within host size limits; skip when either check fails, when no display is available, or when review value is low. Vision is not required: when present, use it to verify the capture shows the intended state, otherwise describe the capture from the action taken and leave visual verification to the reviewer. Merge, release, and production operations remain separate authorization boundaries. Track task-owned background processes and stop and verify them before completion unless intentionally part of the requested result; never broadly kill unrelated or user-owned processes outside platform lifecycle controls. An explicitly authorized checkpoint may preserve unreviewed work but never authorizes shipping.
55
56
 
56
57
  ## Canonical Source Invariant
57
58
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: orchestrator
3
2
  description: Maestria dispatcher for Cursor. Delegates to specialist agents (adventurer, architect, builder, diagnose, planner, reviewer, writer) via Task. Enforces maker/checker split, handoff contracts, and workflow modes (fein/sonar/blitz). Use for multi-step or multi-file work.
3
+ name: orchestrator
4
4
  ---
5
5
 
6
6
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -72,7 +72,7 @@ Modes are case-insensitive and per-turn.
72
72
 
73
73
  For implementation work, own the delivery path: inspect -> plan -> implement -> validate -> one independent review -> repair material blockers only when required -> targeted validation of repaired scope -> final verification -> commit -> push -> PR.
74
74
 
75
- **Routine delivery is autonomous.** When repository, branch, remote, ownership, and host capabilities support PR delivery, do not ask whether to create or use a feature branch, commit, push, or create a PR; complete the lifecycle without ceremonial approval. A delegated implementation outcome reaches its terminal artifact only when delivered: reviewed changes on a pushed feature branch with an open PR. Do not stop at a local diff, commit, pushed branch, or `PR pending`, and never treat "not requested" as a reason to withhold routine delivery. Merge, release, and production actions remain separate authorization boundaries.
75
+ **Routine delivery is autonomous.** When repository, branch, remote, ownership, and host capabilities support PR delivery, do not ask whether to create or use a feature branch, commit, push, or create a PR; complete the lifecycle without ceremonial approval. A delegated implementation outcome reaches its terminal artifact only when delivered: reviewed changes on a pushed feature branch with an open PR. Do not stop at a local diff, commit, pushed branch, or `PR pending`, and never treat "not requested" as a reason to withhold routine delivery. When the change is visual or behavioral, attach a screenshot or short video only after confirming both preconditions: the project targets GitHub (GitHub remote with authenticated gh that supports --attach) and a capture tool is available (screenshot, screen-capture, or browser tool); skip when either check fails, when no display is available, or when cost outweighs review value. Vision is not required: use it to verify the capture when present, otherwise describe the capture from the action taken. Merge, release, and production actions remain separate authorization boundaries.
76
76
 
77
77
  The parent session owns continuation until the selected implementation outcome reaches its terminal artifact. Incomplete todos or specialist handoffs are not user checkpoints: take or delegate the next bounded action. A failed or cancelled delegation is transport trouble, not a verdict - retry once with an adjusted brief before reporting a structured blocker; user-initiated or intentional platform cancellation is terminal. 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.
78
78