Skip to content

Commit d22378d

Browse files
sync: re-vendor absolute-zero/ subtree to upstream HEAD (trusted-base + 16-commit catch-up) (#83)
## Summary Re-syncs maa-framework's vendored `absolute-zero/` tree from its previous snapshot (16+ commits behind) up to current upstream HEAD (commit `ab35c07`). ## Primary motivation: pull in standards#203 trusted-base work | Upstream PR | Phase | Contents | |-------------|-------|----------| | absolute-zero#52 | seed | `docs/proof-debt.md` per standards#203 schema | | absolute-zero#58 | 1 | per-axiom triage of 72 Coq Axioms (`docs/proof-debt-triage.md`) | | absolute-zero#59 | 1 cleanup | post-#58 cross-refs + STATE/META updates | | absolute-zero#60 | 2a | Lambda cluster — Coq + Lean inline `AXIOM:` annotations | | absolute-zero#61 | 2b | `CNOCategory.v:323` `hom_functor` §(d) DEBT entry | | absolute-zero#62 | 2c | Filesystem cluster — 26 inline annotations + 8 §(d) DEBT entries | **Cumulative trusted-base state**: 41 / 129 escape hatches documented (35.7% covered). Remaining 88 belong to Quantum + Physics clusters (future Phase 2d/2e PRs upstream). ## Side effects of the full re-vendor Because the vendored tree was 16+ commits behind, the sync also pulls in unrelated upstream work: - Estate-policy / governance / hypatia / language-policy workflow updates (~15 `.github/workflows/*` files). - MPL-2.0 SPDX header migration from PMPL-1.0-or-later (~20 files). - `.machine_readable/` A2ML updates. - ReScript interpreter removal (per estate language-policy ban — `interpreters/rescript/*` deleted). - Verification scripts moved to `verification/` subdir. - Old session debris pruned (`SONNET-HANDOFF.md`, `STACK_AUDIT.txt`, `ROADMAP-V1-TO-V12.adoc`, `ROADMAP-UPDATED.adoc`, etc.). ## Preserved (maa-framework-specific, NOT in upstream) Three Agda extensions were added in maa-framework directly (commits `0538283` + `e80c5fb`) and survive the re-vendor via rsync filters: - `proofs/agda/EchoBridgeCNO.agda` - `proofs/agda/EchoBridgeScaffold.agda` - `proofs/agda/README.adoc` ## Verification ``` $ bash ~/developer/repos/standards/scripts/check-trusted-base.sh absolute-zero [INFO] Found 129 soundness-relevant escape hatch(es). [ERROR] 88/129 escape hatch(es) are undocumented. ``` Matches upstream exactly. The 41 documented entries are Lambda (5) + CNOCategory (1) + already-passing (1) + Filesystem (34). ## Scope warning This is a large PR (168 files changed) because of the catch-up. If desired, I can re-do this as two PRs: 1. proofs/ + docs/proof-debt*.md only (the trusted-base subset) 2. Everything else (workflows + machine_readable + cleanups) But that requires hand-curating the file list. The single-PR shape matches the "full re-vendor" option from the planning question. Refs absolute-zero#52, #58, #59, #60, #61, #62; standards#203. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b80aecf commit d22378d

179 files changed

Lines changed: 7866 additions & 6140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

absolute-zero/.claude/CLAUDE.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ The following files in `.machine_readable/` contain structured project metadata:
1919

2020
| Language/Tool | Use Case | Notes |
2121
|---------------|----------|-------|
22-
| **ReScript** | Primary application code | Compiles to JS, type-safe |
22+
| **AffineScript** | Primary application code | Compiles to JS/WASM, linear/affine type system |
2323
| **Deno** | Runtime & package management | Replaces Node/npm/bun |
2424
| **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools |
2525
| **Tauri 2.0+** | Mobile apps (iOS/Android) | Rust backend + web UI |
2626
| **Dioxus** | Mobile apps (native UI) | Pure Rust, React-like |
2727
| **Gleam** | Backend services | Runs on BEAM or compiles to JS |
2828
| **Bash/POSIX Shell** | Scripts, automation | Keep minimal |
29-
| **JavaScript** | Only where ReScript cannot | MCP protocol glue, Deno APIs |
29+
| **JavaScript** | Only where AffineScript cannot, or as per-language reference (examples/) | Avoid for new code unless integrating an external JS API |
3030
| **Nickel** | Configuration language | For complex configs |
3131
| **Guile Scheme** | State/meta files | STATE.scm, META.scm, ECOSYSTEM.scm |
3232
| **Julia** | Batch scripts, data processing | Per RSR |
@@ -37,7 +37,8 @@ The following files in `.machine_readable/` contain structured project metadata:
3737

3838
| Banned | Replacement |
3939
|--------|-------------|
40-
| TypeScript | ReScript |
40+
| TypeScript | AffineScript |
41+
| ReScript | AffineScript |
4142
| Node.js | Deno |
4243
| npm | Deno |
4344
| Bun | Deno |
@@ -48,24 +49,26 @@ The following files in `.machine_readable/` contain structured project metadata:
4849
| Swift | Tauri/Dioxus |
4950
| React Native | Tauri/Dioxus |
5051
| Flutter/Dart | Tauri/Dioxus |
52+
| PMPL-1.0 / PMPL-1.0-or-later | MPL-2.0 |
5153

5254
### Mobile Development
5355

5456
**No exceptions for Kotlin/Swift** - use Rust-first approach:
5557

56-
1. **Tauri 2.0+** - Web UI (ReScript) + Rust backend, MIT/Apache-2.0
58+
1. **Tauri 2.0+** - Web UI (AffineScript) + Rust backend, MIT/Apache-2.0
5759
2. **Dioxus** - Pure Rust native UI, MIT/Apache-2.0
5860

5961
Both are FOSS with independent governance (no Big Tech).
6062

6163
### Enforcement Rules
6264

63-
1. **No new TypeScript files** - Convert existing TS to ReScript
65+
1. **No new TypeScript or ReScript files** - Use AffineScript; meaningfully migrate existing TS/JS to AffineScript when touched (per-language `examples/` references may stay)
6466
2. **No package.json for runtime deps** - Use deno.json imports
6567
3. **No node_modules in production** - Deno caches deps automatically
6668
4. **No Go code** - Use Rust instead
67-
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, ReScript for apps
69+
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, AffineScript for apps
6870
6. **No Kotlin/Swift for mobile** - Use Tauri 2.0+ or Dioxus
71+
7. **License**: MPL-2.0 only — never PMPL-1.0 / PMPL-1.0-or-later / MPL-2.0-or-later
6972

7073
### Package Management
7174

absolute-zero/.clusterfuzzlite/Containerfile renamed to absolute-zero/.clusterfuzzlite/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: PMPL-1.0
1+
# SPDX-License-Identifier: MPL-2.0
22
FROM gcr.io/oss-fuzz-base/base-builder-rust@sha256:73c1d5648db54100639339d411a5d192cbc8bf413ee91e843a07cf6f0e319dc7
33

44
COPY . $SRC/absolute-zero
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/bin/bash -eu
2-
# SPDX-License-Identifier: PMPL-1.0
2+
# SPDX-License-Identifier: MPL-2.0
33
cd "$SRC"/absolute-zero
44
cargo +nightly fuzz build
5+
# cargo-fuzz writes binaries to `fuzz/target/<triple>/release/<target>`
6+
# (the fuzz crate's own target dir), not to the workspace root. The
7+
# previous `./target/...` path was a vestige of an earlier layout where
8+
# fuzz/ depended on the parent crate's `[lib]` (since removed).
59
for target in $(cargo +nightly fuzz list); do
6-
cp ./target/x86_64-unknown-linux-gnu/release/$target $OUT/
10+
cp fuzz/target/x86_64-unknown-linux-gnu/release/$target $OUT/
711
done
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
language: rust

absolute-zero/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0
1+
# SPDX-License-Identifier: AGPL-3.0-or-later
22
# RSR-compliant .gitattributes
33

44
* text=auto eol=lf

absolute-zero/.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
# Funding platforms for hyperpolymath projects
33
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
44

absolute-zero/.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
version: 2
33
updates:
44
- package-ecosystem: "cargo"

absolute-zero/.github/workflows/cflite_batch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
name: ClusterFuzzLite batch fuzzing
33
on:
44
schedule:

absolute-zero/.github/workflows/cflite_pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
name: ClusterFuzzLite PR fuzzing
33
on:
44
pull_request:
@@ -14,6 +14,9 @@ jobs:
1414
matrix:
1515
sanitizer: [address]
1616
steps:
17+
- name: Checkout
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
1720
- name: Build Fuzzers (${{ matrix.sanitizer }})
1821
id: build
1922
uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

absolute-zero/.github/workflows/codeql.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
name: CodeQL Security Analysis
33

44
on:
@@ -9,6 +9,14 @@ on:
99
schedule:
1010
- cron: '0 6 * * 1'
1111

12+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
13+
# updates do not pile up queued runs against the shared account-wide
14+
# Actions concurrency pool. Applied only to read-only check workflows
15+
# (no publish/mutation), so cancelling a superseded run is always safe.
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1220
permissions: read-all
1321

1422
jobs:
@@ -26,15 +34,15 @@ jobs:
2634

2735
steps:
2836
- name: Checkout
29-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3038

3139
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.28.1
40+
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.28.1
3341
with:
3442
languages: ${{ matrix.language }}
3543
build-mode: ${{ matrix.build-mode }}
3644

3745
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.28.1
46+
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.28.1
3947
with:
4048
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)