Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e710ba5
Observe unchanged soft-fold native rejection carriers before defining…
d6g8k5htny-coder Oct 6, 2026
77b1b76
Validate full soft-fold rejection carriers and retire observation wor…
d6g8k5htny-coder Oct 6, 2026
fedd005
Correct soft-fold inventory validation to preserve the native control…
d6g8k5htny-coder Oct 6, 2026
f8ef142
Third-order replay: authenticate complete child reports and exact mut…
d6g8k5htny-coder Oct 6, 2026
9b3387b
Third-order protocol: isolate dedicated suite per review and reconcil…
d6g8k5htny-coder Oct 6, 2026
268156a
LM006: add source-bound one-dimensional coefficient replay
d6g8k5htny-coder Oct 6, 2026
6a5aa32
LM006 replay: retain evidence when post-kill wait also times out
d6g8k5htny-coder Oct 6, 2026
ed58c25
LM006 replay: repair cleanup regression syntax
d6g8k5htny-coder Oct 6, 2026
089d87a
LM006 replay: restore clean focused suite with cleanup regression
d6g8k5htny-coder Oct 6, 2026
f21bba9
Emit exact source-bound elder cusp mutant reports
d6g8k5htny-coder Oct 20, 2026
cb49446
Refresh elder cusp checker source identity
d6g8k5htny-coder Oct 20, 2026
e5d5ad1
Bind elder cusp workflow to exact child protocol
d6g8k5htny-coder Oct 20, 2026
b79a0c2
Add full-shell elder cusp protocol regressions
d6g8k5htny-coder Oct 20, 2026
f7fbd8c
Merge branch 'main' into codex/elder-cusp-parity-protocol-20261020
d6g8k5htny-coder Oct 23, 2026
11dee54
Compose exact elder-cusp verdict repair with current baseline
d6g8k5htny-coder Oct 29, 2026
59d0094
Compose source-bound replay wrappers on current Math baseline
d6g8k5htny-coder Oct 29, 2026
82c9004
Add real Git and loaded-driver custody controls before repair
d6g8k5htny-coder Oct 29, 2026
68cf855
Bind LM006 execution to immutable Git and loaded driver bytes
d6g8k5htny-coder Oct 29, 2026
ca38ec6
Make the LM006 replacement-object mutant actually remove the guard
d6g8k5htny-coder Oct 29, 2026
ae3c35b
Expose timestamp-valid poisoned LM006 test-loader bytecode
d6g8k5htny-coder Oct 29, 2026
50c5aeb
Bind LM006 executed code to the actual source bytes
d6g8k5htny-coder Oct 29, 2026
e4e8e30
Check the stale-import guard with an intended source mutation
d6g8k5htny-coder Oct 29, 2026
b626da6
Exercise poisoned packet test and implementation bytecode
d6g8k5htny-coder Oct 29, 2026
0bb61e5
Exercise external poisoned caches without violating packet membership
d6g8k5htny-coder Oct 29, 2026
2224dd9
Verify timestamp cache headers in poisoned-bytecode fixtures
d6g8k5htny-coder Oct 29, 2026
dc1549e
Isolate LM006 child interpreter bytecode caches
d6g8k5htny-coder Oct 29, 2026
86cbfe0
Retain failure records when isolated cache preparation fails
d6g8k5htny-coder Oct 29, 2026
5d2dfd4
Record hosted LM006 bytecode custody controls
d6g8k5htny-coder Oct 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/cbz-lm006-bytecode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CBZ LM006 poisoned bytecode control
on:
push:
branches: [cbz/lm006-loaded-code-20261029]
workflow_dispatch:
permissions:
contents: read
jobs:
stale-bytecode:
strategy:
fail-fast: false
matrix:
mode: [normal, optimized]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: '3.11.16'
- name: Exercise timestamp-valid bytecode substitution
env:
CBZ_MODE: ${{ matrix.mode }}
run: |
set -euo pipefail
flags=()
if [ "$CBZ_MODE" = optimized ]; then flags=(-O); fi
python -B -S "${flags[@]}" -m unittest discover -s tests -p test_lm006_oned_coefficient_replay.py -v
27 changes: 27 additions & 0 deletions .github/workflows/cbz-lm006-packet-bytecode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CBZ LM006 packet bytecode controls
on:
push:
branches: [cbz/lm006-loaded-code-20261029]
workflow_dispatch:
permissions:
contents: read
jobs:
packet-bytecode:
strategy:
fail-fast: false
matrix:
mode: [normal, optimized]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: '3.11.16'
- name: Exercise source-bound packet imports
env:
CBZ_MODE: ${{ matrix.mode }}
run: |
set -euo pipefail
flags=()
if [ "$CBZ_MODE" = optimized ]; then flags=(-O); fi
python -B -S "${flags[@]}" -m unittest discover -s tests -p test_lm006_oned_coefficient_replay.py -k test_packet_pyc -v
46 changes: 37 additions & 9 deletions .github/workflows/elder-cusp-parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Elder cusp kernel parity exact controls
paths:
- 'frontiers/elder_cusp_parity_20261002/**'
- '.github/workflows/elder-cusp-parity.yml'
- 'tests/test_elder_cusp_parity_workflow.py'
# bound merged sources (consumed and cited in SOURCES.json); the cited unmerged sources are bound through the API
- 'frontiers/three_fronts_20260924/LIFETIME_REMAINDER.md'
- 'imports/lifetime_parent_20260925/UNIFORM_MATRIX_CAP_AND_LIFETIME.md'
Expand Down Expand Up @@ -143,17 +144,44 @@ jobs:
'via': where, 'current_ref_checked': now}))
script = str(root / 'ecp_check.py')
expected = (root / 'RESULTS.json').read_bytes()
manifest_mutants = {'M1': 'X3', 'M2': 'X4', 'M3': 'X5', 'M4': 'X2',
'M5': 'X1', 'M6': 'X3', 'M7': 'X6'}
if manifest['mutants'] != manifest_mutants:
raise ValueError('mutant inventory differs from the source-bound protocol')
failed_controls = {
'M1': 'X3_pinned_fields_and_Omega_a',
'M2': 'X4_Q1_identities_and_parity',
'M3': 'X5_first_order_bookkeeping',
'M4': 'X2_model_ridge_and_edges',
'M5': 'X1_lemma_Q_prime_and_CE',
'M6': 'X3_pinned_fields_and_Omega_a',
'M7': 'X6_corollary_and_ledgers',
}
for flags in (['-B', '-S'], ['-B', '-O', '-S']):
out = subprocess.run([sys.executable, *flags, script], check=True, capture_output=True, timeout=600).stdout
if out != expected:
out = subprocess.run([sys.executable, *flags, script], capture_output=True, timeout=600)
if out.returncode != 0:
raise RuntimeError('baseline exit differs from 0 under ' + ' '.join(flags))
if out.stdout != expected:
raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags))
for m in manifest['mutants']:
rc = subprocess.run([sys.executable, *flags, script, '--mutant', m], capture_output=True, timeout=600).returncode
if rc != 1:
raise RuntimeError('mutant ' + m + ' not rejected')
rc = subprocess.run([sys.executable, *flags, script, '--mutant', 'M99'], capture_output=True, timeout=600).returncode
if rc != 2:
raise RuntimeError('unknown mutant label not rejected with exit 2')
if out.stderr:
raise RuntimeError('baseline stderr under ' + ' '.join(flags))
for m in manifest_mutants:
out = subprocess.run([sys.executable, *flags, script, '--mutant', m],
capture_output=True, timeout=600)
report = (json.dumps({'failed_controls': [failed_controls[m]], 'mutant': m,
'scientific_effect': 'NONE'},
sort_keys=True, separators=(',', ':')) + '\n').encode()
if out.returncode != 1 or out.stdout != report or out.stderr:
raise RuntimeError('mutant ' + m + ' not rejected with exact control report')
out = subprocess.run([sys.executable, *flags, script, '--mutant', 'M99'],
capture_output=True, timeout=600)
if out.returncode != 2 or out.stdout or out.stderr != b'unknown mutant label\n':
raise RuntimeError('unknown mutant label not rejected with exact protocol')
print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False}))
PY
git diff --exit-code
- name: Full-shell protocol regression tests in both modes
run: |
set -euo pipefail
python -B -S -m unittest discover -s tests -p 'test_elder_cusp_parity_workflow.py' -v
python -B -O -S -m unittest discover -s tests -p 'test_elder_cusp_parity_workflow.py' -v
60 changes: 60 additions & 0 deletions .github/workflows/lm006-oned-coefficient.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: LM006 one-dimensional coefficient replay

