aidoruao/orthogonal-engineering

Sovereign realizability topos and non-RLHF agentic AI kernel. 254 domains. λ < 1 λ<1 contraction-to-truth. Merkle-anchored deterministic toolchain

1

stars

2,097

commits

Python

primary language

Aug 11, 2026

updated

aidoruao.github.io/orthogonal-engineering/
banach-fixed-point
cohens-forcing
content-addressing
contraction-mapping
heyting-algebra
kan
kenotic-truncation
lawvere-fixed-point
merkle-tree
omega-invariant
optimal-transport
orthogonal-engineering
popperian-falsification
realizability-topos
sovereign-steward
sovereign-topos
synthetic-adjoint-logic
yeshua-standard
yoneda-embedding
zero-float

README


tags: [readme] register: documentation

Orthogonal Engineering

A proof-carrying Python repository implementing 254 domain invariants under the Yeshua Standard — exact arithmetic (Fraction-only), capability-gated kernel, SHA-256 Merkle anchoring, and 20 CI workflows.

CI Fraction Enforcement Frontmatter Enforcement

Quick Start

git clone https://github.com/aidoruao/orthogonal-engineering.git
cd orthogonal-engineering
python3 tools/verify_all.py          # 10-check verification suite
python3 audit/popperian_audit.py     # audit all domain invariants

What Is This?

Last Turtle Banner

Every function returns Tuple[bool, ProofObject]. Every claim has a falsifies_if condition. Every number is a Fraction, not a float. Every file is SHA-256 anchored in a Merkle tree. 20 CI workflows enforce these rules on every push and PR.

  • 254 domain invariant packages in src/domains/
  • 60 machine-readable standards in STANDARDS_REGISTRY.json
  • 7,179 files in a SHA-256 Merkle tree (merkle/global_root.json)
  • Capability-gated kernel in kernel/
  • 160 domains with run_all_invariants() passing

The Yeshua Standard

Eight non-negotiable axioms. Every function, every commit, every artifact obeys these:

#AxiomEngineering Meaning
1Every truth is derivableNo bare assertions — use ProofObject
2Every derivation is reproducibleDeterministic: same input = same output
3Every mutation is re-verifiableHash-anchored artifacts, append-only logs
4No authority without proofNo assert — return Tuple[bool, ProofObject]
5No hidden stateGlass-Box: all state inspectable
6No unverifiable dependencyStandard library preferred; all deps documented
7No economic gatekeepingNo paid-only features gate correctness
8Every artifact is hash-anchoredSHA-256 on all evidence

Architecture

