Skip to content
View 0xSynapse's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report 0xSynapse

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
0xSynapse/README.md

Hui Zhao (@0xSynapse)

Systems & AI Researcher · Founder of Heurion Research

The human link between users and builders

Heurion Blog Standards arXiv:2611.08516 DOI: 10.5281/zenodo.24170505 Research Email

Official Website • Technical Blog • Clinical Workstation • Projects • Systems Monographs • Publications • @heurion-org


About Me

I am an independent Systems & AI Researcher and Product Architect based in Rotterdam, Netherlands, and the founder of Heurion Research (heurion-org). My work focuses on contract-guarded clinical research intelligence, transactional & kernel-enforced agent OS runtimes, and always-on, zero-trust personal AI fortresses (FreeBSD 14 + Rust).

  • Thesis: Models generate probabilities; science demands certainty. Bound to transactional state, intelligence becomes infrastructure.)
  • Focus Areas: Agent OS Runtimes (Rust, CoW VFS, Seatbelt/Bubblewrap, MCP/A2A/AAP-1.0) · Personal AI Fortresses & OOB Sovereignty (HAL Core & HAL Key, FreeBSD 14, OpenZFS, Jails/Capsicum, PF, KVM) · Clinical Research AI & Collaborative CRDT Engines (TypeScript, ProseMirror/Yjs, Biostatistics, PHI Privacy).
  • Environment: Linux, macOS (Apple Silicon), & FreeBSD 14 (KVM).

Open-Source Projects

Repository Scope & Highlights Stack
heurion-org/heurion
Heurion 2.0 & OmniCanvas · heurion.org · heurion.org/blog
Contract-Guarded Clinical Research AI Workstation & Studio
• Dual-Surface CRDT & OOXML: ProseMirror + Yjs engine (96.4% .docx/.pptx fidelity, 0.128ms per-turn rollback)
• Clinical & Verification Guards: 4-way PubMed/PMC/OpenAlex citation verification, 2-stage local PHI gatekeeper (98.6%–99.6% recall), and sandboxed biostatistics
• Self-Evolving Memory: 3-layer memory loop (-49% guard rejections) over MCP & AAP-1.0
TypeScript Node.js 24 Yjs Python Rust/WASM MCP
heurion-org/aegis-os
Aegis OS (aegis-os) · heurion.org/aegis-os · Tutorial · arXiv:2611.08516 · DOI: 10.5281/zenodo.24170505
Transactional Multi-Tenant & Kernel-Enforced Agent OS Runtime
• CoW Shadow & OrgVault: Eliminates authorization fatigue (-90.7% to -97.9% prompts across 28,087 real calls; 1.12% IPR) via 0.42ms metadata fork / 6.28ms 1,000-file CoW workspaces (APFS clonefile / Btrfs FICLONE, 4.76MB delta / 99.05% APFS disk saved on 500 MB Git repos), per-org OS-encrypted OrgVault (AES-256-GCM KEK -> DEK, fsync crash durability & hibernation), and 4-tier LCS Diff3 auto-merge (98.7%)
• Kernel-Enforced Sandboxing (aegis-os run): Parent-process bwrap --bind-fd / Seatbelt across Claude Code, OpenCode, AGY, Hermes, and Codex (0/30 V1–V6 bypass on macOS & Linux vs. 93.3% advisory hooks; 0% repo-trap compromise across 54 executed live CLI runs in a 60-cell matrix; 9.91ms Linux / 20.38ms macOS startup, 22.4x faster than containers)
• Secretless Egress & Diff-Pinned Commits: Dual-mode L4 CONNECT + L7 Base-URL reverse proxy (+0.221ms mean TTFT, $AOS_SECRET_* boundary injection, 25/25 DLP/smuggling blocks) and sha256 diff-pinned host commits (60/60 TOCTOU/VT100 attacks blocked, 7.54–7.92ms per-class median)
Rust APFS/Btrfs CoW Seatbelt Bubblewrap MCP A2A
0xSynapse/hal-core
HAL Core & HAL Key · FreeBSD 14 & Rust
Always-On Zero-Trust Personal AI Fortress & Out-of-Band Sovereignty Hub
• FreeBSD 14 Appliance (HAL Core): 19-crate Rust brainstem & Habitat adapters (rc.d/hal_core daemons, adapter-digest, adapter-vault, adapter-netmon) over No-IP/VNET Jails, Capsicum, PF default-deny (user _hal_broker), RCTL caps, chflags sappnd audit black box, and OpenZFS atomic disk + AI-memory dual-snapshots
• Tri-Node Loop (Aegis OS ↔ HAL Core ↔ HAL Key): Laptop agents connect via hal-bridge (MCP stdio + HMAC proof-of-possession over hal-gateway, zero SSH) with default-deny IPC Matrix, transitive taint defense, and secretless HTTPS/LLM egress + DLP
• Mobile Out-of-Band Control (HAL Key): Embedded zero-dependency Mobile PWA on mgmt0/wg-oob (L2 approvals, surgical agent freeze/revoke, global FROZEN/LOCKDOWN, audit verification), FreeBSD 14.5 KVM E2E (16/16), multi-process daemon E2E, and 4 flagship red-team drills (65/65 Rust tests)
Rust FreeBSD 14 OpenZFS Jails / Capsicum PF MCP

