fix(ci): restore central review, security, snapshots, and hourly repair - #731
fix(ci): restore central review, security, snapshots, and hourly repair#731seonghobae wants to merge 34 commits into
Conversation
|
@opencode-agent Please review exact head |
|
@cwl-noema-review Please independently review exact head |
|
Warning Review limit reached
Next review available in: 46 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (13)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Pull request was converted to draft
|
@coderabbitai review Please review the current head. All exact-head security, CodeQL, Semgrep, OSV, SBOM, Secret Scan, Scorecard, and Python Security workflows are green; this PR is intended to repair the protected baseline before dependent coverage and stale-pin PRs continue. |
|
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@opencode-agent Please review refreshed exact head |
|
@cwl-noema-review Please independently review refreshed exact head |
|
@coderabbitai review Please start a full current-head review now that the prior quota window has elapsed. Review exact head |
|
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 38 minutes. |
|
@copilot review the exact current head |
🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Identity =='
printf 'checked_out_head='; git rev-parse HEAD
git cat-file -t "$head"
git show -s --format='commit=%H%nparents=%P%nsubject=%s' "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and whitespace =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
echo '== Exact classifier diff =='
git diff --unified=30 "$base" "$head" -- \
scripts/ci/install_base_python_locks.py \
tests/test_install_base_python_lock_missing_pin.py
echo '== Classifier implementation =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
cat -n scripts/ci/install_base_python_locks.py
echo '== Classifier tests =='
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
cat -n tests/test_install_base_python_lock_missing_pin.py
echo '== Affected workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/scheduled-security-scan.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/pr-review-fix-scheduler.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Workflow contracts =='
for path in \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
do
echo "--- $path"
cat -n "$path"
done
echo '== CodeQL pins and privileged-write indicators =='
rg -n -C2 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b' \
.github/workflows
echo '== Strix locks =='
rg -n -A25 -B3 \
'^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Exact-head check runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[] | [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' | sort -u
echo '== Exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review-thread count =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 151101
The classifier finding is corrected. Static inspection found no additional actionable defect in the reviewed classifier, CodeQL pin consistency, scheduler source binding, SBOM snapshot contract, or Strix lock updates. I cannot approve yet. The exact-head required checks are queued. This prevents verification of test execution, 100% coverage, and required security results. The PR has zero unresolved review threads. ✅ Action performedReview finished.
|
|
@opencode-agent Please independently review exact current head |
|
@cwl-noema-review Please independently review exact current head |
|
@coderabbitai review Please perform a full review against exact current head |
|
@coderabbitai review 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
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact-head identity =='
printf 'checked_out_head='; git rev-parse HEAD
git cat-file -t "$head"
git show -s --format='commit=%H%nparents=%P%nsubject=%s' "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and diff validation =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
git diff --stat "$base" "$head"
git diff --unified=24 "$base" "$head" -- \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml \
docs/automation/hourly-review-repair.md \
docs/doctoring/central-security-and-review-baseline.md \
requirements-strix-ci.txt \
requirements-strix-ci-hashes.txt \
scripts/ci/install_base_python_locks.py \
tests/test_install_base_python_lock_missing_pin.py \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
echo '== Changed source and test structure =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
ast-grep outline tests/test_pr_review_fix_hourly_contract.py --items all
ast-grep outline tests/test_pr_review_fix_scheduler_source_pin.py --items all
ast-grep outline tests/test_sbom_generation_push_contract.py --items all
echo '== Installer and tests =='
cat -n scripts/ci/install_base_python_locks.py
cat -n tests/test_install_base_python_lock_missing_pin.py
cat -n tests/test_pr_review_fix_hourly_contract.py
cat -n tests/test_pr_review_fix_scheduler_source_pin.py
cat -n tests/test_sbom_generation_push_contract.py
echo '== Changed workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Security and workflow indicators =='
rg -n -C3 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows
echo '== Strix requirements =='
rg -n -A28 -B4 \
'^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Documentation =='
cat -n docs/automation/hourly-review-repair.md
cat -n docs/doctoring/central-security-and-review-baseline.md
echo '== Current exact-head checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[] | [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' | sort -u
echo '== Current exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 166245 🏁 Script executed: #!/bin/bash
set -euo pipefail
log='/tmp/coderabbit-shell-logs/shell-output-jolwwH'
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact-head identity and changed-file set from first inspection =='
sed -n '1,160p' "$log"
echo '== Classifier definitions and preflight decision path =='
sed -n '1,230p' scripts/ci/install_base_python_locks.py
echo '== Remaining classifier regression tests =='
sed -n '219,560p' tests/test_install_base_python_lock_missing_pin.py
echo '== Diff-only workflow and installer changes =='
base="$(git merge-base "$head" origin/main)"
git diff --unified=50 "$base" "$head" -- \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml \
scripts/ci/install_base_python_locks.py \
tests/test_install_base_python_lock_missing_pin.py \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
echo '== Changed paths only: write-capable or source-selector indicators =='
git diff --unified=5 "$base" "$head" -- .github/workflows \
| rg -n -C3 '^\+.*(git\s+push\b|gh\s+pr\s+merge\b|contents:\s*write|pull-requests:\s*write|workflow_dispatch|canonical_ref|github\.sha|job\.workflow_(repository|sha)|codeql-action/(init|analyze|upload-sarif)@)' || true
echo '== Current current-head status refresh =='
gh pr view "$pr" --repo "$repo" \
--json headRefOid,mergeable,reviewDecision \
--jq '{headRefOid,mergeable,reviewDecision}'
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[] | select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped")) | [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' | sort -uLength of output: 81083 🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Pull request exact-head identity =='
gh pr view "$pr" --repo "$repo" \
--json headRefOid,state,mergeable,reviewDecision \
--jq '{headRefOid,state,mergeable,reviewDecision}'
echo '== Exact-head incomplete or non-success check runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url]
| `@tsv`' | sort -u
echo '== Exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 2512
I found no additional actionable defect in the thirteen changed files. The review confirmed:
I cannot approve yet. The following exact-head checks are still queued or in progress:
These checks are required to verify execution, 100% coverage, and current-head security results. You are interacting with an AI system. |
|
@opencode-agent Please independently review exact current head |
|
@cwl-noema-review Please independently review exact current head |
🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact PR identity =='
git rev-parse HEAD
git cat-file -t "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and whitespace =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
echo '== Changed implementation and tests =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
sed -n '1,280p' scripts/ci/install_base_python_locks.py
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
sed -n '1,620p' tests/test_install_base_python_lock_missing_pin.py
echo '== Changed workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/scheduled-security-scan.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/pr-review-fix-scheduler.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Contract tests =='
for path in \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
do
echo "--- $path"
cat -n "$path"
done
echo '== Pin, source-binding, permission, and mutation indicators =='
rg -n -C2 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows
echo '== Strix lock entries =='
rg -n -A26 -B3 \
'^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Changed documentation =='
cat -n docs/automation/hourly-review-repair.md
cat -n docs/doctoring/central-security-and-review-baseline.md
echo '== Exact-head incomplete or unsuccessful checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 147729
The classifier now requires a complete concrete version list and exact paired requirement diagnostics. It fails closed for the requested invalid, mixed, integrity, transport, and unknown cases. The affected CodeQL phases use the same immutable v4.37.5 commit. The scheduler source binding, SBOM push snapshot behavior, Strix lock updates, documentation, and changed workflow permissions match the stated contract. The changed workflows do not add branch-pushing or self-modifying automation. I cannot approve yet. ✅ Action performedReview finished.
|
|
@opencode-agent @cwl-noema-review All exact-head repository workflows are now successful for |
|
@coderabbitai review All exact-head required workflows have completed successfully for |
|
@coderabbitai review Review exact current head |
|
All direct workflows for exact 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'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact-head identity =='
printf 'checked_out_head='
git rev-parse HEAD
git cat-file -t "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and whitespace =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
echo '== Changed implementation and tests =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
sed -n '1,300p' scripts/ci/install_base_python_locks.py
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
sed -n '1,650p' tests/test_install_base_python_lock_missing_pin.py
for path in \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
do
echo "--- $path"
cat -n "$path"
done
echo '== Changed workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Scoped security indicators =='
rg -n -C2 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml || true
echo '== Strix lock entries =='
rg -n -A22 -B3 \
'^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Exact-head incomplete or unsuccessful checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' | sort -u
echo '== Exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 83513
The classifier rejects invalid, blank, and mixed alternative-version lists. The tests cover the fail-closed cases. The CodeQL actions use one immutable v4.37.5 commit. The scheduler uses I cannot complete the current-head review yet. The exact-head You are interacting with an AI system. |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact pull request identity =='
printf 'checked_out_head='; git rev-parse HEAD
git cat-file -t "$head"
git show -s --format='commit=%H%nparents=%P%nsubject=%s' "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and whitespace validation =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
git diff --stat "$base" "$head"
echo '== Changed source and test outlines =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
ast-grep outline tests/test_pr_review_fix_hourly_contract.py --items all
ast-grep outline tests/test_pr_review_fix_scheduler_source_pin.py --items all
ast-grep outline tests/test_sbom_generation_push_contract.py --items all
echo '== Installer and test contracts =='
cat -n scripts/ci/install_base_python_locks.py
cat -n tests/test_install_base_python_lock_missing_pin.py
cat -n tests/test_pr_review_fix_hourly_contract.py
cat -n tests/test_pr_review_fix_scheduler_source_pin.py
cat -n tests/test_sbom_generation_push_contract.py
echo '== Changed workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Requirements and documentation =='
rg -n -A30 -B4 '^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
cat -n docs/automation/hourly-review-repair.md
cat -n docs/doctoring/central-security-and-review-baseline.md
echo '== Exact-head workflow and privilege indicators =='
rg -n -C3 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows
echo '== Full current-head diff for all declared changed files =='
git diff --unified=20 "$base" "$head" -- \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml \
docs/automation/hourly-review-repair.md \
docs/doctoring/central-security-and-review-baseline.md \
requirements-strix-ci.txt \
requirements-strix-ci-hashes.txt \
scripts/ci/install_base_python_locks.py \
tests/test_install_base_python_lock_missing_pin.py \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
echo '== Exact-head check runs that are incomplete or unsuccessful =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Exact-head completed check runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| [.name,.status,(.conclusion // "null")] | `@tsv`' \
| sort -u
echo '== Exact-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 152537 🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Current pull request head =='
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,mergeable,reviewDecision \
--jq '{state,headRefOid,mergeable,reviewDecision}'
echo '== Exact-head incomplete or unsuccessful check runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Exact-head coverage checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.name == "coverage-source-tree" or .name == "coverage-evidence")
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 2182
I found no actionable static defect in the 13 changed files. The review confirmed the following items:
I cannot approve yet. The exact head is still current, but You are interacting with an AI system. |
|
@opencode-agent @cwl-noema-review @coderabbitai review Please independently 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'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== Exact identity =='
printf 'checked_out_head='; git rev-parse HEAD
git cat-file -t "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Changed paths and whitespace =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
echo '== Installer structure and implementation =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
sed -n '1,320p' scripts/ci/install_base_python_locks.py
echo '== Changed contract tests =='
for path in \
tests/test_install_base_python_lock_missing_pin.py \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
do
echo "--- $path"
ast-grep outline "$path" --items all
cat -n "$path"
done
echo '== Changed workflows =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Workflow and mutation indicators =='
rg -n -C2 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml || true
echo '== Strix locks =='
rg -n -A24 -B3 \
'^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Changed documentation =='
cat -n docs/automation/hourly-review-repair.md
cat -n docs/doctoring/central-security-and-review-baseline.md
echo '== Exact-head checks that are incomplete or non-success =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Exact-head coverage checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.name == "coverage-source-tree" or .name == "coverage-evidence")
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Exact-head completed checks =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[] | [.name,.status,(.conclusion // "null")] | `@tsv`' \
| sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 100480
I found no actionable defect in the 13 changed files. The review confirmed these controls:
I cannot approve yet. You are interacting with an AI system. |
|
@opencode-agent @cwl-noema-review Please submit independent exact-current-head review verdicts for @coderabbitai review |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo='ContextualWisdomLab/.github'
pr='731'
head='13c12cc4ea3368e24101ea968ae668bd9ea2fa25'
echo '== PR identity =='
printf 'checked_out_head='; git rev-parse HEAD
git cat-file -t "$head"
gh pr view "$pr" --repo "$repo" \
--json state,headRefOid,baseRefOid,mergeable,reviewDecision,url \
--jq '{state,headRefOid,baseRefOid,mergeable,reviewDecision,url}'
base="$(git merge-base "$head" origin/main)"
printf 'merge_base=%s\n' "$base"
echo '== Scope and whitespace =='
git diff --name-status "$base" "$head"
git diff --check "$base" "$head"
echo '== Complete changed-file diff =='
git diff --unified=25 "$base" "$head" -- \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml \
docs/automation/hourly-review-repair.md \
docs/doctoring/central-security-and-review-baseline.md \
requirements-strix-ci.txt \
requirements-strix-ci-hashes.txt \
scripts/ci/install_base_python_locks.py \
tests/test_install_base_python_lock_missing_pin.py \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
echo '== Installer source and test structures =='
ast-grep outline scripts/ci/install_base_python_locks.py --items all
ast-grep outline tests/test_install_base_python_lock_missing_pin.py --items all
sed -n '1,340p' scripts/ci/install_base_python_locks.py
sed -n '1,680p' tests/test_install_base_python_lock_missing_pin.py
echo '== Changed workflow files =='
for path in \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml
do
echo "--- $path"
cat -n "$path"
done
echo '== Scheduler and snapshot contract tests =='
for path in \
tests/test_pr_review_fix_hourly_contract.py \
tests/test_pr_review_fix_scheduler_source_pin.py \
tests/test_sbom_generation_push_contract.py
do
echo "--- $path"
cat -n "$path"
done
echo '== Security-sensitive workflow indicators =='
rg -n -C3 \
'uses:\s*github/codeql-action/(init|analyze|upload-sarif)@|permissions:|contents:\s*write|pull-requests:\s*write|dependency-snapshot|job\.workflow_(repository|sha)|canonical_ref|cron:|github\.sha|git\s+push\b|gh\s+pr\s+merge\b|workflow_dispatch|pull_request_target' \
.github/workflows/codeql-pr.yml \
.github/workflows/pr-review-fix-scheduler.yml \
.github/workflows/sbom-generation.yml \
.github/workflows/scheduled-security-scan.yml || true
echo '== Strix lock entries =='
rg -n -A28 -B4 '^(aiohttp|cryptography|pyopenssl)([<=>!~ ]|$)' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt
rg -n '^(aiohttp==3\.14\.1|cryptography==49\.0\.0)\b' \
requirements-strix-ci.txt requirements-strix-ci-hashes.txt || true
echo '== Current-head check runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[] | [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Current-head non-success or incomplete runs =='
gh api --paginate "repos/$repo/commits/$head/check-runs?per_page=100" \
--jq '.check_runs[]
| select(.status != "completed" or (.conclusion != "success" and .conclusion != "neutral" and .conclusion != "skipped"))
| [.name,.status,(.conclusion // "null"),.details_url] | `@tsv`' \
| sort -u
echo '== Current-head legacy statuses =='
gh api "repos/$repo/commits/$head/status" \
--jq '.statuses[] | [.context,.state,.target_url] | `@tsv`' | sort -u
echo '== Unresolved review threads =='
gh api graphql -F owner='ContextualWisdomLab' -F name='.github' -F number="$pr" -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
reviewThreads(first: 100) { nodes { isResolved } }
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'Length of output: 190828
PR The static review of However, the exact requested head has cancelled Please provide the current exact head after its required checks complete successfully. You are interacting with an AI system. |
|
@opencode-agent @cwl-noema-review Please submit independent final reviews for exact current head |
|
@opencode-agent @cwl-noema-review Current exact head is now |
|
@opencode-agent Please review exact current head |
|
@cwl-noema-review Please independently review exact current head |
|
@opencode-agent @cwl-noema-review Exact head |
|
@opencode-agent Exact current head is |
|
@cwl-noema-review Exact current head is |
Problem
Five central defects form a control-plane deadlock or operating gap for dependency and security pull requests across the organization:
init/analyzeandupload-sarifused different CodeQL Action revisions.aiohttp==3.14.1andcryptography==49.0.0.maininstead of the reusable workflow's immutable source identity.These changes are one atomic central baseline because every affected required gate and scheduler evaluates the same central repository state. The former stacked pull requests #736 and #745 were merged directly into this branch.
Changes
CodeQL consistency
github/codeql-action/init,analyze, andupload-sarifreference in the affected workflows to the same immutable v4.37.5 commit.A follow-up Dependabot update may advance the single shared immutable revision after this baseline lands; this pull request's invariant is that every affected CodeQL phase uses exactly one revision.
Strix dependency remediation
aiohttp==3.14.1withaiohttp==3.14.3.cryptography==49.0.0withcryptography==50.0.0.aiohttp>=3.14.3and regenerate the complete hash lock with the compatible pyOpenSSL release.Bounded stale-pin recovery
none, blank lists, arbitrary prose such asunavailable, mixed version/prose lists, single-sided or mismatched resolver diagnostics, empty output, unknown failures, hash mismatches, retries, connection failures, andCould not fetch URLfatal.ERROR:line precedence even when the same output also contains otherwise deferable evidence.Default-branch dependency snapshots
main,master, anddevelopas well as pull requests and releases.github.sha, not a branch ref, so adjacent default-branch commits cannot cancel each other's snapshots.contents: writeonly where dependency submission requires it.Secure hourly review repair
PR Review Fix Schedulerat minute 23 of every hour.job.workflow_repositoryat immutablejob.workflow_sha.canonical_refonly as an ignored deprecated compatibility input.TDD and verification contracts
The regression suite proves:
none, blank, arbitrary prose, mixed version/prose, single-sided, mismatched, integrity, transport, mixed-unknown, and otherwise unclassified failure handling;Exact-current-head CodeQL, Python Security, Security Scan, Semgrep, OSV, Scorecard, Secret Scan, SBOM, OpenCode review, Noema review, unresolved-thread checks, and branch protection remain mandatory before merge.
Standards traceability
docs/automation/hourly-review-repair.mdis the operator contract.docs/doctoring/central-security-and-review-baseline.mdrecords the design rationale, verification contract, MSA boundary, and APA 7th references to GitHub primary documentation, the final NIST SSDF 1.1 publication, the SSDF 1.2 initial public draft, and approved SLSA 1.2 specification.n.d.with a retrieval date under APA 7th edition.Scope
Exactly thirteen files change:
.github/workflows/codeql-pr.yml.github/workflows/pr-review-fix-scheduler.yml.github/workflows/sbom-generation.yml.github/workflows/scheduled-security-scan.ymldocs/automation/hourly-review-repair.mddocs/doctoring/central-security-and-review-baseline.mdrequirements-strix-ci.txtrequirements-strix-ci-hashes.txtscripts/ci/install_base_python_locks.pytests/test_install_base_python_lock_missing_pin.pytests/test_pr_review_fix_hourly_contract.pytests/test_pr_review_fix_scheduler_source_pin.pytests/test_sbom_generation_push_contract.pyNo application code, repository-target authorization policy, review token permission, model budget, merge criterion, or vulnerability threshold is weakened. No branch-pushing or self-modifying one-shot workflow remains in the final tree.
Supersession
This atomic repair supersedes the relevant portions of closed #674, #704, #723, #727, #728, #729, #735 and the stacked/merged #736 and #745. Their unrelated changes remain excluded.