Skip to main content
prompt GP ChatGPT

phase-10i-transcript-recovery-review — Claude Code prompt

The phase-10i-transcript-recovery-review prompt audits transcript recovery after Murph compaction, context handling, and secret exposure. Use it to review the Phase 10I slice before commit.

Apache-2.0 ★ 1,497 updated 2026-06-16

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/phase-10i-transcript-recovery-review.md
Open on GitHub

What phase-10i-transcript-recovery-review does

The prompt assigns Claude Code a combined code review, architecture, product, and security brief. It points the agent to three production files, their focused tests, and two Phase 10I research documents. The review must rely on the repository contents rather than summaries.

It asks whether recovery remains safe after Murph compaction, whether the current session id reaches the provider without unnecessary context growth, and whether the reflective search tool has suitable bounds and citations. Query, role, sequence-window, and limit handling are checked alongside possible exposure of magic links, API keys, base64 data, attachments, and hidden runtime records.

The agent must inspect or run the listed bun test, bun run lint, and bun run typecheck commands, then write a report to research/chat-experience/phase-10i-transcript-recovery-review.md. Production files must remain unchanged and no commit should be created. The review is tied to the repository path /Users/truffle/work/phantom-murph-hardening, so a different checkout changes what can be verified.

What it helps with

  • audit transcript recovery after Murph compaction
  • check session-id injection against provider-context growth
  • detect exposed links, keys, attachments, or runtime records
  • verify query, role, sequence-window, and result-limit rules
  • classify findings from P0 through P3

Example prompts for the agent

  • Run /phase-10i-transcript-recovery-review against the Phase 10I transcript recovery slice.
  • Read the listed source files, tests, and research, then run the required bun test, bun run lint, and bun run typecheck checks.
  • Write the review to research/chat-experience/phase-10i-transcript-recovery-review.md; do not edit production code or commit changes.

How to install phase-10i-transcript-recovery-review

Manually: put the files in place

.claude/commands/phase-10i-transcript-recovery-review.md

Questions about phase-10i-transcript-recovery-review

How do I install phase-10i-transcript-recovery-review in Claude Code?

Place the command file at .claude/commands/phase-10i-transcript-recovery-review.md in the Claude Code project.

What does phase-10i-transcript-recovery-review do?

It reviews the Phase 10I transcript recovery slice across implementation, tests, and research. The checks cover compaction recovery, provider context, search bounds, citations, and sensitive-data exposure.

Which verification commands does the prompt require?

It requires bun test src/chat/__tests__/transcript-search.test.ts src/chat/__tests__/continuity-context.test.ts src/agent/__tests__/reflective-transcript-tools.test.ts, followed by bun run lint and bun run typecheck.

Source text

phase-10i-transcript-recovery-review.md · Apache-2.0
ultrathink. ultrathink. ultrathink.

You are a principal engineer, principal architect, principal product manager, and security reviewer at Anthropic, all at once. Review the Phase 10I transcript recovery slice in `/Users/truffle/work/phantom-murph-hardening`.

No context anxiety. No time pressure. Be exact. Read actual files and tests. Do not rely on summaries.

## Scope

Review these changed production files:

1. `src/chat/transcript-search.ts`
2. `src/chat/continuity-context.ts`
3. `src/agent/in-process-reflective-tools.ts`

Review these tests:

1. `src/chat/__tests__/transcript-search.test.ts`
2. `src/chat/__tests__/continuity-context.test.ts`
3. `src/agent/__tests__/reflective-transcript-tools.test.ts`

Also read relevant current research:

1. `research/chat-experience/phase-10i-memory-architecture-research.md`
2. `research/chat-experience/phase-10i-transcript-search-research.md`

## Questions

1. Does this implement a production-safe transcript recovery path after Murph compaction?
2. Is the current session id injected without bloating provider context?
3. Is the agent tool bounded, cited, and redacted enough?
4. Could it leak magic links, API keys, raw base64, attachment payloads, or hidden runtime records?
5. Are query, role, seq window, and limit behavior correct?
6. Does the implementation misuse Murph or Pi instead of building Phantom-specific glue?
7. Are there P0, P1, or P2 issues that must be fixed before commit?
8. Are there lower-priority follow-ups that should be documented but not block this slice?

## Required Verification

Run or inspect results for:

- `bun test src/chat/__tests__/transcript-search.test.ts src/chat/__tests__/continuity-context.test.ts src/agent/__tests__/reflective-transcript-tools.test.ts`
- `bun run lint`
- `bun run typecheck`

## Output

Write a concise review report to:

`/Users/truffle/work/phantom-murph-hardening/research/chat-experience/phase-10i-transcript-recovery-review.md`

Use severity labels P0, P1, P2, P3. If there are no P0/P1/P2 findings, say that clearly. Do not edit production code. Do not commit.

ultrathink. This is a trust boundary. Be skeptical.

© ghostwright · Apache-2.0 · ghostwright/phantom

Similar prompts

All prompts for Code review and refactoring →
TDD Refactor Phase - Improve Quality & Security official github TDD Refactor Phase - Improve Quality & Security is a GitHub Copilot subagent that refines code after tests pass and checks it against a GitHub issue. It asks for plan approval before editing. CX Codex +1 ★ 41,430repo stars debugging-and-error-recovery addyosmani The debugging-and-error-recovery Claude Code skill traces failures to their root cause and checks the fix. It activates for failing tests, broken builds, unexpected errors, or behavior that no longer matches expectations. CX Codex +1 79,600installs selector-drift-recovery kindlmann selector-drift-recovery is a skill that bulk-regenerates broken Playwright selectors after a UI redesign by diffing aria snapshots. CX Codex +1 1,300installs gsd-secure-phase open-gsd gsd-secure-phase — a skill for Claude Code retroactively verifies threat mitigations once a project phase finishes. Audits security measures and updates the SECURITY.md file. CX Codex +1 567installs gsd-validate-phase open-gsd gsd-validate-phase — a skill for Claude Code retroactively audits Nyquist validation coverage for a finished project phase. Runs when verifying completed milestones or when passed a phase number. CX Codex +1 572installs TDD Red Phase - Write Failing Tests First official github The TDD Red Phase - Write Failing Tests First subagent pulls GitHub issue context from branch names and creates failing tests for acceptance criteria before code is written. It enforces the red stage of TDD. CX Codex +1 ★ 41,430repo stars

From the same set38

The whole set →
phase-10f-codex-review-fix phase-10f-codex-review-fix — a Claude slash command that keeps the agent on three Claude review findings from PR 106, with the fix scoped to Phase 10F. GP ChatGPT ★ 1,497repo stars phase-10i-transcript-recovery-final-re-review phase-10i-transcript-recovery-final-re-review is a Claude Code prompt for re-reviewing transcript recovery and verifying attachment metadata redaction fixes. GP ChatGPT ★ 1,497repo stars phase-10f-run-console-ui phase-10f-run-console-ui — a prompt for building a run console UI in Phantom on Murph: displays live tool activity, counts, and session state with durable rehydration after refresh. Keeps the chat responsive during long operations. GP ChatGPT ★ 1,497repo stars phase-10h-phantom-chat-review The phase-10h-phantom-chat-review prompt runs an in-depth audit of Phantom's chat UI and event pipeline after PR 109. It flags UI gaps and builds an implementation slice without modifying code. GP ChatGPT ★ 1,497repo stars list-plugins list-plugins reads settings.json and reports active Claude Code plugins with their marketplace IDs. Use it to check which plugins are currently enabled. CX Codex +1 ★ 1,497repo stars phase-10b-durable-timeline-reviewer phase-10b-durable-timeline-reviewer — a specialized prompt for reviewing Phase 10B of Phantom's chat system: validates timeline correctness, durability, idempotency, and data privacy. Reads diffs, identifies security issues and regressions. GP ChatGPT ★ 1,497repo stars phase-10h-chat-integrity-review phase-10h-chat-integrity-review reviews uncommitted git diffs for Phantom chat transcript integrity in Claude Code. It inspects attachment persistence and message rendering without modifying project code. GP ChatGPT ★ 1,497repo stars phase-10h-pi-thinking-research The phase-10h-pi-thinking-research prompt asks Claude Code to examine how Pi presents model thinking, tool activity, and long-running work, then write chat UI guidance for Phantom. GP ChatGPT ★ 1,497repo stars

Project sponsors

Companies that keep this analytics open