Skip to content

dancinlab/xeno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

xeno πŸ›Έ

Standalone repo for non-GPU exotic compute substrate research.

Tier C scope β€” silicon neuromorphic + biological organoid + quantum + random:

Substrate Vendor / Source Roadmap
AKIDA AKD1000 BrainChip roadmaps/.roadmap.akida
Loihi3 Intel roadmaps/.roadmap.loihi3
Northpole IBM roadmaps/.roadmap.northpole
FinalSpark FinalSpark organoid roadmaps/.roadmap.finalspark
Cortical Labs DishBrain Cortical Labs roadmaps/.roadmap.cortical_labs
IonQ Quantum gate roadmaps/.roadmap.ionq
QRNG Quantum random number roadmaps/.roadmap.qrng

Install

hx install xeno (hexa package manager β€” auto-resolves dancinlab/xeno via HX_ORGS probe order).

# κ°€μž₯ ν”ν•œ 경둜 β€” registry probe (hexa-pkg β†’ dancinlab β†’ dancinlife)
hx install xeno

# λ˜λŠ” GitHub shortform
hx install dancinlab/xeno

# λ˜λŠ” 둜컬 path (개발 μ‹œ)
hx install ~/core/xeno

# λ˜λŠ” git URL
hx install https://github.com/dancinlab/xeno

μ„€μΉ˜ ν›„:

  • μ‹€ν–‰ shim: ~/.hx/bin/xeno β†’ cli/run.hexa β†’ bin/xeno (bash, full logic)
  • νŒ¨ν‚€μ§€ dir: ~/.hx/packages/xeno (symlink to repo if local install)
  • install hook: install.hexa μ‹€ν–‰ β€” bin chmod + sister repo (anima/nexus/hive/hexa-brain) reachability probe (informational)

검증:

xeno --version              # β†’ "xeno 0.1.0"
xeno status                 # β†’ 4 sister repo + 7 substrate inventory
xeno cycle status           # β†’ primary/fallback μžλ™ detect

μ—…λ°μ΄νŠΈ / 제거:

hx update xeno              # symlink refresh / git pull
hx remove xeno              # shim + symlink 제거
hx info xeno                # μ„€μΉ˜ 정보

CLI use

xeno 단일 entry (8 topics, topic-dispatched).

κΈ°λ³Έ λͺ…λ Ή

xeno                                # alias for `xeno status` (default)
xeno --version                      # print version
xeno --help                         # topic list + 예제
xeno status                         # 4 sister repo reachability + 7 substrate inventory
xeno list                           # substrate inventory only (lines + vendor)
xeno fallback                       # degraded mode info (sister repo 없을 λ•Œ κ°€μš© ν•­λͺ©)

Sister repo 연동

xeno connect anima                  # anima reachability probe (rc=91 if 미달)
xeno connect nexus                  # nexus probe
xeno connect hive                   # hive probe
xeno connect hexa-brain             # hexa-brain probe
xeno connect all                    # 4개 λ™μ‹œ probe (bitmask rc)

xeno invoke anima status            # anima CLI 직접 passthrough
xeno invoke nexus drill --seed "X"  # nexus CLI passthrough

Substrate roadmap

xeno roadmap                        # === xeno list 와 동일
xeno roadmap akida                  # .roadmap.akida λ³Έλ¬Έ 좜λ ₯
xeno roadmap loihi3                 # .roadmap.loihi3
xeno roadmap finalspark             # ... 7개 substrate λͺ¨λ‘ κ°€λŠ₯

Falsifier harness (nexus 12-falsifier copy SSOT)

xeno falsifier list                 # 12 falsifier Γ— hardware μš”κ΅¬ Γ— evidence 파일
xeno falsifier run F-C              # 단일 falsifier dispatch (validate_witness.py λ“±)
xeno falsifier run F-L7 --bits 200000 # 인자 passthrough
xeno falsifier all                  # eligible falsifier 일괄 (--hardware μ˜΅μ…˜μ€ primary path μ‹œ)
xeno falsifier all --hardware       # AKD1000 primary ν™œμ„± μ‹œ 8 post-arrival fire

Akida cycle (own 35: PRIMARY + FALLBACK)

xeno cycle status                   # path auto-detect + primary/fallback λ™μ‹œ ν‘œμ‹œ
                                    #   ● PRIMARY active   β†’ AKD1000 chip ν™œμ„±
                                    #   β—‹ PRIMARY unavailable / ● FALLBACK active β†’ cloud lane

# PRIMARY (AKD1000 RPi5 dev kit)
xeno cycle primary status           # === probe와 동일
xeno cycle primary probe            # akida.devices() 검증, rc=0=κ°€μš© / rc=91=λΆˆκ°€
xeno cycle primary register         # nexus host_register.sh fire (host.rpi5-akida λ“±μž¬)
xeno cycle primary run --hardware   # nexus runner.py --hardware 직접 fire

# FALLBACK (Akida Cloud)
xeno cycle prep                     # D-1 μžλ™ prep (P0b smoke + P1 tarball + P0a generate)
xeno cycle connect                  # ssh akida-cloud (μ˜ˆμ•½ 슬둯 ν™œμ„± μ‹œ)
xeno cycle upload                   # P1 tarball rsync μ—…λ‘œλ“œ
xeno cycle run                      # cloud-side d0_run_all.sh (bootstrap + falsifier + anima N-2/N-3/N-5)
xeno cycle exfil                    # P6 κ²°κ³Ό pull (anima + nexus + xeno destinations)
xeno cycle verdict                  # __AKIDA_R__ PASS|FAIL emit (PASS/FAIL count 기반)

Exit codes

code 의미
0 success
1 subcommand error (dispatched tool exit)
2 unknown topic / malformed invocation
91 connection failed (raw 91 honest C3 fail-loud β€” silent skip BANNED)

Environment

var default μš©λ„
XENO_ROOT $HOME/core/xeno (λ˜λŠ” $HX_PKG_DIR) xeno repo root
ANIMA_ROOT $HOME/core/anima sister anima
NEXUS_ROOT $HOME/core/nexus sister nexus
HIVE_ROOT $HOME/core/hive sister hive
HEXA_BRAIN_ROOT $HOME/core/hexa-brain sister hexa-brain
SCRATCH $HOME/scratch tarball staging

자주 μ“°λŠ” 흐름

# λ§€ sessio start
xeno status                                  # ν™˜κ²½ sanity check

# D-1 (Akida Cloud cycle μ „λ‚ )
xeno cycle status                            # 슬둯 + secret 확인
xeno cycle prep                              # P0b/P1/P0a μžλ™

# D+0 (cycle μ‹œμž‘, Sat 09:00 KST)
xeno cycle connect                           # ssh akida-cloud
xeno cycle upload                            # tarball μ—…λ‘œλ“œ
xeno cycle run                               # 8 falsifier + N-2/N-3/N-5

# D+1 (cycle μ’…λ£Œ, Sun 08:00 KST μ „)
xeno cycle exfil                             # κ²°κ³Ό pull
xeno cycle verdict                           # __AKIDA_R__ PASS|FAIL

# Chip 도착 ν›„ (primary μžλ™ ν™œμ„±)
xeno cycle primary probe                     # ν™œμ„± 검증
xeno cycle primary register                  # workspace λ“±μž¬
xeno cycle primary run --hardware            # 8 falsifier physical fire

Origin

Extracted 2026-05-08 from 4 source repos (~/core/anima, ~/core/nexus, ~/core/hive, ~/core/hexa-brain) per anima .own own 34 (xeno standalone SSOT).

Source repo files copied (not yet moved) β€” original files retained until D+0/D+1 Akida Cloud cycle (Sat 2026-05-09 09:00 KST β†’ Sun 2026-05-10 09:00 KST) completes. Post-cycle stubification + cross-link cleanup will land in source repos as Phase 1.5.

Layout

roadmaps/             7 .roadmap.* β€” substrate-specific SSOT
scripts/akida/
  anima_origin/       8 files (Phi/trace + runner)
  nexus_origin/       19 files (12 falsifier harness + utilities)
  hive_origin/
    tool/             24 .hexa modules (alpha/delta/theta layers + neuromorphic)
    tests/            3 integration tests
    docs/             1 omega cycle integration doc
  hexa_brain_origin/  2 EEG cross-substrate spec (N-2 spike pipeline)
scripts/loihi3/       (placeholder, Phase 1.5)
scripts/northpole/    (placeholder, Phase 1.5)
scripts/finalspark/   (placeholder, Phase 1.5)
scripts/cortical_labs/ (placeholder, Phase 1.5)
scripts/ionq/         (placeholder, Phase 1.5)
scripts/qrng/         (placeholder, Phase 1.5)
state/                evidence + state dirs from anima + nexus
design/kick/          14 omega cycle witness files
n6/                   10 atlas append files (nexus origin)
docs/                 5 docs (anima cloud setup + nexus dev kit eval + N-substrate roadmap)

