3.9 KiB
3.9 KiB
Legacy Matrix Audit
Purpose:
Preserve useful work from /Users/apayne/the-matrix before the Nexus browser shell is rebuilt.
Canonical rule:
Timmy_Foundation/the-nexusis the only canonical 3D repo./Users/apayne/the-matrixis legacy source material, not a parallel product.
Verified Legacy Matrix State
Local legacy repo:
/Users/apayne/the-matrix
Observed facts:
- Vite browser app exists
npm testpasses with87 passed, 0 failed- 23 JS modules under
js/ - package scripts include
dev,build,preview, andtest
Known historical Nexus snapshot
Useful in-repo reference point:
0518a1c3ae3c1d0afeb24dea9772102f5a3d9a66
That snapshot still contains browser-world root files such as:
index.htmlapp.jsstyle.csspackage.jsontests/
Rescue Candidates
Carry forward into Nexus vNext
agent-defs.js
- agent identity definitions
- useful as seed data/model for visible entities in the world
agents.js
- agent objects, state machine, connection lines
- useful for visualizing Timmy / subagents / system processes in a world-native way
avatar.js
- visitor embodiment, movement, camera handling
- strongly aligned with "training ground" and "walk the world" goals
ui.js
- HUD, chat surfaces, overlays
- useful if rebuilt against real harness data instead of stale fake state
websocket.js
- browser-side live bridge patterns
- useful if retethered to Hermes-facing transport
transcript.js
- local transcript capture pattern
- useful if durable truth still routes through Hermes and browser cache remains secondary
ambient.js
- mood / atmosphere system
- directly supports wizardly presentation without changing system authority
satflow.js
- visual economy / payment flow motifs
- useful if Timmy's economy/agent interactions become a real visible layer
economy.js
- treasury / wallet panel ideas
- useful if later backed by real sovereign metrics
presence.js
- who-is-here / online-state UI
- useful for showing human + agent + process presence in the world
interaction.js
- clicking, inspecting, selecting world entities
- likely needed in any real browser-facing Nexus shell
quality.js
- hardware-aware quality tiering
- useful for local-first graceful degradation on Mac hardware
bark.js
- prominent speech / bark system
- strong fit for Timmy's expressive presence in-world
world.js,effects.js,scene-objects.js,zones.js
- broad visual foundation work
- should be mined for patterns, not blindly transplanted
test/smoke.mjs
- browser smoke discipline
- should inform rebuilt validation in canonical Nexus repo
Archive as reference, not direct carry-forward
- demo/autopilot assumptions that pretend fake backend activity is real
- any websocket schema that no longer matches Hermes truth
- Vite-specific plumbing that is only useful if we consciously recommit to Vite
Deliberately drop unless re-justified
- anything that presents mock data as if it were live
- anything that duplicates a better Hermes-native telemetry path
- anything that turns the browser into the system of record
Concern Separation for Nexus vNext
When rebuilding inside the-nexus, keep concerns separated:
- World shell / rendering
- scene, camera, movement, atmosphere
- Presence and embodiment
- avatar, agent placement, selection, bark/chat surfaces
- Harness bridge
- websocket / API bridge from Hermes truth into browser state
- Visualization panels
- metrics, presence, economy, portal states, transcripts
- Validation
- smoke tests, screenshot proof, provenance checks
- Game portal layer
- Morrowind / portal-specific interaction surfaces
Do not collapse all of this into one giant app file again. Do not let visual shell code become telemetry authority.
Migration Rule
Rescue knowledge first.
Then rescue modules.
Then rebuild the browser shell inside the-nexus.
No more ghost worlds. No more parallel 3D repos.