@every-env/compound-plugin 0.3.0 → 0.5.1
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/{plugins/compound-engineering → .claude}/commands/release-docs.md +0 -1
- package/.claude-plugin/marketplace.json +2 -2
- package/.github/workflows/ci.yml +1 -1
- package/.github/workflows/deploy-docs.yml +3 -3
- package/.github/workflows/publish.yml +37 -0
- package/README.md +12 -3
- package/docs/index.html +13 -13
- package/docs/pages/changelog.html +39 -0
- package/docs/plans/2026-02-08-feat-convert-local-md-settings-for-opencode-codex-plan.md +143 -0
- package/docs/plans/2026-02-08-feat-simplify-plugin-settings-plan.md +195 -0
- package/docs/plans/2026-02-09-refactor-dspy-ruby-skill-update-plan.md +104 -0
- package/docs/plans/2026-02-12-feat-add-cursor-cli-target-provider-plan.md +306 -0
- package/docs/specs/cursor.md +85 -0
- package/package.json +1 -1
- package/plugins/compound-engineering/.claude-plugin/plugin.json +2 -2
- package/plugins/compound-engineering/CHANGELOG.md +38 -0
- package/plugins/compound-engineering/README.md +5 -3
- package/plugins/compound-engineering/commands/workflows/brainstorm.md +6 -1
- package/plugins/compound-engineering/commands/workflows/compound.md +1 -0
- package/plugins/compound-engineering/commands/workflows/review.md +23 -21
- package/plugins/compound-engineering/commands/workflows/work.md +29 -15
- package/plugins/compound-engineering/skills/dspy-ruby/SKILL.md +539 -396
- package/plugins/compound-engineering/skills/dspy-ruby/assets/config-template.rb +159 -331
- package/plugins/compound-engineering/skills/dspy-ruby/assets/module-template.rb +210 -236
- package/plugins/compound-engineering/skills/dspy-ruby/assets/signature-template.rb +173 -95
- package/plugins/compound-engineering/skills/dspy-ruby/references/core-concepts.md +552 -143
- package/plugins/compound-engineering/skills/dspy-ruby/references/observability.md +366 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/optimization.md +440 -460
- package/plugins/compound-engineering/skills/dspy-ruby/references/providers.md +305 -225
- package/plugins/compound-engineering/skills/dspy-ruby/references/toolsets.md +502 -0
- package/plugins/compound-engineering/skills/setup/SKILL.md +168 -0
- package/src/commands/convert.ts +10 -5
- package/src/commands/install.ts +18 -10
- package/src/converters/claude-to-codex.ts +7 -2
- package/src/converters/claude-to-cursor.ts +166 -0
- package/src/converters/claude-to-droid.ts +174 -0
- package/src/converters/claude-to-opencode.ts +8 -2
- package/src/targets/cursor.ts +48 -0
- package/src/targets/droid.ts +50 -0
- package/src/targets/index.ts +18 -0
- package/src/types/cursor.ts +29 -0
- package/src/types/droid.ts +20 -0
- package/tests/cli.test.ts +62 -0
- package/tests/codex-converter.test.ts +62 -0
- package/tests/converter.test.ts +61 -0
- package/tests/cursor-converter.test.ts +347 -0
- package/tests/cursor-writer.test.ts +137 -0
- package/tests/droid-converter.test.ts +277 -0
- package/tests/droid-writer.test.ts +100 -0
- package/plugins/compound-engineering/commands/technical_review.md +0 -8
|
@@ -59,25 +59,25 @@ The following paths are compound-engineering pipeline artifacts and must never b
|
|
|
59
59
|
If a review agent flags any file in these directories for cleanup or removal, discard that finding during synthesis. Do not create a todo for it.
|
|
60
60
|
</protected_artifacts>
|
|
61
61
|
|
|
62
|
+
#### Load Review Agents
|
|
63
|
+
|
|
64
|
+
Read `compound-engineering.local.md` in the project root. If found, use `review_agents` from YAML frontmatter. If the markdown body contains review context, pass it to each agent as additional instructions.
|
|
65
|
+
|
|
66
|
+
If no settings file exists, invoke the `setup` skill to create one. Then read the newly created file and continue.
|
|
67
|
+
|
|
62
68
|
#### Parallel Agents to review the PR:
|
|
63
69
|
|
|
64
70
|
<parallel_tasks>
|
|
65
71
|
|
|
66
|
-
Run
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
8. Task code-philosopher(PR content)
|
|
76
|
-
9. Task security-sentinel(PR content)
|
|
77
|
-
10. Task performance-oracle(PR content)
|
|
78
|
-
11. Task devops-harmony-analyst(PR content)
|
|
79
|
-
12. Task data-integrity-guardian(PR content)
|
|
80
|
-
13. Task agent-native-reviewer(PR content) - Verify new features are agent-accessible
|
|
72
|
+
Run all configured review agents in parallel using Task tool. For each agent in the `review_agents` list:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
Task {agent-name}(PR content + review context from settings body)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Additionally, always run these regardless of settings:
|
|
79
|
+
- Task agent-native-reviewer(PR content) - Verify new features are agent-accessible
|
|
80
|
+
- Task learnings-researcher(PR content) - Search docs/solutions/ for past issues related to this PR's modules and patterns
|
|
81
81
|
|
|
82
82
|
</parallel_tasks>
|
|
83
83
|
|
|
@@ -87,19 +87,20 @@ Run ALL or most of these agents at the same time:
|
|
|
87
87
|
|
|
88
88
|
These agents are run ONLY when the PR matches specific criteria. Check the PR files list to determine if they apply:
|
|
89
89
|
|
|
90
|
-
**If PR contains database migrations
|
|
90
|
+
**MIGRATIONS: If PR contains database migrations, schema.rb, or data backfills:**
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
- Task schema-drift-detector(PR content) - Detects unrelated schema.rb changes by cross-referencing against included migrations (run FIRST)
|
|
93
|
+
- Task data-migration-expert(PR content) - Validates ID mappings match production, checks for swapped values, verifies rollback safety
|
|
94
|
+
- Task deployment-verification-agent(PR content) - Creates Go/No-Go deployment checklist with SQL verification queries
|
|
94
95
|
|
|
95
|
-
**When to run
|
|
96
|
-
- PR includes files matching `db/migrate/*.rb`
|
|
96
|
+
**When to run:**
|
|
97
|
+
- PR includes files matching `db/migrate/*.rb` or `db/schema.rb`
|
|
97
98
|
- PR modifies columns that store IDs, enums, or mappings
|
|
98
99
|
- PR includes data backfill scripts or rake tasks
|
|
99
|
-
- PR changes how data is read/written (e.g., changing from FK to string column)
|
|
100
100
|
- PR title/body mentions: migration, backfill, data transformation, ID mapping
|
|
101
101
|
|
|
102
102
|
**What these agents check:**
|
|
103
|
+
- `schema-drift-detector`: Cross-references schema.rb changes against PR migrations to catch unrelated columns/indexes from local database state
|
|
103
104
|
- `data-migration-expert`: Verifies hard-coded mappings match production reality (prevents swapped IDs), checks for orphaned associations, validates dual-write patterns
|
|
104
105
|
- `deployment-verification-agent`: Produces executable pre/post-deploy checklists with SQL queries, rollback procedures, and monitoring plans
|
|
105
106
|
|
|
@@ -218,6 +219,7 @@ Remove duplicates, prioritize by severity and impact.
|
|
|
218
219
|
<synthesis_tasks>
|
|
219
220
|
|
|
220
221
|
- [ ] Collect findings from all parallel agents
|
|
222
|
+
- [ ] Surface learnings-researcher results: if past solutions are relevant, flag them as "Known Pattern" with links to docs/solutions/ files
|
|
221
223
|
- [ ] Discard any findings that recommend deleting or gitignoring files in `docs/plans/` or `docs/solutions/` (see Protected Artifacts above)
|
|
222
224
|
- [ ] Categorize by type: security, performance, architecture, quality, etc.
|
|
223
225
|
- [ ] Assign severity levels: 🔴 CRITICAL (P1), 🟡 IMPORTANT (P2), 🔵 NICE-TO-HAVE (P3)
|
|
@@ -175,22 +175,9 @@ This command takes a work document (plan, specification, or todo file) and execu
|
|
|
175
175
|
|
|
176
176
|
2. **Consider Reviewer Agents** (Optional)
|
|
177
177
|
|
|
178
|
-
Use for complex, risky, or large changes
|
|
178
|
+
Use for complex, risky, or large changes. Read agents from `compound-engineering.local.md` frontmatter (`review_agents`). If no settings file, invoke the `setup` skill to create one.
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
- **kieran-rails-reviewer**: Verify Rails conventions (Rails projects)
|
|
182
|
-
- **performance-oracle**: Check for performance issues
|
|
183
|
-
- **security-sentinel**: Scan for security vulnerabilities
|
|
184
|
-
- **cora-test-reviewer**: Review test quality (Rails projects with comprehensive test coverage)
|
|
185
|
-
|
|
186
|
-
Run reviewers in parallel with Task tool:
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
Task(code-simplicity-reviewer): "Review changes for simplicity"
|
|
190
|
-
Task(kieran-rails-reviewer): "Check Rails conventions"
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
Present findings to user and address critical issues.
|
|
180
|
+
Run configured agents in parallel with Task tool. Present findings and address critical issues.
|
|
194
181
|
|
|
195
182
|
3. **Final Validation**
|
|
196
183
|
- All TodoWrite tasks marked completed
|
|
@@ -200,6 +187,16 @@ This command takes a work document (plan, specification, or todo file) and execu
|
|
|
200
187
|
- Figma designs match (if applicable)
|
|
201
188
|
- No console errors or warnings
|
|
202
189
|
|
|
190
|
+
4. **Prepare Operational Validation Plan** (REQUIRED)
|
|
191
|
+
- Add a `## Post-Deploy Monitoring & Validation` section to the PR description for every change.
|
|
192
|
+
- Include concrete:
|
|
193
|
+
- Log queries/search terms
|
|
194
|
+
- Metrics or dashboards to watch
|
|
195
|
+
- Expected healthy signals
|
|
196
|
+
- Failure signals and rollback/mitigation trigger
|
|
197
|
+
- Validation window and owner
|
|
198
|
+
- If there is truly no production/runtime impact, still include the section with: `No additional operational monitoring required` and a one-line reason.
|
|
199
|
+
|
|
203
200
|
### Phase 4: Ship It
|
|
204
201
|
|
|
205
202
|
1. **Create Commit**
|
|
@@ -269,6 +266,22 @@ This command takes a work document (plan, specification, or todo file) and execu
|
|
|
269
266
|
- Tests added/modified
|
|
270
267
|
- Manual testing performed
|
|
271
268
|
|
|
269
|
+
## Post-Deploy Monitoring & Validation
|
|
270
|
+
- **What to monitor/search**
|
|
271
|
+
- Logs:
|
|
272
|
+
- Metrics/Dashboards:
|
|
273
|
+
- **Validation checks (queries/commands)**
|
|
274
|
+
- `command or query here`
|
|
275
|
+
- **Expected healthy behavior**
|
|
276
|
+
- Expected signal(s)
|
|
277
|
+
- **Failure signal(s) / rollback trigger**
|
|
278
|
+
- Trigger + immediate action
|
|
279
|
+
- **Validation window & owner**
|
|
280
|
+
- Window:
|
|
281
|
+
- Owner:
|
|
282
|
+
- **If no operational impact**
|
|
283
|
+
- `No additional operational monitoring required: <reason>`
|
|
284
|
+
|
|
272
285
|
## Before / After Screenshots
|
|
273
286
|
| Before | After |
|
|
274
287
|
|--------|-------|
|
|
@@ -407,6 +420,7 @@ Before creating PR, verify:
|
|
|
407
420
|
- [ ] Figma designs match implementation (if applicable)
|
|
408
421
|
- [ ] Before/after screenshots captured and uploaded (for UI changes)
|
|
409
422
|
- [ ] Commit messages follow conventional format
|
|
423
|
+
- [ ] PR description includes Post-Deploy Monitoring & Validation section (or explicit no-impact rationale)
|
|
410
424
|
- [ ] PR description includes summary, testing notes, and screenshots
|
|
411
425
|
- [ ] PR description includes Compound Engineered badge
|
|
412
426
|
|