Skip to content

The design language that makes your AI harness better at design.

JavaScript

Sync generated provider output

github-actions[bot]698a743958a4
diff --git a/.agents/skills/impeccable/scripts/hook-lib.mjs b/.agents/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.agents/skills/impeccable/scripts/hook-lib.mjs
+++ b/.agents/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.claude/skills/impeccable/scripts/hook-lib.mjs b/.claude/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.claude/skills/impeccable/scripts/hook-lib.mjs
+++ b/.claude/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.cursor/skills/impeccable/scripts/hook-lib.mjs b/.cursor/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.cursor/skills/impeccable/scripts/hook-lib.mjs
+++ b/.cursor/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.gemini/skills/impeccable/scripts/hook-lib.mjs b/.gemini/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.gemini/skills/impeccable/scripts/hook-lib.mjs
+++ b/.gemini/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.github/skills/impeccable/scripts/hook-lib.mjs b/.github/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.github/skills/impeccable/scripts/hook-lib.mjs
+++ b/.github/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.grok/skills/impeccable/scripts/hook-lib.mjs b/.grok/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.grok/skills/impeccable/scripts/hook-lib.mjs
+++ b/.grok/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.kiro/skills/impeccable/scripts/hook-lib.mjs b/.kiro/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.kiro/skills/impeccable/scripts/hook-lib.mjs
+++ b/.kiro/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.opencode/skills/impeccable/scripts/hook-lib.mjs b/.opencode/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.opencode/skills/impeccable/scripts/hook-lib.mjs
+++ b/.opencode/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.pi/skills/impeccable/scripts/hook-lib.mjs b/.pi/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.pi/skills/impeccable/scripts/hook-lib.mjs
+++ b/.pi/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.qoder/skills/impeccable/scripts/hook-lib.mjs b/.qoder/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.qoder/skills/impeccable/scripts/hook-lib.mjs
+++ b/.qoder/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.rovodev/skills/impeccable/scripts/hook-lib.mjs b/.rovodev/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.rovodev/skills/impeccable/scripts/hook-lib.mjs
+++ b/.rovodev/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.trae-cn/skills/impeccable/scripts/hook-lib.mjs b/.trae-cn/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.trae-cn/skills/impeccable/scripts/hook-lib.mjs
+++ b/.trae-cn/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.trae/skills/impeccable/scripts/hook-lib.mjs b/.trae/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.trae/skills/impeccable/scripts/hook-lib.mjs
+++ b/.trae/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/.vibe/skills/impeccable/scripts/hook-lib.mjs b/.vibe/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/.vibe/skills/impeccable/scripts/hook-lib.mjs
+++ b/.vibe/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;
diff --git a/plugin/skills/impeccable/scripts/hook-lib.mjs b/plugin/skills/impeccable/scripts/hook-lib.mjs
index 5896b3242..20059c747 100644
--- a/plugin/skills/impeccable/scripts/hook-lib.mjs
+++ b/plugin/skills/impeccable/scripts/hook-lib.mjs
@@ -1960,6 +1960,20 @@ export async function runStopHook({ stdinJson, env = {}, cwd = process.cwd(), no
return result({ skipped: 'stdin-empty', durationMs: Date.now() - started });
}
+ // Claude Code's Stop-hook contract: `stop_hook_active` is true when this
+ // hook is being re-invoked only because a prior invocation kept the turn
+ // alive (here, via hookSpecificOutput.additionalContext). Re-scanning and
+ // re-blocking now would loop until Claude Code's consecutive-block cap
+ // force-ends the turn (issue #400). The prior fire already surfaced the
+ // findings; whether to act on them is the agent's call. Exit fast with no
+ // output before any scan. Only Claude Code sends this field; other
+ // harnesses omit it, so the strict `=== true` is a no-op for them. This
+ // guard makes the loop impossible regardless of the finding cache key's
+ // line-number sensitivity (out of scope here; see findingCacheKey).
+ if (event.stop_hook_active === true) {
+ return result({ skipped: 'stop-hook-active', durationMs: Date.now() - started });
+ }
+
const harness = resolveHarness(env, event);
audit.harness = harness;