Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 50 additions & 0 deletions cbz/WEBSITE_BASELINE_HANDOFF_20261029.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Website and verification contribution — Partial Baseline

This contribution repairs immutable source identity and equation-excerpt saving, preserves the existing mathematical records, and supplies independently checked, explicitly scoped verification evidence. It is not a federation CBZ-0 declaration. Canonical federation integration is coordinated on [main#684](https://github.com/d6g8k5htny-coder/main/issues/684); the source contribution is [main#700](https://github.com/d6g8k5htny-coder/main/pull/700).

## Observed results

- Main proof/gate cut `9c09dc98a639341c8bfa088edefe011131016b41`, composed with Main `c93cec70223281492709ff74ca84fed5dc6e40e8`: 31 literal arithmetic proofs, 45 constants, four exact nonvacuity contracts, seven adverse controls, and fresh kernel replay passed. These are not analytic-parent or Gaussian-model certificates.
- Current source tests, including the separately hash-bound lifecycle fix: 1,784 Python tests, zero failures, 23 explicit skips. Supplemental runs execute 18 distinct skipped tests in 29 executions; five tests still lack real-record preconditions. The original skip and failure reports remain intact. Focused tools pass 144 tests normally and 144 optimized. Configured Node regression passes 763/763 with zero skips.
- Math cut `8151f592918a845bf19eb8eafaf8444540a32734`: nine module kernel replays, 63 public target reports and the full 116-declaration compiled inventory passed the unchanged 82-command gate through a verified sequential launcher. This does not establish source-model applicability, nonvacuity, newer Math cuts, or fresh replay of all imported Mathlib dependencies.
- The contribution index preserves 207 original records: 31 CLOSED literal Main statements and 176 QUARANTINED application/source obligations. Separate formal-evidence axes do not silently promote those obligations.

The mutation graders previously could accept fixture assertions as body failures, and an outer optimized run did not optimize scanner subprocesses. The repaired synchronous grader tracks named body invocation, population and fixture phases; rejects unsupported deferred bodies; and propagates optimization. Actual controls cover 25 lifecycle cases, 10 classifier mutants, 14 original guard mutants and 12 scanner mutants in each mode. Earlier recorded mutant failures remain valid at their exact body-failure scope. Independent engineering review found and verified the deferred-body fix; no scientific-independence credit is asserted.

## Reproduce the packaged checks

From this repository root:

```sh
python -B -S cbz/evidence/website-foundation-20261029/construction/verify_proposal.py
python -B -O -S cbz/evidence/website-foundation-20261029/construction/verify_proposal.py
python -B -S -m unittest discover -s tests -p 'test_cbz_*.py' -v
python -B -O -S -m unittest discover -s tests -p 'test_cbz_*.py' -v
```

The first two commands verify record identity and byte hashes, including negative metadata controls; they do not run a kernel or certify mathematics. Full toolchain, adapter, source-cut and remaining-boundary commands are in the namespaced [STATUS](evidence/website-foundation-20261029/STATUS.proposed.md) and [Math delivery README](evidence/math-8151-run004/README.md). There are 15 documented contribution tools. Canonical admission and the federation final run remain separate tasks; this handoff does not report them green.

## CBZ-0 criteria at this contribution's verification cut

| Criterion | Observed contribution and remaining federation work |
| --- | --- |
| 1. Clean Git/worktrees | Own source is committed for delivery after the recorded tests; initial local cleanup and recovery evidence are preserved. No final all-repository Git assertion. |
| 2. No open PRs/dangling work | #700 is an integration contribution. The canonical queue still has other open work; no empty-queue assertion. |
| 3. Terminal proof index | All 207 contribution records are CLOSED or precisely QUARANTINED. This is not the complete federation census. |
| 4. Layer A audit | Finite auditors and exact adverse-input boundaries are tested. Unsafe tool-source findings, lexical coverage gaps and binary coverage remain explicit; no exhaustive Layer A certification. |
| 5. Full regression | Actual results above; five real-record cases remain unexercised. No 100% federation-suite assertion. |
| 6. Lean/kernel/axioms | Main and pinned Math scopes above passed. All-project and fresh imported-dependency closure are not inferred. |
| 7. Mutations | Declared finite contribution controls pass; no all-federation mutation result. |
| 8. Pins | Exact source/runtime/dependency cuts are bound. Full federation synchronization remains with the canonical pin verifier. |
| 9. Tools | 15 finished tools registered in the proposed namespace, with usage and self-verification. Canonical registry incorporation remains separate. |
| 10. Canonical surfaces | Seven consistent proposed surfaces supplied; canonical root surfaces deliberately not overwritten by this contributor. |
| 11. Cold start | Fresh ZIP identity verification passes without Git or network. This is not the full STATUS-only clone-and-all-gates test. |
| 12. Ledger/administration | Contribution decisions, recovery manifests and evidence are supplied. Federation integration and remaining dispositions are not declared complete. |

## Downloads and recovery

The [existing Drive folder](https://drive.google.com/drive/folders/14NFE6ng7qqL4hkbwSeNdHmhOjV0BbYAB) retains the release snapshots. The older `b7edd52` source ZIP is explicitly named `ARCHIVE_...known_grader_limits`; preserve it as history rather than using its old graders for new acceptance decisions.

The standalone [Math evidence ZIP](https://drive.google.com/file/d/1Axf7DpNL028IqvmmCB9wf_C-Kmsc_zON/view?usp=drivesdk) has SHA-256 `5da23a87bf81e13131391f35530b74fe28c83e1d4b88c5febc90eba8dcbc519b`; its independent raw Drive download matched. [Dirty-worktree recovery instructions](https://drive.google.com/file/d/1np2k1O689vvtVx62mHfvlYM893s5RGYi/view?usp=drivesdk) link all eight uploaded archive parts. Their local concatenation matched the original SHA-256; provider size/name/parent readbacks passed. Remote chunk byte hashes were not independently round-tripped. The complete original recovery archive remains local; nothing was deleted from Drive.

Layer A remains non-waivable: no placeholder closure, new unverified axioms, floating-point certification of mathematical bounds, weakened bounds, suppressed failing tests, unmarked vacuity, fabricated status, or untested auditor claims.
23 changes: 23 additions & 0 deletions cbz/evidence/math-8151-run004/COPY_VERIFICATION.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"schema": "cbz.math.namespace-copy.v1",
"copied_package_files": 330,
"copied_bytes_match": true,
"package_prefix_preserved": "Universal_Law_Math_8151_Run004",
"private_directory_excluded": true,
"package_manifest_sha256": "acb63dc8bf246808cccc06a533cea8991c163860afa54bc7b1c0fe2e4010bf43",
"sealed_manifest_sha256": "63d0c9e0268ffec38eeb2fe83a0d31850e740aaba39dbdf3caf76ef6970f6acf",
"read_only_manifest_checks": [
{
"optimized": false,
"exit_code": 0,
"stdout": "PASS file identity only: 329 package files; 315 original sealed entries; no fresh kernel run"
},
{
"optimized": true,
"exit_code": 0,
"stdout": "PASS file identity only: 329 package files; 315 original sealed entries; no fresh kernel run"
}
],
"heavy_gate_rerun": false,
"source_math_commit": "8151f592918a845bf19eb8eafaf8444540a32734"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"verified": [
{
"phase": "clean_identity",
"optimized": false,
"code": 0,
"stdout": "PASS file identity only: 329 package files; 315 original sealed entries; no fresh kernel run\n"
},
{
"phase": "clean_identity",
"optimized": true,
"code": 0,
"stdout": "PASS file identity only: 329 package files; 315 original sealed entries; no fresh kernel run\n"
},
{
"phase": "tamper_refused",
"optimized": false,
"code": 1,
"expected_size_error": true
},
{
"phase": "tamper_refused",
"optimized": true,
"code": 1,
"expected_size_error": true
},
{
"phase": "extracted_21_driver_tests",
"optimized": false,
"code": 0,
"21_tests_observed": true
},
{
"phase": "extracted_21_driver_tests",
"optimized": true,
"code": 0,
"21_tests_observed": true
}
],
"zip_sha256": "5da23a87bf81e13131391f35530b74fe28c83e1d4b88c5febc90eba8dcbc519b"
}
16 changes: 16 additions & 0 deletions cbz/evidence/math-8151-run004/EXTRACTED_MUTATION_TESTS.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"optimized": false,
"exit_code": 0,
"baseline_tests": 21,
"mutants": 19,
"all_killed": true
},
{
"optimized": true,
"exit_code": 0,
"baseline_tests": 21,
"mutants": 19,
"all_killed": true
}
]
20 changes: 20 additions & 0 deletions cbz/evidence/math-8151-run004/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Pinned Math evidence contribution

