feat(wiki): 전 서브커맨드에 wiki-context-preflight 필수화#423
Closed
JeremyDev87 wants to merge 1 commit into
Closed
Conversation
ddalggak을 skill 그대로 두고 wiki 참조를 15개 서브커맨드 전부로 확대했다. plan/start/review에만 있던 wiki-context-preflight를 나머지 12개 command contract에 추가하고, SKILL.md hot-path에 "모든 서브커맨드는 작업 전 preflight 실행 + Wiki Context Manifest 출력; 관련 wiki 없으면 Wiki: none-found 기록 후 원래대로 진행" 전역 invariant를 넣었다. wiki-context-preflight.md 헤더도 전 서브커맨드로 갱신했다. 배선이 썩지 않도록 doctor에 wiki-wiring 체크(모든 command가 wiki-context-preflight를 required_references에 선언)를 추가하고, 테스트 fixture를 그에 맞게 보강했다. 토큰 예산 상향은 budget-isolation 게이트 정책상 별도 budget-only PR로 분리한다. 그 PR이 먼저 머지된 뒤 이 브랜치를 rebase하면 admission이 통과한다. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Ultraworked-With: claude-opus-4-8 User-Request: ddalggak의 모든 액션이 wiki 지식 기반으로 동작하게(skill 유지) Claude-Session: https://claude.ai/code/session_011j1yc5nD7ZzXDgY8kD2qi8
Owner
Author
|
현재 master 기준 대체 PR #425를 새로 열었습니다. 이 PR은 오래된 base 때문에 mergeStateStatus=DIRTY 상태라 닫습니다. 동일 의도는 #425에서 이어갑니다. |
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.
무엇을
ddalggak을 skill 그대로 두고, wiki 참조를 plan/start/review 3개 → 15개 서브커맨드 전부로 확대한다.
references/wiki-context-preflight.md를 나머지 12개 command contract에 추가하고, SKILL.md hot-path에 전역 wiki-preflight invariant를 넣고, doctor에 배선 검증(wiki-wiring)을 추가한다.왜
주인님 wiki에 코딩 지식이 있는데 실전에서 "거의 안 됨". 원인은 wiki preflight가 조건부 reference(pull)라 스킵되던 것. ddalggak은 skill로 유지해야 하므로(hook/plugin 불가), skill 안에서 최대 강제 = hot-path 전역 invariant 승격 + 출력 Manifest 필수 + doctor 배선 검증.
어떻게
core/commands/*.yaml12개(check/clean/forge/getwiki/issue/prompt/retro/ship/spark/setwiki/status/tune)에wiki-context-preflight.md추가 → SKILL 테이블 재생성(두 루트).SKILL.mdhot-path(두 루트): "모든 서브커맨드는 작업 전 preflight 실행 + Wiki Context Manifest 출력; 관련 wiki 없으면Wiki: none-found기록 후 원래대로 진행" 전역 invariant.references/wiki-context-preflight.md(두 루트, must-match): 헤더·Manifest 요구를 전 서브커맨드로 갱신.bin/lib/doctor/wiki-wiring.mjs+doctor.mjs: 모든 command가 wiki-context-preflight를 required_references에 선언했는지 검증. 테스트 fixture 보강.검증
ddalggak doctor→ wiki-wiring 포함 전 체크 통과npm testsmoke 64/64npm run verify→ 토큰 admission 제외 전부 통과(admission은 budget PR chore(budget): wiki preflight 확대 대비 5개 서브커맨드 예산 상향 #422 머지 후 rebase 시 통과 — 설계된 상태)verify:projections,verify:codex-skill통과제외 범위
병합 순서 / 관련