'on':
pull_request:
paths:
- 'coefficients/lm006_wrong_sign_oned_20261006_a62c/**'
- 'coefficients/lm006_wrong_sign_20261006_r20/enclose.py'
- 'reviews/lm006_wrong_sign_asymptotic_20261006/NOTE.md'
- 'tools/lm006_oned_coefficient_replay.py'
- 'tests/test_lm006_oned_coefficient_replay.py'
- '.github/workflows/lm006-oned-coefficient.yml'
push:
branches: [main]
paths:
- 'coefficients/lm006_wrong_sign_oned_20261006_a62c/**'
- 'coefficients/lm006_wrong_sign_20261006_r20/enclose.py'
- 'reviews/lm006_wrong_sign_asymptotic_20261006/NOTE.md'
- 'tools/lm006_oned_coefficient_replay.py'
- 'tests/test_lm006_oned_coefficient_replay.py'
- '.github/workflows/lm006-oned-coefficient.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
numerical-replay:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
mode: [normal, optimized]
name: lm006-oned-coefficient (${{ matrix.mode }})
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
fetch-depth: 1
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0
with:
python-version: '3.11.16'
- name: Replay controls and frozen 1024-panel certificate
shell: bash
run: |
set -euo pipefail
mkdir -p "$RUNNER_TEMP/lm006-oned-protocol"
FLAGS="-B -S"
if [ "${{ matrix.mode }}" = optimized ]; then FLAGS="-B -O -S"; fi
python $FLAGS -m unittest discover -s tests -p 'test_lm006_oned_coefficient_replay.py' -v 2>&1 | tee "$RUNNER_TEMP/lm006-oned-protocol/${{ matrix.mode }}.log"
python -B -S tools/lm006_oned_coefficient_replay.py --mode "${{ matrix.mode }}" --output "$RUNNER_TEMP/lm006-oned-${{ matrix.mode }}-${{ github.run_attempt }}"
- name: Preserve success or failure evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: lm006-oned-${{ matrix.mode }}-${{ github.run_id }}-${{ github.run_attempt }}
path: |
${{ runner.temp }}/lm006-oned-${{ matrix.mode }}-${{ github.run_attempt }}/
${{ runner.temp }}/lm006-oned-protocol/
if-no-files-found: error
44 changes: 34 additions & 10 deletions .github/workflows/soft-fold-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Soft fold limit exact controls
paths:
- 'frontiers/soft_fold_limit_20261002/**'
- '.github/workflows/soft-fold-limit.yml'
- 'tests/test_soft_fold_workflow.py'
# bound merged sources (consumed and cited in SOURCES.json); the cited unmerged sources are bound through the API
- 'frontiers/three_fronts_20260924/LIFETIME_REMAINDER.md'
- 'imports/lifetime_parent_20260925/UNIFORM_MATRIX_CAP_AND_LIFETIME.md'
Expand Down Expand Up @@ -37,6 +38,13 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0
with:
python-version: '3.11.16'
- name: Exercise complete-shell output contracts in both modes
env:
PYTHONDONTWRITEBYTECODE: '1'
run: |
set -euo pipefail
python -B -S -m unittest discover -s tests -p test_soft_fold_workflow.py -v
python -B -O -S -m unittest discover -s tests -p test_soft_fold_workflow.py -v
- name: Verify sources, replay both modes, reject mutants
env:
PYTHONDONTWRITEBYTECODE: '1'
Expand Down Expand Up @@ -150,17 +158,33 @@ jobs:
'via': where, 'current_ref_checked': now, 'dependency_merged': merged}))
script = str(root / 'fold_check.py')
expected = (root / 'RESULTS.json').read_bytes()
# Fixed native carriers measured at original checker c2e1e77e in run37464626067.
failures = {
'M1': b'mutant M1: failing controls F1_model_pins_and_weight\n',
'M2': b'mutant M2: failing controls F2_lemma_FL2_generic\n',
'M3': b'mutant M3: failing controls F3_lemma_FL1_window\n',
'M4': b'mutant M4: failing controls F4_proposition_FL4_certificates\n',
'M5': b'mutant M5: failing controls F5_theorem_FL_bookkeeping\n',
'M6': b'mutant M6: failing controls F6_corollaries\n',
'M7': b'mutant M7: failing controls F4_proposition_FL4_certificates\n',
'M8': b'mutant M8: failing controls F7_proposition_FL7_identification\n',
}
inventory = {'M1': 'F1', 'M2': 'F2', 'M3': 'F3', 'M4': 'F4',
'M5': 'F5', 'M6': 'F6', 'M7': 'F4', 'M8': 'F7'}
if (type(manifest['mutants']) is not dict or list(manifest['mutants']) != list(inventory)
or manifest['mutants'] != inventory):
raise RuntimeError('complete ordered M1-M8 control mapping required')
stages = [('baseline', [], 0, expected, b'')]
stages += [(m, ['--mutant', m], 1, b'', carrier) for m, carrier in failures.items()]
stages += [('M99', ['--mutant', 'M99'], 2, b'', b'unknown mutant label\n')]
for flags in (['-B', '-S'], ['-B', '-O', '-S']):
out = subprocess.run([sys.executable, *flags, script], check=True, capture_output=True, timeout=600).stdout
if out != expected:
raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags))
for m in manifest['mutants']:
rc = subprocess.run([sys.executable, *flags, script, '--mutant', m], capture_output=True, timeout=600).returncode
if rc != 1:
raise RuntimeError('mutant ' + m + ' not rejected')
rc = subprocess.run([sys.executable, *flags, script, '--mutant', 'M99'], capture_output=True, timeout=600).returncode
if rc != 2:
raise RuntimeError('unknown mutant label not rejected with exit 2')
for label, args, code, stdout, stderr in stages:
result = subprocess.run([sys.executable, *flags, script, *args], capture_output=True, timeout=600)
if (result.returncode, result.stdout, result.stderr) != (code, stdout, stderr):
raise RuntimeError(label + ': complete exit/stdout/stderr contract differs under ' + ' '.join(flags))
print(json.dumps({'stage': label, 'flags': flags, 'returncode': result.returncode,
'stdout_sha256': hashlib.sha256(result.stdout).hexdigest(),
'stderr_sha256': hashlib.sha256(result.stderr).hexdigest()}, sort_keys=True), flush=True)
print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False}))
PY
git diff --exit-code
71 changes: 61 additions & 10 deletions .github/workflows/third-order-rate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Third-order rate 3/7 exact controls
paths:
- 'frontiers/third_order_rate_20261001/**'
- '.github/workflows/third-order-rate.yml'
- 'reviews/third_order_protocol_20261006/test_third_order_rate_workflow.py'
# bound merged sources (consumed in SOURCES.json) and the pinned unmerged dependencies
- 'frontiers/three_fronts_20260924/LIFETIME_REMAINDER.md'
- 'imports/lifetime_parent_20260925/UNIFORM_MATRIX_CAP_AND_LIFETIME.md'
Expand Down Expand Up @@ -37,6 +38,13 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0
with:
python-version: '3.11.16'
- name: Verify complete child contracts in both Python modes
env:
PYTHONDONTWRITEBYTECODE: '1'
run: |
set -euo pipefail
python -B -S -m unittest discover -s reviews/third_order_protocol_20261006 -p test_third_order_rate_workflow.py -v
python -B -O -S -m unittest discover -s reviews/third_order_protocol_20261006 -p test_third_order_rate_workflow.py -v
- name: Verify sources, replay both modes, reject mutants
env:
PYTHONDONTWRITEBYTECODE: '1'
Expand Down Expand Up @@ -142,19 +150,62 @@ jobs:
now = current(entry) if kind == 'consumed_unmerged' else None
print(json.dumps({kind + '_bound': entry['path'], 'git_blob': entry['git_blob'], 'head': entry['head'],
'via': where, 'current_ref_checked': now}))
# Complete typed JSON fingerprints measured from unchanged r37_check.py
# d521770d56d7c59604a949645332820091d69b8e in both Python modes.
# Fixed expectations, never learned from the child executing in this job.
mutants = ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8']
if manifest.get('mutants') != mutants:
raise ValueError('third-order mutant inventory differs from the exact contract')
report_sha256 = {
'M1': '1c8ee21898e24815a92e25d857eb9ebd1e37e986c2b8e05cde8c517fc85fd783',
'M2': 'ca947f31b05b42df18711d83ae41b093f0364518daaa05197cc12e2f19139ed4',
'M3': '1cd08221647a8e4d09103ac4f062041fa87a986a34600d9833389e373d9d3b91',
'M4': 'ccb57cb465ef6fc3eddddc44152563d8cd60fad742cc58fc6c44b4fe6fca2f82',
'M5': '359b1200abec0231f68302fb88c62d4df026e4a28fc94e176aada0959a21bc53',
'M6': '6ef4e23a74fd63529b3482c634626f2cf32529c099ed717bee3556345b29bfc8',
'M7': 'c18c8977019114dce23b6659d3d82e881bbaafa9c2ddcca2f09de1f67dba8340',
'M8': '2b6da63037130a77ab2bd87d520b2b724dc28653001d01ee006f829e3ca8b682',
}
def unique_fields(pairs):
result = {}
for key, value in pairs:
if key in result:
raise ValueError('duplicate third-order report field: ' + key)
result[key] = value
return result

