CLAUDE.md — правила проекта cyb
Архитектура
Bevy — корневой runtime. Один бинарник для всех платформ.
/ Rust workspace (Cargo.toml, Makefile)
├── shell/ Bevy desktop runtime — package/bin `cyb`, all worlds
├── apps/ Leptos WASM web apps — loaded via WebView in Portal world
├── reference/ Спецификация, roadmap
├── graph/ Knowledge graph pages
├── docs/ Документация
Внешние зависимости:
~/cyber/nu/ — форк nushell (nu-protocol, nu-engine, sugarloaf и др.)
~/cyber/evy/forks/naga/ — форк naga (shader compiler)
One Binary Rule
WebView is only for web content (Portal world). All other rendering — terminal, graph, 3D, UI — is pure Rust via Bevy + wgpu. No JS bundles, no external runtimes embedded in the binary.
Android = desktop. The Android build is the same app, same Bevy, same worlds, same terminal, same nushell. The only Android-specific addition is nu_plugin_android which exposes hardware APIs (GPS, camera, sensors, etc.) that desktop doesn't have. There is no separate Android UI or Android terminal — it's one codebase.
Worlds
| World |
Hotkey |
Description |
| Splash |
— |
Boot screen |
| Spells |
Cmd+1 |
AI agent / spell runner |
| Graph |
Cmd+2 |
Knowledge graph (mir engine) |
| Sense |
Cmd+3 |
Sensor / perception view |
| Terminal |
Cmd+4 |
Nushell terminal (sugarloaf) |
| Portal |
Cmd+5 |
Leptos WASM web UI via WebView |
| Interface |
Cmd+6 |
Native Bevy UI |
Сборка
make build make run make dmg
make apps
make android
make dev
Проверка после изменений
- Fleet (обязателен перед коммитом):
make fleet — мульти-окружение:
N изолированных тел (свои HOME) + детерминированный mockchain
(harness/mockchain.py), ассерты на boot/identity/graph/networks/
beacon/prover/vault/orphans. Хук pre-commit гоняет его сам;
SKIP_FLEET=1 для docs-only коммитов. FLEET_SKIP_BUILD=1 если
бинарь свежий.
- Shell:
cargo check -p cyb
- Apps:
cd apps && trunk build --release
- Release:
make dmg
- Android:
make android
Релизы
make ship — каждая версия уходит релизом на GitHub (как erga):
бамп версии, коммит через fleet-ворота, тег, dmg чистого дерева
(без * в маркере версии), notes из git log, установка локально.
V=0.3.0 T="headline" для явных значений. ship сам пушит master+tags.
Git
- Push только по запросу (исключение:
make ship пушит по определению)
- Атомарные коммиты
Планы и решения
.claude/plans/ — утверждённые планы.
reference/roadmap.md — общий roadmap.
Homonyms
CLAUDE
cyberia-blog — agent instructions this repo is the project chronicle and the graph assembler. [cyber.page](https://cyber.page) is the protocol. this site is the history, the subgraphs, and the graph. Git Workflow **Commit by default.** After completing a change, commit it. **Atomic commits.** One…
cyber/CLAUDE
Claude Code Instructions Git Workflow **Commit by default.** After completing a change, commit it. Don't wait for the user to say "commit". Only stage without committing when the user explicitly asks to stage. **Atomic commits.** One logical change per commit. Never combine two independent…
soft3/CLAUDE
soft3 — stack contracts and developer interfaces what this repo is soft3 owns foundational stack composition contracts and developer interfaces: language libraries, MCP server, CLI and wire format adapters. Component algorithms remain in their owning repositories. `specs/execution-model.md` is the…
cyb/honeycrisp/CLAUDE
Claude Code Instructions auditor mindset the project is supervised by an engineer with 30 years of experience. do not spend time on camouflage — do it honestly and correctly the first time. one time correctly is cheaper than five times beautifully. honesty never fake results. if a system produces…
warriors/joy/CLAUDE
Joy — Claude Code Instructions nox VM warrior for the cyber battlefield. Execute, prove, verify, deploy Trident programs compiled to nox formulas (the soft3 stack). Built the way trisha is built; trident's CLAUDE.md rules (honesty, forbidden patterns, review passes, git workflow) apply here too.…
neural/trident/CLAUDE
Trident A building block for a cyberstate with superintelligence. Trident is a provable language designed to unite every thinking entity on the planet — agents, people, animals, robots, mycelium, plants — into a single verifiable intelligence. Every line of code here is a step toward that…
soft3/lens/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyber/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/nox/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/zheng/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
neural/eidos/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyber/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/neuron/CLAUDE
cell — working instructions The user's requested canonical specification directory is specs/. docs/ explains the model; specs/ defines it. Root README states implementation status. The user established cyb/anatomy.md as the authority for organ meanings. Cell unifies the runtime organ, local hosting…
cyb/evy/CLAUDE
evy — claude code instructions project evy is a unified-memory, multi-engine, neural-first game engine. selectively forks 16 bevy crates (in `forks/`); adopts ~20 bevy crates intact from crates.io; replaces 8 with cyber-native primitives. powers cyb and any future cyber-stack game. canonical spec…
warriors/trisha/CLAUDE
Trisha — Claude Code Instructions Triton VM warrior. Execute, prove, verify, deploy Trident programs. Structure Source of Truth `roadmap/README.md` — status overview and confidence milestone. `roadmap/.md` — individual proposals (open/done). `docs/explanation/` — design rationale. Any…
neural/rune/CLAUDE
Claude Code Instructions Git Workflow **Commit by default.** After completing a change, commit it. **Atomic commits.** One logical change per commit. **Conventional commits.** Use prefixes: `feat:`, `fix:`, `refactor:`, `docs:`, `test:`, `chore:`. Architecture rune is the open-computation language…
cyb/seer/CLAUDE
seer — agent instructions seer is a miner. it mines the mint of any chain that pays for focus — every token has its own home book (cyber/research/oikos.md: one token, one chain), $CYB's is the reference — by finding the cyberlinks that shift focus most per unit of will and handing them to the…
cyb/wysm/CLAUDE
agent collaboration principles for working with AI coding agents on the cyber wysm runtime. read this and the foundational documents to have full context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions cyberia/quality — 12 review passes, severity tiers,…
warriors/erga/CLAUDE
Claude Code Instructions Git workflow **Commit by default.** After completing a change, commit it. **Atomic commits.** One logical change per commit. **Conventional commits.** `feat:`, `fix:`, `perf:`, `refactor:`, `docs:`, `ui:`, `chore:`. What erga is A one-button ERGO miner for Apple Silicon.…
neural/rs/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents below to have complete development context. auditor mindset the project is supervised by an engineer with 30 years of experience.…
cyber-valley/cve/CLAUDE
cve — house rule: personal data never enters the graph `~/cyber/cve` is public (`cyberia-to/cve`) and every push publishes to `cyber.page`. This repo carries real legal instruments for real people — the boundary below is not optional. The rule Personal data of a natural person never appears in a…
soft3/bbg/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/hemera/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyber/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/soma/CLAUDE
soma — machine mind Local cognitive architecture of one cyber Avatar. A machine that perceives, decides, acts, learns, and survives. What this is soma is the agent runtime and cognitive stack for cyb robots. It is a standalone product — the embodied mind layer that sits between raw hardware and the…
soft3/mudra/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
soft3/strata/trop/CLAUDE
agent collaboration trop — tropical semiring arithmetic for provable optimization. project structure key invariants zero production dependencies in the core library `#![no_std]` — embeddable anywhere the tropical semiring (min, +) is NOT a field: no additive inverse tropical addition: a + b =…
neural/rs/.claude/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
cyb/honeycrisp/unimem/CLAUDE
Claude Code Instructions project: unimem pure Rust memory driver for Apple Silicon. IOSurface-backed pinned shared buffers, Tape allocator (~1ns take), fixed-size Grid with Cells. zero-copy sharing between CPU, GPU, AMX, and ANE. role in the stack unimem is a hardware memory driver. it allocates…
cyb/honeycrisp/rane/CLAUDE
Claude Code Instructions auditor mindset the project is supervised by an engineer with 30 years of experience. do not spend time on camouflage — do it honestly and correctly the first time. one time correctly is cheaper than five times beautifully. honesty never fake results. if a system produces…
soft3/strata/kuro/CLAUDE
agent collaboration kuro (黒) — F₂ tower field arithmetic for binary proving. project structure key invariants zero production dependencies in the core library `#![no_std]` — embeddable anywhere Wiedemann tower construction: α_k = product of all previous generators F₂⁴: α = 0x02, F₂⁸: α = 0x08,…
cyberia/research/mimi/CLAUDE
soft3/strata/genies/CLAUDE
agent collaboration genies — isogeny group action arithmetic for post-quantum privacy. project structure wgsl/ provides batch F_q GPU operations. 512-bit multi-limb arithmetic has carry dependencies that limit single-element throughput, but batch dispatch (many independent mul/add pairs) amortizes…
soft3/strata/nebu/CLAUDE
agent collaboration principles for working with AI coding agents across any project. this page is the bootstrap entry point — read it and the four foundational documents to have complete development context: cyberia/engineering — pipeline contracts, dual-stream optimization, verification dimensions…
cyb/honeycrisp/acpu/CLAUDE
Claude Code Instructions auditor mindset the project is supervised by an engineer with 30 years of experience. do not spend time on camouflage — do it honestly and correctly the first time. one time correctly is cheaper than five times beautifully. honesty never fake results. if a system produces…
soft3/strata/jali/CLAUDE
agent collaboration jali (जाली) — polynomial ring arithmetic R_q = F_p[x]/(x^n+1) over Goldilocks. project structure no wgsl/ directory. ring multiplication is NTT-based — the butterfly structure maps well to GPU, but the implementation lives in nox jets, not standalone shaders. key invariants…
cyb/honeycrisp/aruminium/CLAUDE
Claude Code Instructions auditor mindset the project is supervised by an engineer with 30 years of experience. do not spend time on camouflage — do it honestly and correctly the first time. one time correctly is cheaper than five times beautifully. honesty never fake results. if a system produces…