Troubleshooting

Fixes for the problems people most often hit setting up the Prismor runtime guard. If you're scanning repos instead, see the CLI docs — that's the separate prismor-cli tool.

Install & setup

SymptomFix
PyYAML is not installed (or import yaml fails)pip3 install pyyaml, then re-run prismor setup.
prismor: command not found after installThe console script isn't on your PATH. Add $(python3 -m site --user-base)/bin to your shell profile, then open a new terminal.
pip install prismor succeeds but nothing worksConfirm you didn't install the wrong package — the runtime guard is prismor, not prismor-cli (that's the separate scanner tool).
Setup wizard exits immediately in CIUse prismor setup --non-interactive --mode observe instead of the interactive wizard.

Enrollment

SymptomFix
prismor enroll <token> fails with "token expired"Enrollment tokens are single-use and expire in 24 hours. Mint a new one from Dashboard → Getting Started checklist → Enroll device.
Device enrolled but doesn't show up in the dashboardEnrollment and hook installation are separate steps — enrolling reports the device to your org, but you still need prismor install-hooks for activity to appear. Give it up to ~30 seconds after enrolling.
Enrolled on the wrong orgRun prismor logout and re-enroll with a token minted from the correct org's dashboard.

Hooks not firing

SymptomFix
Hooks installed but nothing appears in the dashboardYou haven't run an agent session in a hooked workspace yet — the dashboard only shows activity once your agent makes a tool call under policy.
Hooks stopped working after an agent updateRe-run prismor install-hooks --agent claude --scope project --mode observe to rewrite the agent's settings file — some agent updates reset local config.
Installed with --scope project but nothing happens in a different repoProject scope only applies to the workspace you ran the install command in. Re-run it inside each project you want protected, or use --scope user for a machine-wide default.

Secret cloaking

SymptomFix
Cloak does nothingConfirm the agent's tool call references the placeholder syntax @@SECRET:<name>@@, and that the secret is registered: prismor cloak list.
Secret still visible in outputCloaking substitutes real values at execution time and scrubs them from captured output — it doesn't retroactively redact things already printed to your terminal history.

Still stuck?

  • Check prismor --help and prismor install-hooks --help for the exact flags on your installed version.
  • Re-read the Quickstart — most issues are a skipped or reordered step.
  • Full setup skill (with more detail than this page): /docs/agent-setup.