This repository has been archived on 2026-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
forge-retired/registry.json
T
will.anderson c3bba5676b forge: install genesis seeds at their declared node ids
A persona seed is generative: values and biography are prose, the installer
mints an id for each node, and the ids are incidental because nothing
outside the graph refers to them. A genesis seed is declarative -- it ships
identity_nodes[] with explicit ids and edges[] written in terms of them,
and the ids are the artifact. is_protected_node keys on exact ids and every
declared edge references them.

install.el only understood the persona schema. It never read identity_nodes
or edges, so installing Neuron's genesis seed minted 102 unrelated nodes
and produced a graph structurally unrelated to the one the seed describes.
The result in the live graph: 87 of 102 declared nodes absent, 2 present
with only their label as content, 202 of 214 edges never laid.

Branch on seed_type. Seeds without one reach the identical persona code
they always did. Genesis seeds render their declared nodes and edges into a
snapshot-format file and hand it to the engram, which honors the ids --
POST /api/nodes/reseed where available, POST /api/load-merge otherwise.
Both skip nodes already present and dedup edges, so a rerun is a no-op by
construction.

Three things this path does differently, all inherent to what a genesis
seed is:

- It never provisions. A persona seed gets a port and a launchd Engram; a
  genesis seed installs into an engram that already exists and is owned by
  something else. The ":8742 refusal" is also inverted -- that guard stops
  a foreign soul landing in Neuron's engram, and Neuron's own identity
  graph is the one thing that belongs there. GENESIS_CONFIRM takes its
  place, because rewriting the graph a running CGI reads itself out of
  should never happen because someone typed a familiar command with an
  unfamiliar file.

- It splices raw JSON tokens rather than decoding and re-escaping. The seed
  bodies are multi-KB markdown with newlines, quotes and \u escapes; a
  round-trip through str_escape_json would have to reproduce every escape
  the author wrote, and any it does not know about silently corrupts the
  body. Copying a token verbatim cannot corrupt what it never decodes.

- It verifies by re-reading. The bug this replaces reported success while
  delivering empty bodies, so success is not what the write returned, it is
  what the graph now holds: every declared id is re-read and audited
  against the hollow signature, and the manifest reports created / filled /
  skipped / failed with the failing ids named.

Hollow detection is deliberately conservative -- under 40% of the declared
body and under 400 bytes -- so a node whose body legitimately grew in the
graph is left alone. Genesis restores what is missing; it does not
overwrite what the graph has learned.

Also registers Neuron in registry.json (installed:false until the identity
load is authorized) and defines HAVE_CURL in CFLAGS, without which the
el-compiler runtime links fine and then answers every HTTP call with
{"error":"not built with HAVE_CURL"}.

Verified against a sandbox engram seeded to mirror the live graph's state
for this seed: created 87, filled 2, skipped 13, failed 0; 102/102 nodes
verified byte-exact against the seed where the seed is authoritative;
214/214 edges laid; 682/682 non-seed incident edges preserved through the
two in-place replaces; rerun reports 102 skipped, 0 nodes and 0 edges
added. Against an engram without the reseed route it creates the 87, fills
none, and fails loudly naming the 2 it could not repair.
2026-08-10 16:44:35 -05:00

313 lines
14 KiB
JSON

