fix: feat: stack lock protocol for singleton project stack access (#255)
Add structural end-of-while-loop+case hash to ALLOWED_HASHES in detect-duplicates.py to suppress false-positive duplicate detection between stack_lock_acquire and lib/pr-lifecycle.sh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
139f77fdf5
commit
1053e02f67
1 changed files with 3 additions and 0 deletions
|
|
@ -302,6 +302,9 @@ def main() -> int:
|
|||
"f08a7139db9c96cd3526549c499c0332": "install_project_crons function in entrypoints (window f08a7139)",
|
||||
"f0917809bdf28ff93fff0749e7e7fea0": "install_project_crons function in entrypoints (window f0917809)",
|
||||
"f0e4101f9b90c2fa921e088057a96db7": "install_project_crons function in entrypoints (window f0e4101f)",
|
||||
# Structural end-of-while-loop+case pattern: `return 1 ;; esac done }`
|
||||
# Appears in stack_lock_acquire (lib/stack-lock.sh) and lib/pr-lifecycle.sh
|
||||
"29d4f34b703f44699237713cc8d8065b": "Structural end-of-while-loop+case (return 1, esac, done, closing brace)",
|
||||
}
|
||||
|
||||
if not sh_files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue