Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
210550b
Add lightweight native crate manifest
FreshSoftware4 Jul 23, 2026
a28fe8d
Document native core boundaries
FreshSoftware4 Jul 23, 2026
33cb189
Add composed route identifiers
FreshSoftware4 Jul 23, 2026
b0e3715
Add persistent context deltas
FreshSoftware4 Jul 23, 2026
9a57949
Add single transition journal event
FreshSoftware4 Jul 23, 2026
409f642
Expose compact native execution surface
FreshSoftware4 Jul 23, 2026
1ad1e2f
Add explicit canonical native byte encoder
FreshSoftware4 Jul 23, 2026
724d5cb
Add compact graph and transaction storage
FreshSoftware4 Jul 23, 2026
d57b0bb
Add transactional typed operation kernel
FreshSoftware4 Jul 23, 2026
ae9cdd7
Enforce native complexity budgets
FreshSoftware4 Jul 23, 2026
02f2195
Add valid and invalid native workloads
FreshSoftware4 Jul 23, 2026
997369a
Wire lightweight native core into workspace
FreshSoftware4 Jul 23, 2026
34ec3a9
Add native core integration gate
FreshSoftware4 Jul 23, 2026
2662a29
Bind native state to BLAKE3
FreshSoftware4 Jul 23, 2026
7bcbc15
Document native codec fixed point
FreshSoftware4 Jul 23, 2026
60b70e7
Admit validated context decoding
FreshSoftware4 Jul 23, 2026
c43a807
Add bounded codec fixed-point tests
FreshSoftware4 Jul 23, 2026
d16c5a9
Reconstruct validated native graphs
FreshSoftware4 Jul 23, 2026
4e11e0f
Validate decoded native opcodes and ports
FreshSoftware4 Jul 23, 2026
0c6916a
Expose bounded native decoding
FreshSoftware4 Jul 23, 2026
27d5ae5
Add bounded canonical native decoder
FreshSoftware4 Jul 23, 2026
540bc26
Make primitive native execution proof-carrying
FreshSoftware4 Jul 23, 2026
d9f0311
Prove native witness admission and unforgeability
FreshSoftware4 Jul 23, 2026
8ad50f6
Carry kernel judgments in the native graph
FreshSoftware4 Jul 23, 2026
2f48fed
Commit primitive operations with intrinsic evidence
FreshSoftware4 Jul 23, 2026
3cbef7f
Require proof-carrying canonical fixed points
FreshSoftware4 Jul 23, 2026
aec745e
Refresh native core scope documentation
FreshSoftware4 Jul 23, 2026
cb11a80
Document native pass 3 closure
FreshSoftware4 Jul 23, 2026
b41345c
No-op guard
FreshSoftware4 Jul 23, 2026
89b2152
Add native DNA frame boundary
FreshSoftware4 Jul 23, 2026
c5a62b1
Expose native DNA encoding and decoding
FreshSoftware4 Jul 23, 2026
30b36aa
Implement compact native DNA frame
FreshSoftware4 Jul 23, 2026
70260ca
Prove native DNA fixed point and tamper rejection
FreshSoftware4 Jul 23, 2026
d185025
Expose compact native RNA ingress
FreshSoftware4 Jul 23, 2026
52a7f75
Add compact native RNA compiler and sequencer
FreshSoftware4 Jul 23, 2026
2e27aed
Prove native RNA and DNA fixed points
FreshSoftware4 Jul 23, 2026
a0f99a9
Put native migration rail under Commander
FreshSoftware4 Jul 23, 2026
ad80a8c
Document governed native RNA boundary
FreshSoftware4 Jul 23, 2026
2b50943
Route l64-cli through native membrane
FreshSoftware4 Jul 23, 2026
09b343c
Add in-process native CLI membrane
FreshSoftware4 Jul 23, 2026
b5ceccd
Add structural-magic native command router
FreshSoftware4 Jul 23, 2026
94b4068
Prove native CLI cutover and legacy fallback
FreshSoftware4 Jul 23, 2026
4c2a5fc
Advance Commander rail to native CLI membrane
FreshSoftware4 Jul 23, 2026
7cb9ebb
Advance Commander rail to legacy demotion
FreshSoftware4 Jul 23, 2026
f1f1f5d
Demote legacy CLI contacts to migration ingress
FreshSoftware4 Jul 23, 2026
d811743
Add explicit legacy migration ingress
FreshSoftware4 Jul 23, 2026
ce1dd6a
Prove visible and explicit legacy demotion
FreshSoftware4 Jul 23, 2026
ec30d71
Close Commander native cutover rail
FreshSoftware4 Jul 23, 2026
eba6a85
Document completed Commander cutover rail
FreshSoftware4 Jul 23, 2026
cdf06bd
Keep native membrane source canonical
FreshSoftware4 Jul 23, 2026
6a653bb
Keep legacy ingress membrane canonical
FreshSoftware4 Jul 23, 2026
03cd81d
Keep demotion tests canonical
FreshSoftware4 Jul 23, 2026
3f6e4c2
Keep native dependency boundary canonical
FreshSoftware4 Jul 23, 2026
1a0dab8
Add native constraint core change chain
FreshSoftware4 Jul 23, 2026
7c24cd0
Document native constraint core factorization
FreshSoftware4 Jul 23, 2026
0684ad9
Bind constraint core to Commander change chain
FreshSoftware4 Jul 23, 2026
cbcbfe5
Run native gate on Commander branches
FreshSoftware4 Jul 23, 2026
822756e
Advance execution rail to proof congruence
FreshSoftware4 Jul 23, 2026
55d7108
Deduplicate native branch CI
FreshSoftware4 Jul 23, 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
52 changes: 52 additions & 0 deletions .github/workflows/native-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Native core gate

on:
push:
branches:
- 'chatgpt/**'
paths:
- Cargo.toml
- Cargo.lock
- l64-native/**
- LOCUS64_*_RAIL.athens
- LOCUS64_*_CHANGE_CHAIN.athens
- .github/workflows/native-core.yml
pull_request:
branches:
- main
paths:
- Cargo.toml
- Cargo.lock
- l64-native/**
- LOCUS64_*_RAIL.athens
- LOCUS64_*_CHANGE_CHAIN.athens
- .github/workflows/native-core.yml
workflow_dispatch:

permissions:
contents: read

jobs:
verify:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Cache Cargo
uses: Swatinem/rust-cache@v2

- name: Check formatting
run: cargo fmt --all --check

- name: Test workspace
run: cargo test -q

- name: Lint native core
run: cargo clippy -p l64-native --all-targets -- -D warnings
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = [
"l64-native",
"l64-core",
"l64-locus",
"l64-research",
Expand Down
39 changes: 39 additions & 0 deletions LOCUS64_CONSTRAINT_CORE_CHANGE_CHAIN.athens
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
ATHENS_DEVELOPMENT_RAIL v1
field=key=projection_authority;value=non_authoritative
field=key=rail_version;value=6
field=key=schema_version;value=1
gate=id=constraint-core-closure-green
gate=id=context-consistency-green
gate=id=dimension-algebra-green
gate=id=guarded-obligation-green
gate=id=native-surface-green
stage=id=dimension-algebra
stage_field=stage=dimension-algebra;key=required_gates;value=dimension-algebra-green
stage_field=stage=dimension-algebra;key=status;value=complete
stage=id=context-consistency
stage_field=stage=context-consistency;key=depends_on;value=dimension-algebra
stage_field=stage=context-consistency;key=required_gates;value=context-consistency-green
stage_field=stage=context-consistency;key=status;value=complete
stage=id=guarded-obligation
stage_field=stage=guarded-obligation;key=depends_on;value=context-consistency
stage_field=stage=guarded-obligation;key=required_gates;value=guarded-obligation-green
stage_field=stage=guarded-obligation;key=status;value=complete
stage=id=native-surface
stage_field=stage=native-surface;key=depends_on;value=guarded-obligation
stage_field=stage=native-surface;key=required_gates;value=native-surface-green
stage_field=stage=native-surface;key=status;value=complete
stage=id=constraint-core-closure
stage_field=stage=constraint-core-closure;key=depends_on;value=native-surface
stage_field=stage=constraint-core-closure;key=required_gates;value=constraint-core-closure-green
stage_field=stage=constraint-core-closure;key=status;value=complete
history=from_status=current;gates=dimension-algebra-green;mode=linear_advance;stage_id=dimension-algebra;to_status=complete
history=evidence=local%3A22-tests%2Bclippy%3Bdimension-law%2Bdecoder-recheck;kind=dogfood_promotion_receipt;stage_id=dimension-algebra
history=from_status=current;gates=context-consistency-green;mode=linear_advance;stage_id=context-consistency;to_status=complete
history=evidence=local%3A24-tests%2Bclippy%3Bcontradiction-atomic%2Bdecode-recheck;kind=dogfood_promotion_receipt;stage_id=context-consistency
history=from_status=current;gates=guarded-obligation-green;mode=linear_advance;stage_id=guarded-obligation;to_status=complete
history=evidence=local%3A28-tests%2Bclippy%3Bsqrt-witness%7Cobligation%7Crejection%2Bforgery-refusal;kind=dogfood_promotion_receipt;stage_id=guarded-obligation
history=from_status=current;gates=native-surface-green;mode=linear_advance;stage_id=native-surface;to_status=complete
history=evidence=local%3A32-tests%2Bclippy%3Bconstraint-rna-dna-fixed-point%2Binvalid-refusal;kind=dogfood_promotion_receipt;stage_id=native-surface
history=from_status=current;gates=constraint-core-closure-green;mode=linear_advance;stage_id=constraint-core-closure;to_status=complete
history=evidence=github-cbcbfe5d9c4f34baf0ca54306c77a85ac970bd26-run-29990484222;kind=dogfood_promotion_receipt;stage_id=constraint-core-closure
END
33 changes: 33 additions & 0 deletions LOCUS64_EXECUTION_COHERENCE_RAIL.athens
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
ATHENS_DEVELOPMENT_RAIL v1
field=key=current_stage;value=proof-producing-congruence
field=key=next_stage;value=incremental-closure
field=key=projection_authority;value=non_authoritative
field=key=rail_version;value=2
field=key=schema_version;value=1
gate=id=incremental-closure-green
gate=id=legacy-authority-quarantine-green
gate=id=native-constraint-core-green
gate=id=native-upper-projection-green
gate=id=proof-producing-congruence-green
stage=id=native-constraint-core
stage_field=stage=native-constraint-core;key=required_gates;value=native-constraint-core-green
stage_field=stage=native-constraint-core;key=status;value=complete
stage=id=proof-producing-congruence
stage_field=stage=proof-producing-congruence;key=depends_on;value=native-constraint-core
stage_field=stage=proof-producing-congruence;key=required_gates;value=proof-producing-congruence-green
stage_field=stage=proof-producing-congruence;key=status;value=current
stage=id=incremental-closure
stage_field=stage=incremental-closure;key=depends_on;value=proof-producing-congruence
stage_field=stage=incremental-closure;key=required_gates;value=incremental-closure-green
stage_field=stage=incremental-closure;key=status;value=next
stage=id=native-upper-projection
stage_field=stage=native-upper-projection;key=depends_on;value=incremental-closure
stage_field=stage=native-upper-projection;key=required_gates;value=native-upper-projection-green
stage_field=stage=native-upper-projection;key=status;value=planned
stage=id=legacy-authority-quarantine
stage_field=stage=legacy-authority-quarantine;key=depends_on;value=native-upper-projection
stage_field=stage=legacy-authority-quarantine;key=required_gates;value=legacy-authority-quarantine-green
stage_field=stage=legacy-authority-quarantine;key=status;value=planned
history=from_status=current;gates=native-constraint-core-green;mode=linear_advance;stage_id=native-constraint-core;to_status=complete
history=evidence=github-cbcbfe5d9c4f34baf0ca54306c77a85ac970bd26-run-29990484222;kind=dogfood_promotion_receipt;stage_id=native-constraint-core
END
25 changes: 25 additions & 0 deletions LOCUS64_NATIVE_RAIL.athens
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ATHENS_DEVELOPMENT_RAIL v1
field=key=projection_authority;value=non_authoritative
field=key=rail_version;value=8
field=key=schema_version;value=1
gate=id=legacy-demotion-green
gate=id=native-cli-membrane-green
gate=id=native-rna-pilot-green
stage=id=native-rna-pilot
stage_field=stage=native-rna-pilot;key=required_gates;value=native-rna-pilot-green
stage_field=stage=native-rna-pilot;key=status;value=complete
stage=id=native-cli-membrane
stage_field=stage=native-cli-membrane;key=depends_on;value=native-rna-pilot
stage_field=stage=native-cli-membrane;key=required_gates;value=native-cli-membrane-green
stage_field=stage=native-cli-membrane;key=status;value=complete
stage=id=legacy-demotion
stage_field=stage=legacy-demotion;key=depends_on;value=native-cli-membrane
stage_field=stage=legacy-demotion;key=required_gates;value=legacy-demotion-green
stage_field=stage=legacy-demotion;key=status;value=complete
history=from_status=current;gates=native-rna-pilot-green;mode=linear_advance;stage_id=native-rna-pilot;to_status=complete
history=evidence=github-ad80a8c344a92a857170994ac0dd0f52a41abfc5-run-29982693189;kind=dogfood_promotion_receipt;stage_id=native-rna-pilot
history=from_status=current;gates=native-cli-membrane-green;mode=linear_advance;stage_id=native-cli-membrane;to_status=complete
history=evidence=github-4c2a5fcaa50400e08e421c4a16ee55b662728fd4-run-29983336925;kind=dogfood_promotion_receipt;stage_id=native-cli-membrane
history=from_status=current;gates=legacy-demotion-green;mode=linear_advance;stage_id=legacy-demotion;to_status=complete
history=evidence=github-ce1dd6a3713d0dfaa3daf27b20e99116ebcc67aa-run-29983720943;kind=dogfood_promotion_receipt;stage_id=legacy-demotion
END
6 changes: 6 additions & 0 deletions l64-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
name = "l64-cli"
version = "0.1.0"
edition = "2024"
autobins = false

[[bin]]
name = "l64-cli"
path = "src/native_main.rs"

[dependencies]
anyhow = { workspace = true }
Expand All @@ -19,6 +24,7 @@ l64-atlas = { path = "../l64-atlas" }
l64-cert = { path = "../l64-cert" }
l64-bundle = { path = "../l64-bundle" }
l64-policy = { path = "../l64-policy" }
l64-native = { path = "../l64-native" }
serde_json = { workspace = true }
bincode = { workspace = true }
hex = { workspace = true }
Expand Down
28 changes: 28 additions & 0 deletions l64-cli/src/native_main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
mod native_membrane;

mod legacy {
include!("main.rs");

pub(super) fn run() -> anyhow::Result<()> {
main()
}
}

fn main() -> anyhow::Result<()> {
if native_membrane::is_legacy_child() {
native_membrane::announce_explicit_legacy();
return legacy::run();
}
if let Some(code) = native_membrane::run_explicit_legacy().map_err(anyhow::Error::msg)? {
if code == 0 {
return Ok(());
}
std::process::exit(code);
}
if native_membrane::run_env().map_err(anyhow::Error::msg)? {
Ok(())
} else {
native_membrane::warn_ambient_legacy_contact();
legacy::run()
}
}
Loading
Loading