fix(supabase): R5.5 gate round 1, final errors, four attempts, keys off argv, runbook
This commit is contained in:
1 parent
a481af52c7
commit
56593af25c
10 files changed
+330
-17
No files matched your search
@@ -11,14 +11,19 @@ set -uo pipefail
|
||||
GUARD="$HOME/.claude/lib/floor-guard.sh"
|
||||
BASE="${1:-develop}"
|
||||
ALLOWED_RE='^FLOOR SUPPRESS \.claude/audits/[^:]+\.md:[0-9]+ '
|
||||
# Declared in the clarification and left to the owner: reported, never requalified, not
|
||||
# counted as a new finding. Anything else outside ALLOWED_RE fails.
|
||||
DECLARED_RE='^FLOOR STUB \.claude/memory/evals\.md:205 '
|
||||
|
||||
# rc 0: every finding is requalified; rc 1: at least one real finding remains.
|
||||
classify() {
|
||||
local report="$1" total requalified remaining
|
||||
total=$(grep -c '^FLOOR [A-Z_]* ' "$report")
|
||||
requalified=$(grep -cE "$ALLOWED_RE" "$report")
|
||||
remaining=$(grep '^FLOOR [A-Z_]* ' "$report" | grep -vE "$ALLOWED_RE")
|
||||
declared=$(grep -E "$DECLARED_RE" "$report")
|
||||
remaining=$(grep '^FLOOR [A-Z_]* ' "$report" | grep -vE "$ALLOWED_RE" | grep -vE "$DECLARED_RE")
|
||||
echo "findings $total, requalified $requalified"
|
||||
[ -z "$declared" ] || { echo "DECLARED (owner decision pending):"; echo "$declared" | cut -c1-200; }
|
||||
[ -z "$remaining" ] || { echo "REMAINING:"; echo "$remaining" | cut -c1-200; return 1; }
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user