Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
af74f79
Add SDGA Task A test-first fixture contracts
d6g8k5htny-coder Nov 10, 2026
c8b03c8
Supply dependency-free SDGA fixture manifest after setup failure
d6g8k5htny-coder Nov 10, 2026
fb7dbd7
Specify pure dependency parsing and ordering before implementation
d6g8k5htny-coder Nov 10, 2026
e4f40bd
Repair literal pure-test workflow serialization
d6g8k5htny-coder Nov 10, 2026
aa9d887
Preserve current tag-custody integration in Task A contracts
d6g8k5htny-coder Nov 10, 2026
b88b87f
Implement Task A exact Lean inventory and pure dependency helpers
d6g8k5htny-coder Nov 10, 2026
731bf22
Preserve and register selected historical text source custody
d6g8k5htny-coder Nov 10, 2026
42f3767
Repair genuine positive fixture and retain compiler-extra observations
d6g8k5htny-coder Nov 10, 2026
801697f
Match decoder results explicitly in native Name contracts
d6g8k5htny-coder Nov 10, 2026
55062f4
Guard recovery of canceled Pages receipts
d6g8k5htny-coder Nov 10, 2026
b18a359
Guard selected native object framing before deserialization
d6g8k5htny-coder Nov 10, 2026
84f53af
Require atomic expected head for receipt recovery
d6g8k5htny-coder Nov 10, 2026
fd34149
Reproduce stale receipt head during publication
d6g8k5htny-coder Nov 10, 2026
1a75083
Preserve publication failure and recovery observations
d6g8k5htny-coder Nov 10, 2026
aa10c93
Compose recovery and publisher race evidence
d6g8k5htny-coder Nov 10, 2026
a6a17b5
Require atomic expected head for normal publication
d6g8k5htny-coder Nov 10, 2026
a4755e7
Retain hosted failures and expose control diagnostics
d6g8k5htny-coder Nov 10, 2026
e72c45a
fix(sdga): rename reserved framing local and retain compile failure
d6g8k5htny-coder Nov 10, 2026
ca9e4e9
Record stacked publication control boundary
d6g8k5htny-coder Nov 10, 2026
63deaff
Qualify the existing pytest bytecode policy population in a genuine venv
d6g8k5htny-coder Nov 10, 2026
ae6543d
merge: preserve Node799 Main and complete SDGA Task A ancestry
d6g8k5htny-coder Nov 10, 2026
10720c5
Record hosted atomic publication controls and failures
d6g8k5htny-coder Nov 10, 2026
04a1d8e
Compose guarded Pages recovery with Main 799
d6g8k5htny-coder Nov 10, 2026
db3066b
Use runner context only within the pytest preparation step
d6g8k5htny-coder Nov 10, 2026
00be825
Compose publisher atomic-head candidate after Main 799
d6g8k5htny-coder Nov 10, 2026
7bbb473
Compose selected text custody after publication repairs
d6g8k5htny-coder Nov 10, 2026
9565e46
Observe retained architecture preparation failure
d6g8k5htny-coder Nov 10, 2026
298d005
Preserve failed architecture preparation observation
d6g8k5htny-coder Nov 10, 2026
f5d875b
Inspect exact hosted publisher control artifacts
d6g8k5htny-coder Nov 10, 2026
a4fba38
Expose bounded origin mismatch during artifact readback
d6g8k5htny-coder Nov 10, 2026
55b3b32
Accept multiple authorized events from one selected test
d6g8k5htny-coder Nov 10, 2026
80abcf5
Identify recorded mutant source by unique path
d6g8k5htny-coder Nov 10, 2026
82e2258
Preserve publication artifact readback and failed inspections
d6g8k5htny-coder Nov 10, 2026
97663b4
Merge pull request #803 from d6g8k5htny-coder/codex/cbz-pytest-byteco…
d6g8k5htny-coder Nov 10, 2026
8cce89a
Compose Pages recovery after pytest policy integration
d6g8k5htny-coder Nov 10, 2026
db94986
Compose publisher CAS after pytest and recovery updates
d6g8k5htny-coder Nov 10, 2026
b5019e3
Compose selected source custody after pytest and publisher updates
d6g8k5htny-coder Nov 10, 2026
d329571
test(sdga): expose missing object custody on current Main
d6g8k5htny-coder Nov 10, 2026
984a608
Merge pull request #801 from d6g8k5htny-coder/codex/cbz-site-recovery…
d6g8k5htny-coder Nov 10, 2026
4aec958
Merge guarded recovery into publisher CAS branch
d6g8k5htny-coder Nov 10, 2026
30ee811
fix(sdga): bind immutable requested-object custody around observations
d6g8k5htny-coder Nov 10, 2026
944dc55
Merge pull request #802 from d6g8k5htny-coder/codex/cbz-site-publishe…
d6g8k5htny-coder Nov 10, 2026
ea62ac8
Merge guarded publisher into selected text custody branch
d6g8k5htny-coder Nov 10, 2026
4d8ea5f
merge: preserve publisher CAS Main and reviewed SDGA Task A source
d6g8k5htny-coder Nov 10, 2026
2f878f8
Merge pull request #800 from d6g8k5htny-coder/codex/cbz-public-select…
d6g8k5htny-coder Nov 10, 2026
8dad51e
merge: preserve selected-text Main and unchanged reviewed Task A
d6g8k5htny-coder Nov 10, 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
50 changes: 50 additions & 0 deletions .github/workflows/cbz-publisher-cas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"name": "CBZ publisher atomic receipt controls",
"on": {
"pull_request": {
"paths": [
"tools/current_site_publication.py",
"tools/current_site_data.py",
"tests/test_current_site_publication.py",
"tools/cbz_site_publisher_cas_mutations.py",
"tools/cbz/reference_crawler_mutation_check.py",
".github/workflows/cbz-publisher-cas.yml"
]
}
},
"permissions": {
"contents": "read"
},
"jobs": {
"controls": {
"runs-on": "ubuntu-24.04",
"timeout-minutes": 15,
"steps": [
{
"uses": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
"with": {
"ref": "${{ github.sha }}",
"persist-credentials": false
}
},
{
"name": "Run publication atomic-head controls",
"shell": "bash",
"run": "set -euo pipefail\nmkdir -p \"$RUNNER_TEMP/cbz-publisher-cas\"\ntest \"$(git rev-parse HEAD)\" = \"$GITHUB_SHA\"\npython3 --version > \"$RUNNER_TEMP/cbz-publisher-cas/python.txt\"\nfor mode in normal optimized; do\n log=\"$RUNNER_TEMP/cbz-publisher-cas/unit-$mode.log\"\n if [ \"$mode\" = optimized ]; then\n python3 -B -O -S -m unittest -v tests.test_current_site_publication > \"$log\" 2>&1 || { cat \"$log\"; exit 1; }\n else\n python3 -B -S -m unittest -v tests.test_current_site_publication > \"$log\" 2>&1 || { cat \"$log\"; exit 1; }\n fi\n cat \"$log\"\n grep -Eq '^Ran 40 tests in ' \"$log\"\n tail -n 1 \"$log\" | grep -Fxq 'OK'\n if grep -Fq ' ... skipped ' \"$log\"; then echo 'skipped publication control' >&2; exit 1; fi\n if [ \"$mode\" = optimized ]; then\n python3 -B -O -S tools/cbz_site_publisher_cas_mutations.py --output \"$RUNNER_TEMP/cbz-publisher-cas/mutations-$mode\" | tee \"$RUNNER_TEMP/cbz-publisher-cas/mutations-$mode.log\"\n else\n python3 -B -S tools/cbz_site_publisher_cas_mutations.py --output \"$RUNNER_TEMP/cbz-publisher-cas/mutations-$mode\" | tee \"$RUNNER_TEMP/cbz-publisher-cas/mutations-$mode.log\"\n fi\ndone\n"
},
{
"name": "Retain publication control evidence",
"if": "${{ always() }}",
"uses": "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
"with": {
"name": "cbz-publisher-cas-${{ github.run_id }}-${{ github.run_attempt }}",
"path": "${{ runner.temp }}/cbz-publisher-cas",
"if-no-files-found": "warn",
"include-hidden-files": true,
"retention-days": 30
}
}
]
}
}
}
114 changes: 114 additions & 0 deletions .github/workflows/cbz-site-recovery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"name": "CBZ guarded Pages receipt recovery",
"on": {
"pull_request": {
"paths": [
"tools/cbz_site_receipt_recovery.py",
"tools/cbz_site_recovery_mutations.py",
"tools/cbz/reference_crawler_mutation_check.py",
"tools/current_site_publication.py",
"tools/current_site_data.py",
"tests/test_cbz_site_recovery.py",
"tests/test_cbz_site_recovery_workflow.py",
"tests/test_current_site_publication.py",
".github/workflows/cbz-site-recovery.yml"
]
},
"workflow_dispatch": {
"inputs": {
"expected_failed_head": {
"description": "Exact canceled prepared receipt head",
"required": true,
"type": "string"
},
"expected_previous_head": {
"description": "Exact previous observed receipt head",
"required": true,
"type": "string"
}
}
}
},
"permissions": {},
"concurrency": {
"group": "${{ github.event_name == 'pull_request' && format('cbz-site-recovery-pr-{0}', github.event.pull_request.number) || 'current-research-pages-publish' }}",
"cancel-in-progress": false
},
"jobs": {
"controls": {
"runs-on": "ubuntu-24.04",
"timeout-minutes": 15,
"permissions": {
"contents": "read"
},
"steps": [
{
"uses": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
"with": {
"ref": "${{ github.sha }}",
"persist-credentials": false
}
},
{
"name": "Run recovery controls",
"shell": "bash",
"run": "set -euo pipefail\nmkdir -p \"$RUNNER_TEMP/cbz-site-recovery-controls\"\ntest \"$(git rev-parse HEAD)\" = \"$GITHUB_SHA\"\npython3 --version > \"$RUNNER_TEMP/cbz-site-recovery-controls/python.txt\"\nfor mode in normal optimized; do\n log=\"$RUNNER_TEMP/cbz-site-recovery-controls/unit-$mode.log\"\n if [ \"$mode\" = optimized ]; then\n python3 -B -O -S -m unittest -v tests.test_cbz_site_recovery.SiteRecoveryTests tests.test_cbz_site_recovery_workflow.RecoveryWorkflowTests > \"$log\" 2>&1 || { cat \"$log\"; exit 1; }\n else\n python3 -B -S -m unittest -v tests.test_cbz_site_recovery.SiteRecoveryTests tests.test_cbz_site_recovery_workflow.RecoveryWorkflowTests > \"$log\" 2>&1 || { cat \"$log\"; exit 1; }\n fi\n grep -Eq '^Ran 34 tests in ' \"$log\"\n tail -n 1 \"$log\" | grep -Fxq 'OK'\n if grep -Fq ' ... skipped ' \"$log\"; then echo 'skipped recovery control' >&2; exit 1; fi\n if [ \"$mode\" = optimized ]; then\n python3 -B -O -S tools/cbz_site_recovery_mutations.py --output \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode\" > \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode.log\" 2>&1 || { cat \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode.log\"; exit 1; }\n else\n python3 -B -S tools/cbz_site_recovery_mutations.py --output \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode\" > \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode.log\" 2>&1 || { cat \"$RUNNER_TEMP/cbz-site-recovery-controls/mutations-$mode.log\"; exit 1; }\n fi\ndone\n"
},
{
"name": "Retain recovery control evidence",
"if": "${{ always() }}",
"uses": "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
"with": {
"name": "cbz-site-recovery-controls-${{ github.run_id }}-${{ github.run_attempt }}",
"path": "${{ runner.temp }}/cbz-site-recovery-controls",
"if-no-files-found": "warn",
"include-hidden-files": true,
"retention-days": 30
}
}
]
},
"recover": {
"needs": "controls",
"if": "${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && github.repository == 'd6g8k5htny-coder/main' }}",
"runs-on": "ubuntu-24.04",
"timeout-minutes": 20,
"permissions": {
"actions": "read",
"contents": "write",
"pages": "read"
},
"steps": [
{
"uses": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
"with": {
"ref": "${{ github.sha }}",
"persist-credentials": false
}
},
{
"name": "Reconcile canceled publication",
"shell": "bash",
"env": {
"GITHUB_TOKEN": "${{ github.token }}",
"EXPECTED_FAILED_HEAD": "${{ inputs.expected_failed_head }}",
"EXPECTED_PREVIOUS_HEAD": "${{ inputs.expected_previous_head }}"
},
"run": "set -u\nset -o pipefail\nmkdir -p \"$RUNNER_TEMP/cbz-site-recovery-result\"\ntest \"$(git rev-parse HEAD)\" = \"$GITHUB_SHA\" || exit 1\npython3 -B -S tools/cbz_site_receipt_recovery.py \\\n --expected-failed-head \"$EXPECTED_FAILED_HEAD\" \\\n --expected-previous-head \"$EXPECTED_PREVIOUS_HEAD\" \\\n > \"$RUNNER_TEMP/cbz-site-recovery-result/recovery.stdout\" \\\n 2> \"$RUNNER_TEMP/cbz-site-recovery-result/recovery.stderr\"\nstatus=$?\nprintf '%s\\n' \"$status\" > \"$RUNNER_TEMP/cbz-site-recovery-result/recovery.exit\"\nexit \"$status\"\n"
},
{
"name": "Retain recovery result",
"if": "${{ always() }}",
"uses": "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
"with": {
"name": "cbz-site-recovery-result-${{ github.run_id }}-${{ github.run_attempt }}",
"path": "${{ runner.temp }}/cbz-site-recovery-result",
"if-no-files-found": "warn",
"include-hidden-files": true,
"retention-days": 30
}
}
]
}
}
}
Loading
Loading