@every-env/compound-plugin 2.34.4 → 2.34.6
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/CHANGELOG.md +14 -0
- package/PRIVACY.md +38 -0
- package/SECURITY.md +29 -0
- package/package.json +1 -1
- package/plugins/compound-engineering/.mcp.json +4 -1
- package/plugins/compound-engineering/README.md +8 -4
- package/plugins/compound-engineering/commands/ce/compound.md +77 -1
- package/plugins/compound-engineering/commands/lfg.md +16 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Release numbering now follows the repository `v*` tag line. Starting at `v2.34.0`, the root CLI package and this changelog stay on that shared version stream. Older entries below retain the previous `0.x` CLI numbering.
|
|
9
9
|
|
|
10
|
+
## [2.34.6](https://github.com/EveryInc/compound-engineering-plugin/compare/v2.34.5...v2.34.6) (2026-03-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **mcp:** add API key auth support for Context7 server ([c649cfc](https://github.com/EveryInc/compound-engineering-plugin/commit/c649cfc17f895b58babf737dfdec2f6cc391e40a)), closes [#153](https://github.com/EveryInc/compound-engineering-plugin/issues/153)
|
|
16
|
+
|
|
17
|
+
## [2.34.5](https://github.com/EveryInc/compound-engineering-plugin/compare/v2.34.4...v2.34.5) (2026-03-10)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **lfg:** enforce plan phase with explicit step gating ([b07f43d](https://github.com/EveryInc/compound-engineering-plugin/commit/b07f43ddf59cd7f2fe54b2e0a00d2b5b508b7f11)), closes [#227](https://github.com/EveryInc/compound-engineering-plugin/issues/227)
|
|
23
|
+
|
|
10
24
|
## [2.34.4](https://github.com/EveryInc/compound-engineering-plugin/compare/v2.34.3...v2.34.4) (2026-03-04)
|
|
11
25
|
|
|
12
26
|
|
package/PRIVACY.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Privacy & Data Handling
|
|
2
|
+
|
|
3
|
+
This repository contains:
|
|
4
|
+
- a plugin package (`plugins/compound-engineering`) made of markdown/config content
|
|
5
|
+
- a CLI (`@every-env/compound-plugin`) that converts and installs plugin content for different AI coding tools
|
|
6
|
+
|
|
7
|
+
## Summary
|
|
8
|
+
|
|
9
|
+
- The plugin package does not include telemetry or analytics code.
|
|
10
|
+
- The plugin package does not run a background service that uploads repository/workspace contents automatically.
|
|
11
|
+
- Data leaves your machine only when your host/tooling or an explicitly invoked integration performs a network request.
|
|
12
|
+
|
|
13
|
+
## What May Send Data
|
|
14
|
+
|
|
15
|
+
1. AI host/model providers
|
|
16
|
+
|
|
17
|
+
If you run the plugin in tools like Claude Code, Cursor, Gemini CLI, Copilot, Kiro, Windsurf, etc., those tools may send prompts/context/code to their configured model providers. This behavior is controlled by those tools and providers, not by this plugin repository.
|
|
18
|
+
|
|
19
|
+
2. Optional integrations and tools
|
|
20
|
+
|
|
21
|
+
The plugin includes optional capabilities that can call external services when explicitly used, for example:
|
|
22
|
+
- Context7 MCP (`https://mcp.context7.com/mcp`) for documentation lookup
|
|
23
|
+
- Proof (`https://www.proofeditor.ai`) when using share/edit flows
|
|
24
|
+
- Other opt-in skills (for example image generation or cloud upload workflows) that call their own external APIs/services
|
|
25
|
+
|
|
26
|
+
If you do not invoke these integrations, they do not transmit your project data.
|
|
27
|
+
|
|
28
|
+
3. Package/installer infrastructure
|
|
29
|
+
|
|
30
|
+
Installing dependencies or packages (for example `npm`, `bunx`) communicates with package registries/CDNs according to your package manager configuration.
|
|
31
|
+
|
|
32
|
+
## Data Ownership and Retention
|
|
33
|
+
|
|
34
|
+
This repository does not operate a backend service for collecting or storing your project/workspace data. Data retention and processing for model prompts or optional integrations are governed by the external services you use.
|
|
35
|
+
|
|
36
|
+
## Security Reporting
|
|
37
|
+
|
|
38
|
+
If you identify a security issue in this repository, follow the disclosure process in [SECURITY.md](SECURITY.md).
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
Security fixes are applied to the latest version on `main`.
|
|
6
|
+
|
|
7
|
+
## Reporting a Vulnerability
|
|
8
|
+
|
|
9
|
+
Please do not open a public issue for undisclosed vulnerabilities.
|
|
10
|
+
|
|
11
|
+
Instead, report privately by emailing:
|
|
12
|
+
- `kieran@every.to`
|
|
13
|
+
|
|
14
|
+
Include:
|
|
15
|
+
- A clear description of the issue
|
|
16
|
+
- Reproduction steps or proof of concept
|
|
17
|
+
- Impact assessment (what an attacker can do)
|
|
18
|
+
- Any suggested mitigation
|
|
19
|
+
|
|
20
|
+
We will acknowledge receipt as soon as possible and work with you on validation, remediation, and coordinated disclosure timing.
|
|
21
|
+
|
|
22
|
+
## Scope Notes
|
|
23
|
+
|
|
24
|
+
This repository primarily contains plugin instructions/configuration plus a conversion/install CLI.
|
|
25
|
+
|
|
26
|
+
- Plugin instruction content itself does not run as a server process.
|
|
27
|
+
- Security/privacy behavior also depends on the host AI tool and any external integrations you explicitly invoke.
|
|
28
|
+
|
|
29
|
+
For data-handling details, see [PRIVACY.md](PRIVACY.md).
|
package/package.json
CHANGED
|
@@ -53,12 +53,11 @@ Agents are organized into categories for easier discovery.
|
|
|
53
53
|
| `design-iterator` | Iteratively refine UI through systematic design iterations |
|
|
54
54
|
| `figma-design-sync` | Synchronize web implementations with Figma designs |
|
|
55
55
|
|
|
56
|
-
### Workflow (
|
|
56
|
+
### Workflow (4)
|
|
57
57
|
|
|
58
58
|
| Agent | Description |
|
|
59
59
|
|-------|-------------|
|
|
60
60
|
| `bug-reproduction-validator` | Systematically reproduce and validate bug reports |
|
|
61
|
-
| `every-style-editor` | Edit content to conform to Every's style guide |
|
|
62
61
|
| `lint` | Run linting and code quality checks on Ruby and ERB files |
|
|
63
62
|
| `pr-comment-resolver` | Address PR comments and implement fixes |
|
|
64
63
|
| `spec-flow-analyzer` | Analyze user flows and identify gaps in specifications |
|
|
@@ -190,6 +189,8 @@ Supports 100+ frameworks including Rails, React, Next.js, Vue, Django, Laravel,
|
|
|
190
189
|
|
|
191
190
|
MCP servers start automatically when the plugin is enabled.
|
|
192
191
|
|
|
192
|
+
**Authentication:** To avoid anonymous rate limits, set the `CONTEXT7_API_KEY` environment variable with your Context7 API key. The plugin passes this automatically via the `x-api-key` header. Without it, requests go unauthenticated and will quickly hit the anonymous quota limit.
|
|
193
|
+
|
|
193
194
|
## Browser Automation
|
|
194
195
|
|
|
195
196
|
This plugin uses **agent-browser CLI** for browser automation tasks. Install it globally:
|
|
@@ -220,13 +221,16 @@ claude /plugin install compound-engineering
|
|
|
220
221
|
"mcpServers": {
|
|
221
222
|
"context7": {
|
|
222
223
|
"type": "http",
|
|
223
|
-
"url": "https://mcp.context7.com/mcp"
|
|
224
|
+
"url": "https://mcp.context7.com/mcp",
|
|
225
|
+
"headers": {
|
|
226
|
+
"x-api-key": "${CONTEXT7_API_KEY:-}"
|
|
227
|
+
}
|
|
224
228
|
}
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
231
|
```
|
|
228
232
|
|
|
229
|
-
Or add it globally in `~/.claude/settings.json` for all projects.
|
|
233
|
+
Set `CONTEXT7_API_KEY` in your environment to authenticate. Or add it globally in `~/.claude/settings.json` for all projects.
|
|
230
234
|
|
|
231
235
|
## Version History
|
|
232
236
|
|
|
@@ -21,7 +21,45 @@ Captures problem solutions while context is fresh, creating structured documenta
|
|
|
21
21
|
/ce:compound [brief context] # Provide additional context hint
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
## Execution Strategy:
|
|
24
|
+
## Execution Strategy: Context-Aware Orchestration
|
|
25
|
+
|
|
26
|
+
### Phase 0: Context Budget Check
|
|
27
|
+
|
|
28
|
+
<critical_requirement>
|
|
29
|
+
**Run this check BEFORE launching any subagents.**
|
|
30
|
+
|
|
31
|
+
The /compound command is token-heavy - it launches 5 parallel subagents that collectively consume ~10k tokens of context. Running near context limits risks compaction mid-compound, which degrades output quality significantly.
|
|
32
|
+
</critical_requirement>
|
|
33
|
+
|
|
34
|
+
Before proceeding, the orchestrator MUST:
|
|
35
|
+
|
|
36
|
+
1. **Assess context usage**: Check how long the current conversation has been running. If there has been significant back-and-forth (many tool calls, large file reads, extensive debugging), context is likely constrained.
|
|
37
|
+
|
|
38
|
+
2. **Warn the user**:
|
|
39
|
+
```
|
|
40
|
+
⚠️ Context Budget Check
|
|
41
|
+
|
|
42
|
+
/compound launches 5 parallel subagents (~10k tokens). Long conversations
|
|
43
|
+
risk compaction mid-compound, which degrades documentation quality.
|
|
44
|
+
|
|
45
|
+
Tip: For best results, run /compound early in a session - right after
|
|
46
|
+
verifying a fix, before continuing other work.
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
3. **Offer the user a choice**:
|
|
50
|
+
```
|
|
51
|
+
How would you like to proceed?
|
|
52
|
+
|
|
53
|
+
1. Full compound (5 parallel subagents, ~10k tokens) - best quality
|
|
54
|
+
2. Compact-safe mode (single pass, ~2k tokens) - safe near context limits
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
4. **If the user picks option 1** (or confirms full mode): proceed to Phase 1 below.
|
|
58
|
+
5. **If the user picks option 2** (or requests compact-safe): skip to the **Compact-Safe Mode** section below.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### Full Mode
|
|
25
63
|
|
|
26
64
|
<critical_requirement>
|
|
27
65
|
**Only ONE file gets written - the final documentation.**
|
|
@@ -99,6 +137,44 @@ Based on problem type, optionally invoke specialized agents to review the docume
|
|
|
99
137
|
|
|
100
138
|
</parallel_tasks>
|
|
101
139
|
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
### Compact-Safe Mode
|
|
143
|
+
|
|
144
|
+
<critical_requirement>
|
|
145
|
+
**Single-pass alternative for context-constrained sessions.**
|
|
146
|
+
|
|
147
|
+
When context budget is tight, this mode skips parallel subagents entirely. The orchestrator performs all work in a single pass, producing a minimal but complete solution document.
|
|
148
|
+
</critical_requirement>
|
|
149
|
+
|
|
150
|
+
The orchestrator (main conversation) performs ALL of the following in one sequential pass:
|
|
151
|
+
|
|
152
|
+
1. **Extract from conversation**: Identify the problem, root cause, and solution from conversation history
|
|
153
|
+
2. **Classify**: Determine category and filename (same categories as full mode)
|
|
154
|
+
3. **Write minimal doc**: Create `docs/solutions/[category]/[filename].md` with:
|
|
155
|
+
- YAML frontmatter (title, category, date, tags)
|
|
156
|
+
- Problem description (1-2 sentences)
|
|
157
|
+
- Root cause (1-2 sentences)
|
|
158
|
+
- Solution with key code snippets
|
|
159
|
+
- One prevention tip
|
|
160
|
+
4. **Skip specialized agent reviews** (Phase 3) to conserve context
|
|
161
|
+
|
|
162
|
+
**Compact-safe output:**
|
|
163
|
+
```
|
|
164
|
+
✓ Documentation complete (compact-safe mode)
|
|
165
|
+
|
|
166
|
+
File created:
|
|
167
|
+
- docs/solutions/[category]/[filename].md
|
|
168
|
+
|
|
169
|
+
Note: This was created in compact-safe mode. For richer documentation
|
|
170
|
+
(cross-references, detailed prevention strategies, specialized reviews),
|
|
171
|
+
re-run /compound in a fresh session.
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
**No subagents are launched. No parallel tasks. One file written.**
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
102
178
|
## What It Captures
|
|
103
179
|
|
|
104
180
|
- **Problem symptom**: Exact error messages, observable behavior
|
|
@@ -5,16 +5,30 @@ argument-hint: "[feature description]"
|
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
CRITICAL: You MUST execute every step below IN ORDER. Do NOT skip any step. Do NOT jump ahead to coding or implementation. The plan phase (steps 2-3) MUST be completed and verified BEFORE any work begins. Violating this order produces bad output.
|
|
9
9
|
|
|
10
10
|
1. **Optional:** If the `ralph-wiggum` skill is available, run `/ralph-wiggum:ralph-loop "finish all slash commands" --completion-promise "DONE"`. If not available or it fails, skip and continue to step 2 immediately.
|
|
11
|
+
|
|
11
12
|
2. `/ce:plan $ARGUMENTS`
|
|
13
|
+
|
|
14
|
+
GATE: STOP. Verify that `/ce:plan` produced a plan file in `docs/plans/`. If no plan file was created, run `/ce:plan $ARGUMENTS` again. Do NOT proceed to step 3 until a written plan exists.
|
|
15
|
+
|
|
12
16
|
3. `/compound-engineering:deepen-plan`
|
|
17
|
+
|
|
18
|
+
GATE: STOP. Confirm the plan has been deepened and updated. The plan file in `docs/plans/` should now contain additional detail. Do NOT proceed to step 4 without a deepened plan.
|
|
19
|
+
|
|
13
20
|
4. `/ce:work`
|
|
21
|
+
|
|
22
|
+
GATE: STOP. Verify that implementation work was performed - files were created or modified beyond the plan. Do NOT proceed to step 5 if no code changes were made.
|
|
23
|
+
|
|
14
24
|
5. `/ce:review`
|
|
25
|
+
|
|
15
26
|
6. `/compound-engineering:resolve_todo_parallel`
|
|
27
|
+
|
|
16
28
|
7. `/compound-engineering:test-browser`
|
|
29
|
+
|
|
17
30
|
8. `/compound-engineering:feature-video`
|
|
31
|
+
|
|
18
32
|
9. Output `<promise>DONE</promise>` when video is in PR
|
|
19
33
|
|
|
20
|
-
Start with step 2 now (or step 1 if ralph-wiggum is available).
|
|
34
|
+
Start with step 2 now (or step 1 if ralph-wiggum is available). Remember: plan FIRST, then work. Never skip the plan.
|