Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.
The English summary is being prepared. Showing the original description.
Activate for any ticket that adds or changes a Supabase migration, environment variable, edge function deployment, or runtime configuration. Ensures infrastructure is live in the target QA environment before state:ready-for-qa.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Activate this lens when a ticket makes a change that must be applied to the running environment — not just to source files on disk. Infrastructure gaps are the most common reason Tester returns BLOCKED rather than PASS or FAIL. BLOCKED means testing cannot start at all, which wastes the full QA cycle.
Load this lens when the ticket:
supabase/migrations/).env.local, Supabase project secrets, Vercel environment settings)supabase/functions/)Verify each applicable surface before claiming state:ready-for-qa. Tick off only what the ticket actually touches.
| Check | What to verify |
|---|---|
| Applied to QA environment | Migration has been pushed to the target Supabase project, not only run locally via supabase db push --local |
| Correct project linked | supabase status or the Supabase dashboard confirms the correct project is the target — not a stale local or dev link |
| No dependency gap | The migration's dependencies (functions, tables, or types it references) were applied in earlier migrations that are already present |
| Rollback path documented | If the migration drops a column, renames a table, or deletes data, a revert migration exists or the impact is explicitly documented on the ticket |
| Check | What to verify |
|---|---|
| Set in target environment | The variable is configured in Supabase project secrets (supabase secrets set) or Vercel environment settings for the QA deployment — not only in the local .env.local |
| Exact name match | Variable name matches exactly what the code reads: process.env.NEXT_PUBLIC_X, process.env.X, or Deno.env.get('X') — no case or prefix mismatch |
| Not committed to source | The secret value is not in any committed file, .env.local included in git, or source comment |
| App can read it | If the variable is new, the app has been restarted or redeployed so the running process has the value available |
| Check | What to verify |
|---|---|
| Deployed | supabase functions deploy <name> --project-ref <ref> has been run against the target project after the latest code change |
| Reachable | A smoke request to the function endpoint (/functions/v1/<name>) returns an expected status — not 404 (not deployed) or 500 (deployed but broken) |
| Secrets available | Any secrets the function reads via Deno.env.get() are set in Supabase secrets for the target project, not just locally |
| Check | What to verify |
|---|---|
| Redirect URLs | Any new OAuth or email redirect URLs are added to the allowed list in Supabase Auth settings for the target project |
| CORS | If a new edge function or API endpoint is called from the browser, the origin is in the allowed CORS list |
Before implementation, name each surface this ticket requires:
Infrastructure surfaces:
- Migration: [filename or 'none']
- Env vars: [VAR_NAME list or 'none']
- Edge function: [function name or 'none']
- Platform settings: [what or 'none']
Before moving the ticket to state:ready-for-qa, post the following confirmation on the GitHub issue:
INF verified:
- Migration [name]: applied to [project/environment] ✓
- Env var [NAME]: set in [target] ✓
- Edge function [name]: deployed, smoke test ✓
- Platform settings: [what was changed and confirmed] ✓
Omit lines that do not apply to this ticket, but list at least one line. An empty INF confirmation means the lens was declared active but the gate was never checked — Tester will return BLOCKED.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.
The English summary is being prepared. Showing the original description.
Use when: architecture mode, architect this, ADR, C4, PlantUML, system boundary, design decision, PRD gap, high ambiguity, multiple technical approaches, security architecture, data architecture, integration risk, implementability gap, story ticket, or epic ticket.
The English summary is being prepared. Showing the original description.
Use when: assumptions audit, audit assumptions, check for hidden assumptions, plan/ticket has ambiguous scope edges, pre-flight before finalizing a ticket, unstated assumptions, or 'what am I assuming'. Surfaces unstated assumptions, ambiguous scope edges, and untested preconditions in a finished plan/ticket/ADR before it is handed to Builder. Optional pass — Architect judges when to apply it; not a mandatory gate on every ticket.
The English summary is being prepared. Showing the original description.
Use when: Tester needs UI state evidence for VBR, or Builder needs to verify an integration wire is observable end-to-end. Powered by agent-browser MCP — token-efficient browser automation (200–400 tokens/page).
The English summary is being prepared. Showing the original description.
Use when drafting a bug or defect ticket, reviewing one someone else wrote, or deciding whether a reported problem is ready to file. Keeps what the reporter actually saw separate from what the agent later found out, so a reader can tell which lines are testimony and which are collected proof. Trigger phrases: 'file a bug', 'write up this defect', 'triage this report', 'is this ticket ready to file', 'what did the reporter actually see'.
The English summary is being prepared. Showing the original description.
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
The English summary is being prepared. Showing the original description.