def invalid_number(value):
raise ValueError('floating/nonfinite third-order report number: ' + value)

def report_digest(raw):
value = json.loads(raw.decode('utf-8'), object_pairs_hook=unique_fields,
parse_float=invalid_number, parse_constant=invalid_number)
canonical = json.dumps(value, sort_keys=True, separators=(',', ':'),
ensure_ascii=False, allow_nan=False).encode('utf-8')
return hashlib.sha256(canonical).hexdigest()

script = str(root / 'r37_check.py')
expected = (root / 'RESULTS.json').read_bytes()
for flags in (['-B', '-S'], ['-B', '-O', '-S']):
out = subprocess.run([sys.executable, *flags, script], check=True, capture_output=True, timeout=600).stdout
if out != expected:
raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags))
for m in manifest['mutants']:
rc = subprocess.run([sys.executable, *flags, script, '--mutant', m], capture_output=True, timeout=600).returncode
if rc != 1:
raise RuntimeError('mutant ' + m + ' not rejected')
rc = subprocess.run([sys.executable, *flags, script, '--mutant', 'M9'], capture_output=True, timeout=600).returncode
if rc != 2:
raise RuntimeError('unknown mutant label not rejected with exit 2')
for mutant in (None, *mutants, 'M9'):
args = [sys.executable, *flags, script]
if mutant is not None:
args.extend(['--mutant', mutant])
process = subprocess.run(args, capture_output=True, timeout=600)
if mutant is None:
valid = process.returncode == 0 and not process.stderr and process.stdout == expected
elif mutant == 'M9':
valid = (process.returncode == 2 and process.stdout == b''
and process.stderr == b'unknown mutant label\n')
else:
valid = (process.returncode == 1 and not process.stderr
and report_digest(process.stdout) == report_sha256[mutant])
if not valid:
raise RuntimeError('third-order child contract mismatch: ' + str(mutant))
print(json.dumps({'flags': flags, 'mutant': mutant, 'returncode': process.returncode,
'stdout_sha256': hashlib.sha256(process.stdout).hexdigest(),
'stderr_sha256': hashlib.sha256(process.stderr).hexdigest(),
'scientific_effect': 'NONE'}, sort_keys=True))
print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False}))
PY
git diff --exit-code
3 changes: 3 additions & 0 deletions cbz/evidence/lm006-bytecode-20261029/OBSERVATIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# LM006 bytecode source-custody observations

Candidate commit `86cbfe0a221c59d5ad27f4318cdf9db2931d02b7`: hosted normal job 123721886641 and optimized job 123721887269 each passed all 29 tests, including timestamp-valid poisoned bytecode, packet implementation and test bytecode, and a source-loader mutation. Independent packet-specific jobs 123721883047 and 123721882544 each passed two tests. These results qualify the tested candidate's focused controls only; full workflow and current-head verification remain pending. `normal-red.log` preserves the observed pre-repair failure. The packet numerical code and bounds were unchanged.
Loading
Loading