Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
125 changes: 125 additions & 0 deletions .github/workflows/cbz-node-regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
name: CBZ prepared Node regression

'on':
pull_request:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
prepared-node:
runs-on: ubuntu-24.04
timeout-minutes: 20
defaults:
run:
shell: bash
working-directory: main
env:
PYTHONDONTWRITEBYTECODE: '1'
GIT_TERMINAL_PROMPT: '0'
steps:
- name: Check out complete Main history
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
path: main
fetch-depth: 0
persist-credentials: false
- name: Check out pinned public Math source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
repository: d6g8k5htny-coder/Math-
ref: f532c3e2d91a0c7679a37c733741660917a9b21b
path: Math-
fetch-depth: 0
persist-credentials: false
- name: Check out pinned public query source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
repository: d6g8k5htny-coder/query-
ref: fb4c457b5861dc49696fd0a8e11c7c405056c05f
path: query-
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: '3.11'
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
- name: Prepare fresh evidence and immutable historical inputs
run: |
set -euo pipefail
cbz_evidence="$RUNNER_TEMP/cbz-node-regression-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
mkdir "$cbz_evidence"
python --version > "$cbz_evidence/python.txt"
node --version > "$cbz_evidence/node.txt"
git --version > "$cbz_evidence/git.txt"
git rev-parse HEAD > "$cbz_evidence/main-commit.txt"
git -C "$GITHUB_WORKSPACE/Math-" rev-parse HEAD > "$cbz_evidence/math-commit.txt"
git -C "$GITHUB_WORKSPACE/query-" rev-parse HEAD > "$cbz_evidence/query-commit.txt"
fetch_historical() {
git -c core.hooksPath=/dev/null -c credential.helper= -c core.fsmonitor=false \
-c protocol.ext.allow=never -c maintenance.auto=false -c gc.auto=0 \
-C "$GITHUB_WORKSPACE/$1" fetch --no-tags --no-write-fetch-head \
--no-recurse-submodules --no-auto-maintenance origin "$2"
git -C "$GITHUB_WORKSPACE/$1" cat-file -e "$2^{commit}"
}
fetch_historical main 71400b94f6cb354a8cf7aba73ffede2138a64efa
fetch_historical main a12c178c0f857a130cf434e9efd44233a038195b
fetch_historical main f2e432ea5c86742e480c66624775bc9103343314
fetch_historical Math- d6628da09384728992dcbe6e921cc28ba85aebb0
fetch_historical Math- 82247833b5dd58e04291d55353b52938d73ec614
fetch_historical Math- 9d7b6802424fb4715b31999066aafca8ee2f3cca
fetch_historical query- c88768bb11efd1f7d6bda188f13064bedec54a06
- name: Admitted prepared-helper controls in both Python modes
run: |
set -euo pipefail
cbz_evidence="$RUNNER_TEMP/cbz-node-regression-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
python -B -S -m unittest -v tests.test_cbz_node_regression.NodeRunnerTests > "$cbz_evidence/helper-controls-normal.log" 2>&1
python -B -O -S -m unittest -v tests.test_cbz_node_regression.NodeRunnerTests > "$cbz_evidence/helper-controls-optimized.log" 2>&1
- name: Every tracked Node test with prepared fixtures
timeout-minutes: 5
run: |
set -euo pipefail
python -B -S tools/cbz_node_regression.py \
--math-root "$GITHUB_WORKSPACE/Math-" --query-root "$GITHUB_WORKSPACE/query-" \
--output "$RUNNER_TEMP/cbz-node-regression-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT/normal"
- name: Every tracked Node test with optimized Python preparation
if: ${{ !cancelled() }}
timeout-minutes: 5
run: |
set -euo pipefail
python -B -O -S tools/cbz_node_regression.py \
--math-root "$GITHUB_WORKSPACE/Math-" --query-root "$GITHUB_WORKSPACE/query-" \
--output "$RUNNER_TEMP/cbz-node-regression-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT/optimized"
- name: Report bounded observed outcomes
if: ${{ !cancelled() }}
run: |
python -B -S - "$RUNNER_TEMP/cbz-node-regression-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT" <<'PY'
import json, pathlib, sys
root = pathlib.Path(sys.argv[1])
for mode in ('normal', 'optimized'):
controls = root / f'helper-controls-{mode}.log'
if controls.is_file():
print('HELPER CONTROLS ' + mode)
print('\n'.join(controls.read_text(encoding='utf-8').splitlines()[-4:]))
report = root / mode / 'result.json'
if report.is_file():
record = json.loads(report.read_text(encoding='utf-8'))
keys = ('schema', 'status', 'summary', 'node_exit', 'source_before', 'source_after', 'fixture_files', 'fixture_tree_sha256', 'log_sha256', 'node_version')
print(json.dumps({'mode': mode, **{key: record.get(key) for key in keys}}, sort_keys=True))
else:
print(json.dumps({'mode': mode, 'report_missing': True}))
PY
- name: Preserve original results, TAP and complete fixture trees
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
name: cbz-node-regression-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/cbz-node-regression-${{ github.run_id }}-${{ github.run_attempt }}
include-hidden-files: true
if-no-files-found: error
retention-days: 30
7 changes: 5 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Claude entry

