Aurora is a small, precise project. Contributions are welcome — but the bar is high by design. One line of soldered logic is worth more than a hundred lines of abstraction.
Read these first:
- ARCHITECTURE.md — understand the C-Core and A-VM before touching kernel code
- SOLDERED_LOGIC.md — the principle that governs how all C-Core code is written
- ROADMAP.md — contributions must align with an active or planned phase
If your idea doesn't fit an existing phase, open an issue first. Don't build in a vacuum.
Three rules that govern every line in this codebase:
Purity — Zero external dependencies in the C-Core. If it requires a library, it doesn't belong in the kernel.
Determinism — Given the same input, the system must produce the same output. Always. No exceptions for "edge cases."
Intent — Every function must have a documented purpose. Code without declared intent is not accepted.
Language: ANSI C (C89/C90). No exceptions. This is a bare-metal target.
/**
* Intent: Transduce raw BPM telemetry into a normalized system mood vector.
* Reflexive Impact: Modifies pulse_state; may trigger Sovereign Pulse Bus event.
*/
void pi_transduce_bpm(uint16_t raw_bpm, pulse_state_t *state) {
/* implementation */
}Rules:
- No
malloc— static or stack allocation only. Heap is non-deterministic on bare-metal - No external headers outside of
aurora_config.hand the C-Core include tree snake_casefor functions and variables,UPPER_SNAKE_CASEfor constants- Every function needs the Intent/Reflexive Impact comment block shown above
- Max function length: 40 lines. If it's longer, it's doing too much
Standard: PEP 8. Enforced via ruff (included in dev requirements).
<!-- [RCF:PROTECTED] -->
async def transduce_pulse(bpm: int, threshold: float) -> PulseEvent:
"""
Map raw BPM data to a PulseEvent for the Sovereign Pulse Bus.
Args:
bpm: Raw heart rate from biometric sensor
threshold: Stress trigger threshold (0.0–1.0)
Returns:
PulseEvent with normalized mood vector
"""Rules:
- Type hints required on all public functions
asynciofor all I/O-bound operations — no blocking calls in gateway code- Docstrings required on all public methods
Any change to the Sentinel PQC layer requires all three of the following:
- Dilithium2 compatibility — do not break the existing signature scheme
- RCF signature — your change must be signed with an RCF-compliant key
- Audit pass — run
rcf-cli auditand include the output in your PR
rcf-cli audit --component sentinel --output audit.logPRs touching the security layer without a passing audit log will be closed without review.
[COMPONENT] (Intent): Description
Components: C-CORE, SENTINEL, BRIDGE, FRONTEND, RCF, DOCS
Intent types:
Reflex— new behavior or response logicHarden— security improvementPurge— dependency removal or dead code cleanupFix— bug correctionSpec— documentation or specification update
Examples:
[C-CORE] (Reflex): Add BPM spike handler to Sovereign Pulse Bus
[SENTINEL] (Harden): Enforce RCF signature check on boot sequence
[BRIDGE] (Purge): Remove requests dependency, use stdlib urllib
[DOCS] (Spec): Document A-Code opcode table for Phase 18
- Link to a Phase — reference the ROADMAP phase your PR addresses in the description
- Update LOGBOOK.md — one entry per PR, format:
YYYY-MM-DD | [COMPONENT] | Summary - Run sanity checks — all of the following must pass:
cd ARM64-core && make clean && make # kernel build
./aurora_core --self-test # runtime checks
rcf-cli audit # if touching Sentinel
ruff check bridge_gateway.py # if touching Python- Request review — tag a Core Maintainer. Expected review time: 3–7 days
PRs that skip LOGBOOK.md, fail sanity checks, or have no Phase link will not be reviewed until corrected.
To keep the codebase clean, the following will be declined:
- Any C code that calls
malloc,free, or any heap allocator - External libraries added to the C-Core build
- Changes to the PQC layer without a passing
rcf-cli audit - "Drive-by" refactors with no linked issue or Phase reference
- Cosmetic-only changes to documentation without substance
By submitting a contribution, you agree that your code will be licensed under RCF-PL and must adhere to the principles of Pure Intelligence. See LICENSE for full terms, including the anti-extraction provision.