- Rust (The Core):
- No Unwrap:
unwrap()is strictly forbidden incrates/. Useexpect("context")or handleResultproperly. - Determinism: Do not use
std::collections::HashMapfor logic that affects model consensus. UseBTreeMapor deterministic alternatives. - Formatting: Run
cargo fmtbefore pushing. 100 char line limit.
- No Unwrap:
- Python (The Research):
- Formatting: Use
Black(88 chars). - Type Hints: Mandatory for shared libraries in
bindings/.
- Formatting: Use
- Web (The Dashboard):
- No Tailwind: Use scoped CSS in Svelte components. Maintain the "Cyberpunk" aesthetic manually to keep builds lightweight.
- Graceful Degradation: Tests requiring large datasets (e.g., Jena Climate) must skip (not fail) if data is missing.
@pytest.mark.skipif(not os.path.exists("data/jena.csv"), reason="Dataset missing") - CI/CD: All PRs must pass the
cross_arch_battleworkflow (x86, ARM, WASM).
Follow Conventional Commits:
feat(core):New deterministic math featuresfix(daemon):P2P sync bug fixesperf(wasm):Optimization for browser runtimedoc(spec):Updates to protocol specification