Skip to content

dancinlab/airgenome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

936 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

airgenome

🧬 airgenome

OS Genome Scanner β€” six axes Β· sixty bytes Β· every host's vitals β†’ one hexagon

License Genome Milestones Forecast Native Discord

cpu Β· mem Β· io Β· net Β· gpu Β· fs Β· 60 bytes Β· ring buffer Β· Holt forecast Β· macOS menubar Β· βŒƒS launcher Β· hexa-lang Β· self-hosted


Six axes. Sixty bytes. Every host's vitals β†’ one hexagon.

            cpu
          β•±     β•²
        io       net
        β”‚   60B   β”‚      A host's live state condensed into one
        mem      gpu     perfectly-shaped hexagon β€” diffable,
          β•²     β•±        accumulable, forecastable.
            fs

Project Mac / Ubuntu / Hetzner vitals onto a 6-axis hexagon (60 bytes per genome). Accumulate per-process samples β†’ ring buffer β†’ label anomalies β†’ forecast 1 h ahead with Holt's double exponential smoothing. 100 % self-hosted in hexa.

YouTube Β· Discord Β· Email Β· Ko-fi Β· Sponsor Β· PayPal Β· Atlas Β· Papers

Main projects

Anima β€” Consciousness implementation. PureField repulsion-field engine + 1030 laws + Ξ¦ ratchet.

NEXUS β€” Universal Discovery Engine. 216 lenses + OUROBOROS evolution + 5-phase singularity cycle.

N6 Architecture β€” Architecture from perfect number 6. 225 AI techniques + chip design + crypto/OS/display.

HEXA-LANG β€” The Perfect Number Programming Language. Working compiler + REPL.

Papers β€” Complete paper collection (92 papers, Zenodo DOIs).

Other projects β†’

Community

Join our Discord

Live research discussion, paper drops, stage-gate reviews, cross-project dispatch.

Highlights

🧬 6-axis hexagon Β· 60 bytes/genome β€” cpu / mem / io / net / gpu / fs
πŸ“ˆ M0–M6 done β€” probe + dispatch + harvest + label + forecast (Holt MAE = 0 % on held-out)
🍎 Native macOS menubar β€” βŒƒS launcher, @snippet β†’ pasteboard, hotkey-action bindings
🌐 Cross-host β€” Mac + Ubuntu + Hetzner vitals β†’ unified infra_state.json
πŸ”’ L0 invariants β€” file present ∧ parse OK ∧ self-test PASS, archive/v1/ read-only, single TCC entry

What it does

Each tick:

  1. probe β€” sample Mac + remote vitals β†’ nexus/shared/infra_state.json
  2. dispatch β€” pick best host per workload (AG6 Mac-protect, AG7 fallback)
  3. harvest β€” top-N processes β†’ 60-byte hexagon β†’ forge/genomes.ring + sigdiff
  4. label β€” match accumulator rules β†’ forge/labeled_anomaly.jsonl
  5. forecast β€” Holt's Ξ± / Ξ² smoothing β†’ 1 h-ahead β†’ forge/forecast.jsonl

Status

  • M0–M6 done β€” probe + dispatch + harvest + label + forecast pipeline live
  • Holt MAE = 0 % on held-out forecast evaluation
  • Native macOS app β€” single CGEventTap + status item + βŒƒS launcher (Obj-C, signed)
  • Cross-host β€” Mac + Ubuntu + Hetzner converge to one infra_state.json
  • L0 invariants β€” file present ∧ parse OK ∧ self-test PASS; archive/v1/ read-only; single TCC entry; raw 258 amendment v2 A-policy active (kick = sole canonical CLI surface for kick cluster)

Native macOS

airgenome.app runs as a non-activating menubar daemon (single CGEventTap, single TCC row). User-facing surface:

  • βŒƒS launcher β€” fuzzy app search Β· inline gray ghost-suffix completion (Tab to commit) Β· ↑/↓ recall last 5 typed queries (LIFO, dedup) Β· @<name> enters snippet mode.
  • @snippets β€” JSON at ~/Library/Application Support/airgenome/snippets.json (name-sorted). Enter on a @snippet match copies the full content β€” \n preserved β€” to the pasteboard.
  • Settings β€” menubar airgenome settings… (or type "settings" in βŒƒS). Tabbed editor:
    • μ•± 단좕킀 β€” modifier Γ— key dropdowns + action popup (activate-app / toggle-app / show-desktop) + target browse β†’ writes hotkey_bindings.json, daemon hot-reloads.
    • μŠ€λ‹ˆνŽ« 관리 β€” Name + multiline Content (NSTextView, undo) β†’ writes snippets.json.

Install

# 1. install hexa-lang β€” ships `hexa` + `hx` package manager
curl -fsSL https://raw.githubusercontent.com/dancinlab/hexa-lang/main/install.sh | bash

# 2. install airgenome β€” adds the `airgenome` shim, builds + signs airgenome.app,
#    installs LaunchAgents, wires com.airgenome.tap (βŒƒS launcher + menubar)
hx install airgenome

After install, grant Accessibility once: System Settings β†’ Privacy & Security β†’ Accessibility β†’ enable /Applications/airgenome.app. Press βŒƒS anywhere to summon the launcher.

Run

