Skip to main content

Shadow Mode

Most API quality approaches start at maximum noise. Dino does the opposite. Shadow Mode lets Dino earn your trust gradually. Start by watching silently. As confidence grows, increase autonomy.

The four levels

Today, Dino ships with Observe and Enforce. REST (OpenAPI) shipped in M1.5. Suggest and Write are still on the roadmap.

How it works

Observe mode (default)

Dino runs against your API, records findings, and reports them — but never blocks CI. Every scan result is saved to watch history for trend analysis.
This runs a scan every 5 minutes. Findings accumulate in .dino/watch-history.jsonl. You review at your pace. Use observe when: You’re evaluating Dino, onboarding a new API, or want to see what it finds before trusting it.

Enforce mode

Dino blocks CI when it finds issues. dino watch returns exit code 1 on failures. dino diff --fail-on-breaking returns exit code 1 on breaking changes.
Use enforce when: Dino has been running in observe mode and you trust its findings. Typically after 2-4 weeks of consistent, accurate results.

The customer journey

CI integration

Observe in CI (non-blocking)

Enforce in CI (blocking)

Breaking change gate

Start with observe mode in CI using continue-on-error: true. Review findings for a few weeks. When you trust them, remove continue-on-error and switch to enforce.

Watch history

Every dino watch iteration saves a record to .dino/watch-history.jsonl:
This history powers trend analysis: “Are findings increasing? Decreasing? Did a deploy introduce new issues?”
Shadow Mode levels 2 (Suggest) and 3 (Write) remain on the roadmap. L2 adds confidence scoring and ranked recommendations. L3 will create pull requests with fixes, pending human approval.