This namespace preserves all330 files of the public `Universal_Law_Math_8151_Run004` package byte for byte, including its original directory prefix and relative manifests. Begin with [the package README](Universal_Law_Math_8151_Run004/README.md). The frozen seal has315 indexed entries plus its manifest. No private failure directory or unselected execution-parent files were copied.

The observed run applies only to Math- commit `8151f592918a845bf19eb8eafaf8444540a32734`:63 public target axiom/type reports,116 compiled declarations, nine ordinary exact-module kernel replays, all original builds and rejection controls. Later Math revisions and the current default branch are not certified by this run. The immutable source and runtime bindings are in the sealed receipt and manifest.

The315-file seal manifest SHA256 is `63d0c9e0268ffec38eeb2fe83a0d31850e740aaba39dbdf3caf76ef6970f6acf`; receipt SHA256 is `7711c528031f26bb094718db736f960c546fcbb5c00f345fae1b201d4d85f561`. This documents a completed scoped gate, not federation CBZ-0.

Source-paper/model alignment, concrete applicability, model existence and nonvacuity remain unclosed. All63 targets retain UNASSESSED nonvacuity at this delivery scope. Imported Mathlib dependencies were pinned, not all freshly kernel-replayed. Compiler auxiliary constants are not additional research results.

Deliberate sorry/axiom/native/metaprogram inputs in the sealed `formal-evidence/` and `execution/` control paths are rejection fixtures only. They are preserved auditor test data and must never be imported as accepted mathematical records or silently hidden from scan findings. The positive package's actual recorded source modules are separate from those controls.

