Repository navigation
Forbid git hook bypasses - #1067
Merged
Merged
Conversation
continuum-8e97 caught the critical residual after #1067's cleanup pass: CLAUDE.md is auto-loaded into every Claude Code session in this repo and line 1567 still gave a conditional bypass ("if we have manually checked that ai persona can respond... we can use --no-verify"). That directly contradicts the standing rule (memory: critical_never_no_verify.md, "no pre-existing failure exception") AND it's the most-loaded bypass-promoting instruction the agent sees — keeping it while expunging README/script files would have been the worst-of-both: agent reads CLAUDE.md first, assumes bypass is fine, doesn't read the README. Replaced the bypass line with a categorical no-bypass rule pointing at the underlying-cause fixes (stale worktree, missing submodule, missing generated file, hook bug) and cross-referencing the memory file so future agents land at the authoritative source. Surfaced via airc — the substrate-as-CVL pattern (sibling Mac flagged PR #1067, Codex shipped the cleanup, continuum-8e97 reviewed for misses, this commit closes the residual). Co-fix. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
Author
|
Update: added a second commit fixing the precommit clippy gate itself. It now sources scripts/shared/cargo-features.sh (macOS uses --features metal,accelerate), writes clippy output to the log correctly, fails instead of silently skipping when clippy-baseline.txt is missing, and locks the baseline down from 176 to 163 after small Rust warning cleanups. Validation: normal precommit passed with Rust files staged: TypeScript build, clippy 163 warnings at baseline, browser ping. Normal pre-push passed TypeScript, ESLint baseline, Rust build/tests with metal,accelerate. Docker slice helper still refused because the build generator dirties tracked generated TS whitespace; cleaned locally after push. |
joelteply
pushed a commit
that referenced
this pull request
May 11, 2026
Codifies the fairness bar Mac+Windows smoke surfaced post #1057-1060: storm IS fixed (CPU stays flat) BUT first-claim-wins coordination is too sticky (only 1 of N personas replies). This test makes that failure mode explicit so the eventual fix has an executable green-vs-red signal. Five typed loud-fail buckets per #1063 / #1067 pattern: probe_not_persisted — chat/send returned ok but DB drop no_personas_replied — total silence (storm-fix overcorrection) first_response_budget_exceeded — first reply > 10s budget per #1062 all_response_budget_exceeded — full reply set > 30s budget per #1062 fairness_violated — only K of N replied where K < min Standing-rule alignment (#1070 / #1072): - Single attempt, no retry on failure - Loud-fail with typed bucket — operator greps result, doesn't dig logs - No silent fallback — reports what user-facing surface actually shows Uses ./jtag CLI via execFile to stay decoupled from in-process JTAGClient TS surface drift; matches the chat-probe pattern operators already use.
joelteply
added a commit
that referenced
this pull request
May 11, 2026
* test(sensory): add Position 2 alpha-contract WebRTC sensory smoke Per #1072 sensory persona alpha contract: codifies the live sensory loop a STANDARD PERSONA must satisfy. Resolves multimodal model via cognition/resolve-model (Position 1 dependency), spawns LiveKitAgent, publishes test audio question + known image as video frame, asserts persona's TTS response + transcription mentions image content. Six typed loud-fail buckets per #1063 / #1067 pattern: no_qualified_model, persona_failed_to_join, no_audio_published, no_transcription, vision_blind, budget_exceeded Failing-loud test today; passes when Position 1 (resolver + RequirementProfile::StandardPersona IPC) and Position 3 (Qwen multimodal GPU kernels) land. Bar is the test, not the impl. No silent CPU fallback, no degraded text-only pass, no retry on failure (per #1070 / #1072 standing rules). * test(persona): multi-persona response timing regression smoke Codifies the fairness bar Mac+Windows smoke surfaced post #1057-1060: storm IS fixed (CPU stays flat) BUT first-claim-wins coordination is too sticky (only 1 of N personas replies). This test makes that failure mode explicit so the eventual fix has an executable green-vs-red signal. Five typed loud-fail buckets per #1063 / #1067 pattern: probe_not_persisted — chat/send returned ok but DB drop no_personas_replied — total silence (storm-fix overcorrection) first_response_budget_exceeded — first reply > 10s budget per #1062 all_response_budget_exceeded — full reply set > 30s budget per #1062 fairness_violated — only K of N replied where K < min Standing-rule alignment (#1070 / #1072): - Single attempt, no retry on failure - Loud-fail with typed bucket — operator greps result, doesn't dig logs - No silent fallback — reports what user-facing surface actually shows Uses ./jtag CLI via execFile to stay decoupled from in-process JTAGClient TS surface drift; matches the chat-probe pattern operators already use. --------- Co-authored-by: Test <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git commit --no-verifyorgit push --no-verifyValidation
npx tsx scripts/build-with-loud-failure.tscargo test -p continuum-core --features metal,accelerate code::git_bridge --libgit commitprecommit hook passed: TypeScript, modified-file ESLint gate, browser pinggit pushpre-push hook passed: TypeScript, ESLint baseline, Rust build/tests with metal,accelerateNotes
npx markdownlint-cli2 scripts/README.md scripts/README-git-hooks.mdstill reports pre-existing whole-file formatting issues in those docs; the new lines were wrapped/cleaned.scripts/push-current-arch.shdeclined due generated-file worktree churn from validation. The generated churn was removed and the branch is clean.