Technical Blog & Systems Monographs (heurion.org/blog · English)

Long-form bilingual systems monographs dissecting the architecture, formal invariants, and production benchmarks behind Heurion 2.0, OmniCanvas, and Aegis OS:

# Monograph & Thesis Core Architecture & Empirical Benchmarks Read
01 Why Free-Form Shell Agents Fail at Research Manuscripts: Dual-Surface CRDT & Byte-Preserving OOXML Patch Architecture
为什么自由 Shell 智能体在科研论文写作中会失效:双表面 CRDT 与字节级 OOXML 补丁架构
• Dual-Surface ProseMirror + Yjs CRDT: Unifies rich-text canvas and Annotated Markdown ({#id} block primitives)
• 2-Level Byte-Preserving OOXML Engine: 100% binary slice identity on untouched blocks + Run-level LCS patchParagraph (96.4% vs. 21.4% formatting retention)
• Selective Attribution Rollback: 0.128ms non-contiguous per-turn undo (revertByNodes)
English
中文专论
02 Why Software Must Be Rebuilt with AI-Native Interfaces: Human-Agent Capability Parity as New Infrastructure
为什么软件必须为 AI Agent 重建原生接口:人机同权(Capability Parity)与新基础设施
• Capability & Permission Parity Axiom: Agent Capability = User Capability & Agent Permission = User Permission
• Zero-Fork Loopback & 3-Tier Governance: In-process 256-bit RAM secret, Green/Yellow/Red zones, and 403 anti-self-approval Confirmation Cards
• End-to-End Auditable Escalations & CI Reflection: Full audit trails for permission requests + 64+ route-to-tool CI invariants
English
中文专论
03 Beyond Git Feature Branches: Shadow Workspaces, Advisory File Claims, and Transactional Auto-Merge for Human-Agent Collaboration
超越 Git 分支:面向人机与多智能体协作的影子工作区、文件锁与事务归并范式
• Trunk-Anchored CoW Shadow Workspaces: 0.42ms per-file APFS clonefile / Btrfs FICLONE without .git branch proliferation
• Proactive Coordination: Advisory TTL file claims (coord_claim) + zero-polling piggybacked _aegis_inbox IPC
• 4-Tier LCS Diff3 & Hash-Chained Audit Ledger: 98.7% conflict-free auto-merge with verify_cmd gate + -90.7% to -97.9% prompt reduction
English
中文专论
04 Why Agent Plugins Are Not a Security Boundary: From Hook Interception to an OS-Enforced Agent Runtime
为什么 Agent 插件不是安全边界:从 Hook 拦截到内核级 Agent 运行时
• 6 Structural Bypass Vectors (V1–V6): 28/30 (93.3%) host compromise under advisory hooks, 73.3%–83.3% under vendor sandboxes, and 80.0% under nerdctl containers vs. 0/30 (0.0%) on both macOS Seatbelt and Linux bwrap --bind-fd
• Inverting Control (aegis-os run): 9.91ms Linux / 20.38ms macOS startup (22.4x faster than nerdctl), read-only .git + GIT_INDEX_FILE separation (4.76MB / 99.05% APFS disk saved on 500MB Git repos), single-file config locks, and 0% repo-trap compromise across 54 executed live CLI agent runs (60-cell matrix)
• Dual-Mode Egress & Diff-Pinned Commits: Honest L4 CONNECT + L7 Base-URL reverse proxy (+0.221ms mean TTFT, 25/25 exfil/smuggling blocks, 0/40 FP) and sha256 TOCTOU-pinned commits (60/60 blocked, 7.54–7.92ms per-class median)
English
中文专论

Research Publications & Preprints

  1. Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding Agents
    Hui Zhao (Heurion Research, Rotterdam, Netherlands) · cs.OS / cs.CR / cs.AI / cs.MA / cs.SE · arXiv:2611.08516 & ACM TOSEM Submission (2026)
    arXiv (2611.08516) · arXiv PDF · Repo PDF (aegis_os_arxiv_preprint.pdf) · LaTeX Source (main.tex) · Benchmark Report (BENCHMARK_REPORT.md) · Code (heurion-org/aegis-os)

  2. Why Agent Plugins Are Not a Security Boundary: Inverting Control from In-Process Hooks to a Kernel-Enforced Agent Runtime
    Hui Zhao (Heurion Research, Rotterdam, Netherlands) · cs.CR / cs.OS / cs.SE / cs.AI · DOI: 10.5281/zenodo.24170505 & IEEE TDSC Submission (2026)
    Zenodo (10.5281/zenodo.24170505) · Paper PDF (aegis_enforced_runtime_arxiv_preprint.pdf) · LaTeX Source (paper2/main.tex) · Benchmark Report (ENFORCED_RUNTIME_BENCH_REPORT.json) · Companion Monograph (heurion.org) · Code (heurion-org/aegis-os)


Hui Zhao (@0xSynapse) · Heurion Research
heurion.org · heurion.org/blog · github.com/heurion-org · Email: huizhao@heurion.org

Pinned Loading

  1. heurion heurion Public

    Heurion 2.0 & OmniCanvas: Contract-Guarded Clinical Research AI Workstation & Collaborative CRDT Studio (ProseMirror/Yjs, 2-Stage PHI Funnel, Self-Evolving Memory, MCP & AAP-1.0)

    TypeScript 1