feat: specific model/harness/version in PR attribution (#283)
* feat: make PR/commit attribution specific to model, harness, and plugin version Replace generic "Generated with Claude Code" footer with dynamic attribution that includes the actual model name, harness tool, and plugin version. LLMs fill in their own values at commit/PR time. Subagents are explicitly instructed to do the same. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: format attribution substitution guide as table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: rename badge to "Compound Engineering v[VERSION]" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add context window and thinking level to attribution Separate MODEL into MODEL, CONTEXT, and THINKING placeholders so each detail is its own table row and easier to read. Co-Authored-By: Claude Opus 4.6 (1M context, extended thinking) <noreply@anthropic.com> * style: badge on its own line, model details on next line in PR template Co-Authored-By: Claude Opus 4.6 (1M context, extended thinking) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -228,13 +228,28 @@ This command takes a work document (plan, specification, or todo file) and execu
|
||||
|
||||
Brief explanation if needed.
|
||||
|
||||
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
||||
🤖 Generated with [MODEL] via [HARNESS](HARNESS_URL) + Compound Engineering v[VERSION]
|
||||
|
||||
Co-Authored-By: Claude <noreply@anthropic.com>
|
||||
Co-Authored-By: [MODEL] ([CONTEXT] context, [THINKING]) <noreply@anthropic.com>
|
||||
EOF
|
||||
)"
|
||||
```
|
||||
|
||||
**Fill in at commit/PR time:**
|
||||
|
||||
| Placeholder | Value | Example |
|
||||
|-------------|-------|---------|
|
||||
| Placeholder | Value | Example |
|
||||
|-------------|-------|---------|
|
||||
| `[MODEL]` | Model name | Claude Opus 4.6, GPT-5.4 |
|
||||
| `[CONTEXT]` | Context window (if known) | 200K, 1M |
|
||||
| `[THINKING]` | Thinking level (if known) | extended thinking |
|
||||
| `[HARNESS]` | Tool running you | Claude Code, Codex, Gemini CLI |
|
||||
| `[HARNESS_URL]` | Link to that tool | `https://claude.com/claude-code` |
|
||||
| `[VERSION]` | `plugin.json` → `version` | 2.40.0 |
|
||||
|
||||
Subagents creating commits/PRs are equally responsible for accurate attribution.
|
||||
|
||||
2. **Capture and Upload Screenshots for UI Changes** (REQUIRED for any UI work)
|
||||
|
||||
For **any** design changes, new views, or UI modifications, you MUST capture and upload screenshots:
|
||||
@@ -308,7 +323,8 @@ This command takes a work document (plan, specification, or todo file) and execu
|
||||
|
||||
---
|
||||
|
||||
[](https://github.com/EveryInc/compound-engineering-plugin) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
||||
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
|
||||
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
|
||||
EOF
|
||||
)"
|
||||
```
|
||||
@@ -445,7 +461,7 @@ Before creating PR, verify:
|
||||
- [ ] Commit messages follow conventional format
|
||||
- [ ] PR description includes Post-Deploy Monitoring & Validation section (or explicit no-impact rationale)
|
||||
- [ ] PR description includes summary, testing notes, and screenshots
|
||||
- [ ] PR description includes Compound Engineered badge
|
||||
- [ ] PR description includes Compound Engineered badge with accurate model, harness, and version
|
||||
|
||||
## When to Use Reviewer Agents
|
||||
|
||||
|
||||
Reference in New Issue
Block a user