PRISM
by fahzan1296
README.md
# PRISM
**See what shapes your agent.**
PRISM is a local-first tool for inspecting the instructions and configuration that shape AI coding agents. It discovers instruction files, extracts instructions with source evidence, and reports conflicts, duplication, ambiguity, and scope relationships without running an AI model or modifying any source file.
## Status
v0.1 design stage. The product vision is in [PRD.md](./PRD.md); the authoritative release scope is [docs/spec/scope-v0.1.md](./docs/spec/scope-v0.1.md).
## Specifications
- [v0.1 scope and tiering](./docs/spec/scope-v0.1.md)
- [Extraction, normalization, and output schema](./docs/spec/extraction-and-schema.md)
- [Output JSON Schema](./docs/spec/prism-output.schema.json)
- [Detector rules](./docs/spec/detectors.md)
- [Default detector config](./docs/spec/default-config.json)
- [Fixture corpus](./tests/fixtures/README.md)
## Planned interfaces
```bash
prism inspect
prism conflicts
prism redundancy
prism ambiguity
prism scope
prism trace
prism report
```
Every command will support `--format json`. Change analysis and simulation are planned for v0.2 and are not part of the v0.1 interface.
An MCP server will expose the v0.1 analysis tools read-only over stdio.
## Development
Node.js 20 or newer (CI uses 22).
```bash
npm ci
npm run typecheck
npm run build
npm test
```
The first v0.1 slice provides typed configuration and deterministic text primitives; the CLI and MCP interfaces are still in progress.
## License
[MIT](./LICENSE) © 2026 Fahzan Dewantara.