Skip to content
Merged
39 changes: 39 additions & 0 deletions .github/workflows/c6-fourier-cutoff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: C6 Fourier-cutoff finite controls

'on':
pull_request:
paths:
- 'frontiers/c6_fourier_cutoff_20260929/**'
- '.github/workflows/c6-fourier-cutoff.yml'
- 'imports/lifetime_parent_20260925/UNIFORM_MATRIX_CAP_AND_LIFETIME.md'
- 'frontiers/c6_factorial_moment_20260929/PROOF.md'
- 'frontiers/c6_sharpened_20260929/PROOF.md'
- 'frontiers/intermediate_window_20260928/PROOF.md'
- 'reviews/d5_reconciliation_20260929/RECONCILIATION.md'
- 'reviews/d5_punctured_pin_continuum_claude_20260929/REVIEW.md'
push:
branches: [main]
paths:
- 'frontiers/c6_fourier_cutoff_20260929/**'
- '.github/workflows/c6-fourier-cutoff.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
exact-fourier:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.11.16'
- name: Exact packet, both Python modes, and six upstream identities
run: |
set -euo pipefail
python -B -S frontiers/c6_fourier_cutoff_20260929/verify.py --repo "${GITHUB_WORKSPACE}" --output "${RUNNER_TEMP}/fourier-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
git diff --exit-code
59 changes: 59 additions & 0 deletions .github/workflows/d1-cde-fulldepth-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: D1-C/D/E full-depth nonauthor review checks

'on':
pull_request:
paths:
- 'reviews/d1_cde_full_depth_claude_20260929/**'
- '.github/workflows/d1-cde-fulldepth-review.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
exact-and-probe:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.11.16'
- name: Verify sources, replay both modes, reject mutants
env:
PYTHONDONTWRITEBYTECODE: '1'
run: |
set -euo pipefail
python -B -S - <<'PY'
import hashlib, json, pathlib, subprocess, sys
root = pathlib.Path('reviews/d1_cde_full_depth_claude_20260929').resolve()
manifest = json.loads((root / 'SOURCE_FILES.json').read_text())['files']
present = sorted(p.name for p in root.iterdir())
expected_names = sorted([e['path'] for e in manifest] + ['SOURCE_FILES.json'])
if present != expected_names:
raise ValueError('packet tree differs from manifest: ' + repr(present))
for entry in manifest:
path = root / entry['path']
if pathlib.PurePosixPath(entry['path']).name != entry['path'] or path.is_symlink():
raise ValueError('flat regular source required: ' + entry['path'])
data = path.read_bytes()
if len(data) != entry['bytes'] or hashlib.sha256(data).hexdigest() != entry['sha256']:
raise ValueError('source identity mismatch: ' + entry['path'])
script = str(root / 'cde_review_check.py')
expected = (root / 'RESULTS.json').read_bytes()
mutants = ['M1', 'M2', 'M3']
for flags in (['-B', '-S'], ['-B', '-O', '-S']):
out = subprocess.run([sys.executable, *flags, script],
check=True, capture_output=True, timeout=300).stdout
if out != expected:
raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags))
for m in mutants:
rc = subprocess.run([sys.executable, *flags, script, '--mutant', m],
capture_output=True, timeout=300).returncode
if rc != 1:
raise RuntimeError('mutant ' + m + ' not rejected')
print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False}))
PY
git diff --exit-code
Loading
Loading