Skip to content

Latest commit

ย 

History

History
162 lines (138 loc) ยท 8.41 KB

File metadata and controls

162 lines (138 loc) ยท 8.41 KB

Demiurge โ€” universal hexa-native technical-design architecture program

Standalone repo ยท ~/core/demiurge ยท created 2026-05-18 ยท Status (2026-05-22): 4-Phase design-complete ยท macOS Swift cockpit workbench live (/Applications/demiurge.app) ยท 3 cells with stored absorbed=true legitimate flip via measured-oracle PASS (Energy/solar D110 ยท Aura/EEG D117 ยท Ufo/plasma D119 ยท ฮบ-68/69/70 closure narrative). G30 invariant invariantHolds(...) record-type- agnostic generalization confirmed across 3 record types with 0-code-change auto-extension. RTSC ยง9 5-gate stack LANDED (N1-N5 ยท Phase 1-4 #1 + #2 unblock pending CI infra ยท 20/20 cell matrix PASS post-JARVIS-OPTIMADE 3rd corpus) ยท Nuclear discovery stack LANDED (NUCLEAR.md spec + N6 HFBTHO + N7 WKB ฮฑ-decay + Phase 4 #1 microkernel port 31/31 parity bit-exact). g3 honest โ€” see PLAN.log.md for measured distance (ฮบ-phase archive, PLAN.md 2026-05-22 ํก์ˆ˜), CHARTER.md for mission/scope (HANDOFF.md 2026-05-22 ํก์ˆ˜ โ€” historical at HANDOFF.log.md), DESIGN.md for the decision audit trail. Family: typed-interface consumer (not absorber) of hexa-lang, the sole SSOT for reusable stdlib / tools / absorbed modules (D15 / D17 + 2026-05-19 user directive); demiurge is the consumer- pointer side. This one = ๋ชจ๋“  ๊ธฐ์ˆ ์„ค๊ณ„์˜ ์•„ํ‚คํ…์ณ โ€” chip is one domain, component (FEM/EM/thermal, D21) the chain's 3rd-pass domain, plus 13 shallow public-surface maps. Self-contained pickup entry point: CHARTER.md (HANDOFF.md 2026-05-22 ํก์ˆ˜ โ€” historical at HANDOFF.log.md).


Install

# 1. Install hexa-lang (gives you `hexa` + `hx` package manager)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/dancinlab/hexa-lang/main/install.sh)"

# 2. Install demiurge
hx install demiurge

Concept

๐Ÿ“ DEMIURGE โ€” "๋งŒ๋Šฅ ์„ค๊ณ„ ์•„ํ‚คํ…์ณ ํ”„๋กœ๊ทธ๋žจ"

- ํ•˜๋Š” ์ผ: ์–ด๋–ค ๊ณตํ•™ ์‹œ์Šคํ…œ์ด๋“  ๋ช…์„ธโ†’๊ตฌ์กฐโ†’์„ค๊ณ„โ†’ํ•ด์„โŸฒโ†’ํ•ฉ์„ฑโ†’๊ฒ€์ฆโ†’์ธ๊ณ„ ์˜
           7-verb hexa-native ํŒŒ์ดํ”„๋ผ์ธ์œผ๋กœ; ๋ถ„์•ผ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ ๋„๋ฉ”์ธ์œผ๋กœ ๊ฝ‚ํž˜
- ๋น„์œ : ๋งŒ๋Šฅ ์„ค๊ณ„์‹ค โ€” ์นฉยท๊ฐ€์†๊ธฐยท์ดˆ์ „๋„ยท์šฐ์ฃผ์„ ยทBCI ์ฑ…์ƒ์ด ํ•œ ๊ฑด๋ฌผ ์•ˆ์—
            demiurge (umbrella ยท ๋ฉ”ํƒ€-์ปจ๋•ํ„ฐ D11)
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚ ๋ช…์„ธโ†’๊ตฌ์กฐโ†’์„ค๊ณ„โ†’ํ•ด์„โŸฒโ†’ํ•ฉ์„ฑโ†’๊ฒ€์ฆโ†’์ธ๊ณ„                   โ”‚  7-verb ๋ฒ”์šฉ ํŒŒ์ดํ”„๋ผ์ธ (cited, D5)
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   Meta-conductor chain (rfc_004 ยง4):
   materials โ”€rfc_007โ”€โ–ถ chip โ”€rfc_008โ”€โ–ถ component
   (matter)   typed     (lead,  typed     (D21 ์‹ ๊ทœ top-level
   ์ƒ๋ฅ˜=hexa- seam      deep)   seam       โ€” FEM/EM/thermal)
   lang(D17)  contract          contract

   Plus 13 shallow cohort domains: cern ยท antimatter ยท rtsc ยท space ยท
                                   energy ยท brain ยท fusion ยท scope ยท
                                   sscb ยท mobility ยท bot ยท grid ยท aura
   โ–ฒ
   comb (hexa-lang, n=6 fabric) ๊ฐ€ [chip] ๋„๋ฉ”์ธ์„ *์‚ฌ์šฉ* โ€” ์†Œ๋น„์ž๋งŒ,
   EDA ํก์ˆ˜ ์ฃผ์ฒด ์•„๋‹˜ (typed-interface ํŒจํ„ด, D2).
   hexa-matter/hexa-bio ๋„ ๋™์ผ ํŒจํ„ด (์†Œ๋น„, ํก์ˆ˜ X โ€” D2).
   hexa-matter ํก์ˆ˜ SSOT = hexa-lang (D17); demiurge ๋Š” ์†Œ๋น„-ํฌ์ธํ„ฐ.

   Product surface (D16 / rfc_009ยท010ยท011ยท012): macOS Swift cockpit
   **workbench live** โ€” `/Applications/demiurge.app` (cockpit/ ยท
   SwiftPM). ฮบ-phase build log in `PLAN.log.md` (archive).

vs ๊ธฐ์กด: hexa-matter = ๋ฌผ์งˆ์„ ๊ณ„์‚ฐ, hexa-bio = ๋ถ„์ž๋ฅผ ๊ณ„์‚ฐ, demiurge = ์„ค๊ณ„ ์ž์ฒด๋ฅผ ๊ณ„์‚ฐยท๊ฒ€์ฆ (๋ถ„์•ผ ๋ฌด๊ด€ ๋ฉ”ํƒ€ํ”„๋ ˆ์ž„์›Œํฌ). ์™ธ๋ถ€ ์˜คํ”ˆ์†Œ์Šค๋ฅผ ๋„๋ฉ”์ธ๋ณ„๋กœ ํก์ˆ˜ํ•˜๋Š” ๋ฉ”์ปค๋‹ˆ์ฆ˜์€ hexa-matter(โŸตASE/pymatgen)ยทhexa-bio(โŸตAlphaFold) ์™€ ๋™์ผ.

Files (SSOTs)

  • CHARTER.md โ€” ์ž๊ธฐ์™„๊ฒฐ ์ธ์ˆ˜์ธ๊ณ„ + mission ยท scope ยท ๋น„๋ชฉํ‘œ ยท ๋„๋ฉ”์ธ ๋ชจ๋ธ (HANDOFF.md 2026-05-22 ํก์ˆ˜ โ€” historical at HANDOFF.log.md). 0-context pickup ์ง„์ž…์ , ๋จผ์ € ์ฝ์„ ๊ฒƒ.
  • GOAL.md โ€” ํ•œ ๋ฌธ์žฅ north-star + ๋ฌด์—‡์ด ์•„๋‹Œ๊ฐ€/๋ฌด์—‡์ธ๊ฐ€ + ์ •์งํ•œ ํ˜„ ์œ„์น˜(g3)
  • DESIGN.md โ€” ๊ฒฐ์ • ๊ฐ์‚ฌ์ถ”์  (gated picks SSOT โ€” D-๋ฒˆํ˜ธ SSOT)
  • PLAN.log.md โ€” ์ง„ํ–‰ / ์ธก์ • ๊ฑฐ๋ฆฌ, append-only ## ์ง„ํ–‰ ๋กœ๊ทธ ยท cockpit ฮบ-phase build log archive (์ˆ˜์น˜ยทphase SSOT, PLAN.md 2026-05-22 ํก์ˆ˜ โ€” forward Roadmap โ†’ CHARTER.md)
  • AGENTS.tape โ€” ๊ฐ•์ œ ๊ฑฐ๋ฒ„๋„Œ์Šค (g_stdlib_ownership ยท g_ssot_single_source ยท g_cockpit_isolation ยท g_swift_native ยท g_cockpit_reinstall ยท g_ai_agent_* ยท g3 ยท @F)
  • ARCH.tape โ€” tape v1.2 ์ธ๋ฑ์Šค
  • proposals/rfc_* โ€” ํก์ˆ˜ / seam / cockpit ์„ค๊ณ„ RFC (rfc_001..012)
  • domains/ โ€” ๋„๋ฉ”์ธ ๋งต (Cohort + component.md D21 + matter/ D17 pointer) ยท ๊ฐ ยง6 = workbench ingredient shelf SSOT
  • cockpit/ โ€” SwiftPM package (CockpitApp GUI + DemiurgeCLI + DemiurgeCore library โ€” rfc_009/010/011/012 product surface)
  • exports/ โ€” chip/noc/f1f2/ (rfc_002 v1.0 records) + seams/{materials_to_chip, chip_to_component}/ (rfc_007/008 v0, records ์˜๋„์  ๋นˆ์นธ โ€” ์œ„์กฐ 0, g3)
  • NEXT_SESSIONS.md โ€” cross-repo / post-completion ํ•ธ๋“œ์˜คํ”„ ํ”„๋กฌํ”„ํŠธ (Tracks matrix ยท P-โ‘กโ‘ข ยท P-โ‘ฃ ยท P-โ‘ง ยท P-โ‘จ)

Related repos (๊ตฌ๋ถ„ โ€” ํ˜ผ๋™ ๋ฐฉ์ง€)

  • ~/core/hexa-lang โ€” the sole SSOT for stdlib / tools / absorptions (D15 / D17 + 2026-05-19 user directive). Every domain's reusable tooling (booksim ยท matter ยท component ยท โ€ฆ) lives inside this single repo; demiurge consumes only.
  • ~/core/hexa-* (hexa-chip / hexa-space / hexa-component / โ€ฆ) โ€” NOT SSOT. They exist on disk but the ฮบ-17 correction removed the cockpit's earlier "sibling repo" recognition; the canonical stdlib home is hexa-lang/<domain> (booksim / matter pattern).

Current state (snapshot, g3 โ€” ์นดํ…Œ๊ณ ๋ฆฌ only; ์ˆ˜์น˜ยทphase ๋Š”

PLAN.log.md / DESIGN.md SSOT)

Design-complete (4-Phase ๋กœ๋“œ๋งต):

  • absorption RFCs โ€” BookSim2 NoC (rfc_001/003, modules now in hexa-lang/stdlib/booksim/ per D15, commit d5a63a82) ยท Yosys (rfc_006 + D18 bounded-subprocess + D19 hexa-lang ์„ธ์…˜ ์†Œ๊ด€) ยท matter SUPERSEDED to hexa-lang (D17).
  • typed-interface seams โ€” F1F2 (rfc_002 v1.0, chipโ†’comb) ยท materials โ†’chip (rfc_007 v0) ยท chipโ†’component (rfc_008 v0).
  • cockpit spec โ€” rfc_009 (product surface ยท D22) ยท rfc_010 (architecture) ยท rfc_011 (control surface) ยท rfc_012 (project workbench).
  • domain maps cited (Cohort + component.md D21 + matter/ D17 pointer) ยท each ยง6 = workbench ingredient shelf SSOT.
  • end-to-end meta-conductor program (rfc_004, D11).

Built (measured-green):

  • macOS Swift cockpit workbench โ€” /Applications/demiurge.app ยท 3-column workbench (recipe rail ยท LLM chat ยท work zone) ยท project manifest persistence ยท ingredient shelf ยท ฮธ-2 action skeleton ยท ยง4.2 REJECTED guard ยท domain-aware canvas mode ยท CLI โ†” cockpit parity (ActionDispatch shared). ฮบ-phase log in PLAN.log.md (archive).
  • hexa-native substrate parity surface (D80 ยท ฮบ-67 ยท RFC 013 MOSTLY-LANDED) โ€” declarative .demi SSOTs (5) ยท cockpit Loaders (5) ยท HexaNativeParityRef 8-field ร— 5 cell carriers ยท 4-case chip UI ยท ARCH ยง11.4 G1..G24 Round 1-6 + G25/G26 post-closure bracket. ์ธก์ • ์ˆ˜์น˜ (pilot ์ˆ˜ ยท assertion ์ˆ˜ ยท kernel folder ์ˆ˜ ยท PILOTS row ์ˆ˜) SSOT = PLAN.log.md ฮบ-history archive + domains/PILOTS.demi (g_ssot_single_source ยท D50).

Not done (์ •์งํ•œ ๊ฐญ, g3 โ€” engine tool 0 ์ด ํ•ต์‹ฌ):

  • engine tool 0 โ€” ฮธ-2 ๊ฐ€ ๋Œ๋ฆด ์‹ค์ œ ๋„๊ตฌ 0๊ฐœ (Yosys ยง4 ๋ฏธ๊ตฌํ˜„ = hexa-lang ์„ธ์…˜ ยท booksim ์€ hexa-lang/stdlib ์ด์ „๋จ) โ†’ ์–ด๋–ค ํ”„๋กœ์ ํŠธ๋„ ์ธก์ • record 0 ยท ์–ด๋–ค verb ๋„ โœ… ์•„๋‹˜.
  • seam records 0 (rfc_007/008 v0 ์˜๋„์  ๋นˆ์นธ โ€” ์œ„์กฐ 0).
  • chip ยงB ํ’€-์ปค๋ธŒ / ยงD ๋ฏธ์ธก์ • (NEXT_SESSIONS P-โ‘ฃ).
  • d5a63a82 ๋ฏธpush (NEXT_SESSIONS P-โ‘กโ‘ข, hexa-lang ์„ธ์…˜).
  • 3D real USDZ 0 (component producer ๋ถ€์žฌ; NEXT_SESSIONS P-โ‘จ).
  • ์–ด๋–ค ๋„๋ฉ”์ธ๋„ absorbed=true ์•„๋‹˜.

์™ธ๋ถ€ ๋งคํ•‘ = ARCH.md ยง5 (HANDOFF.md ยง5 ํก์ˆ˜); ์ธก์ • ๊ฑฐ๋ฆฌ = PLAN.log.md (archive); ๊ฒฐ์ • = DESIGN.md; cross-repo / post-completion ํ•ธ๋“œ์˜คํ”„ = NEXT_SESSIONS.md.