Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Zero-trust, capability-based Rust microkernel targeting formal verification. Tri-arch (x86_64 / AArch64 / RISC-V). Sovereign and generative: no telemetry, user owns keys and data. Early-stage — see STATUS.md. Inspired by seL4, Hubris, and Redox.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A secure bridge from human consciousness to the electron.
That's the dream. We're building a stack that doesn't add to the problem, on hardware that still has the problem, for people who understand what that means. CambiOS is a general-purpose operating system built on a verification-ready microkernel written in Rust. Every process is isolated, every binary is verified before it runs, every IPC message carries an unforgeable cryptographic identity, and nothing in the stack phones home. It targets x86_64, AArch64, and RISC-V (riscv64gc), boots in QEMU on all three, and is designed to eventually run on sovereign silicon. This is an ambitious project, bordering on audacious, but it might be something the world needs now more than ever.
There are two essential problems with modern operating systems. The first we're fixing here. The second is on a longer arc.
It's an open secret. Modern operating systems — Windows, macOS, Linux — are inherently leaky, buggy, and/or insecure. They were designed for a world that no longer exists: one where vendors are trustworthy, your identity comes from "someone else," a password is adequate to protect it, and code was trusted to swim in one vast pool with no lanes or lifeguards. Every telemetry scandal, every ransomware story, every "a kernel extension crashed my laptop" moment traces back to one of those assumptions. Zero-day exploits come alive here, where memory safety really isn't, privilege equals access, and every attack is an escalation.
CambiOS rejects this, fundamentally, at the design level. Rust itself closes entire classes of memory bugs. The kernel (the "pool") is very small. Drivers and services run isolated in user-space — a crash here is more a hiccup than a blue screen of death. Every process has a cryptographic identity. Every binary is verified before it runs. Every IPC message carries an unforgeable sender. There are no privileges to escalate — no capabilities are given without established credentials. Nothing phones home. This is 99% of what's wrong with modern operating systems — and it's fixable today, in software, without waiting for anyone.
Below all of that sits silicon with coprocessors you don't own. On Intel, the Management Engine: its own processor, its own network stack, its own private keys, DMA access to main memory, running whether the machine is "on" or just plugged in. AMD ships the Platform Security Processor. ARM ships TrustZone. This is documented hardware design, not conspiracy.
CambiOS cannot neutralize those coprocessors. No software can. The long-term answer is open hardware all the way down, and we are building toward it. Until then, most people are running on x86 or ARM, and they deserve a software stack that does not add to the problem. In the not too distant future, our goal is an open architecture from silicon through software. A future where CambiOS runs on top of CamBIOS open source firmware — including the boot path and TPM. Until that day, we close the holes we can.
CambiOS boots to preemptive SMP multitasking on all three target architectures under QEMU. The security model — cryptographic identity, signed-binary verification, capability-checked IPC, content-addressed object store — is implemented and exercised end-to-end. Static analysis and fuzzing are active; formal verification is the destination.
STATUS.md is the canonical account of what is built, in progress, and planned, including phase markers, per-subsystem status, and known issues. Run make stats for current syscall, test, and LOC counts (those numbers live in the source, not in prose).
Host: macOS (Apple Silicon). Kernel binaries run only under QEMU or on bare-metal target hardware — never on the host.
Prerequisites:
rust-toolchain.toml)x86_64-unknown-none, aarch64-unknown-none, riscv64gc-unknown-none-elfmtools (AArch64 FAT disk images)-bios default for RISC-V# Unit tests (host macOS)
RUST_MIN_STACK=8388608 cargo test --lib --target x86_64-apple-darwin
# Tri-architecture regression gate — REQUIRED before any commit
make check-all # x86_64 + aarch64 + riscv64
# Run in QEMU
make run # x86_64
make img-aarch64 && make run-aarch64
make run-riscv64
# Derived counts (syscalls, tests, LOC)
make stats
# Sign a boot module (YubiKey-backed; --seed <hex> for CI without hardware)
./tools/sign-elf/target/aarch64-apple-darwin/release/sign-elf <elf-file>
The full build / test / lint commands and their rationale live in CLAUDE.md. If a command above drifts, CLAUDE.md is authoritative.
CambiOS starts with a microkernel. This foundation handles five things: scheduling, memory management, IPC, syscall dispatch, and cryptographic identity. Filesystems, networking, device drivers, window management, and every other service run as isolated user-space processes communicating over capability-checked IPC.
This is structural isolation, rather than policy. A buggy filesystem service cannot corrupt the kernel. A compromised network driver cannot read another process's memory. A malicious module cannot forge the identity of a peer.
Every piece of code that runs on CambiOS passes through the same sequence of checks, with no bypass:
ELF binary arrives
→ BinaryVerifier: W^X, entry validation, overlap detection, Ed25519 signature
→ IPC send: capability check, interceptor hook, sender_principal stamp
→ IPC recv: capability check, interceptor hook
→ Syscall pre-dispatch: interceptor hook before handler
→ ObjectStore: ownership enforced on get / put / delete
The three interceptor hooks collapse into one trait that an out-of-kernel policy service can drive — see ADR-002.
Every process is bound to a Principal: a 32-byte Ed25519 public key. The kernel stamps the sender's Principal onto every IPC message. It cannot be forged — user-space code never has the opportunity to write that field. Receivers enforce ownership, access control, and audit on the stamped identity rather than on sender claims.
The bootstrap Principal derives from a compiled-in YubiKey public key. No private key ever lives in kernel memory. Quantum-resistant signatures are planned.
Full model: docs/identity.md, ADR-003.
Two paths, chosen by workload shape:
See ADR-005.
Strict lock hierarchy, no exceptions, documented and enforced in source. Every unsafe block carries a // SAFETY: comment. The canonical hierarchy and memory-layout tables live in CLAUDE.md § Lock Ordering and are intentionally not duplicated here — they drift.
All three architectures share the same high-level sequence:
BOOT_MODULE_ORDER.Where the architectures differ:
TCR_EL1.T1SZ and maps device MMIO (PL011, GIC) into TTBR1, then initializes GICv3 and the ARM Generic Timer.src/boot/riscv.rs. Timer and IPI go through SBI calls; external interrupts arrive via PLIC. No Limine — see ADR-013.The narrative walkthrough of what actually happens during boot, including the bootstrap paradoxes, is Manual 01: Waking Up.
src/
├── microkernel/main.rs # Kernel entry, subsystem init sequence
├── arch/ # Per-architecture backends
│ ├── x86_64/ # GDT, APIC, SYSCALL/SYSRET, I/O APIC, TLB IPI, SMP
│ ├── aarch64/ # GICv3, ARM Generic Timer, SVC, TLBI, EL0/EL1
│ └── riscv64/ # PLIC, SBI timer/IPI, ecall dispatch, Sv48 paging
├── boot/ # Bootloader-abstracted BootInfo (Limine / OpenSBI adapters)
├── scheduler/ # Priority-band preemptive SMP scheduler (portable)
├── ipc/ # Capability-based IPC, Principal, channels, interceptor
├── syscalls/ # Syscall dispatch and handlers (list: `make stats`)
├── memory/ # Frame allocator, buddy allocator, page tables, object tables
├── fs/ # CambiObject, ObjectStore, Blake3, Ed25519, persistent disk store
├── loader/ # ELF loader, BinaryVerifier, SignedBinaryVerifier
├── pci/ # PCI bus scan, device table, BAR decoding
├── audit/ # Lock-free per-CPU audit buffers + global drain ring
└── config/ # Tier policy (compile-time deployment-tier selection)
user/ # User-space services — each one is an isolated boot module
├── libsys/ # Syscall wrapper library (the only unsafe user-space crate)
├── libfs-proto/ libgui-proto/ libscanout/ libterm/ libflag/ # Service-protocol libraries
├── fs-service/ # Content-addressed object store front-end
├── key-store-service/ # Ed25519 signing service (bootstrap-key holder)
├── policy-service/ # Out-of-kernel policy decisions via interceptor hook
├── virtio-{net,blk}/ i219-net/ udp-stack/ dhcp-client/ # Network + storage drivers / stack
├── compositor/ scanout-{limine,virtio-gpu}/ # Graphics stack (ADR-011/014)
└── shell/ # Interactive serial shell
tools/sign-elf/ # Host-side ELF signing tool (YubiKey or seed-based)
fuzz/ # cargo-fuzz targets with shadow-model oracles
docs/ # Design docs, ADRs, manuals
The authoritative list of what actually builds into the boot image is the BOOT_MODULE_ORDER constant in src/boot_modules.rs and the Makefile's per-target module rules. If the tree above and the Makefile disagree, the Makefile wins.
CambiOS is looking for people who understand what's at stake — OS internals, compiler infrastructure, hardware security, ML systems, formal methods. The foundation is real. The work ahead is larger than any one person should do alone.
Before you write code:
One-time setup (per clone):
make install-hooks
Points core.hooksPath at the tracked .githooks/ directory so the pre-commit hook fires on every git commit. The hook enforces banned-paths (files deleted from git must not reappear on disk) and STATUS.md commit-isolation (structural rewrites commit alone). Updates to the hook propagate via git pull — no re-install needed.
Working rules:
make check-all must pass before any commit — no commit may regress x86_64, aarch64, or riscv64. See ADR-013 § Tri-Architecture Regression Discipline.unsafe block needs a // SAFETY: comment explaining the invariants that make the operation sound.Result.docs/adr/ before or alongside the code change, not after. make check-adrs verifies cross-references.The full catalog of conventions (numeric-bound discipline, deferral discipline, unsafe minimization, documentation-sync expectations) lives in CLAUDE.md § Development Conventions.
Narrative walkthroughs that follow a concrete thing through the system, useful if you are new to the codebase and want the why before the what:
Architecture Decision Records live under docs/adr/. The current set, with titles and status, is auto-generated in docs/adr/INDEX.md by make check-adrs — treat that as authoritative rather than any enumeration in prose (which drifts).
CambiOS is dual-licensed.
Every source file carries an SPDX-License-Identifier: header. Per-crate license fields are set in each Cargo.toml. The bucketing is mechanical: files under user/libsys/ are MPL-2.0; everything else is AGPL-3.0-or-later.
The kernel only loads signed modules. Users control their own trust chain: add signing keys, remove the default, replace it entirely. It's their machine.
Anyone can fork the code — the license permits it. The name CambiOS belongs to the distribution whose security model is intact. Code enforcement is technical; naming enforcement is legal.
CAMBIOS™ is a trademark of Oakland Heritage Builders Inc. Coherent Forge is a reserved corporate name (Delaware).
No telemetry. No analytics. No management engine. No compromises on the things that matter.