Tool Canary #186 · brevio-core v0.8.1Zero-Network OfflineCSP connect-src 'none'
Take the 6-Round Agent Bug Challenge ->

Zero-Network Agent Guard & Rule Playground

Simulate coding-agent diffs against Brevio’s deterministic AST/regex catalog (brevio-core==0.8.1) in real time. Everything runs client-side inside your browser sandbox with zero network calls. Inspect defects, apply 1-click clean fixes, and export a ready-to-drop Agent Config Pack.

Try a Real Coding-Agent Mistake (or Deep-Link via ?preset= / ?rule=)Click any scenario to load sample code
20 lines·613 chars
brevio-core v0.8.1 Client Engine Active
✕
BLOCK (1 Blocker, 2 Warn)
Gate rejects this diff in Layer 1 pre-flight (<15ms, 0 tokens)
1 BLOCK2 WARN
[R6.1]Real Production Import GateLine 5
BLOCK

Test mocks `./auth`, the exact unit under test. It executes mock stubs instead of real production code.

vi.mock("./auth", () => ({
Fix Recipe: Remove `vi.mock('./auth')` and test real logic. Mock external network/DB boundaries instead.
Rule Docs
[R6.3]Deterministic Condition Waits (Preview)Line 12
WARN

`waitForTimeout()` introduces flaky race conditions and artificial test latency (Preview rule in brevio-core v0.8.1: emits WARN without blocking CI).

await page.waitForTimeout(2000);
Fix Recipe: Await a deterministic assertion: `await expect(page.locator(...)).toBeVisible()`
Rule Docs
[R6.2]Mutation Side-Effect AssertionsLine 1
WARN

Every assertion in this test uses weak matchers (`toBeDefined` / `toBeTruthy`), which pass on almost any object.

expect(...).toBeDefined() / toBeTruthy()
Fix Recipe: Assert exact values or side effects: `expect(res.status).toBe(200)` or `expect(user.role).toEqual('admin')`.
Rule Docs
Scale Auto-Fixes to Every Agent Pull Request38% Replay Waste Eliminated (Study 01)

While the playground applies deterministic clean fixes 1-click in your browser, Autonomous PR Auto-Healing intercepts broken diffs in sandboxed background worktrees, and Brevio Team Sync synchronizes suppression rules and approvals across your squad.

Explore the Full Zero-Network Developer Tools Suite

Test your instincts in the 6-Round Agent Bug Challenge (Tool #187) or generate /llms.txt and /skill.md offline (Tool #185).