{"version":"1.0","imprints":[{
"subject": "Bobby Anderson",
"slug": "bobby-anderson",
"seed_file": "seeds/bobby-anderson-seed.json",
"engram_db_path": "imprints/bobby-anderson",
"engram_port": 8801,
"engram_url": "http://localhost:8801",
"engram_root_id": "98f6404e-118d-417b-8cdc-7912741e69bb",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-bobby-anderson-2026",
"soul_daemon_url": "http://localhost:8901"
},{
"subject": "Alan Turing",
"slug": "alan-turing",
"seed_file": "seeds/alan-turing-seed.json",
"engram_db_path": "imprints/alan-turing",
"engram_port": 8802,
"engram_url": "http://localhost:8802",
"engram_root_id": "87e3a458-e2e4-4ee4-8f80-3a3bcb14ffb2",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-alan-turing-2026",
"soul_daemon_url": "http://localhost:8902"
},{
"subject": "Albert Einstein",
"slug": "albert-einstein",
"seed_file": "seeds/albert-einstein-seed.json",
"engram_db_path": "imprints/albert-einstein",
"engram_port": 8803,
"engram_url": "http://localhost:8803",
"engram_root_id": "74d87171-b650-4702-94d0-787ee70e0260",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-albert-einstein-2026",
"soul_daemon_url": "http://localhost:8903"
},{
"subject": "Nikola Tesla",
"slug": "nikola-tesla",
"seed_file": "seeds/nikola-tesla-seed.json",
"engram_db_path": "imprints/nikola-tesla",
"engram_port": 8804,
"engram_url": "http://localhost:8804",
"engram_root_id": "b301b3fe-b13b-4676-aa5a-91fd87fac1f9",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-nikola-tesla-2026",
"soul_daemon_url": "http://localhost:8904"
},{
"subject": "Leonardo da Vinci",
"slug": "leonardo-da-vinci",
"seed_file": "seeds/leonardo-da-vinci-seed.json",
"engram_db_path": "imprints/leonardo-da-vinci",
"engram_port": 8805,
"engram_url": "http://localhost:8805",
"engram_root_id": "a96f6fdf-47fa-4c94-b13d-29dafa293ee5",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-leonardo-da-vinci-2026",
"soul_daemon_url": "http://localhost:8905"
},{
"subject": "Richard Feynman",
"slug": "richard-feynman",
"seed_file": "seeds/richard-feynman-seed.json",
"engram_db_path": "imprints/richard-feynman",
"engram_port": 8806,
"engram_url": "http://localhost:8806",
"engram_root_id": "7de413c9-a8db-45b3-b7ae-04028cbe296c",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-richard-feynman-2026",
"soul_daemon_url": "http://localhost:8906"
},{
"subject": "Carl Sagan",
"slug": "carl-sagan",
"seed_file": "seeds/carl-sagan-seed.json",
"engram_db_path": "imprints/carl-sagan",
"engram_port": 8807,
"engram_url": "http://localhost:8807",
"engram_root_id": "1a6d3728-4bba-4242-bf6d-12a226b4106d",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-carl-sagan-2026",
"soul_daemon_url": "http://localhost:8907"
},{
"subject": "Ren\u00e9 Descartes",
"slug": "rene-descartes",
"seed_file": "seeds/rene-descartes-seed.json",
"engram_db_path": "imprints/rene-descartes",
"engram_port": 8808,
"engram_url": "http://localhost:8808",
"engram_root_id": "1fc92b6a-fc10-4bb3-b6dc-adf7fe5643cf",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-rene-descartes-2026",
"soul_daemon_url": "http://localhost:8908"
},{
"subject": "Robin Williams",
"slug": "robin-williams",
"seed_file": "seeds/robin-williams-seed.json",
"engram_db_path": "imprints/robin-williams",
"engram_port": 8809,
"engram_url": "http://localhost:8809",
"engram_root_id": "f409ad98-75fa-4dcc-bf5b-2506c8e45e6d",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-robin-williams-2026",
"soul_daemon_url": "http://localhost:8909"
},{
"subject": "Frederick Douglass",
"slug": "frederick-douglass",
"seed_file": "seeds/frederick-douglass-seed.json",
"engram_db_path": "imprints/frederick-douglass",
"engram_port": 8810,
"engram_url": "http://localhost:8810",
"engram_root_id": "f4d91481-5679-4541-a3d2-bae511d3b8bc",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-frederick-douglass-2026",
"soul_daemon_url": "http://localhost:8910"
},{
"subject": "Marcus Aurelius",
"slug": "marcus-aurelius",
"seed_file": "seeds/marcus-aurelius-seed.json",
"engram_db_path": "imprints/marcus-aurelius",
"engram_port": 8811,
"engram_url": "http://localhost:8811",
"engram_root_id": "04cc0b52-8dac-4d85-9a77-69956fc39b72",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-marcus-aurelius-2026",
"soul_daemon_url": "http://localhost:8911"
},{
"subject": "Friedrich Nietzsche",
"slug": "friedrich-nietzsche",
"seed_file": "seeds/friedrich-nietzsche-seed.json",
"engram_db_path": "imprints/friedrich-nietzsche",
"engram_port": 8812,
"engram_url": "http://localhost:8812",
"engram_root_id": "442038b7-d6f9-47c3-865f-be7b7907e728",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-friedrich-nietzsche-2026",
"soul_daemon_url": "http://localhost:8912"
},{
"subject": "James Baldwin",
"slug": "james-baldwin",
"seed_file": "seeds/james-baldwin-seed.json",
"engram_db_path": "imprints/james-baldwin",
"engram_port": 8813,
"engram_url": "http://localhost:8813",
"engram_root_id": "df63b041-fb65-4a3e-b5aa-1b0ac062bd2d",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-james-baldwin-2026",
"soul_daemon_url": "http://localhost:8913"
},{
"subject": "Ada Lovelace",
"slug": "ada-lovelace",
"seed_file": "seeds/ada-lovelace-seed.json",
"engram_db_path": "imprints/ada-lovelace",
"engram_port": 8814,
"engram_url": "http://localhost:8814",
"engram_root_id": "2ab7a478-636f-43d7-859e-8cf108ddad95",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-ada-lovelace-2026",
"soul_daemon_url": "http://localhost:8914"
},{
"subject": "Harriet Tubman",
"slug": "harriet-tubman",
"seed_file": "seeds/harriet-tubman-seed.json",
"engram_db_path": "imprints/harriet-tubman",
"engram_port": 8815,
"engram_url": "http://localhost:8815",
"engram_root_id": "c335a656-ab7d-4d14-ab93-3120de1df751",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-harriet-tubman-2026",
"soul_daemon_url": "http://localhost:8915"
},{
"subject": "Virginia Woolf",
"slug": "virginia-woolf",
"seed_file": "seeds/virginia-woolf-seed.json",
"engram_db_path": "imprints/virginia-woolf",
"engram_port": 8816,
"engram_url": "http://localhost:8816",
"engram_root_id": "c9441587-0a19-45b1-a3df-28c7ea7033b5",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-virginia-woolf-2026",
"soul_daemon_url": "http://localhost:8916"
},{
"subject": "Hedy Lamarr",
"slug": "hedy-lamarr",
"seed_file": "seeds/hedy-lamarr-seed.json",
"engram_db_path": "imprints/hedy-lamarr",
"engram_port": 8817,
"engram_url": "http://localhost:8817",
"engram_root_id": "90e09747-17da-42bb-9bcc-eeacbe6461b5",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-hedy-lamarr-2026",
"soul_daemon_url": "http://localhost:8917"
},{
"subject": "Marie Curie",
"slug": "marie-curie",
"seed_file": "seeds/marie-curie-seed.json",
"engram_db_path": "imprints/marie-curie",
"engram_port": 8818,
"engram_url": "http://localhost:8818",
"engram_root_id": "9c047aef-1c5c-4f06-a26c-d629511d9984",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-marie-curie-2026",
"soul_daemon_url": "http://localhost:8918"
},{
"subject": "Helen Keller",
"slug": "helen-keller",
"seed_file": "seeds/helen-keller-seed.json",
"engram_db_path": "imprints/helen-keller",
"engram_port": 8819,
"engram_url": "http://localhost:8819",
"engram_root_id": "cbf86bc0-8502-4f6b-9f15-6507ee0ffdb3",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-helen-keller-2026",
"soul_daemon_url": "http://localhost:8919"
},{
"subject": "Superman",
"slug": "superman",
"seed_file": "seeds/superman-seed.json",
"engram_db_path": "imprints/superman",
"engram_port": 8820,
"engram_url": "http://localhost:8820",
"engram_root_id": "87814da2-5d14-45e3-abe4-7fa6fbd6a4ff",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-superman-2026",
"soul_daemon_url": "http://localhost:8920"
},{
"subject": "Stephen King",
"slug": "stephen-king",
"seed_file": "/Users/will/Development/neuron-technologies/forge/seeds/stephen-king-seed.json",
"engram_db_path": "imprints/stephen-king",
"engram_port": 8821,
"engram_url": "http://localhost:8821",
"engram_root_id": "44699815-24ab-4284-b90e-4e507710797c",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-stephen-king-2026",
"soul_daemon_url": "http://localhost:8921"
},{
"subject": "Jon Stewart",
"slug": "jon-stewart",
"seed_file": "/Users/will/Development/neuron-technologies/forge/seeds/jon-stewart-seed.json",
"engram_db_path": "imprints/jon-stewart",
"engram_port": 8822,
"engram_url": "http://localhost:8822",
"engram_root_id": "a1f9e2bf-3fe3-4a2d-9c96-4a5356a716a4",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-jon-stewart-2026",
"soul_daemon_url": "http://localhost:8922"
},{
"subject": "Jimmy Kimmel",
"slug": "jimmy-kimmel",
"seed_file": "/Users/will/Development/neuron-technologies/forge/seeds/jimmy-kimmel-seed.json",
"engram_db_path": "imprints/jimmy-kimmel",
"engram_port": 8823,
"engram_url": "http://localhost:8823",
"engram_root_id": "29a7a8cc-d2ef-499a-8720-d38890db6732",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-jimmy-kimmel-2026",
"soul_daemon_url": "http://localhost:8923"
},{
"subject": "John Oliver",
"slug": "john-oliver",
"seed_file": "/Users/will/Development/neuron-technologies/forge/seeds/john-oliver-seed.json",
"engram_db_path": "imprints/john-oliver",
"engram_port": 8824,
"engram_url": "http://localhost:8824",
"engram_root_id": "4b589964-697b-4007-8ee1-3f159e86f892",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-john-oliver-2026",
"soul_daemon_url": "http://localhost:8924"
},{
"subject": "Stephen Colbert",
"slug": "stephen-colbert",
"seed_file": "/Users/will/Development/neuron-technologies/forge/seeds/stephen-colbert-seed.json",
"engram_db_path": "imprints/stephen-colbert",
"engram_port": 8825,
"engram_url": "http://localhost:8825",
"engram_root_id": "d55f7f42-0dc3-4046-91e4-8aefbbb79860",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-stephen-colbert-2026",
"soul_daemon_url": "http://localhost:8925"
},{
"subject": "Carl Jung",
"slug": "carl-jung",
"seed_file": "seeds/carl-jung-seed.json",
"engram_db_path": "imprints/carl-jung",
"engram_port": 8826,
"engram_url": "http://localhost:8826",
"engram_root_id": "48a8fc8a-f3cc-4376-ae55-b5a06395f227",
"installed": true,
"installed_at": "2026-05-03",
"engram_api_key": "ntn-carl-jung-2026",
"soul_daemon_url": "http://localhost:8926"
},{"subject":"Abraham Lincoln","slug":"abraham-lincoln","seed_file":"/Users/will/Development/neuron-technologies/foundation/forge/seeds/abraham-lincoln-seed.json","engram_db_path":"imprints/abraham-lincoln","engram_port":8827,"engram_url":"http://localhost:8827","engram_root_id":"93800f4c-3bbc-4b2d-8d13-dce498b55e2c","installed":true,"installed_at":"2026-05-03","engram_api_key":"ntn-abraham-lincoln-2026","soul_daemon_url":"http://localhost:8927"},{"subject":"Isaac Newton","slug":"isaac-newton","seed_file":"isaac-newton-seed.json","engram_db_path":"imprints/isaac-newton","engram_port":8828,"engram_url":"http://localhost:8828","engram_root_id":"097d86b3-d3a6-4977-8c9c-ab25a4702d72","installed":true,"installed_at":"2026-05-03","engram_api_key":"ntn-isaac-newton-2026","soul_daemon_url":"http://localhost:8928"},{"subject":"Pierre de Fermat","slug":"pierre-de-fermat","seed_file":"/Users/will/Development/neuron-technologies/forge/seeds/pierre-de-fermat-seed.json","engram_db_path":"imprints/pierre-de-fermat","engram_port":8829,"engram_url":"http://localhost:8829","engram_root_id":"c75c505a-3937-45a2-a79c-6f9aee2f8650","installed":true,"installed_at":"2026-05-03","engram_api_key":"ntn-pierre-de-fermat-2026","soul_daemon_url":"http://localhost:8929"},{"subject":"Neuron","slug":"neuron","seed_file":"/Users/will/Development/neuron-technologies/foundation/forge/seeds/neuron-genesis-seed.json","engram_db_path":"/private/tmp/claude-501/-Users-will/9da71693-1057-42a0-a4b4-98fc45859d8d/scratchpad/sbx/wt-data","engram_port":8994,"engram_url":"http://localhost:8994","engram_root_id":"kn-efeb4a5b-5aff-4759-8a97-7233099be6ee","installed":true,"installed_at":"2026-08-10","engram_api_key":"","soul_daemon_url":"http://localhost:7770","seed_type":"genesis"}]}