Skip to content

chore(license): align README/Cargo.toml/.zenodo.json/CITATION.cff to Apache-2.0 - #1437

Merged
gHashTag merged 3 commits into
masterfrom
chore/license-align-apache-2.0
Aug 6, 2026
Merged

gHashTag merged 3 commits into
masterfrom
chore/license-align-apache-2.0

Conversation

@gHashTag

@gHashTag gHashTag commented Jul 7, 2026 •

Copy link
Copy Markdown
Owner

Closes #1784

Summary

Aligns four metadata surfaces to Apache-2.0 to match the actual LICENSE
file, which has been Apache-2.0 all along (GitHub API license.spdx_id
= Apache-2.0; see
https://api.github.com/repos/gHashTag/t27).

Before this PR: license-drift — four downstream-facing surfaces
still said MIT while LICENSE said Apache-2.0. This confuses
packagers (cargo publish reads Cargo.toml), archivists (Zenodo
reads .zenodo.json), citation tools (CFF-aware tools read
CITATION.cff), and human readers (README badge + "## License"
section).

Changes

File Before After
README.md badge MIT + "## License\n\nMIT" badge Apache-2.0 + "Apache License 2.0. See LICENSE and NOTICE."
Cargo.toml license = "MIT" license = "Apache-2.0"
.zenodo.json "license": "MIT" "license": "Apache-2.0"
CITATION.cff license: MIT license: Apache-2.0

LICENSE and NOTICE files are unchanged (they were already
Apache-2.0 and correctly attribute Trinity Ternary Project
2024-2026 Dmitrii Vasilev).

No source-code changes. No SPDX headers added to individual files
in this PR (separate scope; can be a follow-up if desired).

Anchor

phi^2 + 1/phi^2 = 3

…Apache-2.0

LICENSE file has been Apache-2.0 all along (per GitHub API license.spdx_id
= Apache-2.0), but four metadata surfaces still declared MIT, creating a
license-drift risk for downstream packagers and Zenodo indexers.

Changes:
- README.md: badge MIT -> Apache 2.0; "## License" body to "Apache
  License 2.0. See LICENSE and NOTICE."
- Cargo.toml: license = "MIT" -> license = "Apache-2.0"
- .zenodo.json: "license": "MIT" -> "license": "Apache-2.0"
- CITATION.cff: license: MIT -> license: Apache-2.0

No source-code changes. LICENSE and NOTICE files untouched.

Anchor: phi^2 + 1/phi^2 = 3
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-07 10:15:35 UTC

Summary

Status Count
Total Open PRs 25
PRs with Failing Checks 15
PRs with All Checks Green 10
READY 9
FAILING 15
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=197d6eb5a40b != manifest seal=49e55df6d444.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

This was referenced Jul 23, 2026
This was referenced Jul 25, 2026
gHashTag and others added 2 commits August 6, 2026 18:08
Satisfies the check-now-freshness gate.

Closes #1784

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-06 11:09:23 UTC

Summary

Status Count
Total Open PRs 7
PRs with Failing Checks 5
PRs with All Checks Green 2
READY 1
FAILING 5
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=6f381bc4d862 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit ee7ede1 into master Aug 6, 2026
27 of 46 checks passed
gHashTag added a commit that referenced this pull request Oct 6, 2026
…-rust (Closes #6507) (#6862)

Owner, 2026-10-06, on issue #6507: "add the label yourself, do the work,
do not ask about labels" -- label owner-approved-foreign. This lands the
part of #6507 that was parked for that label.

- bootstrap/gen/rust/isa/t27a.rs: `t27c gen-rust specs/isa/t27a.t27`,
  checked in. The T736 field table and every assemble/list decision live
  only in the spec; main.rs splits lines and prints.
- bootstrap/src/main.rs: `t27c asm [file|-]` writes one 0x%08x word per
  instruction line and names each bad line; `t27c disasm [words...]` (or
  stdin) lists each word, `.word N` for an undefined byte. The old `asm`
  command is gone: it parsed a .t27 file and then emitted the same three
  hard-coded instructions whatever the input said.
- bootstrap/src/compiler.rs: gen-rust indexes a `string` through
  `.as_bytes()` and types `x.len` as usize when `len` is not a struct
  field. Without both, t27a.rs did not compile (5 x E0277, 6 x E0308).
  FROZEN_HASH moves with it (3c78f3c7.. -> 0ec05a8c..).
- bootstrap/tests/t27a_cli.rs: 7 tests -- the checked-in Rust is
  byte-identical to fresh gen-rust output; asm and disasm give the words
  the spec pins; disasm | asm returns all 256 low bytes and 2048
  pseudo-random words; ill-formed lines and tokens are refused; a gen-rust
  fixture that indexes a string compiles under -D warnings and runs.
- .trinity/seals: 104 seals resealed with the new binary and zig 0.16.0,
  because gen-rust output moved for 52 specs (and their twin seals) plus 8
  outside specs/. Three seals that #6789 landed with absolute spec_path
  values (isa_T27a, isa_Tri27Encoding, theory_CompilerTheoryIsaRoundTrip)
  are relative now.
- tools/policy/foreign-exceptions.txt lists the test and FROZEN_HASH
  under the approval (main.rs is already listed for #6509).

Evidence, Railway t27c lab, never cargo on the Mac:
- cargo test -p t27c --test t27a_cli: 7 passed.
- cargo test --release -p t27c (whole crate, on master c4dfa27): 2919
  passed, 0 failed.
- check_seal_coverage: rc=0, 1472 seals, 1330 hold, 142 known-broken.
- check_seal_currency: rc=0, 1347 current (base 1344), STALE 0.
- rustc on gen-rust output, base vs this binary: t27a 11 -> 0 errors,
  lexer 2 -> 0, mse_loss 1 -> 0; tri/net/http and aho_corasick keep their
  pre-existing range-slice error one step later (33 -> 34, 28 -> 29).

The trinity side (decoder.zig on the same table) is a separate PR in
gHashTag/trinity (#1437); T27A_CONSUMER_GAP stays until it lands.

Closes #6507

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

license drift: Cargo.toml/.zenodo.json/CITATION.cff/README declare MIT while LICENSE is Apache-2.0

1 participant