P9-1~P9-4 머지 후 사용자가 직접 도그푸딩 하며 수집한 16 항목 UX 피드백을 20 개 single-PR 사이즈 task spec 으로 분해. 각 spec 은 frontmatter (depends_on / unblocks / source_feedback), Goal, Allowed deps, Public surface, Behavior contract, Test plan, DoD, Out of scope 절 포함. 추가: - p9-fb-01 ~ 20-*.md: 분해된 task spec 20 개 - p9-dogfooding-feedback.md: master index + 우선순위 + 권장 실행 순서 + spec PR vs impl PR 절 - INDEX.md: p9-fb-01 ~ 20 link 추가 - docs/superpowers/plans/2026-05-02-p9-fb-06-reset-command.md: 첫 후속 작업 (kebab reset 명령) 의 6-task 구현 plan - .gitignore: .worktrees/ 추가 (superpowers worktree skill 용) 피드백 항목 → task spec 매핑은 p9-dogfooding-feedback.md 의 표 참조. 실행 시작 task: p9-fb-06 (reset 명령) — 도그푸딩 막힘 강도 1위. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB
phase, component, task_id, title, status, depends_on, unblocks, contract_source, contract_sections, source_feedback
| phase | component | task_id | title | status | depends_on | unblocks | contract_source | contract_sections | source_feedback | |
|---|---|---|---|---|---|---|---|---|---|---|
| P9 | kebab-tui | p9-fb-09 | External editor return — terminal restore + force redraw | planned | ../../docs/superpowers/specs/2026-04-27-kebab-final-form-design.md |
|
p9-dogfooding-feedback.md item 7 |
p9-fb-09 — Editor return restore
Goal
g (search), o (citation jump 후속) 으로 vim/code 띄우고 종료 후 TUI 화면이 깨지는 버그 수정.
Allowed dependencies
- 기존 kebab-tui deps.
Public surface
kebab-tui::run 내부에 with_external_program(|term| -> Result<()> { ... }) helper. spawn 직전 / 종료 후 terminal 상태 toggle.
Behavior contract
spawn 직전:
terminal.show_cursor()terminal.backend_mut().execute(LeaveAlternateScreen)?disable_raw_mode()?
child wait 후:
enable_raw_mode()?EnterAlternateScreenterminal.clear()?— 강제 redraw- main loop 의
force_redraw_next_frame: boolflag set → 다음 draw 가 dirty rect 무시 전체 그림.
Test plan
수동 테스트 (단위 테스트 어려움 — terminal io 의존). 하지만 helper 의 sequence 자체는 mock backend 로 검증 가능.
| kind | description |
|---|---|
| unit | mock backend 의 호출 sequence 검증 (Leave → spawn → Enter → Clear) |
DoD
cargo test -p kebab-tui통과- 도그푸딩:
g누르고:q후 화면 정상 redraw 확인 - 같은 helper 가 p9-fb-20 의 citation jump 에도 사용
Out of scope
- editor 종료 코드 처리 (실패해도 TUI 복귀)
- editor stdin 전달 (현재 path 만)