The design language that makes your AI harness better at design.
JavaScript
refine(skill): harden critique against skipping sub-agents and [Human] overlay
Paul Bakausa5cd7bf85951
diff --git a/.agents/skills/impeccable/reference/critique.md b/.agents/skills/impeccable/reference/critique.mdindex 4fc63a08f..93f4e9e4b 100644--- a/.agents/skills/impeccable/reference/critique.md+++ b/.agents/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.claude/skills/impeccable/reference/critique.md b/.claude/skills/impeccable/reference/critique.mdindex dd14afae8..d81d03efd 100644--- a/.claude/skills/impeccable/reference/critique.md+++ b/.claude/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.cursor/skills/impeccable/reference/critique.md b/.cursor/skills/impeccable/reference/critique.mdindex 34f93efb9..19f0d053a 100644--- a/.cursor/skills/impeccable/reference/critique.md+++ b/.cursor/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.gemini/skills/impeccable/reference/critique.md b/.gemini/skills/impeccable/reference/critique.mdindex fe74a6075..a1c33a4f5 100644--- a/.gemini/skills/impeccable/reference/critique.md+++ b/.gemini/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.github/skills/impeccable/reference/critique.md b/.github/skills/impeccable/reference/critique.mdindex 18a549d18..f1c67a151 100644--- a/.github/skills/impeccable/reference/critique.md+++ b/.github/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.kiro/skills/impeccable/reference/critique.md b/.kiro/skills/impeccable/reference/critique.mdindex 31a1d7c66..16f4f7ec5 100644--- a/.kiro/skills/impeccable/reference/critique.md+++ b/.kiro/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.opencode/skills/impeccable/reference/critique.md b/.opencode/skills/impeccable/reference/critique.mdindex 01aeb7a9f..74b5dbb26 100644--- a/.opencode/skills/impeccable/reference/critique.md+++ b/.opencode/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.pi/skills/impeccable/reference/critique.md b/.pi/skills/impeccable/reference/critique.mdindex 8da3afebb..d6c4e0f55 100644--- a/.pi/skills/impeccable/reference/critique.md+++ b/.pi/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.rovodev/skills/impeccable/reference/critique.md b/.rovodev/skills/impeccable/reference/critique.mdindex 8da3afebb..d6c4e0f55 100644--- a/.rovodev/skills/impeccable/reference/critique.md+++ b/.rovodev/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.trae-cn/skills/impeccable/reference/critique.md b/.trae-cn/skills/impeccable/reference/critique.mdindex e9ae4e71e..d639d3650 100644--- a/.trae-cn/skills/impeccable/reference/critique.md+++ b/.trae-cn/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/.trae/skills/impeccable/reference/critique.md b/.trae/skills/impeccable/reference/critique.mdindex e9ae4e71e..d639d3650 100644--- a/.trae/skills/impeccable/reference/critique.md+++ b/.trae/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.diff --git a/source/skills/impeccable/reference/critique.md b/source/skills/impeccable/reference/critique.mdindex 7e9136baa..880feaffa 100644--- a/source/skills/impeccable/reference/critique.md+++ b/source/skills/impeccable/reference/critique.md@@ -2,11 +2,11 @@### Gather Assessments-Launch two independent assessments. **Neither must see the other's output** to avoid bias.+Launch two independent assessments. **Neither may see the other's output** — this isolation is what makes the combined score honest. Running both in one head silently anchors them to each other; do not shortcut it for cost, speed, or context-size reasons.-You SHOULD delegate each assessment to a separate sub-agent for independence. Use your environment's agent spawning mechanism (e.g., Claude Code's `Agent` tool, or Codex's subagent spawning). Sub-agents should return their findings as structured text. Do NOT output findings to the user yet.+Delegate each assessment to a separate sub-agent (Claude Code's `Agent` tool, Codex's subagent spawning, etc.). Each returns structured findings as text. Do NOT output findings to the user yet.-If sub-agents are not available in the current environment, complete each assessment sequentially, writing findings to internal notes before proceeding.+Fall back to sequential in-head work only if the environment genuinely cannot spawn sub-agents.**Tab isolation**: When browser automation is available, each assessment MUST create its own new tab. Never reuse an existing tab, even if one is already open at the correct URL. This prevents the two assessments from interfering with each other's page state.@@ -52,7 +52,7 @@ npx impeccable --json [--fast] [target]- For 500+ files, narrow scope or ask the user- Exit code 0 = clean, 2 = findings-**Browser visualization** (when browser automation tools are available AND the target is a viewable page):+**Browser visualization** — **required** when browser automation tools are available AND the target is a viewable page. The `[Human]` overlay tab is the user-facing deliverable; the critique is incomplete without it. Skip only if the target is not a viewable page (CSS-only file, non-browser target).The overlay is a **visual aid for the user**. It highlights issues directly in their browser. Do NOT scroll through the page to screenshot overlays. Instead, read the console output to get the results programmatically.