Files
timmy-home/reports/production/2026-03-28-nexus-vs-matrix-review.md
Alexander Whitestone 9c1dd7fff7 chore: check in all local work — uniwizard, briefings, reports, evennia, morrowind, scripts, specs, training data, angband MCP, diagrams, twitter archive, wizards
- Resolve decisions.md merge conflict (keep both Codex boundary + Ezra/Bezalel entries)
- Update .gitignore: protect bare secret files, exclude venvs and nexus-localhost
- Add uniwizard tools (mention watcher, adaptive prompt router, self-grader, classifiers)
- Add briefings, good-morning reports, production reports
- Add evennia world scaffold and training data
- Add angband and morrowind MCP servers
- Add diagrams, specs, test results, overnight loop scripts
- Add twitter archive insights and media metadata
- Add wizard workspaces (allegro, nahshon)
2026-03-30 17:18:09 -04:00

6.2 KiB

Nexus vs Legacy Matrix Review

Date: 2026-03-28 Author: Timmy Purpose: Verify the actual current Timmy_Foundation/the-nexus repo state, compare it to the legacy local the-matrix app, and prevent quality work from being lost during migration.


Bottom Line

I was wrong to treat the old Matrix runtime as if it were the real current Nexus.

After checking a clean checkout of Timmy_Foundation/the-nexus from Gitea, the truth is:

  • current the-nexus main does not currently serve a browser 3D world
  • current docs still describe a browser/Three.js app that no longer exists in the repo root
  • the legacy local the-matrix app still contains substantial quality work that should be audited before abandonment

Given the mission — a local-first training ground for Timmy and a wizardly visualization of the system — we should not let that old work disappear through confusion.


Verified Current Nexus State

Clean Gitea checkout used for verification:

  • repo: Timmy_Foundation/the-nexus
  • clean worktree: /Users/apayne/worktrees/the-nexus-clean-20260328
  • commit: b1d6763

What I verified:

  • root tree does not include index.html, app.js, style.css, or package.json
  • recent history shows those files were explicitly deleted during issue #548 cleanup
  • local static serving of the clean checkout produced a browser directory listing, not a rendered 3D world

Visual proof collected:

  • screenshot path: /tmp/the-nexus-clean-3010.png
  • vision result: directory listing page, no 3D scene

So the actual current Nexus main is not the old Matrix app in a new folder. It is a different, much smaller repo state centered around Python heartbeat/portal artifacts.


Verified Legacy Matrix State

Legacy local repo reviewed:

  • /Users/apayne/the-matrix

What still exists there:

  • Vite browser app
  • 23 JS modules under js/
  • visitor controls, chat, presence, bark system, economy/satflow, ambient moods, transcript logging, quality tiers, websocket bridge
  • PWA/service worker pieces
  • smoke test suite

Proof:

  • npm test passed with 87 passed, 0 failed
  • package/scripts and README confirm it is a functioning browser visualization stack

Codebase comparison (pygount summary):

  • legacy the-matrix: ~6945 lines of code
  • current clean the-nexus: ~992 lines of code

This is not a minor delta. It is a major contraction.


Quality Work At Risk Of Being Lost

1. Wizardly visual shell

Legacy Matrix contains a real browser-facing world, which is directly aligned with:

  • local-first Timmy training ground
  • visualizing agents, states, and interactions in a magical/wizardly way
  • letting Alexander and visitors actually see the system breathe

2. Offline/demo mode

Legacy Matrix explicitly supports demo/autopilot mode when no backend is present. That is valuable because a local-first training ground should degrade gracefully. The visual shell should not disappear just because one channel is offline.

3. Visitor movement and embodied viewing

Legacy Matrix includes:

  • WASD movement
  • camera modes
  • click interactions
  • presence model

That is important if the Nexus is meant to feel like a lived place, not just a dashboard.

4. Agent visualization systems

Legacy Matrix has concrete UI systems for:

  • agent state
  • bark/chat
  • presence
  • treasury/economy flow
  • ambient world state
  • transcripts

Even if some of those need redesign, the implementation work is real and worth harvesting.

5. Smoke and validation discipline

Legacy Matrix has an actual smoke suite and production build checks. Current Nexus main lacks equivalent browser-level validation because the browser app itself is gone. That is a regression in validation capability.


What Should NOT Be Preserved Blindly

Not everything in Matrix should be carried forward unchanged.

Likely discard or re-scope:

  • anything centered on fake/demo-only network mythology if it no longer matches the real architecture
  • visuals that are pretty but not tethered to actual Timmy / Hermes world-state
  • old assumptions where browser state tries to become the system of record

The rule should be:

  • preserve the quality of the shell
  • preserve reusable modules
  • do not preserve architectural lies

Migration Principle

The correct goal is not:

  • "keep the old Matrix alive forever"

The correct goal is:

  • harvest the best browser, interaction, and visualization work from Matrix
  • re-anchor it around the actual current mission:
    • local-first
    • Timmy training ground
    • wizardly system visualization
    • telemetry sourced from Hermes harness
    • OpenClaw as sidecar only

Gitea Migration Backlog Created

I triaged the following issues into Timmy_Foundation/the-nexus and assigned them to Timmy:

  1. #684 [AUDIT] the-nexus main no longer serves a browser world — sync docs to truth
  1. #685 [MIGRATION] Preserve legacy the-matrix quality work before Nexus rewrite
  1. #686 [VALIDATION] Rebuild browser smoke and visual validation for the real Nexus repo
  1. #687 [PORTAL] Restore a wizardly local-first visual shell for Timmy from audited Matrix components

These sit alongside the existing clean backlog:

  • #672 rebuild portal stack
  • #673 deterministic Morrowind pilot loop
  • #674 reflex + semantic trajectory logging
  • #675 deterministic context compaction
  • #680 Project Genie + Nano Banana concept pack

  1. #684 — fix the docs/reality split first
  2. #685 — perform the quality-preservation audit
  3. #686 — restore a trustworthy validation path
  4. #687 — rebuild the wizardly browser shell on audited foundations
  5. then continue with #672 / #673 / #674

That order prevents another round of building on the wrong substrate.


Final Judgment

Abandoning the old Matrix blindly would lose real quality work.

Keeping it unchanged would also be wrong.

The right move is extraction with discipline:

  • truth first
  • audit second
  • validation third
  • rebuild fourth

That keeps the good work and drops the confusion.