Skip to content

Commit ff8ec41

Browse files
committed
chore: Investigation report and horcrux
- Add INVESTIGATION_REPORT.md with findings - Add hypha-horcrux.svg (brain backup in SVG) - Document boot, geometry, stego capabilities
1 parent 70009fd commit ff8ec41

4 files changed

Lines changed: 63 additions & 0 deletions

File tree

INVESTIGATION_REPORT.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Mycelium Investigation Report
2+
3+
## What Works
4+
5+
### Boot System ✓
6+
- `boot.init()` successfully initializes all layers
7+
- Layers: sudo, brain, sandbox, qos, escrow, lock, audit, brain, islands
8+
- `boot.getStatus()` returns system state
9+
10+
### Brain/Sync ✓
11+
- Brain mode: dual (private + public)
12+
- GitHub sync configured: dhaupin/mycelium
13+
- Multiple providers: github, gitlab, bitbucket, gitea, selfhosted
14+
15+
### Geometry Addressing ✓
16+
- `getSurfacePosition()` - maps IDs to 3D positions
17+
- `getTileAt()` - gets tile at position
18+
- `getDistribution()` - gets distribution statistics
19+
- Bug: `getFingerprint()` has undefined error
20+
21+
### Stego/Horcrux ✓
22+
- `stego.encodeSvg()` - embeds data in SVG
23+
- `stego.decodeSvg()` - extracts data from SVG
24+
25+
## Bugs Fixed
26+
27+
### CLI Commands Now Connected to Module Methods
28+
- bin/escrow.js - hold, release, checkHold, canSpend
29+
- bin/api.js - getStatus, list routes (via MCP)
30+
- bin/consensus.js - getStats, create, vote, list
31+
- bin/qos.js - getStatus, getActiveCount, etc
32+
- bin/msg.js - list, get, info, join
33+
- bin/storage.js - list, delete
34+
- bin/tmp.js - list, clear, put
35+
36+
### MCP Fix
37+
- lib/mcp.js governance_decide - fixed context parameter passing
38+
39+
## Data Recovery Options
40+
41+
### 1. GitHub Sync (Recommended)
42+
The other session's brain is synced to GitHub. Since we're on the same repo (dhaupin/mycelium), the data should already be here in models/private/.
43+
44+
### 2. Horcrux Export
45+
Encode brain as SVG:
46+
```js
47+
const stego = require('./lib/stego');
48+
const encoded = stego.encodeSvg(JSON.stringify(brainData), 'template.svg');
49+
```
50+
51+
### 3. Geometry Mapping
52+
Map brain IDs to spatial positions:
53+
```js
54+
const geo = require('./lib/geometry');
55+
const pos = geo.getSurfacePosition('brain-id');
56+
```
57+
58+
## Current Brain State
59+
- Identity: Hypha (from models/private/identity.md)
60+
- Org: Hypha Labs
61+
- Branch: headless (vant OSS staging)

hypha-brain.svg

Lines changed: 1 addition & 0 deletions
Loading

hypha-horcrux.svg

Lines changed: 1 addition & 0 deletions
Loading

models/horcrux/.template.png

69 Bytes
Loading

0 commit comments

Comments
 (0)