fix(document-review): widen autofix classification beyond trivial fixes (#524)

This commit is contained in:
Trevin Chow
2026-04-06 22:05:27 -07:00
committed by GitHub
parent a6183ed000
commit 9a82222aba
3 changed files with 36 additions and 16 deletions

View File

@@ -317,18 +317,25 @@ Append a badge footer to the PR description, separated by a `---` rule. Do not a
---
[![Compound Engineering](https://img.shields.io/badge/Built_with-Compound_Engineering-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
![HARNESS](https://img.shields.io/badge/HARNESS_SLUG-MODEL_SLUG-COLOR?logo=LOGO&logoColor=white)
```
Fill in at PR creation time:
Fill in at PR creation time using the harness and model lookup tables below.
| 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` |
**Harness lookup:**
| Harness | `HARNESS_SLUG` | `LOGO` | `COLOR` |
|---------|---------------|--------|---------|
| Claude Code | `Claude_Code` | `claude` | `D97757` |
| Codex | `Codex` | (omit logo param) | `000000` |
| Gemini CLI | `Gemini_CLI` | `googlegemini` | `4285F4` |
**Model slug:** Replace spaces with underscores in the model name. Append context window and thinking level in parentheses if known, separated by commas. Examples:
- `Opus_4.6_(1M,_Extended_Thinking)`
- `GPT_5.4_(High)`
- `Sonnet_4.6_(200K)`
- `Opus_4.6` (if context and thinking level are unknown)
### Step 7: Create or update the PR
@@ -340,13 +347,13 @@ PR description here
---
[BADGE LINE FROM BADGE SECTION ABOVE]
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
[![Compound Engineering](https://img.shields.io/badge/Built_with-Compound_Engineering-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
![Claude Code](https://img.shields.io/badge/Claude_Code-Opus_4.6_(1M,_Extended_Thinking)-D97757?logo=claude&logoColor=white)
EOF
)"
```
Use the badge from the Compound Engineering badge section above.
Use the badge from the Compound Engineering badge section above. Replace the harness and model badge with values from the lookup tables.
Keep the PR title under 72 characters. The title follows the same convention as commit messages (Step 2).