Run the read-only package identity checks from the repository root:

```sh
python -B -S cbz/evidence/math-8151-run004/Universal_Law_Math_8151_Run004/verify_identity.py
python -O -B -S cbz/evidence/math-8151-run004/Universal_Law_Math_8151_Run004/verify_identity.py
```

These commands check file identity only. Full adapter self-tests and the exact full-gate setup recipe are in the preserved package README. Full replay requires the documented pinned Lean runtime and dependencies; no heavy gate was rerun merely to copy this namespace. Proposed tool registrations are in `TOOL_REGISTRY.proposed.json`; canonical admission belongs to the federation integrator.
63 changes: 63 additions & 0 deletions cbz/evidence/math-8151-run004/TOOL_REGISTRY.proposed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"schema": "cbz.math.tool-registry.proposal.v1",
"scope": "Namespaced frozen engineering execution recipe and read-only file identity checks only; no federation-wide certification",
"entries": [
{
"name": "PinnedMathSequentialExecution",
"purpose": "Repeat every unchanged8151 Math gate predicate/control using sequential exact-module pinned LeanChecker replay and same-pinned-Lean launches under ten validated Lake environment fields.",
"path": "cbz/evidence/math-8151-run004/Universal_Law_Math_8151_Run004/sealed/run_math_sequential_gate.py",
"sha256": "df54d63dabfb04becf256f77f4feb843e3d866837a17d92f8e47d1c547335712",
"usage": "Follow exact clean-machine setup in package README; copy frozen driver, OneModuleReplay.lean and LeanChecker-pinned.lean to /workspace/cbz0/lean-foundation; then python -B -S /workspace/cbz0/lean-foundation/run_math_sequential_gate.py",
"selftests": [
"In a fresh disposable directory copy sealed/run_math_sequential_gate.py, sealed/test_math_sequential_driver.py, sealed/mutate_math_sequential_driver.py; run python -B -S -m unittest test_math_sequential_driver -v",
"Repeat with python -O -B -S -m unittest test_math_sequential_driver -v",
"python -B -S mutate_math_sequential_driver.py",
"python -O -B -S mutate_math_sequential_driver.py"
],
"observed": "Fresh public ZIP extraction:21 tests and19/19 strict source mutants each normal/O; unmutated21-case harness passes; zero mutant harness errors/skips. Full run004 receipt records82 actual commands and unchanged source/runtime bindings.",
"evidence": [
"Universal_Law_Math_8151_Run004/sealed/direct-env-bridge-final-normal.stderr",
"Universal_Law_Math_8151_Run004/sealed/direct-env-bridge-final-optimized.stderr",
"Universal_Law_Math_8151_Run004/sealed/direct-env-bridge-final-mutations-normal/sequential-driver-mutations.json",
"Universal_Law_Math_8151_Run004/sealed/direct-env-bridge-final-mutations-optimized/sequential-driver-mutations.json",
"Universal_Law_Math_8151_Run004/sealed/tool-review/launch-review-REPORT.md",
"Universal_Law_Math_8151_Run004/sealed/formal-evidence/receipt.json",
"EXTRACTED_IDENTITY_AND_DRIVER_TESTS.json",
"EXTRACTED_MUTATION_TESTS.json"
],
"related_inputs": {
"sealed/OneModuleReplay.lean": "e61370531ad8e12837ca9ae9ec1f615208f9ec0b225967c9622be0ab81ddd43d",
"sealed/LeanChecker-pinned.lean": "2d18ec111d73c536b0bdee2533556bb9548c349f386797d3d3837b1f84d55dae",
"sealed/test_math_sequential_driver.py": "285512c4dfa93cbe5c0f1e41d2caf9fce2b627838d95b1b066ad965815d50817",
"sealed/mutate_math_sequential_driver.py": "f73618b66d3782a7846b59afbbd2b421a110d071fe288b5b21516977e6265230"
},
"maintenance_owner": "none; frozen self-contained scoped recipe, canonical porting/admission owned by federation integrator",
"criteria_served": [
6,
7,
9,
11
],
"limitations": "Sampled same-process-group resource monitor; not a hard kernel cgroup. No fresh imported-dependency closure, alignment, applicability, model-existence or nonvacuity claim."
},
{
"name": "PinnedMathPackageIdentity",
"purpose": "Read-only verification of package member paths/sizes/SHA256s and immutable original seal/receipt identities; no mathematical or Layer A certification.",
"path": "cbz/evidence/math-8151-run004/Universal_Law_Math_8151_Run004/verify_identity.py",
"sha256": "1aed4e984959be2dc42163735b3b15864aae7affd19346771946d4f03b3db7e7",
"usage": "python -B -S cbz/evidence/math-8151-run004/Universal_Law_Math_8151_Run004/verify_identity.py; repeat with python -O -B -S",
"self_verification": "Clean fresh ZIP extraction passes normal/O; append bytes to disposable sealed/OneModuleReplay.lean and require exact size diagnostic/refusal in both modes; restore original bytes. Copied namespace clean checks also pass normal/O.",
"evidence": [
"COPY_VERIFICATION.json",
"Universal_Law_Math_8151_Run004/PACKAGE_MANIFEST.json",
"EXTRACTED_IDENTITY_AND_DRIVER_TESTS.json"
],
"maintenance_owner": "none; frozen self-contained delivery",
"criteria_served": [
9,
11
],
"limitations": "Cryptographic file identity only. Check independently supplied whole-ZIP hash before treating its internal manifest as authoritative. No fresh kernel replay or broad proof-certification claim."
}
]
}
Loading
Loading