Repository navigation
Commit e2f1263
authored
chore: add write-time quality enforcement rules (t1368) (#2659)
Add prompt-level write-time quality enforcement inspired by Plankton
(github.com/alexfazio/plankton). Since OpenCode lacks PreToolUse/
PostToolUse hooks (tracked: anomalyco/opencode#12472, PR #11525),
enforce via prompt discipline:
- Soft linter config protection: fix code not rules, but allow
documented config changes for legitimate project patterns
- Per-edit linting: run relevant linter after each file edit rather
than batching violations to commit time
- Reference write-time enforcement in AGENTS.md quality pipeline1 parent 8c6f2f3 commit e2f1263
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
207 | 223 | | |
208 | 224 | | |
209 | 225 | | |
| |||
0 commit comments