Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
60c4b89
feat(ring-061): Lotus phase automation - brain summaries pipeline (Cl…
gHashTag Apr 7, 2026
d36da65
feat(ring-062): VSA similarity search for semantic recall (Closes #224)
gHashTag Apr 7, 2026
3dd6dd7
docs: update META_DASHBOARD and NOW for Rings 061-062
gHashTag Apr 7, 2026
20f8256
feat(ring-063): Ternary logic gates for balanced ternary (Closes #226)
gHashTag Apr 7, 2026
3e551d1
docs: update for Ring 063 (ternary gates)
gHashTag Apr 7, 2026
a6220ab
feat(ring-064): Ternary arithmetic operations for balanced ternary (C…
gHashTag Apr 7, 2026
3d04ad1
feat(ring-065): Ternary encoding/decoding for data representation (Cl…
gHashTag Apr 7, 2026
bff89d9
docs: update for Rings 064-065 (ternary arithmetic + encoding)
gHashTag Apr 7, 2026
6d3e5bc
feat(ring-066): Ternary memory cell and array operations (Closes #232)
gHashTag Apr 7, 2026
86427b8
docs: update for Ring 066 (ternary memory)
gHashTag Apr 7, 2026
dfa6ce6
feat(ring-067): Ternary shift and rotate operations (Closes #234)
gHashTag Apr 7, 2026
5c822d3
feat(ring-068): Ternary bitwise operations (Closes #236)
gHashTag Apr 7, 2026
47ce9f5
docs: update META_DASHBOARD for Ring 069 completion
gHashTag Apr 7, 2026
5169563
docs: update META_DASHBOARD for Ring 070 completion
gHashTag Apr 7, 2026
54ce131
docs: update META_DASHBOARD for 100 specs milestone
gHashTag Apr 7, 2026
e87d324
docs: add CLARA TA1/TA2 conformance JSON
gHashTag Apr 7, 2026
48d9704
feat(math): Trinity x Pellis compare CLI and pellis-formulas spec (#277)
gHashTag Apr 7, 2026
1330a92
feat: GF/ternary seals, language benchmarks, Pellis verification, whi…
gHashTag Apr 7, 2026
c3218aa
merge: sync origin/master into local master
gHashTag Apr 7, 2026
4317b42
docs(whitepaper): update gf_paper_v3 IMRaD draft
gHashTag Apr 7, 2026
6caf86c
chore: remove compiler.rs.orig and ignore *.orig backups
gHashTag Apr 7, 2026
b35fd57
spec(ternary): packed_trit - 5-trit-per-byte encoding
gHashTag Apr 7, 2026
d1b5e3b
feat(theorem-3): implement Theorem 3 - φ as universal fixed-point att…
gHashTag Apr 7, 2026
a45f8de
feat(ring-050): radix economy theorem - ternary beats binary by 5.4%
gHashTag Apr 7, 2026
e4ae571
feat: zenodo publication pipeline
gHashTag Apr 7, 2026
2953a17
spec(numeric): formats, sdk, vm - P0 core rewrite sprint 1 additions
gHashTag Apr 7, 2026
0cf7c7d
fix: zenodo workflow with deposition ID
gHashTag Apr 7, 2026
2b6a1fe
docs: zenodo publication rules and readme
gHashTag Apr 7, 2026
1d1d1e8
docs: fix repository relations for zenodo
gHashTag Apr 7, 2026
66692da
chore: add release pipeline for PyPI, npm, and crates.io
gHashTag Apr 7, 2026
ff05225
Merge remote-tracking branch 'origin/master' into feat/p0-core-rewrit…
gHashTag Apr 7, 2026
1842954
feat(ring-071): NotebookLM backend - config, token, cookie_auth (T-11…
gHashTag Apr 7, 2026
ddfa579
spec(core): P0 Sprint 2-3 - Zig to .t27 specs (6 files) (#307)
gHashTag Apr 7, 2026
3ff84dd
feat: add multi-language bindings for GoldenFloat
gHashTag Apr 7, 2026
8215f5c
feat(core): P0 Sprint 1 - Zig to .t27 specs (6 files)
gHashTag Apr 7, 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
167 changes: 167 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
# Release Pipeline: Publish to PyPI, npm, and crates.io
# Triggered on GitHub release publication

name: Release Pipeline

on:
release:
types: [published]

jobs:
# ========================================================================
# Python: PyPI Publication via Maturin
# ========================================================================
python:
name: Publish Python Package to PyPI
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
target: [x86_64, aarch64]
exclude:
# Windows aarch64 not supported by GitHub Actions
- os: windows-latest
target: aarch64
# macOS x86_64 not available
- os: macos-latest
target: x86_64

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Maturin
run: pip install maturin

- name: Build wheels
run: |
cd bindings/python
maturin build --release --out ../../target/wheels --strip

- name: Upload wheels (Ubuntu x86_64)
if: matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64'
uses: actions/upload-artifact@v4
with:
name: python-wheels-x86_64
path: target/wheels/*.whl
retention-days: 7

- name: Upload wheels (Ubuntu aarch64)
if: matrix.os == 'ubuntu-latest' && matrix.target == 'aarch64'
uses: actions/upload-artifact@v4
with:
name: python-wheels-aarch64
path: target/wheels/*.whl
retention-days: 7

- name: Upload wheels (macOS aarch64)
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: python-wheels-macos
path: target/wheels/*.whl
retention-days: 7

- name: Upload wheels (Windows x86_64)
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: python-wheels-windows
path: target/wheels/*.whl
retention-days: 7

python-publish:
name: Publish to PyPI
needs: python
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Download all wheels
uses: actions/download-artifact@v4
with:
pattern: python-wheels-*
path: target/wheels/
merge-multiple: true

- name: Publish to PyPI
uses: PyO3/maturin-action@v1
with:
command: upload
args: --no-sdist target/wheels/*
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

# ========================================================================
# JavaScript: npm Publication via wasm-pack
# ========================================================================
javascript:
name: Build and Publish to npm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown

- name: Install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0

- name: Build WebAssembly
run: |
cd bindings/javascript
wasm-pack build --target bundler --release

- name: Update package.json for npm
working-directory: bindings/javascript/pkg
run: |
# Ensure package name is golden-float
npm pkg set name=golden-float
npm pkg set repository.url=https://github.com/trinity-s3ai/t27
npm pkg set author="Trinity S3AI"

- name: Publish to npm
working-directory: bindings/javascript/pkg
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# ========================================================================
# Rust: crates.io Publication
# ========================================================================
crates:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable

- name: Publish golden-float-ffi
run: |
cd ffi
cargo publish --token ${{ secrets.CRATES_TOKEN }}

# ========================================================================
# Zenodo: DOI Generation (separate workflow handles this)
# ========================================================================
# Note: Zenodo publication is handled by zenodo-publish.yml
# This is triggered automatically on release publication
23 changes: 23 additions & 0 deletions .github/workflows/zenodo-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to Zenodo on Release

on:
release:
types: [published]

jobs:
zenodo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Upload to Zenodo
uses: megasanjay/upload-to-zenodo@v2.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
zenodo_token: ${{ secrets.ZENODO_TOKEN }}
zenodo_deposition_id: "19456875"
zenodo_publish: true
zenodo_sandbox: false
update_metadata_files: true
zenodo_json: true
citation_cff: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"schema_version": 2,
"episode_id": "2026-04-07_ring-050_sprint-3.5_radix-economy",
"ring_number": 50,
"timestamp": "2026-04-07T21:29:49Z",
"verdict": "CLEAN",
"claim_tier": "PROVEN",
"task": "Implement Theorem: Radix Economy — E(3) < E(2) by 5.4%",
"spec_delta": "specs/math/radix_economy.t27",
"generated_artifacts": [
{
"path": "conformance/radix_economy_vectors.json",
"type": "json"
},
{
"path": ".trinity/seals/RadixEconomy.json",
"type": "json"
}
],
"tests": {
"total": 4,
"passed": 4,
"failed": 0
},
"hashes": {
"spec_hash_before": "sha256:PLACEHOLDER_COMMIT",
"spec_hash_after": "sha256:4603ad98bc054ddb39cdd7d880c0af0a6d029cc13a13783e14d6001d8a3e86d9",
"gen_hash_after": "sha256:e3029f30f984fc9dc8d18d26a2c715b1e17ffda4366e239f037cfcd6ea80fede",
"test_vector_hash": "sha256:632edde6e391e5fa061b72ce0327707fa4bd80017ff9f8b60faaab10afaf4726"
},
"next_constraint": "Ring 051 - gf_competitive.t27",
"agent": "claude-opus-4.6",
"law_violations": [],
"claim_evidence": {
"proof_type": "formal",
"proof_system": "t27 spec + conformance test vectors",
"confidence": 0.95,
"citations": []
}
}
2 changes: 1 addition & 1 deletion .trinity/seals/RadixEconomy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"gen_hash_zig": "sha256:e3029f30f984fc9dc8d18d26a2c715b1e17ffda4366e239f037cfcd6ea80fede",
"module": "RadixEconomy",
"ring": 12,
"sealed_at": "2026-04-06T22:22:49Z",
"sealed_at": "2026-04-07T14:28:37Z",
"spec_hash": "sha256:4603ad98bc054ddb39cdd7d880c0af0a6d029cc13a13783e14d6001d8a3e86d9",
"spec_path": "specs/math/radix_economy.t27"
}
38 changes: 38 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"title": "T27: TRI-27 — Spec-First Language for Ternary Computing",
"upload_type": "software",
"description": "T27 is a spec-first language for ternary computing built on Zig with formal verification support via Coq. Provides comprehensive tooling for software development, specification, and testing.",
"creators": [
{
"name": "Vasilev, Dmitrii",
"affiliation": "Trinity Computing",
"orcid": "0000-0002-5135-5363"
}
],
"keywords": [
"ternary computing", "specification language", "Zig", "Coq",
"formal verification", "t27", "tri CLI", "golden ratio",
"phi", "floating point", "number format", "software",
"spec-first development", "Theorem 3", "generative mechanism"
],
"license": "MIT",
"communities": [{"identifier": "trinity"}],
"access_right": "open",
"embargo_date": null,
"publication_date": "2026-04-07",
"related_identifiers": [
{
"relation": "isSupplementTo",
"identifier": "https://github.com/gHashTag/trinity",
"resource_type": "software"
},
{
"relation": "documents",
"identifier": "https://github.com/gHashTag/t27",
"resource_type": "software",
"title": "T27: TRI-27 — Spec-First Language for Ternary Computing"
}
],
"version": "0.1.0",
"language": "eng"
}
30 changes: 21 additions & 9 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
cff-version: 1.2.0
message: "If you use T27 in research or software, please cite it as below."
title: "T27: TRI-27 spec-first language for ternary computing"
message: "If you use T27/GoldenFloat in research or software, please cite it as below."
title: "GoldenFloat: φ-Optimal Floating-Point Formats for Ternary Computing (T27)"
version: 0.1.0
date-released: 2026-04-06
date-released: 2026-04-07
license: MIT
repository-code: "https://github.com/gHashTag/t27"
url: "https://github.com/gHashTag/t27"
abstract: >
GoldenFloat (GF) is a family of seven narrow floating-point
formats parameterized by φ ≈ 1.618. We prove that φ is the
unique fixed point of balancing recursion f(x)=(x+x⁻¹+1)/2
(Theorem 3, zero free parameters). T27 provides spec-first
development with formal verification.
authors:
- family-names: Vasilev
given-names: Dmitrii
affiliation: Trinity Project
- family-names: Playra
given-names: AI Assistant
affiliation: Trinity Computing
keywords:
- golden ratio
- floating point
- ternary computing
- specification language
- Zig
- Verilog
- GoldenFloat
- phi
- number format
- t27
- tri CLI
- Coq
- formal verification
Loading
Loading