refactor(plugin): slim prompt surface -1.7k + hard-gate commit hook (v0.1.11) - #29
Merged
Merged
Conversation
…hook (v0.1.11) Prune (net -1763 lines, ~-19% attention surface across agents + command bodies): - remove base-competence re-teaching, Auto-Discovery boilerplate (x4 near-dup), UX mockups, generic tech-stack enumerations across 13 agents + 4 commands - logic, gates, thresholds, and the adversarial-verify mechanism unchanged - verified by 4 fresh-context adversarial verifiers: 18/18 SAFE Hard-gate hook (harness-enforced quality gate): - hooks.json PreToolUse blocks a pipeline `git commit` when the message carries the score signal but no fresh .wigtn/gate-pass PASS artifact (30-min freshness) - auto-commit Step 3.5 writes the artifact on rollup PASS; Rule 13; --no-review omits the signal to preserve the emergency hotfix path - manual commits are unaffected (no signal); safe-fail (closed, not open) Version 0.1.10 -> 0.1.11 (plugin.json x2, marketplace.json, READMEs, CLAUDE.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Opus 4.8(1M 컨텍스트)에 맞춰 플러그인을 더하기 아닌 덜기로 정렬. 소프트 게이트를 하네스로 하드화하고, base 모델이 이미 하는 재교육 산문을 걷어 주의 표면을 줄였다. 새 에이전트/커맨드/스킬 0개.
Changes
1. 하드 게이트 hook (
hooks/hooks.json,commands/auto-commit.md)git commit을 가로채: 메시지에 점수 신호가 있는데 30분 내.wigtn/gate-passPASS 아티팩트가 없으면exit 2차단auto-commitStep 3.5가 아티팩트 기록 (mtime=PASS 시각)--no-review(신호 제거)는 무마찰. safe-fail(닫힘)2. 프롬프트 프루닝 (13 agents + 4 commands, net −1,763줄)
3. 버전 0.1.10 → 0.1.11
Verification
Linear
PROD-454 (Epic) / PROD-455·456·457
Test Plan
/auto-commit파이프라인에서 게이트 PASS→커밋, 게이트 스킵→차단 확인--no-review긴급 경로가 hook 우회하는지 확인git commit이 영향 없는지 확인🤖 Generated with Claude Code