airgenome harvest        # 60-byte genome sweep β†’ genomes.ring
airgenome label          # rule-match anomalies β†’ labeled_anomaly.jsonl
airgenome forecast       # Holt's Ξ± / Ξ² smoothing β†’ forecast.jsonl
airgenome dispatch       # best host per workload β†’ dispatch_state.json
airgenome probe          # Mac + remote vitals β†’ infra_state.json
airgenome status         # launchd + ring + state summary
airgenome doctor         # core / launchd / ring / throttle diagnostic
airgenome cli            # interactive TUI
airgenome menubar        # menubar + βŒƒS launcher (already running via launchd)

Repo layout

core/                  # self-contained: Vitals + sample + assess + AdaptiveThrottle
modules/               # M2+ pipeline (probe / dispatch / harvest / label / forecast)
native/                # macOS .app bundle β€” CGEventTap + menubar + βŒƒS launcher (Obj-C)
  src/airgenome_tap.m         # tap loop + status item + LaunchAgent entry
  src/airgenome_launcher.m    # βŒƒS overlay Β· @snippets Β· settings panel
  src/airgenome_hotkey.m      # user-defined hotkey β†’ app/system action binder
forge/                 # genomes.ring + labeled_anomaly.jsonl + forecast.jsonl
shared/config/roadmap/ # rebuild v2 SSOT (milestones, invariants)
archive/v1/            # read-only freeze of v1
nexus/                 # cross-project SSOT (sibling repo)
docs/
  logo.svg             # README header glyph
AGENTS.tape            # governance + identity (.tape v1.2)
CLAUDE.md              # symlink β†’ AGENTS.tape (Claude Code project instructions)

Plugins

airgenome dispatches anything outside its core scope (e.g. Windows .exe) through a tiny plugin registry β€” the core ships zero PE-loader / Win32 / emulation code.

Discover ~/.airgenome/plugins/*/plugin.json (user install) Β· ../airgenome-*/plugin.json (dev sibling)
Manifest { "name": …, "type": "exe-runner", "handles": [{"extension": ".exe", "platforms": [...], "priority": N}], "entry": "…" }
Dispatch airgenome exe <path> β€” picks the highest-priority handler whose handles[] matches the file
List airgenome plugins β€” enumerates discovered manifests + handled extensions

External tools: see https://github.com/dancinlab/ for sibling repos (formerly the airgenome-gamebox Win32 runtime is now standalone at https://github.com/dancinlab/gamebox as of 2026-05-05; the plugin-registry pattern remains for future external handlers).

Roadmap (rebuild v2)

ID Milestone Status Evidence
M0 v1 freeze + core split done airgenome#33 Β· nexus#33 Β· 19/0 PASS
M1 L0 guard parse-check (phantom block) done nexus#34 Β· 21/0 PASS (parse 2 cases)
M2 probe β€” Mac+ubu+htz vitals β†’ infra_state done airgenome#37 Β· nexus#36 Β· 24/0 PASS
M3 dispatch β€” best host (AG6/AG7) done airgenome#39 Β· ag6_gate active
M4 harvest β€” 60-byte hexagon per process done airgenome#41 Β· genomes.ring + sigdiff + AdaptiveThrottle
M5 label β€” anomaly β†’ behavior label done airgenome#42 Β· 5 SSOT rules Β· synth 3-label verified
M6 predict β€” 7 d trend β†’ 1 h forecast done airgenome#43 Β· Holt Ξ±/Ξ² Β· MAE = 0 % held-out
  • Live filter: grep -E '^roadmap [0-9]+ (planned|active|done|blocked|deferred)' .roadmap
  • Per-track view: awk '/^roadmap /{r=$0} /^ track/{print r" ["$2"]"}' .roadmap

Invariants

  1. airgenome/core/airgenome.hexa imports no other hexa file (self-contained).
  2. New modules import only use "../../airgenome/core/airgenome" β€” no inter-module imports.
  3. L0 entry = file present ∧ parse OK ∧ self-test PASS (3-way gate).
  4. archive/v1/ is read-only β€” revival requires PR + roadmap entry + L0 refresh.

Utility exemption: track=util modules (auxiliary launchers / tooling) are exempt from roadmap registration β€” invariants 1–4 only. No MAIN/cell/lora coherence required.

Archive

v1 sources frozen in archive/v1/. Revival procedure: archive/v1/README.md.

Related projects

  • nexus β€” cross-project SSOT (L0 lockdown + hexa resource gate)
  • hexa-lang β€” self-hosted language airgenome runs on

License

MIT β€” see LICENSE file.


Live roadmap Β· Papers Β· Atlas

Six axes. Sixty bytes. One hexagon. Β· dancinlab


raw 258 amendment v2 A-policy (2026-05-01) β€” kick canonical single-entry

kick is the sole canonical CLI surface (nexus kick <topic>) for the kick cluster. Six terms (drill / smash / blowup / free / meta-closure / absolute) are absorbed into kick as internal saturation phases and are not exposed as external --phase flags.

  • Canonical : nexus kick <topic>
  • Help : nexus kick --help
  • Banned : direct .hexa invocation, deprecated direct subcommands (nexus drill --seed, etc.)
  • Mapping : airgenome/docs/raw_canonical_tool_term_canonical_mapping_2026-05-01.jsonl (schema v2)

About

🧬 airgenome β€” 6-axis Mac Air resource hexagon Β· 60-byte genome Β· Banach 1/3 fixed point.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors