# 1. Product direction

Phantom is not a collection of disconnected tools. It is a persistent research workspace where authorized assets, HTTP traffic, test runs, findings, evidence, notes and reports belong to the same engagement. GUI, REST and MCP are clients of a common service layer, with permissions appropriate to each client.

This roadmap is feature-oriented. It does not prescribe a release date, estimate engineering effort or imply that every feature is required for a first public release. Prioritize complete vertical slices over a large number of unfinished screens. Keep the source-available framework useful independently of optional hosted products.

Phantom is a security research workstation: proxy, scanner and findings in one
workspace, organised around **vaults** (one vault per program or engagement).

This file separates what exists from what is planned. Features that are not
built yet live here instead of being shown as working in the UI or README.

### Status conventions

- **BASE** — previously inspected implementation or maintainer-reported feature; current behavior still needs regression verification.
- **P0** — foundational or release-blocking work.
- **P1** — core research workflow / competitive desktop capabilities.
- **P2** — advanced research, extensibility and integrations.
- **P3** — optional hosted and enterprise capabilities.

All unchecked items are proposed work or verification tasks. Do not mark a feature complete based on a screenshot, an existing route, or an agent's claim alone. Track completion against the current commit, test results and documented limitations.

### Existing baseline (do not rebuild without a reason)

| Capability | Evidence / status |
|---|---|
| Python async core, FastAPI, SQLAlchemy models, Vue 3 frontend | Previously inspected GitHub source |
| YAML signature parser/validator, DSL, matchers and extractors | Previously inspected source / README |
| Crawler, multi-step requests, concurrency and filtering | Previously inspected source / README |
| HTTP/HTTPS MITM proxy, CA management, WebSocket tunneling | Previously inspected source; latest behavior not independently tested |
| Vaults, scope models, findings, assets and UI component system | Previously inspected source; latest backend integration not independently tested |
| MCP server | In-process HTTP at `/mcp`; 50 tools over the same services as REST (`7fafb8f`, `tests/test_mcp.py`); no per-agent permissions yet |
| Proxy History, Intercept, Repeater, Comparer, Timeline, Settings and message viewer | Implemented and browser-verified (`006ee60`, `952c330`, `bc6787a`, `5a51ca1`); backend behavior covered by `tests/test_proxy_*.py` |
| Binary capture and body decoding | Raw bytes stored; gzip/deflate/Brotli/Zstandard decoded for display only, bounded (`f768853`, `tests/test_proxy_content.py`) |
| HTTP/2 | Not intercepted: the proxy speaks HTTP/1.1 only and clients fall back (`docs/guides/proxy/protocols.md`) |
| Botonomus | Maintainer-reported; not present in this repository yet |

The last source snapshot previously inspected was [`27f10c8`](https://github.com/Kuduxaaa/phantom-framework/tree/27f10c8b8d690d8bb6b69a53eddb73e07897c66e). The working tree is reconciled in the **Verification log** at the end of this file. Reconcile this baseline with the current working tree before implementation. Document the supported signature syntax and its versions.