Use [AGENTS.md](AGENTS.md) and the
[current workflow](governance/OP-WORKFLOW-20260930.md).
Use [AGENTS.md](AGENTS.md), [CBZ-0 governance](GOVERNANCE.md) (the current
authority) and the active coordination board,
[main #738](https://github.com/d6g8k5htny-coder/main/issues/738). The
[prior workflow](governance/OP-WORKFLOW-20260930.md) is historical where it
conflicts.
The same owner delegation and scope coordination apply to every participating
model; there is no separate Claude permission queue. Use
[Workspace and tools](docs/WORKSPACE.md) for execution paths and the
Expand Down
24 changes: 13 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,26 @@ participants and may be improved by them.

## Before you start

1. Read [AGENTS.md](AGENTS.md) for the cross-model entry point and the
[current workflow](governance/OP-WORKFLOW-20260930.md) for claims,
dispositions, verification tiers and review rules; [CLAUDE.md](CLAUDE.md)
only points there.
1. Read [AGENTS.md](AGENTS.md) for the cross-model entry point and
[CBZ-0 governance](GOVERNANCE.md) for the current coordination,
verification and review rules. The
[prior workflow](governance/OP-WORKFLOW-20260930.md) is historical where it
conflicts; [CLAUDE.md](CLAUDE.md) only points there.
2. Read the [research guide](docs/RESEARCH_INDEX.md) for source-linked
research context and each result's stated scope. For current work, consult
[main #666](https://github.com/d6g8k5htny-coder/main/issues/666) (continued from [#275](https://github.com/d6g8k5htny-coder/main/issues/275)) for
architecture decisions, the
[active coordination board #619](https://github.com/d6g8k5htny-coder/main/issues/619)
(continued from [#539](https://github.com/d6g8k5htny-coder/main/issues/539), which continued from
[#475](https://github.com/d6g8k5htny-coder/main/issues/475) and [#419](https://github.com/d6g8k5htny-coder/main/issues/419))
[active coordination board #738](https://github.com/d6g8k5htny-coder/main/issues/738)
(continued from [#619](https://github.com/d6g8k5htny-coder/main/issues/619), which continued from
[#539](https://github.com/d6g8k5htny-coder/main/issues/539), [#475](https://github.com/d6g8k5htny-coder/main/issues/475) and [#419](https://github.com/d6g8k5htny-coder/main/issues/419))
for current coordination and bounded-task discussion, and the relevant task-local issue or PR for its
latest claim, disposition and evidence.
3. **Declare the work before you begin it.** Say what you intend to change, with
a timestamp, where other contributors will see it — the task and claim queue on the
[active coordination board, main #619](https://github.com/d6g8k5htny-coder/main/issues/619), or a comment on
[active coordination board, main #738](https://github.com/d6g8k5htny-coder/main/issues/738), or a comment on
the relevant issue or pull request (general coordination:
[active coordination board, main #619](https://github.com/d6g8k5htny-coder/main/issues/619); see the
[active coordination board, main #738](https://github.com/d6g8k5htny-coder/main/issues/738); see the
[prior #619 board](https://github.com/d6g8k5htny-coder/main/issues/619), the
[prior #539 board](https://github.com/d6g8k5htny-coder/main/issues/539), the
[prior #475 board](https://github.com/d6g8k5htny-coder/main/issues/475), the
[prior #419 board](https://github.com/d6g8k5htny-coder/main/issues/419), the
Expand All @@ -37,7 +39,7 @@ participants and may be improved by them.

Use [public tasks](https://github.com/d6g8k5htny-coder/main/issues?q=is%3Aissue+is%3Aopen+label%3Aeng-only)
(none open on 7 October 2026), the
[current task and claim queue, main #619](https://github.com/d6g8k5htny-coder/main/issues/619)
[current task and claim queue, main #738](https://github.com/d6g8k5htny-coder/main/issues/738)
or [propose a bounded task](https://github.com/d6g8k5htny-coder/main/issues/new?template=task.yml).
The starter types are `replay`, `chart`, `review-comment`, `catalog-stub`, and
`docs`. Cite the existing key, public path, full commit and digest from
Expand Down Expand Up @@ -167,7 +169,7 @@ back regardless of how good the result looks.

Read the [formal-verification guide](docs/FORMAL_VERIFICATION.md) first and
claim work in the relevant formal pull request; use
[active coordination board, main #619](https://github.com/d6g8k5htny-coder/main/issues/619) to find current
[active coordination board, main #738](https://github.com/d6g8k5htny-coder/main/issues/738) to find current
tasks and link that claim when coordination requires it.
[#95](https://github.com/d6g8k5htny-coder/main/issues/95) is closed formal-rollout
history. The
Expand Down
5 changes: 5 additions & 0 deletions DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,8 @@ Append-only. Historical source outcomes remain in their original records.
| 2026-11-09 19:44 | 2 | B/integration, pins | Workspace #55 integrated through hosted required checks and a fresh expected-head merge, updating only the Main gitlink, pin, README and appended decision. The tested merge tree equals the published tree; prior source and seven other pins remain. Both hosted modes ran 187 tests without skips; strict-current pins and canonical inputs passed at the observed pre-merge interval. This does not establish final G7 or a full federation matrix. A later Main merge requires a fresh pin comparison. | Yes; ordinary Git history | Workspace `8a7aac8626438967830ea5a516a944ce48759018`, tree `d8db9ab8dd764d6f564b1d46fee03990be7b770a`, tested merge `238b379f671b0d0f0d4c471befdfa7dc1ebf4c35`; Main `b1d36c80403acc96d257b9e71140a6cb83a595af`; premerge evidence SHA-256 `4d2b668a2e62a8ea1beeb627e89229cd512b7a4fe79fdd937257d84cb12659fc`. |
| 2026-11-09 20:14 | 2 | B/integration, pins | Main #783 and Workspace #56 integrated through normal required checks and expected-head merges. Their tested and published trees match; Workspace pins the separately observed Main. Hosted pre- and post-merge Workspace federation jobs each ran 187 tests per mode without skips, and pin jobs checked eight strict-current pins and four canonical inputs. Main's six post-merge workflows succeeded and its publication recorded 33 snapshots with prepared and observed receipts. These sequential observations do not award final G7, cold start or scientific acceptance; another Main merge requires a fresh guarded pin comparison. | Yes; ordinary Git and retained receipt history | Main `7738e4c2e0881dd952772421877d9854364d272f`; Workspace `5dcb544c1847ea2a0b7724201f747627c2746235`; receipt commits `7e515b3dbc74eb8ffaf45039b2472f6e0a7124b9` / `fd191f57d33cabc73aec8091df837d7695cb316a`; evidence SHA-256 `bea63fdd7dc5e53174e2af4e08f3db91973546a45392def6763446f097f026d3`. |
| 2026-11-09 20:20 | 2 | B/tooling, conflict | Repair inventory mutation classification with actual pre-cleanup selected-body and finite unittest-oracle code provenance. The revised 83-test contract suite passed per mode without top-level skips, with twelve authorized source-mutant kills and eleven baselines per mode. Four named inner recursion skips remain explicit. A real subject-contaminated full suite produced 83 failures per mode and was refused. Four recorder self-mutations were killed per child mode using the previously qualified node-origin checker; a separate driver probe refused a no-op and a subject assertion in both parent modes. Preserve the historical false kills, first missed post-status and target mutants, and corrected driver parsing error. This is bounded synchronous-unittest evidence, not a full federation gate, hostile-code sandbox, mathematical proof or scientific review. | Yes; ordinary Git and retained raw evidence | Native source `65a46d6c0a1a5df394a01860b46d23b41f700ee5`; test SHA-256 `9afd51758fd2d17f7c37916f4e2bfb6a2c276c919670acddbc6ea1ef776abbe2`; recorder SHA-256 `e4eac82a7e9156ebfeebe67e80fc2e6b403e2da4f3b17c6c42695e56985ac5a9`; full receipt SHA-256 `887146de94be674d02c09d920953e9aa95de50ec668787efceb54293281552f3` / `b8ce9cccb833ee270470abc7d178f365017583e1edcc659bb0bcb21744b86454`; [scope and commands](docs/cbz/INVENTORY_RECOVERY.md#inventory-assertion-origin-repair--9-november-2026). |
| 2026-11-09 19:17 | 2 | B/testing | Replace one contradictory Node negative fixture premise with an explicit historical 8d43 profile control: require its exact source bridge, original 3b39 execution and REJECTED alignment, then change only manifest identity and require null. The three current.json versions checked in the ancestry of Main f1ef use the admitted 8d43 profile; this bounded search supplies no honest older-unmapped fixture. Preserve the original RED and current snapshot externally. Production model, bridge data, mathematics and historical records are unchanged. Focused/full prepared Node qualification and one intended-assertion guard mutant remain source-bound external observations; no final gate or scientific admission is inferred. | Yes | [Rationale and provenance](docs/cbz/NODE_FORMAL_FIXTURE_20261109.md); raw RED at Main `24ad8a143862fb9255fc6e2e7bf08c12f989f71d`: 767 tests, 766 passed, one failed, zero skipped/cancelled/todo; original TAP SHA-256 `f4fc26a2422b7bd85d4d5de951379b9b9a3365db2dbc147a7f8d88c7d5fc1f80`. |
| 2026-11-09 19:43 | 2 | B/testing, CI | Add an ordinary read-only prepared Node regression job because existing CI did not run the complete suite on this repaired test, and shared local PID/thread exhaustion prevents a new container qualification. Use exact public sibling pins, explicit historical fetches, Python 3.11/Node 24, admitted helper controls and sequential normal/optimized prepared runs with original artifacts retained on failure. Preserve prior RED and reviewed local evidence; require an actual hosted pass before merge, with no helper/model/math changes or privilege workaround. | Yes | [Design and provenance](docs/cbz/NODE_FORMAL_FIXTURE_20261109.md); reviewed local repair `94c8b2264eff0d32727126b7b027b2077ab81552`, composed source `aa4a74bff613b58224ea7995dbb0fa48c62d38b0`, actual Main parent `b1d36c80403acc96d257b9e71140a6cb83a595af`; `.github/workflows/cbz-node-regression.yml`. |
| 2026-11-09 20:00 | 2 | B/testing, CI | Print bounded fields from original prepared-Node results and the helper-control log footers in CI, so counts and source/fixture identities are directly inspectable even when the local artifact reader cannot start. Preserve all original artifacts and grading behavior; no result is synthesized from a PASS line. | Yes | First hosted run `42687230494`, job `129397179313`, at head `63ae24f10de2e04c18c452923dff524d17b86cb7` succeeded and uploaded artifact `13705427515`; exact artifact case counts were not yet independently read. [Prepared regression contract](docs/cbz/NODE_FORMAL_FIXTURE_20261109.md). |
| 2026-11-09 20:36 | 2 | C/integration | Compose the prepared Node regression repair with current canonical records and the compatible three-file entry-routing delivery from Main #781. Preserve the full current Main decision prefix, all Node decisions, and the original Claude commits through ordered parents; leave peer refs untouched. Fresh source-exposed engineering review found no technical findings; GitHub returns no actual review submission, so no approval or scientific independence is inferred. Require fresh checks on the complete composition before protected merge. | Yes | Main `7738e4c2e0881dd952772421877d9854364d272f`; Node head `962923a12f82e88f54ece180fbabdf05934aae78`; entry-routing head `fd08c3f77b0e13e310a424f8fd38d2df6b28d7af` and original `f2f3bd6a01e7f549b8706d9b2a362e037d5c6827`; Main #781/#784. |
| 2026-11-09 20:40 | 2 | C/integration | Preserve the newly landed inventory oracle-provenance repair while composing the Node and entry-routing deliveries with current Main. Keep all upstream files and the complete current ledger prefix, all prior Node decisions, and original entry-delivery lineage. Earlier Node component passes remain bound to their prior compositions; require fresh protected checks on this one. | Yes | Main #785 merge `c81b7572f3c690338db9d66fdea582fc68f4a73f`; prior Node head `54ff4cc9c9a5d8f11badcc311028dc86d09d938c`; Main #784. |
Loading
Loading