| name | code-review |
| description | Adversarial pull-request review for dsh-vision-router. Use for code review, security review, regression review, and compatibility review. |
Adversarial review workflow
Read the diff together with the nearest callers, persistence boundaries, lifecycle hooks, and existing tests. Do not review changed lines in isolation.
For each changed behavior, try at least one hostile counterexample from each relevant class:
- malformed or oversized input;
- duplicate/reordered lifecycle events;
- cancellation or timeout during an awaited Host/provider operation;
- restart/cold-resume with persisted state;
- credential rotation or missing credential;
- concurrent sessions/contexts sharing the same model or attachment;
- Windows/macOS/Linux or Node 22/24 differences;
- stable DSH versus exact preview verification boundaries.
Check whether errors fail closed, resources stay bounded, stale work cannot publish, secrets never become durable identifiers, and native Host ownership remains authoritative where intended.
Rank findings P0/P1/P2/P3. For each finding provide: exact trigger, actual behavior, expected behavior, impact scope, root cause, minimal fix direction, and the regression test that should fail before the fix.
If a claimed issue cannot be demonstrated from code, tests, or a concrete counterexample, do not report it as a vulnerability.