Skip to content

Commit 010ac9b

Browse files
authored
Merge pull request DeusData#812 from DeusData/distill/cli-hygiene
fix(cli): overflow-safe ZIP bounds check; env-bash shebangs
2 parents bb2510e + c274426 commit 010ac9b

16 files changed

Lines changed: 85 additions & 42 deletions

File tree

‎scripts/benchmark-search-graph.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# benchmark-search-graph.sh — Time search_graph name_pattern= queries against a
33
# codebase-memory-mcp binary to measure the regex / LIKE pre-filter performance.
44
#

‎scripts/build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# build.sh — Clean build of production binary (standard or with UI).
33
#
44
# Usage:

‎scripts/check-nolint-whitelist.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Verify NOLINT(misc-no-recursion) only appears on whitelisted functions.
33
WHITELIST="src/foundation/recursion_whitelist.h"
44
if [ ! -f "$WHITELIST" ]; then

‎scripts/clean.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# clean.sh — Remove ALL build artifacts, caches, and generated files.
33
#
44
# Usage: scripts/clean.sh

‎scripts/embed-frontend.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# embed-frontend.sh — Convert built frontend assets into linkable object files.
33
#
44
# Usage: scripts/embed-frontend.sh <dist_dir> <output_dir>

‎scripts/env.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# env.sh — Shared environment detection for all build scripts.
33
#
44
# Sourced by test.sh, build.sh, lint.sh. Not meant to run standalone.

‎scripts/lint.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# lint.sh — Run all linters (clang-tidy + cppcheck + clang-format).
33
#
44
# Usage:

‎scripts/repro.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# repro.sh — Build + run the cumulative BUG-REPRODUCTION suite (test-repro).
33
#
44
# Unlike test.sh (the gating suite, must be GREEN), this suite is RED by design:

‎scripts/soak-test.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# soak-test.sh — Endurance test for codebase-memory-mcp.
33
#
44
# Runs compressed workload cycles: queries, file mutations, reindexes, idle periods.

‎scripts/test.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# test.sh — Clean build + run all C tests with ASan + UBSan.
33
#
44
# Usage:

0 commit comments

Comments
 (0)