fix(ci): secure and bound every sandbox evidence stream - #767
fix(ci): secure and bound every sandbox evidence stream#767seonghobae wants to merge 94 commits into
Conversation
|
@opencode-agent @cwl-noema-review @coderabbitai Please review exact current head |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
requested='45e4929e1fc473211168b2d6360c9da2516e5341'
repo='ContextualWisdomLab/.github'
printf 'CHECKED_OUT_HEAD='; git rev-parse HEAD
printf 'REQUESTED_COMMIT='; git rev-parse "${requested}^{commit}"
printf '\n=== EXACT_HEAD_STATUS ===\n'
gh pr view 767 --repo "$repo" --json headRefOid,isDraft,mergeStateStatus,statusCheckRollup,reviews \
--jq '{
headRefOid,
isDraft,
mergeStateStatus,
nonSuccessful: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name, workflowName, status, conclusion, detailsUrl}
],
successful: [
.statusCheckRollup[]
| select(.status == "COMPLETED" and .conclusion == "SUCCESS")
| {name, workflowName}
],
reviews: [.reviews[] | {author: .author.login, state, commit: .commit.oid}]
}' 2>/dev/null || true
printf '\n=== UNRESOLVED_THREADS ===\n'
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number=767 -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) {
nodes { isResolved comments(first: 1) { nodes { author { login } body path line } } }
}
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[]
| select(.isResolved == false)
| {author: .comments.nodes[0].author.login, path: .comments.nodes[0].path, line: .comments.nodes[0].line, body: .comments.nodes[0].body}]' \
2>/dev/null || true
base="$(git merge-base "$requested" origin/main 2>/dev/null || git merge-base "$requested" main 2>/dev/null)"
printf '\nMERGE_BASE=%s\n' "$base"
printf '\n=== CHANGED_PATHS ===\n'
git diff --name-status "$base..$requested"
printf '\n=== CURRENT_COMMIT_DIFF ===\n'
git diff --unified=50 "${requested}^" "$requested"
printf '\n=== PRODUCTION_OUTLINES ===\n'
for file in scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py; do
printf '\n--- %s ---\n' "$file"
ast-grep outline "$file" --items all --type class,function || true
done
printf '\n=== CAPTURE_REDACTION_AND_RESULT_PATHS ===\n'
rg -n -A65 -B15 --glob '*.py' \
'(READER_JOIN_TIMEOUT_SECONDS|def (run_bounded_command|start_bounded_capture|finish_bounded_capture|kill_process_group|start_service|stop_service|wait_for_url|tail_text|emit_result|run_shell|main)|\.join\(|start_bounded_capture|finish_bounded_capture|kill_process_group|read_bounded_suffix|redact_(text|command_arguments|shell_command)|output_limited|TimeoutExpired|OUTPUT_LIMIT_EXIT_CODE|TIMEOUT_EXIT_CODE|READINESS_EXIT_CODE|RLIMIT_FSIZE|setrlimit)' \
scripts/ci tests
printf '\n=== CURRENT_IMPLEMENTATION ===\n'
for file in scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py; do
printf '\n--- %s ---\n' "$file"
nl -ba "$file" | sed -n '1,500p'
done
printf '\n--- scripts/ci/sandboxed_verify.py ---\n'
nl -ba scripts/ci/sandboxed_verify.py | sed -n '150,420p'
printf '\n--- scripts/ci/sandboxed_web_e2e.py ---\n'
nl -ba scripts/ci/sandboxed_web_e2e.py | sed -n '100,620p'
printf '\n=== FOCUSED_REGRESSIONS ===\n'
for file in \
tests/test_bounded_subprocess.py \
tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py \
tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_output_redaction.py \
tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_verify_output_limits.py \
tests/test_sandboxed_web_e2e_branch_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py
do
if [ -f "$file" ]; then
printf '\n--- %s ---\n' "$file"
rg -n -A70 -B10 \
'(join|30|TOKEN|dashed|operand|capture.*startup|reader|stuck|overflow|sentinel|readiness|cleanup|exception|redact|unicode|precedence|RLIMIT)' \
"$file" || true
fi
done
printf '\n=== COVERAGE_DOCSTRING_SECURITY_CONFIG ===\n'
rg -n -C4 --hidden \
'(coverage-evidence|fail_under|branch|docstring|interrogate|CodeQL|Python Security|Semgrep|Secret Scan|OSV|Scorecard|SBOM|Strix)' \
pyproject.toml .github/workflows 2>/dev/null || true
printf '\n=== TEMPORARY_WORKFLOW_AND_SCRIPT_SEARCH ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort | rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== DOCTORING_AND_DEPENDENCY_SNAPSHOTS ===\n'
for file in CHANGELOG.md docs/doctoring/sandboxed-command-log-redaction.md docs/doctoring/sandboxed-output-resource-bounds.md requirements-strix-ci.txt requirements-strix-ci-hashes.txt; do
if [ -f "$file" ]; then
printf '\n--- %s ---\n' "$file"
rg -n -C3 '(CWE-532|CWE-770|APA|NIST|SSDF|aiohttp|cryptography|pyOpenSSL|output|credential)' "$file" || true
fi
done
printf '\n=== EXACT_HEAD_RUNS ===\n'
gh run list --repo "$repo" --commit "$requested" --limit 50 \
--json workflowName,name,status,conclusion,url,headSha \
--jq '.[] | {workflowName,name,status,conclusion,url,headSha}' 2>/dev/null || trueLength of output: 205712 🏁 Script executed: #!/bin/bash
set -euo pipefail
requested='45e4929e1fc473211168b2d6360c9da2516e5341'
repo='ContextualWisdomLab/.github'
echo '=== HEAD_IDENTITY ==='
printf 'checked_out='; git rev-parse HEAD
printf 'requested='; git rev-parse "${requested}^{commit}"
echo '=== PR_STATUS ==='
gh pr view 767 --repo "$repo" --json headRefOid,isDraft,mergeStateStatus,statusCheckRollup,reviews \
--jq '{
headRefOid, isDraft, mergeStateStatus,
nonSuccessful: [.statusCheckRollup[] | select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL")) | {name,workflowName,status,conclusion}],
successful: [.statusCheckRollup[] | select(.status == "COMPLETED" and .conclusion == "SUCCESS") | {name,workflowName}],
reviews: [.reviews[] | {author:.author.login,state,commit:.commit.oid}]
}' 2>/dev/null || true
echo '=== UNRESOLVED_THREADS ==='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number=767 -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner:$owner,name:$name) { pullRequest(number:$number) {
reviewThreads(first:100) { nodes { isResolved comments(first:1) { nodes { path line author { login } } } } }
} }
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | {path:.comments.nodes[0].path,line:.comments.nodes[0].line,author:.comments.nodes[0].author.login}]' \
2>/dev/null || true
base="$(git merge-base "$requested" origin/main 2>/dev/null || git merge-base "$requested" main)"
echo '=== FINAL_COMMIT_PATHS ==='
git diff --name-status "${requested}^" "$requested"
echo '=== FINAL_COMMIT_DIFF ==='
git diff --unified=35 "${requested}^" "$requested" -- \
scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py \
scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py \
tests/test_bounded_subprocess_contract.py tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py .github/workflows .github/scripts
echo '=== BOUNDED_CAPTURE_CORE ==='
sed -n '1,470p' scripts/ci/bounded_subprocess.py | awk '{printf "%d:%s\n", NR, $0}' | \
grep -E -C 16 'READER_JOIN_TIMEOUT_SECONDS|def finish_bounded_capture|def run_bounded_command|start_bounded_capture|kill_process_group|\.join\('
echo '=== REDACTION_CORE ==='
sed -n '1,300p' scripts/ci/redact_sensitive_log.py | awk '{printf "%d:%s\n", NR, $0}' | \
grep -E -C 16 'def redact_command_arguments|def redact_shell_command|SENSITIVE_OPTION|TOKEN'
echo '=== SANDBOX_PUBLICATION_AND_LIFECYCLE ==='
for file in scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py; do
echo "--- $file ---"
sed -n '1,620p' "$file" | awk '{printf "%d:%s\n", NR, $0}' | \
grep -E -C 12 'def (start_service|stop_service|wait_for_url|tail_text|emit_result|main|run_shell)|finish_bounded_capture|start_bounded_capture|read_bounded_suffix|redact_|output_limited|OUTPUT_LIMIT_EXIT_CODE|TIMEOUT_EXIT_CODE|READINESS_EXIT_CODE'
done
echo '=== FOCUSED_TESTS ==='
for file in \
tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py \
tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_web_e2e_output_limits.py \
tests/test_sandboxed_web_e2e_branch_contract.py
do
echo "--- $file ---"
grep -nE 'def test_.*(join|TOKEN|operand|capture|startup|reader|overflow|sentinel|readiness|cleanup|exception|precedence|unicode|redact)' "$file" || true
done
echo '=== COVERAGE_AND_DOCSTRINGS ==='
grep -RInE -C 2 '(coverage-evidence|fail_under|branch|interrogate|docstring)' pyproject.toml .github/workflows 2>/dev/null | head -n 240 || true
echo '=== REMAINING_TEMPORARY_REPAIR_ASSETS ==='
fd -t f .github/workflows .github/scripts 2>/dev/null | sort | grep -Ei '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
echo '=== FILE_SIZE_LIMIT_SEARCH ==='
grep -RInE '(RLIMIT_FSIZE|setrlimit)' scripts/ci/bounded_subprocess.py scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py tests/test_bounded_subprocess.py tests/test_sandboxed_web_e2e_output_limits.py || true
echo '=== CURRENT_HEAD_WORKFLOW_RUNS ==='
gh run list --repo "$repo" --commit "$requested" --limit 30 \
--json workflowName,status,conclusion,url,headSha \
--jq '.[] | {workflowName,status,conclusion,headSha}' 2>/dev/null || trueLength of output: 72917
I found no new actionable source finding. The final commit deletes The inspected code retains:
No unresolved review thread was returned. The exact-head I cannot approve yet. These exact-head checks are still in progress:
Request approval review again after these checks complete successfully. You are interacting with an AI system. |
|
@opencode-agent @cwl-noema-review @coderabbitai review Review exact current head |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
head='45e4929e1fc473211168b2d6360c9da2516e5341'
base='3f65dbee6672b78802e7d71d49c390f3817bb03b'
printf 'CHECKED_OUT_HEAD='; git rev-parse HEAD
printf 'REQUESTED_HEAD='; git rev-parse "${head}^{commit}"
printf 'REQUESTED_BASE='; git rev-parse "${base}^{commit}"
printf 'ANCESTRY='
git merge-base --is-ancestor "$base" "$head" && printf 'base-is-ancestor\n' || printf 'base-is-not-ancestor\n'
printf '\n=== PR HEAD, CHECKS, AND REVIEWS ===\n'
gh pr view 767 --repo "$repo" --json headRefOid,isDraft,mergeStateStatus,statusCheckRollup,reviews \
--jq '{
headRefOid, isDraft, mergeStateStatus,
nonSuccessful: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name, workflowName, status, conclusion, detailsUrl}
],
checks: [.statusCheckRollup[] | {name, workflowName, status, conclusion}],
reviews: [.reviews[] | {author: .author.login, state, commit: .commit.oid}]
}'
printf '\n=== UNRESOLVED REVIEW THREADS ===\n'
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number=767 -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner:$owner,name:$name) {
pullRequest(number:$number) {
reviewThreads(first:100) {
nodes {
isResolved
comments(first:1) { nodes { author { login } body path line } }
}
}
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[]
| select(.isResolved == false)
| {author:.comments.nodes[0].author.login,path:.comments.nodes[0].path,line:.comments.nodes[0].line,body:.comments.nodes[0].body}]'
printf '\n=== EXACT-HEAD WORKFLOW RUNS ===\n'
gh run list --repo "$repo" --commit "$head" --limit 60 \
--json workflowName,name,status,conclusion,url,headSha \
--jq '.[] | {workflowName,name,status,conclusion,headSha,url}'
printf '\n=== BASE-TO-HEAD CHANGED PATHS ===\n'
git diff --name-status "$base..$head"
printf '\n=== BASE-TO-HEAD DIFF STAT ===\n'
git diff --stat "$base..$head"
printf '\n=== PRODUCTION OUTLINES ===\n'
for file in scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py; do
printf '\n--- %s ---\n' "$file"
ast-grep outline "$file" --items all --type class,function || true
done
printf '\n=== CAPTURE, REDACTION, AND PUBLICATION IMPLEMENTATION ===\n'
for file in scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py; do
printf '\n--- %s ---\n' "$file"
nl -ba "$file" | sed -n '1,500p'
done
printf '\n--- scripts/ci/sandboxed_verify.py ---\n'
nl -ba scripts/ci/sandboxed_verify.py | sed -n '140,430p'
printf '\n--- scripts/ci/sandboxed_web_e2e.py ---\n'
nl -ba scripts/ci/sandboxed_web_e2e.py | sed -n '90,650p'
printf '\n=== COMPLETION POLLING IMPLEMENTATION ===\n'
rg -n -C 10 --glob '*.sh' --glob '*.py' \
'(kill -0|jobs -pr|jobs -p|wait|fatal.*provider|provider.*fatal|healthy.*model|model.*completion)' \
scripts tests
printf '\n=== PUBLICATION SINKS AND RESOURCE LIMIT SEARCH ===\n'
rg -n -C 4 --glob '*.py' \
'(print\(|write_text\(|write\(|json\.dump|json\.dumps|emit_result|tail_text|redact_text|redact_command_arguments|redact_shell_command|RLIMIT_FSIZE|setrlimit)' \
scripts/ci
printf '\n=== BASE-TO-HEAD WORKFLOW, PERMISSION, AND CREDENTIAL DIFF ===\n'
git diff --unified=35 "$base..$head" -- \
'.github/workflows/**' '.github/scripts/**' \
'scripts/ci/run_opencode_review_model_pool.sh' \
'tests/test_opencode_model_pool_runner.py' \
| sed -n '1,2600p'
printf '\n=== TEMPORARY REPAIR ASSET SEARCH ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE, DOCSTRING, DOCTORING, AND LOCK EVIDENCE ===\n'
rg -n -C 4 --hidden \
'(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows 2>/dev/null || true
for file in \
CHANGELOG.md \
docs/doctoring/sandboxed-command-log-redaction.md \
docs/doctoring/sandboxed-output-resource-bounds.md \
requirements-strix-ci.txt \
requirements-strix-ci-hashes.txt
do
printf '\n--- %s ---\n' "$file"
rg -n -C 3 '(CWE-532|CWE-770|APA|NIST|SSDF|credential|output|aiohttp|cryptography|pyOpenSSL)' "$file" || true
done
printf '\n=== FOCUSED REGRESSION TESTS ===\n'
for file in \
tests/test_bounded_subprocess.py \
tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py \
tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_output_redaction.py \
tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_verify_output_limits.py \
tests/test_sandboxed_web_e2e_branch_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py \
tests/test_opencode_model_pool_runner.py
do
if [ -f "$file" ]; then
printf '\n--- %s ---\n' "$file"
rg -n -A55 -B8 \
'(join|30|sibling|capture.*startup|reader|stuck|overflow|unicode|TOKEN|dashed|operand|redact|timeout|precedence|sentinel|readiness|kill -0|jobs -p|model)' \
"$file" || true
fi
doneLength of output: 21705 🏁 Script executed: #!/bin/bash
set -euo pipefail
head='45e4929e1fc473211168b2d6360c9da2516e5341'
base='3f65dbee6672b78802e7d71d49c390f3817bb03b'
numbered_range() {
local file="$1" start="$2" end="$3"
printf '\n=== %s, Lines %s-%s ===\n' "$file" "$start" "$end"
awk -v start="$start" -v end="$end" \
'NR >= start && NR <= end {printf "%d:%s\n", NR, $0}' "$file"
}
printf 'HEAD='; git rev-parse HEAD
printf 'REQUESTED='; git rev-parse "${head}^{commit}"
numbered_range scripts/ci/bounded_subprocess.py 1 460
numbered_range scripts/ci/redact_sensitive_log.py 1 260
numbered_range scripts/ci/sandboxed_verify.py 160 390
numbered_range scripts/ci/sandboxed_web_e2e.py 110 560
printf '\n=== COMPLETION POLLING IMPLEMENTATION ===\n'
rg -n -C 12 --glob '*.sh' --glob '*.py' \
'(kill -0|jobs -pr|jobs -p|wait|fatal.*provider|provider.*fatal|healthy.*model|model.*completion)' \
scripts tests
printf '\n=== PUBLICATION SINKS AND FILE-SIZE-CAP SEARCH ===\n'
rg -n -C 5 --glob '*.py' \
'(print\(|write_text\(|write\(|json\.dump|json\.dumps|emit_result|tail_text|redact_text|redact_command_arguments|redact_shell_command|RLIMIT_FSIZE|setrlimit)' \
scripts/ci
printf '\n=== BASE-TO-HEAD WORKFLOW, PERMISSION, CREDENTIAL, AND MODEL-RUNNER DIFF ===\n'
git diff --unified=35 "$base..$head" -- \
'.github/workflows/**' '.github/scripts/**' \
'scripts/ci/run_opencode_review_model_pool.sh' \
'tests/test_opencode_model_pool_runner.py'
printf '\n=== TEMPORARY REPAIR ASSET SEARCH ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE AND DOCSTRING CONFIGURATION ===\n'
rg -n -C 5 --hidden \
'(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows 2>/dev/null || true
printf '\n=== DOCTORING AND DEPENDENCY SNAPSHOTS ===\n'
for file in \
CHANGELOG.md \
docs/doctoring/sandboxed-command-log-redaction.md \
docs/doctoring/sandboxed-output-resource-bounds.md \
requirements-strix-ci.txt \
requirements-strix-ci-hashes.txt
do
printf '\n--- %s ---\n' "$file"
rg -n -C 4 '(CWE-532|CWE-770|APA|NIST|SSDF|credential|output|aiohttp|cryptography|pyOpenSSL)' "$file" || true
done
printf '\n=== FOCUSED REGRESSION TESTS ===\n'
for file in \
tests/test_bounded_subprocess.py \
tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py \
tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_output_redaction.py \
tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_verify_output_limits.py \
tests/test_sandboxed_web_e2e_branch_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py \
tests/test_opencode_model_pool_runner.py
do
if [ -f "$file" ]; then
printf '\n--- %s ---\n' "$file"
rg -n -A60 -B10 \
'(join|30|sibling|capture.*startup|reader|stuck|overflow|unicode|TOKEN|dashed|operand|redact|timeout|precedence|sentinel|readiness|kill -0|jobs -p|model)' \
"$file" || true
fi
done
printf '\n=== CURRENT EXACT-HEAD GATES ===\n'
gh pr view 767 --repo 'ContextualWisdomLab/.github' --json headRefOid,statusCheckRollup \
--jq '{
headRefOid,
incompleteOrFailed: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name, workflowName, status, conclusion, detailsUrl}
]
}'Length of output: 96419 🏁 Script executed: #!/bin/bash
set -euo pipefail
head='45e4929e1fc473211168b2d6360c9da2516e5341'
base='3f65dbee6672b78802e7d71d49c390f3817bb03b'
show() {
local file="$1" start="$2" end="$3"
printf '\n=== %s:%s-%s ===\n' "$file" "$start" "$end"
awk -v start="$start" -v end="$end" \
'NR >= start && NR <= end {printf "%d:%s\n", NR, $0}' "$file"
}
show scripts/ci/bounded_subprocess.py 68 170
show scripts/ci/bounded_subprocess.py 237 430
show scripts/ci/redact_sensitive_log.py 35 220
show scripts/ci/sandboxed_verify.py 175 350
show scripts/ci/sandboxed_web_e2e.py 120 460
show scripts/ci/run_opencode_review_model_pool.sh 1 260
printf '\n=== COMPLETION-POLLING MATCHES ===\n'
rg -n -C 8 '(kill -0|jobs -pr|jobs -p|wait)' scripts/ci/run_opencode_review_model_pool.sh
printf '\n=== CHANGED WORKFLOW AND MODEL-RUNNER DIFF ===\n'
git diff --unified=20 "$base..$head" -- \
.github/workflows/scheduled-security-scan.yml \
scripts/ci/run_opencode_review_model_pool.sh \
tests/test_opencode_model_pool_runner.py
printf '\n=== WORKFLOW PERMISSIONS AND CREDENTIAL-IDENTIFIER DIFF ===\n'
git diff --unified=5 "$base..$head" -- .github/workflows \
| rg -n -C 5 '(permissions:|NVIDIA|TOKEN|SECRET|KEY|credential|api[_-]?key|token)' || true
printf '\n=== TEMPORARY ASSET SEARCH ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE AND DOCSTRING EVIDENCE ===\n'
rg -n -C 4 '(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows
printf '\n=== APA 7 AND CWE RECORDS ===\n'
rg -n -C 3 '(CWE-532|CWE-770|APA 7|References|NIST|SSDF)' \
CHANGELOG.md \
docs/doctoring/sandboxed-command-log-redaction.md \
docs/doctoring/sandboxed-output-resource-bounds.md
printf '\n=== EXACT-HEAD ACTIVE GATES ===\n'
gh pr view 767 --repo 'ContextualWisdomLab/.github' --json headRefOid,statusCheckRollup \
--jq '{
headRefOid,
incompleteOrFailed: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name, workflowName, status, conclusion, detailsUrl}
]
}'Length of output: 202715
I found no new actionable source finding in the available current-head evidence. The review confirmed these items:
I cannot approve this head yet.
Request approval review again after this exact-head check completes successfully. You are interacting with an AI system. |
|
@opencode-agent fix Work only on the current PR head. Complete the unfinished central-review repair without weakening any gate:
Use |
|
@opencode-agent @cwl-noema-review Please perform the final independent review of exact current head |
|
@opencode-agent @cwl-noema-review @coderabbitai review Review exact current head |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
head='45e4929e1fc473211168b2d6360c9da2516e5341'
base='3f65dbee6672b78802e7d71d49c390f3817bb03b'
printf 'CHECKED_OUT_HEAD='; git rev-parse HEAD
printf 'REQUESTED_HEAD='; git rev-parse "${head}^{commit}"
printf 'REQUESTED_BASE='; git rev-parse "${base}^{commit}"
printf 'BASE_IS_ANCESTOR='
if git merge-base --is-ancestor "$base" "$head"; then echo yes; else echo no; fi
printf '\n=== PR STATUS AND CURRENT REVIEWS ===\n'
gh pr view 767 --repo "$repo" --json headRefOid,isDraft,mergeStateStatus,statusCheckRollup,reviews \
--jq '{
headRefOid, isDraft, mergeStateStatus,
incompleteOrFailed: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name,workflowName,status,conclusion,detailsUrl}
],
checks: [.statusCheckRollup[] | {name,workflowName,status,conclusion}],
reviews: [.reviews[] | {author:.author.login,state,commit:.commit.oid}]
}'
printf '\n=== UNRESOLVED REVIEW THREADS ===\n'
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number=767 -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner:$owner,name:$name) {
pullRequest(number:$number) {
reviewThreads(first:100) {
nodes { isResolved comments(first:1) { nodes { author { login } path line body } } }
}
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[]
| select(.isResolved == false)
| {author:.comments.nodes[0].author.login,path:.comments.nodes[0].path,line:.comments.nodes[0].line,body:.comments.nodes[0].body}]'
printf '\n=== EXACT-HEAD RUNS ===\n'
gh run list --repo "$repo" --commit "$head" --limit 60 \
--json workflowName,name,status,conclusion,url,headSha \
--jq '.[] | {workflowName,name,status,conclusion,headSha,url}'
printf '\n=== BASE-TO-HEAD PATHS ===\n'
git diff --name-status "$base..$head"
printf '\n=== PRODUCTION STRUCTURE ===\n'
for f in scripts/ci/bounded_subprocess.py scripts/ci/redact_sensitive_log.py scripts/ci/sandboxed_verify.py scripts/ci/sandboxed_web_e2e.py; do
printf '\n--- %s ---\n' "$f"
ast-grep outline "$f" --items all --type class,function || true
done
printf '\n=== BOUNDED CAPTURE AND REDACTION IMPLEMENTATION ===\n'
nl -ba scripts/ci/bounded_subprocess.py | sed -n '1,470p'
nl -ba scripts/ci/redact_sensitive_log.py | sed -n '1,300p'
printf '\n=== SANDBOX LIFECYCLE AND PUBLICATION PATHS ===\n'
nl -ba scripts/ci/sandboxed_verify.py | sed -n '150,420p'
nl -ba scripts/ci/sandboxed_web_e2e.py | sed -n '100,600p'
printf '\n=== RESULT, SINK, AND LIMIT SEARCH ===\n'
rg -n -C 5 --glob '*.py' \
'(OUTPUT_LIMIT_EXIT_CODE|TIMEOUT_EXIT_CODE|READINESS_EXIT_CODE|output_limited|TimeoutExpired|emit_result|print\(|json\.dump|write_text|redact_(text|command_arguments|shell_command)|read_bounded_suffix|kill_process_group|finish_bounded_capture|RLIMIT_FSIZE|setrlimit)' \
scripts/ci tests
printf '\n=== FOCUSED REGRESSION TESTS ===\n'
for f in \
tests/test_bounded_subprocess.py tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_output_redaction.py tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_verify_output_limits.py tests/test_sandboxed_web_e2e_branch_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py tests/test_opencode_model_pool_runner.py
do
printf '\n--- %s ---\n' "$f"
rg -n -A45 -B8 \
'^def test_.*(join|sibling|capture|startup|reader|stuck|overflow|unicode|redact|json|authorization|timeout|precedence|sentinel|readiness|model|fatal)|coverage|docstring' \
"$f" || true
done
printf '\n=== COMPLETION POLLING ===\n'
rg -n -C 12 --glob '*.sh' '(kill -0|jobs -pr|jobs -p|wait|fatal.*provider|provider.*fatal)' scripts/ci
printf '\n=== TEMPORARY AUTOMATION SEARCH ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE, DOCSTRING, DOCTORING, LOCKS, AND PERMISSION DIFF ===\n'
rg -n -C 4 --hidden '(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows 2>/dev/null || true
rg -n -C 3 '(CWE-532|CWE-770|APA 7|References|NIST|SSDF)' \
CHANGELOG.md docs/doctoring/sandboxed-command-log-redaction.md \
docs/doctoring/sandboxed-output-resource-bounds.md 2>/dev/null || true
git diff --unified=8 "$base..$head" -- .github/workflows scripts/ci/run_opencode_review_model_pool.sh \
| rg -n -C 5 '(permissions:|NVIDIA_NIM_API_KEY|COPILOT_GITHUB_TOKEN|TOKEN|SECRET|KEY)' || trueLength of output: 21350 🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
head='45e4929e1fc473211168b2d6360c9da2516e5341'
show_range() {
local file="$1" start="$2" end="$3"
printf '\n=== %s: Lines %s-%s ===\n' "$file" "$start" "$end"
awk -v start="$start" -v end="$end" \
'NR >= start && NR <= end {printf "%d:%s\n", NR, $0}' "$file"
}
printf 'HEAD='; git rev-parse HEAD
printf 'REQUESTED='; git rev-parse "${head}^{commit}"
show_range scripts/ci/bounded_subprocess.py 1 460
show_range scripts/ci/redact_sensitive_log.py 1 280
show_range scripts/ci/sandboxed_verify.py 160 390
show_range scripts/ci/sandboxed_web_e2e.py 110 560
show_range scripts/ci/run_opencode_review_model_pool.sh 1 280
printf '\n=== FOCUSED TEST CONTENT ===\n'
for f in \
tests/test_bounded_subprocess.py \
tests/test_bounded_subprocess_contract.py \
tests/test_bounded_subprocess_capture_startup.py \
tests/test_redact_sensitive_log_contract.py \
tests/test_sandboxed_output_redaction.py \
tests/test_sandboxed_service_capture_startup.py \
tests/test_sandboxed_verify_output_limits.py \
tests/test_sandboxed_web_e2e_branch_contract.py \
tests/test_sandboxed_web_e2e_output_limits.py \
tests/test_opencode_model_pool_runner.py \
tests/test_opencode_agent_contract.py
do
printf '\n=== %s ===\n' "$f"
rg -n -A50 -B8 \
'(def test_.*(join|sibling|capture|startup|reader|stuck|overflow|unicode|redact|json|authorization|timeout|precedence|sentinel|readiness|model|fatal|git_config)|GIT_CONFIG_NOSYSTEM|GIT_CONFIG_GLOBAL|safe\.directory)' \
"$f" || true
done
printf '\n=== ALL PUBLICATION WRITES ===\n'
rg -n -C 5 --glob '*.py' \
'(print\(|write_text\(|write\(|json\.dump|json\.dumps|emit_result|tail_text|redact_text|redact_command_arguments|redact_shell_command)' \
scripts/ci
printf '\n=== FILE LIMIT AND TEMPORARY ASSET SEARCH ===\n'
rg -n '(RLIMIT_FSIZE|setrlimit)' scripts/ci tests || true
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE AND DOCSTRING CONFIGURATION ===\n'
rg -n -C 5 --hidden '(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows 2>/dev/null || true
printf '\n=== DOCTORING RECORDS ===\n'
rg -n -C 4 '(CWE-532|CWE-770|APA 7|References|NIST|SSDF)' \
CHANGELOG.md docs/doctoring/sandboxed-command-log-redaction.md \
docs/doctoring/sandboxed-output-resource-bounds.md 2>/dev/null || true
printf '\n=== STRIX RUN AND FAILED JOB ===\n'
gh run view 30994345100 --repo "$repo" --json status,conclusion,url,jobs \
--jq '{status,conclusion,url,jobs:[.jobs[]|{name,status,conclusion,startedAt,completedAt,url}]}'
gh run view 30994345100 --repo "$repo" --log-failed 2>&1 | tail -n 240 || trueLength of output: 202950 🏁 Script executed: #!/bin/bash
set -euo pipefail
show() {
local f="$1" s="$2" e="$3"
printf '\n=== %s:%s-%s ===\n' "$f" "$s" "$e"
awk -v s="$s" -v e="$e" 'NR >= s && NR <= e {printf "%d:%s\n", NR, $0}' "$f"
}
printf '=== bounded subprocess ===\n'
show scripts/ci/bounded_subprocess.py 68 175
show scripts/ci/bounded_subprocess.py 237 440
printf '\n=== redaction ===\n'
show scripts/ci/redact_sensitive_log.py 35 215
printf '\n=== verify results ===\n'
show scripts/ci/sandboxed_verify.py 175 345
printf '\n=== web E2E lifecycle and results ===\n'
show scripts/ci/sandboxed_web_e2e.py 120 295
show scripts/ci/sandboxed_web_e2e.py 307 500
printf '\n=== model pool completion polling ===\n'
rg -n -A35 -B15 '(jobs -pr|jobs -p|kill -0|wait|fatal_provider|fatal.provider)' \
scripts/ci/run_opencode_review_model_pool.sh
printf '\n=== narrow test contracts ===\n'
rg -n -A32 -B6 \
'(def test_.*(join|sibling|capture_startup|overflow|timeout|unicode)|READER_JOIN_TIMEOUT_SECONDS|original.*exception|finali[sz].*capture)' \
tests/test_bounded_subprocess_contract.py tests/test_bounded_subprocess_capture_startup.py
rg -n -A28 -B6 \
'(def test_.*(command_argument|bare|TOKEN|json|authorization|timeout|service_logs)|ordinary operand)' \
tests/test_redact_sensitive_log_contract.py tests/test_sandboxed_output_redaction.py
rg -n -A28 -B6 \
'(def test_.*(service_log_overflow|sentinel|precedence|readiness|cleanup))' \
tests/test_sandboxed_web_e2e_output_limits.py tests/test_sandboxed_web_e2e_branch_contract.py
rg -n -A30 -B6 \
'(def test_.*(model|fatal|healthy)|GIT_CONFIG_NOSYSTEM|GIT_CONFIG_GLOBAL|safe\.directory)' \
tests/test_opencode_model_pool_runner.py tests/test_opencode_agent_contract.py
printf '\n=== test/docstring gate receipts ===\n'
gh run view 30994345187 --repo ContextualWisdomLab/.github --log 2>&1 \
| rg -n -C 3 '(coverage-evidence|866 passed|100%|TOTAL|interrogate|docstring|FAIL|ERROR)' \
| tail -n 220 || trueLength of output: 123575
I found one actionable test-isolation issue.
The bounded command and service implementation has evidence for separate bounded drains, first-overflow process-group termination, finite sibling-reader joins, startup cleanup, Unicode suffix decoding, output-limit I cannot approve this head.
The retrieved You are interacting with an AI system. |
There was a problem hiding this comment.
Pull request overview
OpenCode could not approve from deterministic current-head evidence because GitHub Checks have failed.
Findings
1. HIGH Current-head GitHub Checks - Fix failed required checks before approval
- Problem: Failed same-head checks remain for
45e4929e1fc473211168b2d6360c9da2516e5341. - Root cause: The model-unavailable evidence fallback is allowed only when peer GitHub Checks are complete and clean.
- Fix: Read and fix the failed check logs below, then rerun the current-head checks.
- Regression test: Keep the model-unavailable fallback gated on an empty failed-check rollup.
Failed checks:
- Strix Security Scan/strix workflow run: failure (https://github.com/ContextualWisdomLab/.github/actions/runs/30994345100)
- Strix Security Scan/strix: failure (https://github.com/ContextualWisdomLab/.github/actions/runs/30994345100/job/92267783437)
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Workflow: scheduled-security-scan.yml"]
S1 --> I1["GitHub Actions review job"]
I1 --> R1["Review risk: Workflow: scheduled-security-scan.yml"]
R1 --> V1["actionlint plus required checks"]
Evidence --> S2["Changed file (3 files)"]
S2 --> I2["repository behavior"]
I2 --> R2["Review risk: Changed file (3 files)"]
R2 --> V2["required checks"]
Evidence --> S3["Docs (4 files)"]
S3 --> I3["operator or user guidance"]
I3 --> R3["Review risk: Docs (4 files)"]
R3 --> V3["docs review"]
Evidence --> S4["CI script (5 files)"]
S4 --> I4["review and security gate shell path"]
I4 --> R4["Review risk: CI script (5 files)"]
R4 --> V4["bash -n plus Strix self-test"]
Evidence --> S5["Test (13 files)"]
S5 --> I5["regression suite"]
I5 --> R5["Review risk: Test (13 files)"]
R5 --> V5["targeted test run"]
Dismissed after the exact same head was revalidated: the referenced Strix run was re-executed successfully and the current combined strix status is now success. This dismissal removes stale failed-check state only; a fresh current-head OpenCode/Noema verdict and qualifying independent approval are still required.
|
@opencode-agent @cwl-noema-review Re-evaluate exact current head |
|
@opencode-agent @cwl-noema-review @coderabbitai review Re-review exact current head |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
head='45e4929e1fc473211168b2d6360c9da2516e5341'
base='3f65dbee6672b78802e7d71d49c390f3817bb03b'
printf 'CHECKED_OUT_HEAD='; git rev-parse HEAD
printf 'REQUESTED_HEAD='; git rev-parse "${head}^{commit}"
printf 'BASE='; git rev-parse "${base}^{commit}"
printf 'BASE_IS_ANCESTOR='
if git merge-base --is-ancestor "$base" "$head"; then printf 'yes\n'; else printf 'no\n'; fi
printf '\n=== CURRENT_PR_ROLLUP ===\n'
gh pr view 767 --repo "$repo" --json headRefOid,isDraft,mergeStateStatus,statusCheckRollup,reviews \
--jq '{
headRefOid,
isDraft,
mergeStateStatus,
incompleteOrFailed: [
.statusCheckRollup[]
| select(.status != "COMPLETED" or (.conclusion != "SUCCESS" and .conclusion != "SKIPPED" and .conclusion != "NEUTRAL"))
| {name, workflowName, status, conclusion, detailsUrl}
],
checks: [.statusCheckRollup[] | {name, workflowName, status, conclusion}]
}'
printf '\n=== EXACT_HEAD_RUNS ===\n'
gh run list --repo "$repo" --commit "$head" --limit 80 \
--json databaseId,workflowName,name,status,conclusion,url,headSha \
--jq '.[] | {databaseId,workflowName,name,status,conclusion,url,headSha}'
printf '\n=== STRIX_RERUN ===\n'
gh run view 30994345100 --repo "$repo" --json status,conclusion,url,jobs \
--jq '{status,conclusion,url,jobs:[.jobs[]|select(.databaseId==92287515067 or .databaseId==92267783437)|{databaseId,name,status,conclusion,url}]}'
printf '\n=== UNRESOLVED_THREADS ===\n'
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number=767 -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner:$owner,name:$name) {
pullRequest(number:$number) {
reviewThreads(first:100) {
nodes {
isResolved
comments(first:1) { nodes { author { login } path line body } }
}
}
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[]
| select(.isResolved == false)
| {author:.comments.nodes[0].author.login,path:.comments.nodes[0].path,line:.comments.nodes[0].line,body:.comments.nodes[0].body}]'
printf '\n=== PRIOR_TEST_ISOLATION_FINDING ===\n'
rg -n -A70 -B12 \
'def test_sandbox_git_config_env_marks_only_the_validated_worktree_safe|GIT_CONFIG_NOSYSTEM|GIT_CONFIG_GLOBAL|safe\.directory' \
tests/test_opencode_agent_contract.py
printf '\n=== BOUNDED_CAPTURE_AND_REDACTION_CORE ===\n'
for file in \
scripts/ci/bounded_subprocess.py \
scripts/ci/redact_sensitive_log.py \
scripts/ci/sandboxed_verify.py \
scripts/ci/sandboxed_web_e2e.py
do
printf '\n--- %s ---\n' "$file"
rg -n -A38 -B10 \
'(READER_JOIN_TIMEOUT_SECONDS|def (run_bounded_command|finish_bounded_capture|start_service|stop_service|wait_for_url|tail_text|emit_result)|start_bounded_capture|kill_process_group|read_bounded_suffix|redact_(text|command_arguments|shell_command)|OUTPUT_LIMIT_EXIT_CODE|TIMEOUT_EXIT_CODE|READINESS_EXIT_CODE)' \
"$file" || true
done
printf '\n=== TEMPORARY_REPAIR_ASSETS ===\n'
fd -t f .github/workflows .github/scripts 2>/dev/null | sort \
| rg -i '(temporary|diagnostic|write|repair|one-shot|pr767|finalize)' || true
printf '\n=== COVERAGE_DOCSTRING_CONFIGURATION ===\n'
rg -n -C4 --hidden \
'(coverage-evidence|fail_under|branch|interrogate|docstring|100)' \
pyproject.toml .github/workflows 2>/dev/null || true
printf '\n=== COVERAGE_EVIDENCE_RUN_LOG ===\n'
gh run list --repo "$repo" --commit "$head" --limit 80 \
--json databaseId,workflowName,conclusion \
--jq '.[] | select(.workflowName == "coverage-evidence") | .databaseId' \
| head -n 1 \
| xargs -r -I{} gh run view {} --repo "$repo" --log 2>&1 \
| rg -n -C3 '(passed|TOTAL|100%|branch|interrogate|docstring|FAIL|ERROR)' \
| tail -n 220 || trueLength of output: 250031 🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
run='30994345187'
printf '=== COVERAGE_JOB_METADATA ===\n'
gh run view "$run" --repo "$repo" --json status,conclusion,url,jobs \
--jq '{
status,
conclusion,
url,
jobs: [.jobs[] | select(.name == "coverage-evidence" or (.name | test("coverage"; "i")))
| {databaseId,name,status,conclusion,url,steps:[.steps[]|{name,status,conclusion}]}]
}'
printf '\n=== COVERAGE_JOB_LOG_RECEIPT ===\n'
gh run view "$run" --repo "$repo" --log 2>&1 \
| rg -n -i -C4 \
'(python test coverage|coverage report|total|branch|interrogate|docstring|passed|fail_under|fail-under|coverage evidence|result:|error|fail)' \
| tail -n 360 || true
printf '\n=== COVERAGE_COMMAND_IMPLEMENTATION ===\n'
rg -n -A120 -B12 \
'(run_python_test_coverage\(\)|coverage run|coverage report|--branch|run_python_docstring_coverage\(\)|interrogate)' \
.github/workflows/opencode-review-dispatch.yml pyproject.toml
printf '\n=== EXACT_TEST_ENV_CONTEXT ===\n'
sed -n '861,912p' tests/test_opencode_agent_contract.py | nl -ba -v861Length of output: 78658
The Strix rerun is successful. Job I cannot approve this head.
The current PR rollup also reports You are interacting with an AI system. |
|
@opencode-agent @cwl-noema-review Please independently review exact current head |
|
Superseded by focused current- |
Summary
Secures every durable sandbox evidence sink against credential disclosure and unbounded child output before review publication.
Confidentiality
shell=False, environment scrubbing, exit status, timeouts, and ordinary non-sensitive diagnostics;docker run -e TOKEN imagewhile still redactingTOKEN=value,--token=value, and--token secret.Availability
123, timeout124, and readiness125;bounded output drain did not finishinstead of hanging until the outer workflow timeout;Realistic evidence
Supply-chain alignment
The branch retains the reviewed secure Strix snapshots for
aiohttp==3.14.3,cryptography==50.0.0, and compatiblepyOpenSSL==26.4.0so exact-head hard dependency gates remain meaningful.CHANGELOG.mdand APA 7 doctoring cover CWE-532/NIST SSDF confidentiality controls and CWE-770/Python subprocess availability controls.Rejected implementation
Process-wide
RLIMIT_FSIZEis deliberately rejected because it would cap coverage databases, archives, compiled assets, temporary databases, and other legitimate repository files. Only stdout/stderr evidence retention is bounded.Exact-head gate
Current exact head:
a4674c4a111d085392fd5dd06c1f16b3136e5720.TDD repair sequence on the current branch:
0d1c792e218dd1f7d8becb62bad6b2108294bdaf;TOKENoperand-loss regression:e5cdf112d94c6bca73d69a8d97ddfb8ffda49da3;a91bc841048c3542fa37aeed33de9063457ae158;ac1fa27ec61ffe813b542ecceb6423115d60748a;8f4dd8e7625a6a283b2780c1ecb6b34bfadc31ca;8657f362c9813a4eefeeb441f8d0d2294fdfebff;1e2f9b4fcee2f5ec3c516ccad953cf4f6c5f1c70,5fc9b643ab206f4e17aed010ca2785f70b08ef68,16143d17f820d77dffe3cb550f47f58ffbdff0a3;a4674c4a111d085392fd5dd06c1f16b3136e5720.Temporary diagnostic/write workflows and repair scripts are absent from the exact current head. Security Scan, Semgrep, Secret Scan, OSV, Scorecard, and SBOM are successful; Python Security and CodeQL are still running at the latest inspection. Current-head OpenCode, Noema, CodeRabbit review, complete coverage/docstring evidence, qualifying independent approval, and branch protection remain mandatory. No predecessor-head verdict, queued/pending check, or administrative bypass is accepted.
This PR supersedes #764 after merge. It changes no OpenCode, Noema, Strix, NVIDIA NIM, reviewer identity, credential name/scope, scheduled-agent key, or workflow permission.
Closes #766.
Supersedes #764 after merge.