phase-10h-provider-thinking-research — промпт
Слэш-команда phase-10h-provider-thinking-research для Claude проводит исследование по исходникам Murph, Pi и Phantom: какие события размышлений провайдеры отдают на самом деле.
Apache-2.0 ★ 1 497 обновлён 2026-06-16
.claude/commands/phase-10h-provider-thinking-research.mdЧто делает phase-10h-provider-thinking-research
Команда запускает исследовательский проход по исходникам Murph, Pi и Phantom: что каждый из них знает о событиях размышлений, redacted thinking, прогрессе, расходе токенов и лимитах. В начале файла несколько раз стоит ultrathink, так что Claude читает код с включённым расширенным размышлением. Роль задана тройная: ведущий инженер, архитектор и продакт-менеджер сразу.
Ниже обязательный список чтения по порядку: AGENTS.md, QUALITY-BAR.md, PROGRESS.md, исходники Murph (packages/core/src/events/, providers/), файлы Phantom (sdk-to-wire.ts, run-timeline.ts, thinking-block.tsx) и типы провайдеров в pi-mono. Внешние документы разрешены только официальные. Пути в списке абсолютные, с домашним каталогом автора, поэтому на чужой машине команда встанет на первом шаге, пока их не переписать.
На выходе один файл phase-10h-provider-thinking-research.md в каталоге research/chat-experience/: таксономия событий, матрица возможностей OpenAI, Anthropic и ZAI, что показывать дословно и что помечать как приватное. Плюс источник данных для счётчика thinking-токенов, модель UI и тесты перед выкаткой. Код команда не правит, значения ключей не печатает, живые прогоны моделей не запускает.
Какие задачи решает
- Понять, какие события thinking уже есть в Murph и Phantom
- Свести поддержку reasoning у OpenAI, Anthropic и ZAI в одну матрицу
- Решить, что показывать дословно, а что скрывать как приватный chain-of-thought
- Найти недостающее событие, из-за которого в UI нет счётчика thinking-токенов
- Получить список тестов перед выкаткой thinking-панели
Примеры запросов агенту
- Запусти
/phase-10h-provider-thinking-researchи пройдись по исходникам Murph и Phantom — покажи, что мы можем честно показывать как thinking /phase-10h-provider-thinking-researchпо провайдерам: собери матрицу Anthropic, Anthropic и ZAI- Вызови
/phase-10h-provider-thinking-researchи назови недостающие события и тесты перед выкаткой
Как установить phase-10h-provider-thinking-research
Вручную: положить файлы
.claude/commands/phase-10h-provider-thinking-research.mdКак использовать
Вставьте текст в начало диалога или в инструкции проекта
Вопросы о phase-10h-provider-thinking-research
Как установить phase-10h-provider-thinking-research в Claude Code?
Положите файл по пути .claude/commands/phase-10h-provider-thinking-research.md в проекте, затем вызовите /phase-10h-provider-thinking-research.
Что делает phase-10h-provider-thinking-research?
Идёт по исходникам Murph, Pi и Phantom и пишет отчёт о том, какие события thinking и reasoning можно показывать в интерфейсе без обмана читателя.
Чего команда не станет делать?
Не правит код, не печатает значения API-ключей и не запускает дорогие живые прогоны моделей — это разбор контрактов событий и исходников.
Исходный текст
phase-10h-provider-thinking-research.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 researching provider thinking and reasoning event support across Murph, Pi, Phantom, OpenAI, Anthropic, and ZAI. Mission: Determine what Phantom can truthfully show as "thinking" or "reasoning" today without lying to the user or exposing unsafe private chain-of-thought. We need best-in-class progress, but it must respect provider semantics. Required reading, in order: 1. `/Users/truffle/.claude/AGENTS.md` 2. `/Users/truffle/work/murph/QUALITY-BAR.md` 3. `/Users/truffle/work/murph/PROGRESS.md` 4. Murph source: - `/Users/truffle/work/murph/packages/core/src/events/` - `/Users/truffle/work/murph/packages/core/src/substrate/` - `/Users/truffle/work/murph/packages/core/src/providers/` - `/Users/truffle/work/murph/packages/anthropic-sdk-shim/src/` 5. Phantom source: - `src/chat/sdk-to-wire.ts` - `src/chat/sdk-to-wire-handlers.ts` - `src/chat/types.ts` - `src/chat/run-timeline.ts` - `chat-ui/src/components/thinking-block.tsx` - `chat-ui/src/components/message.tsx` - `chat-ui/src/lib/chat-types.ts` 6. Pi source: - `/Users/truffle/work/pi-mono/packages/ai/src/types.ts` - `/Users/truffle/work/pi-mono/packages/ai/src/providers/openai-responses.ts` - `/Users/truffle/work/pi-mono/packages/ai/src/providers/anthropic.ts` - `/Users/truffle/work/pi-mono/packages/ai/src/providers/openai-completions.ts` - `/Users/truffle/work/pi-mono/packages/ai/src/providers/transform-messages.ts` External docs: - Use official provider docs only if needed. Prefer OpenAI and Anthropic official docs, ZAI official docs or source-backed docs. - Do not use SEO sites or tutorials. Deliverable: Write `/Users/truffle/work/phantom-murph-hardening/research/chat-experience/phase-10h-provider-thinking-research.md`. The report must include: 1. Event taxonomy: what events we currently have for thinking, redacted thinking, progress summaries, token usage, tool calls, and rate limits. 2. Provider capability matrix for OpenAI, Anthropic, and ZAI as routed through Pi/Murph. 3. What can be shown verbatim, what should be summarized, and what must be hidden or labeled as private/redacted. 4. Whether Phantom can show thinking tokens/counts today, and if so where the data comes from. If not, name the missing Murph/Pi event or field. 5. Recommended UI model for "thinking" that is honest across providers. 6. Tests needed before shipping thinking/progress UI changes. Non-goals: - Do not edit code. - Do not print or inspect API key values. - Do not run costly live model loops unless absolutely needed. This is a source and event-contract research pass. Self-review: Before finishing, check that each recommendation maps to an existing event or a clearly named event-contract gap.
© ghostwright · Apache-2.0 · ghostwright/phantom