Commit 2ef9b55
feat(plugin): improve worktree reliability with hybrid hook + skill approach (#74)
* feat: add ktlint linting with Gradle integration, .editorconfig, and CI enforcement
Add ktlint (v12.1.2, engine v1.5.0) via jlleitschuh/ktlint-gradle plugin for
automated Kotlin code style enforcement. Includes .editorconfig with wildcard
import allowlist, disabled trailing comma rules, and 140-char line limit.
CI workflow gets a ktlintCheck step before tests. Applied ktlint formatting
across ~108 source files (mechanical whitespace/blank line changes only).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: use HEX() for short UUID prefix lookup in SQLite
CAST(blob AS VARCHAR) produces raw bytes in SQLite, not a formatted UUID
string, causing prefix lookups to always return empty results. Switch to
LOWER(HEX(id)) for SQLite and LOWER(RAWTOHEX(id)) for H2, which both
produce dashless lowercase hex strings suitable for LIKE prefix matching.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: ktlint formatting for multiline expression in findByIdPrefix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(plugin): improve worktree reliability with hybrid hook + skill approach
Enhance SubagentStart hook with "Subagent Discipline" section — universal
rules for commit-before-return, stay-in-scope, and prefer-absolute-paths
that fire for every subagent automatically.
Add "Worktree Dispatch" section to output styles with pre-dispatch and
post-return checklists, review agent worktree template, and squash-merge
ordering guidance.
Tighten implement skill: replace prose scoping rules with hook reference,
add review-in-worktree copy-paste template, add test baseline management
section for parallel dispatch contamination prevention.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent dacc6e2 commit 2ef9b55
File tree
3 files changed
+68
-7
lines changed- .claude/skills/implement
- claude-plugins/task-orchestrator
- hooks
- output-styles
3 files changed
+68
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
190 | 202 | | |
191 | 203 | | |
192 | 204 | | |
| |||
370 | 382 | | |
371 | 383 | | |
372 | 384 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
379 | 395 | | |
380 | 396 | | |
381 | 397 | | |
| |||
417 | 433 | | |
418 | 434 | | |
419 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
420 | 450 | | |
421 | 451 | | |
422 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
74 | 99 | | |
75 | 100 | | |
76 | 101 | | |
| |||
0 commit comments