Path policy (anima own 35)

AKD1000 PRIMARY + Akida Cloud FALLBACK β€” physical chip first, cloud is wait/maintenance backup.

Path Hardware Workspace When active
🟒 PRIMARY AKD1000 RPi5 dev kit ($1,495, μ£Όλ¬Έ 2026-04-29) host.rpi5-akida (~/core/.workspace) chip 도착 + akida package + AKD1000 device probe rc=0
🟑 FALLBACK Akida Cloud (Colfax-hosted, ephemeral wipe-on-start) host.akida-cloud-colfax (post-P0a generate) chip λ―Έμˆ˜μ‹  / κ³ μž₯ / maintenance

μžλ™ detect: python3 -c "import akida; akida.devices()" rc β†’ 0=primary, λΉ„0=fallback. Path field mandate: verdict.json + state file에 path = "primary-physical" | "fallback-cloud" λͺ…μ‹œ (own 35 mandate-3). raw 91 honest C3: fallback μ‚¬μš© μ‹œ silent skip BANNED, λͺ…μ‹œ emit ("USING FALLBACK: ").

Akida Cloud (FALLBACK lane β€” current state, chip ETA λ―Έν™•μ •)

  • Reservation: Sat 2026-05-09 09:00 KST β†’ Sun 2026-05-10 09:00 KST (24h, secure wipe on start)
  • Connection: ssh akida-cloud (config in user ~/.ssh/config, key ~/.ssh/id_ed25519_akida)
  • Secrets: secret list | grep akida_cloud (10 keys in user secret store)
  • Plan: docs/anima_origin/akida_cloud_d_minus_1_prep_2026_05_08.md
  • λ³Έ cycle = fallback ν™œμ„± instance (own 35 mandate-4) β€” chip 도착 ν›„ primary μžλ™ ν™œμ„±, fallback deactivate

AKD1000 PRIMARY (chip 도착 ν›„ ν™œμ„±)

  • Hardware: BrainChip Raspberry Pi 5 - AKD1000 Dev Kit ($1,495)
  • Workspace: host.rpi5-akida registered via nexus scripts/akida/host_register.sh (event-driven, F-L1 PASS evidence required)
  • Activation trigger: chip 도착 β†’ akida package install β†’ host_register.sh fire β†’ cycle path auto-flip
  • CLI: xeno cycle primary {status | probe | register | run [args]}

Trinity compliance (anima own 33)

xeno repoλŠ” anima trinity (.roadmap.philosophy + .roadmap.law + .roadmap.hypothesis) 3 도메인 μ™Έ 별도 lane. λ³Έ repo의 ν–‰μœ„λŠ” anima trinity μ •ν•© cross-check ν›„ emit.

  • A μ² ν•™: D3 substrate-coupled paradigm β€” λ³Έ repo의 λͺ¨λ“  substrateκ°€ D3 substrate-coupled 검증 lane
  • B 법칙: own 16 cost watchdog + own 30 checkpoint preservation + own 32/33/34 trinity bundle + standalone authority
  • C κ°€μ„€: H1 raw#12 cycle (4-stage hypothesis) β€” λ³Έ repo 각 substrate별 falsifierκ°€ H lane fire μΈμŠ€ν„΄μŠ€

Cross-link

  • anima .own own 34 β€” xeno standalone SSOT μ„ μ–Έ
  • anima .roadmap.akida β€” 원본 (xeno둜 copy μ™„λ£Œ, Phase 1.5μ—μ„œ stub둜 μ „ν™˜)
  • anima docs/akida_cloud_*_2026_05_08.md β€” Akida Cloud setup + D-1 prep
  • nexus scripts/akida/README.md β€” 12-falsifier harness 인덱슀 (xeno둜 copy μ™„λ£Œ)
  • hive tool/akida_*.hexa β€” alpha/delta/theta layer λͺ¨λ“ˆ (xeno둜 copy μ™„λ£Œ)
  • hexa-brain eeg/doc/cross_substrate/*akida* β€” N-2 EEGβ†’AKIDA spike pipeline spec (xeno둜 copy μ™„λ£Œ)

About

xeno πŸ›Έ β€” non-GPU exotic compute substrate SSOT (silicon neuromorphic + organoid + quantum + random)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors