Skip to content

Commit 14d088d

Browse files
committed
Prepare CodonTrace Genesis 0.3.0b1 beta release
Promote CodonTrace Genesis from 0.3.0a2 alpha to 0.3.0b1 beta. Changes included: Align package version, runtime version, release labels, citation metadata, and release evidence. Update README, CLAIMS, BENCHMARKS, REPRODUCIBILITY, publishing docs, and release checklist for public beta wording. Add Studio boundary policy to keep UI, FastAPI, WebSocket, Tauri, installer, and product CLI code out of the core library. Add AST-based core boundary guard and release test coverage. Add Phase 1 Studio execution handoff documents in HTML and Markdown. Add safe performance planning notes for future live/interactive Studio execution without changing scientific semantics. Add cross-OS CI smoke matrix for Ubuntu, Windows, and macOS across Python 3.11–3.14. Keep CodonTrace Genesis dependency-free, library-first, and evidence/replay focused. This release does not turn the core library into a UI product. CodonTrace Studio remains a separate future consumer application.
1 parent 687e3a3 commit 14d088d

46 files changed

Lines changed: 1123 additions & 216 deletions

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on:
3+
"on":
44
push:
55
pull_request:
66

@@ -12,17 +12,18 @@ env:
1212
PIP_DISABLE_PIP_VERSION_CHECK: "1"
1313

1414
jobs:
15-
test:
16-
name: Python ${{ matrix.python-version }}
17-
runs-on: ubuntu-latest
18-
timeout-minutes: 25
15+
core-smoke-cross-os:
16+
name: Core smoke (${{ matrix.os }}, Python ${{ matrix.python-version }})
17+
runs-on: ${{ matrix.os }}
18+
timeout-minutes: 30
1919
strategy:
2020
fail-fast: false
2121
matrix:
22+
os: [ubuntu-latest, windows-latest, macos-latest]
2223
python-version: ["3.11", "3.12", "3.13", "3.14"]
2324
steps:
2425
- name: Checkout
25-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2627

2728
- name: Set up Python
2829
uses: actions/setup-python@v6
@@ -38,15 +39,8 @@ jobs:
3839
- name: Compile package, tests, examples, and tools
3940
run: python -m compileall -q src tests examples tools
4041

42+
- name: Enforce core boundary with AST import guard
43+
run: python tools/check_core_boundary.py
44+
4145
- name: Run release-critical tests
42-
run: |
43-
python -m pytest \
44-
tests/test_export_import.py \
45-
tests/test_api_signature.py \
46-
tests/test_genesis_causal_mechanism_hardening.py \
47-
tests/test_genesis_causal_mechanism_runtime_wiring_integrity.py \
48-
tests/test_genesis_integration_public_api_unification.py \
49-
tests/test_genesis_integration_runtime_wiring.py \
50-
tests/release \
51-
tests/genesis_gates \
52-
--disable-plugin-autoload
46+
run: python -m pytest tests/test_export_import.py tests/test_api_signature.py tests/test_genesis_causal_mechanism_hardening.py tests/test_genesis_causal_mechanism_runtime_wiring_integrity.py tests/test_genesis_integration_public_api_unification.py tests/test_genesis_integration_runtime_wiring.py tests/release tests/genesis_gates --disable-plugin-autoload

.github/workflows/publish-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Publish to PyPI
22

3-
on:
3+
"on":
44
release:
55
types: [published]
66

@@ -17,7 +17,7 @@ jobs:
1717
timeout-minutes: 20
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121

2222
- name: Set up Python
2323
uses: actions/setup-python@v6
@@ -35,7 +35,7 @@ jobs:
3535
run: python -m twine check dist/*
3636

3737
- name: Upload artifacts
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@v7
3939
with:
4040
name: python-distributions
4141
path: dist/
@@ -49,7 +49,7 @@ jobs:
4949
contents: read
5050
steps:
5151
- name: Download distributions
52-
uses: actions/download-artifact@v4
52+
uses: actions/download-artifact@v8
5353
with:
5454
name: python-distributions
5555
path: dist/

BENCHMARKS.md

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Benchmark Protocols
22

3-
Version target: `0.3.0a2`
4-
Release DOI: `10.5281/zenodo.20337435`
5-
License: `AGPL-3.0-or-later`
6-
Status: Public alpha research software
7-
Primary runner: `examples/collective_joss_evidence_benchmark.py`
8-
Primary smoke test: `tests/examples/test_collective_joss_evidence_benchmark_smoke.py`
3+
Version target: `0.3.0b1`
4+
Release DOI: `10.5281/zenodo.20337435`
5+
License: `AGPL-3.0-or-later`
6+
Status: Public beta research software
7+
Primary runner: `examples/collective_joss_evidence_benchmark.py`
8+
Primary smoke test: `tests/examples/test_collective_joss_evidence_benchmark_smoke.py`
99
Reference artifact inspected: `joss_evidence_smoke_20260522_182358.zip`
1010

1111
This document defines the benchmark protocol for CodonTrace Genesis as deterministic, replay/audit-first research software for digital evolution, ALife experiments, causal mechanism auditing, and claim-gated evidence generation.
@@ -73,7 +73,7 @@ JOSS-safe benchmark wording:
7373
examples/collective_joss_evidence_benchmark.py
7474
```
7575

76-
The runner is the user-facing benchmark entry point. It produces CSV/JSON/HTML artifacts and is designed to stay compatible with the public-alpha `0.3.0a2` branch.
76+
The runner is the user-facing benchmark entry point. It produces CSV/JSON/HTML artifacts and is designed to stay compatible with the public-beta `0.3.0b1` branch.
7777

7878
### Smoke test
7979

@@ -146,10 +146,10 @@ The inspected smoke artifact reports:
146146
| Field | Value |
147147
|---|---:|
148148
| Runner | `collective_joss_evidence_benchmark` |
149-
| Runner schema | `collective_joss_evidence_benchmark_v1.1.0_public_alpha_a2` |
150-
| CodonTrace version | `0.3.0a2` |
151-
| Target public version | `0.3.0a2` |
152-
| Expected version | `0.3.0a2` |
149+
| Runner schema | `collective_joss_evidence_benchmark_v1.1.0_public_beta_b1` |
150+
| CodonTrace version | `0.3.0b1` |
151+
| Target public version | `0.3.0b1` |
152+
| Expected version | `0.3.0b1` |
153153
| Release DOI | `10.5281/zenodo.20337435` |
154154
| Profile | `smoke` |
155155
| Seed start | `1` |
@@ -293,32 +293,22 @@ Interpretation:
293293

294294
---
295295

296-
## 9. Known provenance note
296+
## 9. Provenance label check
297297

298-
The inspected smoke `summary.json` includes:
298+
For the `0.3.0b1` beta release, benchmark provenance should report a single aligned release identity:
299299

300300
```text
301-
release_artifact_name: codontrace-0.3.0a1-release-bundle.zip
302-
```
303-
304-
while the run configuration and actual CodonTrace version report:
305-
306-
```text
307-
codontrace_version: 0.3.0a2
308-
target_public_version: 0.3.0a2
309-
expected_version: 0.3.0a2
301+
release_artifact_name: codontrace-0.3.0b1-release-bundle.zip
302+
codontrace_version: 0.3.0b1
303+
target_public_version: 0.3.0b1
304+
expected_version: 0.3.0b1
310305
```
311306

312307
Interpretation:
313308

314-
- This is not a smoke-run failure.
315-
- The benchmark executed with `0.3.0a2`.
316-
- The stale `release_artifact_name` should be cleaned before the next formal release so provenance text does not confuse reviewers.
317-
- Until cleaned, benchmark reports should treat this as a minor provenance-label issue, not as evidence that the run used `0.3.0a1`.
318-
319-
Recommended fix before the next release:
320-
321-
> Update any static release-artifact label or default metadata that still mentions `0.3.0a1`.
309+
- A benchmark report that claims to target this beta line must not use stale alpha artifact labels.
310+
- Historical alpha labels may remain only in lineage/history tests and archival notes.
311+
- Release-facing benchmark outputs should use the runtime package version or `RELEASE_ARTIFACT_NAME` rather than hard-coded legacy strings.
322312

323313
---
324314

@@ -756,7 +746,7 @@ The smoke zip does not need to be uploaded into the repository immediately.
756746

757747
The current smoke benchmark supports:
758748

759-
- runner execution on `0.3.0a2`,
749+
- runner execution on `0.3.0b1`,
760750
- generation of structured artifacts,
761751
- artifact-manifest creation,
762752
- environment recording,

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.3.0b1 — Studio-readiness beta release
4+
5+
### Changed
6+
7+
- Promoted current package identity from `0.3.0a2` alpha to `0.3.0b1` beta.
8+
- Updated package metadata, runtime `codontrace.__version__`, citation metadata, release evidence, README install pins, and current release artifact identity.
9+
- Kept historical `added_in`/compatibility provenance fields intact where they describe APIs introduced during the alpha line.
10+
11+
### Added
12+
13+
- Added `docs/STUDIO_PHASE1_EXECUTION_SPEC.html` as the repo-ready Phase 1 Studio execution handoff.
14+
- Added `docs/STUDIO_BOUNDARY.md` to lock the library/UI boundary before Studio work begins.
15+
- Added `docs/PERFORMANCE_PHASE1.md` as a safe profiling and optimization plan for live execution without changing scientific semantics.
16+
17+
### Notes
18+
19+
This beta promotion does not make CodonTrace a UI product and does not loosen the claim boundary. The core remains a dependency-free research library; Studio/API/Desktop work belongs in a separate consumer repository.
20+
321
## 0.3.0a2 — AGPL metadata correction alpha release
422

523
### Changed

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cff-version: 1.2.0
22
message: "If you use CodonTrace Genesis, please cite the versioned software release."
33
title: "CodonTrace Genesis"
4-
version: "0.3.0a2"
4+
version: "0.3.0b1"
55
authors:
66
- family-names: "Jamei"
77
given-names: "Parvaz"
88
license: "AGPL-3.0-or-later"
99
repository-code: "https://github.com/Parvaz-Jamei/codontrace-genesis"
1010
doi: "10.5281/zenodo.20337435"
11-
date-released: "2026-05-22"
12-
abstract: "CodonTrace Genesis is a deterministic, library-first research-alpha toolkit for digital-evolution experiments, causal mechanism auditing, capsule-mediated transfer, skill-compression inheritance, role and collective-behavior instrumentation, and replayable evidence artifacts."
11+
date-released: "2026-06-05"
12+
abstract: "CodonTrace Genesis is a deterministic, library-first research-beta toolkit for digital-evolution experiments, causal mechanism auditing, capsule-mediated transfer, skill-compression inheritance, role and collective-behavior instrumentation, and replayable evidence artifacts."
1313
keywords:
1414
- digital evolution
1515
- causal mechanism auditing

CLAIMS.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# CodonTrace Genesis Claim Policy
22

3-
Version target: `0.3.0a2`
4-
Release DOI: `10.5281/zenodo.20337435`
5-
License: `AGPL-3.0-or-later`
6-
Status: Public alpha research software
7-
Repository: `https://github.com/Parvaz-Jamei/codontrace-genesis`
8-
Package: `codontrace==0.3.0a2`
3+
Version target: `0.3.0b1`
4+
Release DOI: `10.5281/zenodo.20337435`
5+
License: `AGPL-3.0-or-later`
6+
Status: Public beta research software
7+
Repository: `https://github.com/Parvaz-Jamei/codontrace-genesis`
8+
Package: `codontrace==0.3.0b1`
99

1010
This document defines the strongest claims that CodonTrace Genesis can make today, the claims that require stronger benchmark evidence, and the claims that are explicitly blocked for the current release.
1111

@@ -76,12 +76,12 @@ Use instead:
7676

7777
## 3. Stable software claims allowed now
7878

79-
These claims are allowed for the current public alpha release because they describe implemented software scope, packaging, metadata, and instrumentation intent rather than final scientific discoveries.
79+
These claims are allowed for the current public beta release because they describe implemented software scope, packaging, metadata, and instrumentation intent rather than final scientific discoveries.
8080

8181
| Area | Allowed claim | Required wording discipline |
8282
|---|---|---|
83-
| Research software | CodonTrace Genesis is public alpha research software for digital evolution, causal mechanism auditing, replayable ALife experiments, and evidence-gated AI/evolution studies. | Say “research software” or “research library,” not “proven intelligence system.” |
84-
| Packaging | CodonTrace Genesis is published as a Python package and can be installed from PyPI as `codontrace==0.3.0a2`. | Tie install claims to the exact version. |
83+
| Research software | CodonTrace Genesis is public beta research software for digital evolution, causal mechanism auditing, replayable ALife experiments, and evidence-gated AI/evolution studies. | Say “research software” or “research library,” not “proven intelligence system.” |
84+
| Packaging | CodonTrace Genesis is published as a Python package and can be installed from PyPI as `codontrace==0.3.0b1`. | Tie install claims to the exact version. |
8585
| Citation | The release has a Zenodo DOI and citation metadata. | Cite the exact DOI/version used. |
8686
| License | The public release uses `AGPL-3.0-or-later`. | Keep commercial/proprietary exceptions separate from the open license. |
8787
| Determinism | The library is designed around deterministic experiment specifications, digests, replay records, and artifact manifests. | Do not claim every user experiment is automatically deterministic unless seeds/configs/artifacts are preserved. |
@@ -99,25 +99,25 @@ These claims are allowed for the current public alpha release because they descr
9999

100100
This section records the strongest evidence observed in the currently inspected runner output package. It is useful as development evidence and as a guide for the next public benchmark.
101101

102-
It should **not** be used as a publication-grade claim until the run is repeated on the current public release (`0.3.0a2` or newer), archived with its configuration/artifacts, and reported with enough seeds and controls.
103-
104-
Inspected artifact: `collective_heavy_outputs.zip`
105-
Runner: `codontrace_collective_intelligence_heavy_runner`
106-
Runner schema: `collective_heavy_runner_v1.2.0_incremental_checkpointing`
107-
Observed engine/package version: `0.2.0a25`
108-
Profile: `quick`
109-
Seed count: `2`
110-
Ticks/generations: `8`
111-
Population: `6`
112-
Workers: `1`
113-
Runs planned/completed/failed: `40 / 40 / 0`
102+
It should **not** be used as a publication-grade claim until the run is repeated on the current public release (`0.3.0b1` or newer), archived with its configuration/artifacts, and reported with enough seeds and controls.
103+
104+
Inspected artifact: `collective_heavy_outputs.zip`
105+
Runner: `codontrace_collective_intelligence_heavy_runner`
106+
Runner schema: `collective_heavy_runner_v1.2.0_incremental_checkpointing`
107+
Observed engine/package version: `0.2.0a25`
108+
Profile: `quick`
109+
Seed count: `2`
110+
Ticks/generations: `8`
111+
Population: `6`
112+
Workers: `1`
113+
Runs planned/completed/failed: `40 / 40 / 0`
114114
Unique result digests: `40`
115115

116116
Important provenance warning:
117117

118-
- The inspected output was generated from an older `0.2.0a25` development/release artifact, not the current public `0.3.0a2` PyPI release.
118+
- The inspected output was generated from an older `0.2.0a25` development/release artifact, not the current public `0.3.0b1` PyPI release.
119119
- The inspected summary includes a release-identity/provenance warning around the tested zip name.
120-
- Therefore this snapshot is valid as **development evidence** and **instrumentation evidence**, but not as a final public benchmark for `0.3.0a2`.
120+
- Therefore this snapshot is valid as **development evidence** and **instrumentation evidence**, but not as a final public benchmark for `0.3.0b1`.
121121

122122
### 4.1 Evidence categories observed
123123

@@ -255,7 +255,7 @@ These require a stronger public benchmark:
255255

256256
## 7. Explicitly blocked claims for the current release
257257

258-
The following claims must not be made for `0.3.0a2` unless a future paper/benchmark explicitly satisfies the required evidence level.
258+
The following claims must not be made for `0.3.0b1` unless a future paper/benchmark explicitly satisfies the required evidence level.
259259

260260
- CodonTrace has proven artificial general intelligence.
261261
- CodonTrace has proven consciousness or subjective experience.
@@ -383,7 +383,7 @@ Suggested citation target:
383383

384384
- Software DOI: `10.5281/zenodo.20337435`
385385
- Repository: `https://github.com/Parvaz-Jamei/codontrace-genesis`
386-
- Package: `codontrace==0.3.0a2`
386+
- Package: `codontrace==0.3.0b1`
387387

388388
---
389389

@@ -412,7 +412,7 @@ This file should be updated whenever a new public benchmark, JOSS paper, arXiv p
412412

413413
Recommended update triggers:
414414

415-
- a benchmark is rerun on `0.3.0a2` or newer,
415+
- a benchmark is rerun on `0.3.0b1` or newer,
416416
- a new Zenodo artifact is created,
417417
- an external user cites or uses the library,
418418
- a JOSS/arXiv/paper artifact is prepared,

GENESIS_COMPATIBILITY_MATRIX.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# GENESIS Compatibility Matrix — v0.3.0a1 unified-runtime
1+
# GENESIS Compatibility Matrix — v0.3.0b1 beta unified-runtime
22

3-
CodonTrace is not yet a proof of artificial life, AGI, consciousness, or open-ended autonomous discovery. It is a GENESIS-aligned research-alpha foundation engine.
3+
CodonTrace is not yet a proof of artificial life, AGI, consciousness, or open-ended autonomous discovery. It is a GENESIS-aligned research-beta foundation engine.
44

55
| GENESIS Concept | Current API | Status | Operational Level | Missing / Limitation | Evidence / Tests | Claim Allowed? |
66
|---|---|---:|---|---|---|---|
@@ -46,7 +46,7 @@ CodonTrace is not yet a proof of artificial life, AGI, consciousness, or open-en
4646
|---|---|---:|---|
4747
| Causal validation | `codontrace.genesis.causal_validation` | scaffold/implemented | Separates temporal precedence, association, conditional association, intervention, and ground-truth recovery; never claims true causality by graph alone. |
4848
| ADF macro validation | `adf_runtime`, `adf_validation` | scaffold/implemented | ADF decode and macro expansion are operational; language emergence is not claimed without null models and ablation. |
49-
| Active QD search loop | `qd_search` | scaffold/implemented | Archive can feed parent selection/emission; still research-alpha, not full OEE proof. |
49+
| Active QD search loop | `qd_search` | scaffold/implemented | Archive can feed parent selection/emission; still research-beta, not full OEE proof. |
5050
| Capsule transfer validation | `capsule_validation` | scaffold/implemented | Adoption counters alone are not transfer proof; ON/OFF or before/after effect needed. |
5151
| Discovery experiment protocol | `discovery_protocol` | scaffold/implemented | D0/shadow/persistence/ablation/multiseed/replay gates downgrade unsupported claims. |
5252
| Scientific manifest strictness | `validate_scientific_manifest` | scaffold/implemented | Flags missing or placeholder hashes for paper-grade runs. |

0 commit comments

Comments
 (0)