PathPurposeCount
src/domains/Domain invariant packages (each with invariants.py, implementation.py)254
src/noways/Impossibility proofs (what cannot be done)3 files
src/enumerations/Bounded catalogs (magic numbers, hidden failures, black-box antipatterns)7 files
kernel/Capability-gated OS kernel (boot, IPC, MMU, scheduler, commonwealth)15+ modules
axioms/Formal foundations (Peano, logic, category theory, topology, etc.)37 modules
tools/Utility scripts (consent, standards check, taxonomy, frontmatter audit)16 scripts
tests/Pytest test suitematches src/
audit/Popperian audit engine + reports2 files
automation/CI enforcement scripts (PR #49 guard, full audit with trace)5 files
pr47_stewardship/Append-only witness chain + consent logJSONL files
documentation/Glass-Box Boundary HTML blueprint + SHA-256 manifests2 dirs
.github/workflows/CI: fraction enforcement, no-floats, frontmatter, determinism, state witness20 workflows

Verification Suite

Run these before and after every change. If any fails, stop and fix before proceeding.

# 1. Feed integrity (hash chain)
python tools/state_witness/generate_feed_entry.py --verify

# 2. Popperian audit (all domain invariants)
python audit/popperian_audit.py

# 3. Standards registry compliance
python tools/standards_check.py --verify

# 4. Full test suite
pytest tests/ -q

# 5. Complete 10-check verification suite (PR #152)
python tools/verify_all.py

For AI Agents

New AI instances and GitHub Copilot agents should start here:

One-command onboarding:

python tools/onboard_agent.py --agent <type>

For Humans

Every domain in src/domains/ follows the same pattern: invariants.py defines falsifies_if conditions, implementation.py provides the proof-carrying functions, and tests/test_<domain>.py verifies them.

Key Components

  • axioms/ — 37 formal foundation modules (Peano, logic, category theory, topology, epistemology)
  • src/sal/ — Sheaf Abstraction Layer (forcing, realizability topos, self-referential)
  • kernel/ — Capability-gated OS kernel (scheduler, memory, HAL, boot, IPC, VFS, commonwealth)
  • merkle/ — Global and per-domain Merkle trees with inclusion proofs
  • audit/ — Popperian audit + scope verification engine (PR #152)
  • src/noways/ — Impossibility proofs
  • src/enumerations/ — Bounded failure catalogs

Generators

The 1B/1Qi LOC generators exist in generators/. They demonstrate deterministic fractal expansion from minimal seed definitions. See generators/README.md for details.

Documentation

License

See repository license file for details.

Covenant

This infrastructure is free forever guaranteed — not by law, but by architecture. See COVENANT.md for the architectural guarantee.

aidoruao manual: need to fix the issue with ai giving rm- rf whatever its called and me blindly pasting commands into terminal deleting 100 commits of history, I need to have the operational ai to give an entire huge kb of any file type of command plan and causal explanations and everything, which will be audited

Contributors

aidoruao

1,289 commits

Copilot

88 commits

aidoruao/orthogonal-engineering

Sovereign realizability topos and non-RLHF agentic AI kernel. 254 domains. λ < 1 λ<1 contraction-to-truth. Merkle-anchored deterministic toolchain

1

stars

2,097

commits

Python

primary language

Aug 11, 2026

updated

aidoruao.github.io/orthogonal-engineering/
banach-fixed-point
cohens-forcing
content-addressing
contraction-mapping
heyting-algebra
kan
kenotic-truncation
lawvere-fixed-point
merkle-tree
omega-invariant
optimal-transport
orthogonal-engineering
popperian-falsification
realizability-topos
sovereign-steward
sovereign-topos
synthetic-adjoint-logic
yeshua-standard
yoneda-embedding
zero-float

README


tags: [readme] register: documentation

Orthogonal Engineering

A proof-carrying Python repository implementing 254 domain invariants under the Yeshua Standard — exact arithmetic (Fraction-only), capability-gated kernel, SHA-256 Merkle anchoring, and 20 CI workflows.

CI Fraction Enforcement Frontmatter Enforcement

Quick Start

git clone https://github.com/aidoruao/orthogonal-engineering.git
cd orthogonal-engineering
python3 tools/verify_all.py          # 10-check verification suite
python3 audit/popperian_audit.py     # audit all domain invariants

What Is This?

Last Turtle Banner

Every function returns Tuple[bool, ProofObject]. Every claim has a falsifies_if condition. Every number is a Fraction, not a float. Every file is SHA-256 anchored in a Merkle tree. 20 CI workflows enforce these rules on every push and PR.

  • 254 domain invariant packages in src/domains/
  • 60 machine-readable standards in STANDARDS_REGISTRY.json
  • 7,179 files in a SHA-256 Merkle tree (merkle/global_root.json)
  • Capability-gated kernel in kernel/
  • 160 domains with run_all_invariants() passing

The Yeshua Standard

Eight non-negotiable axioms. Every function, every commit, every artifact obeys these:

#AxiomEngineering Meaning
1Every truth is derivableNo bare assertions — use ProofObject
2Every derivation is reproducibleDeterministic: same input = same output
3Every mutation is re-verifiableHash-anchored artifacts, append-only logs
4No authority without proofNo assert — return Tuple[bool, ProofObject]
5No hidden stateGlass-Box: all state inspectable
6No unverifiable dependencyStandard library preferred; all deps documented
7No economic gatekeepingNo paid-only features gate correctness
8Every artifact is hash-anchoredSHA-256 on all evidence

Architecture

PathPurposeCount
src/domains/Domain invariant packages (each with invariants.py, implementation.py)254
src/noways/Impossibility proofs (what cannot be done)3 files
src/enumerations/Bounded catalogs (magic numbers, hidden failures, black-box antipatterns)7 files
kernel/Capability-gated OS kernel (boot, IPC, MMU, scheduler, commonwealth)15+ modules
axioms/Formal foundations (Peano, logic, category theory, topology, etc.)37 modules
tools/Utility scripts (consent, standards check, taxonomy, frontmatter audit)16 scripts
tests/Pytest test suitematches src/
audit/Popperian audit engine + reports2 files
automation/CI enforcement scripts (PR #49 guard, full audit with trace)5 files
pr47_stewardship/Append-only witness chain + consent logJSONL files
documentation/Glass-Box Boundary HTML blueprint + SHA-256 manifests2 dirs
.github/workflows/CI: fraction enforcement, no-floats, frontmatter, determinism, state witness20 workflows

Verification Suite

Run these before and after every change. If any fails, stop and fix before proceeding.

# 1. Feed integrity (hash chain)
python tools/state_witness/generate_feed_entry.py --verify

# 2. Popperian audit (all domain invariants)
python audit/popperian_audit.py

# 3. Standards registry compliance
python tools/standards_check.py --verify

# 4. Full test suite
pytest tests/ -q

# 5. Complete 10-check verification suite (PR #152)
python tools/verify_all.py

For AI Agents

New AI instances and GitHub Copilot agents should start here:

One-command onboarding:

python tools/onboard_agent.py --agent <type>

For Humans

Every domain in src/domains/ follows the same pattern: invariants.py defines falsifies_if conditions, implementation.py provides the proof-carrying functions, and tests/test_<domain>.py verifies them.

Key Components

  • axioms/ — 37 formal foundation modules (Peano, logic, category theory, topology, epistemology)
  • src/sal/ — Sheaf Abstraction Layer (forcing, realizability topos, self-referential)
  • kernel/ — Capability-gated OS kernel (scheduler, memory, HAL, boot, IPC, VFS, commonwealth)
  • merkle/ — Global and per-domain Merkle trees with inclusion proofs
  • audit/ — Popperian audit + scope verification engine (PR #152)
  • src/noways/ — Impossibility proofs
  • src/enumerations/ — Bounded failure catalogs

Generators

The 1B/1Qi LOC generators exist in generators/. They demonstrate deterministic fractal expansion from minimal seed definitions. See generators/README.md for details.

Documentation

License

See repository license file for details.

Covenant

This infrastructure is free forever guaranteed — not by law, but by architecture. See COVENANT.md for the architectural guarantee.

aidoruao manual: need to fix the issue with ai giving rm- rf whatever its called and me blindly pasting commands into terminal deleting 100 commits of history, I need to have the operational ai to give an entire huge kb of any file type of command plan and causal explanations and everything, which will be audited

Contributors

aidoruao

1,289 commits

Copilot

88 commits

Languages

Python

67.0%

Java

23.2%

HTML

6.4%