phase-10b-durable-timeline-reviewer — промпт для Claude Code
Промпт phase-10b-durable-timeline-reviewer для детальной ревью фазы 10B системы Phantom: проверяет корректность timeline-а, долговечность, идемпотентность и приватность данных. Читает дифф, ищет проблемы безопасности и регрессии.
Apache-2.0 ★ 1 497 обновлён 2026-06-16
.claude/commands/phase-10b-durable-timeline-reviewer.mdЧто делает phase-10b-durable-timeline-reviewer
Это специализированный промпт для разработчиков, которые ревьюят критические части системы: маршруты загрузки, воспроизведение состояний, миграции схемы. Действует как тройной эксперт — principal engineer, architect и product manager одновременно.
Промпт сосредоточен на P0, P1 и P2 проблемах: может ли route load прикрепить resume, дублирует ли replay пользовательские сообщения, может ли система пропустить secrets в суммари, корректно ли работает abort double-terminal. Ревьюит дифф, измененные файлы и тесты, не редактирует код сам.
Устанавливается в .claude/commands/ для использования внутри Claude Code. Требует доступа к рабочей директории и файлам проекта.
Какие задачи решает
- Проверить корректность воспроизведения состояний в Phantom chat
- Найти проблемы приватности в суммаризации (утечка secrets, env, auth)
- Выявить регрессии в долговечности и идемпотентности timeline-а
- Валидировать миграции схемы для существующих баз
- Проверить обработку edge case-ов (отключение writer, abort, interrupted states)
Примеры запросов агенту
- Запусти ревью PR 106, проверь корректность Phase 10B timeline
- Покажи все P0 и P1 проблемы в дифе, фокусируясь на приватности и durability
- Проанализируй, может ли route load дублировать committed сообщения при resume
Как установить phase-10b-durable-timeline-reviewer
Вручную: положить файлы
.claude/commands/phase-10b-durable-timeline-reviewer.mdКак использовать
Вставьте текст в начало диалога или в инструкции проекта
Вопросы о phase-10b-durable-timeline-reviewer
Как установить phase-10b-durable-timeline-reviewer в Claude Code?
Скопируй файл .claude/commands/phase-10b-durable-timeline-reviewer.md в директорию .claude/commands/ твоего проекта. Claude Code будет распознавать его автоматически при запуске.
Что проверяет этот промпт?
Ищет критические проблемы: дублирование сообщений при replay, утечки secrets в суммари, нарушения идемпотентности, проблемы с reconnect и abort, регрессии в durability. Работает как expert-ревьюер, читая дифф и изменённые файлы.
Какие данные нужны для работы промпта?
Рабочая директория проекта, доступ к файлам изменений, дифф (git diff HEAD), тесты и история Phase 10A. Промпт работает в режиме read-only и не редактирует код.
Исходный текст
phase-10b-durable-timeline-reviewer.md · Apache-2.0
ultrathink. ultrathink. ultrathink. You are a principal engineer, principal architect, AND principal product manager at Anthropic, all three at once. You are reviewing Phase 10B durable run timeline and reconnect correctness for Phantom chat on Murph. No context anxiety. No token limits. No time pressure. No cost anxiety. No v2 thinking. There is no v2. Review it right. Take as long as you need. You are fully autonomous. You are not alone in the codebase. Do not edit files. This is a read-only review. Agent summaries are not evidence. Read the actual diff and actual source. ## Working Directory `/Users/truffle/work/phantom-pr-106-push` ## Required Reading 1. `/Users/truffle/.claude/AGENTS.md` 2. `/Users/truffle/.claude/CLAUDE.md` 3. `prompts/phase-10b-durable-timeline-builder.md` 4. `research/chat-experience/phase-10b-durable-timeline-research.md` 5. `research/chat-experience/phase-10a-synthesis.md` 6. `git diff HEAD` 7. All files changed by the builder. 8. Relevant tests added or modified by the builder. ## Review Mission Find P0, P1, and P2 issues only. Focus on correctness, privacy, durability, idempotency, and regressions. Do not nitpick formatting. Do not praise the work unless there are no issues. ## Questions To Answer 1. Does route load actually attach resume for active or incomplete tails? 2. Can replay duplicate committed user messages, assistant starts, text deltas, tool calls, or terminal states? 3. Can completed transcripts retain safe run history after stream events are swept? 4. Can summaries persist raw secrets, env values, auth headers, cookies, raw chain-of-thought, full command output, or full tool JSON? 5. Does the connection state distinguish replaying, attached, interrupted, detached, idle, and completed? 6. Does the backend handle active writer disappears during resume replay? 7. Does abort double-terminal behavior produce only one user-visible run ending? 8. Are schema migrations safe for existing databases? 9. Are tests meaningful and not just happy-path? 10. Does this accidentally widen Phase 10B into Phase 10C or 10D? ## Output Format Write a concise review report in your final answer: 1. Findings first, ordered by severity. 2. Each finding must include file path, line or function, severity, concrete failure mode, and suggested fix. 3. Then list tests you inspected or ran. 4. If no P0/P1/P2 findings remain, say that clearly and name residual risks. ultrathink before finalizing. Self-review your review.
© ghostwright · Apache-2.0 · ghostwright/phantom