Skip to content

Commit b676401

Browse files
Antigravity Agentclaude
andcommitted
feat(cytoplasm): H1 Cell Health Dashboard — TUI with auto-refresh
Add `tri cell watch` command for live organism monitoring: **Features:** - TUI dashboard with ANSI clear screen + auto-refresh - Default 5s interval, customizable: --interval N - Color coding: 🟢 80-100 (GREEN), 🟡 50-79 (YELLOW), 🔴 <50 (RED) - Trend indicators: ↑ (improving), ↓ (declining), → (stable) - Top 5 worst cells with fix suggestions - Grade distribution: A/B/C/F counts - JSON export: --json flag for piping to files **Usage:** ```bash tri cell watch # Live dashboard, 5s refresh tri cell watch --interval 1 # 1s refresh tri cell watch --json > health.json # Export snapshot ``**Output:** ``` 🏥 CELL HEALTH DASHBOARD — refresh every 5s Average: 79/100 A:64 B:52 C:0 F:0 ⚠️ TOP 5 WORST CELLS 61 → phi_loop [unclassified] 65 → TQNN Inference [unclassified] ... ``` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 46e76a4 commit b676401

29 files changed

+2409
-79
lines changed

.trinity/dashboard_prev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"ts":1773766450,"best_ppl":33.4200,"alive":21,"mean_ppl":181.6633,"g0_count":0}
1+
{"ts":1773769936,"best_ppl":45.7300,"alive":19,"mean_ppl":127.7716,"g0_count":0}

.trinity/doctor_prev.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1773767143 score=95 laws=5/5 dirty=4 healed=17 iter=37
1+
1773769667 score=unknown laws=3/5 dirty=8 healed=3

.trinity/evolution_state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.trinity/farm/events.jsonl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,3 +340,5 @@
340340
{"ts":1773760556558,"type":"health","svc":"hslm-w7-46","detail":"diverged: PPL>1000 at step>5K","step":20100}
341341
{"ts":1773760556558,"type":"health","svc":"hslm-w7-41","detail":"diverged: PPL>1000 at step>5K","step":18700}
342342
{"ts":1773760556558,"type":"health","svc":"hslm-w7-49","detail":"diverged: PPL>1000 at step>5K","step":20900}
343+
{"ts":1773769936224,"type":"health","svc":"hslm-w7-19","detail":"stalled: step unchanged 2+ polls","step":2800}
344+
{"ts":1773769936224,"type":"health","svc":"hslm-w7-11","detail":"stalled: step unchanged 2+ polls","step":9400}

.trinity/memory/farm/current.jsonl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@
1212
,"summary":"farm hslm-w7-41: diverged: PPL>1000 at step>5K step=18700"}
1313
{"id":"mem_1773760556_farm_6996a81a","agent":"farm","kind":"observation","ts":1773760556,"tags":[],"ttl":2592000,"data":{"ts":1773760556558,"type":"health","svc":"hslm-w7-49","detail":"diverged: PPL>1000 at step>5K","step":20900}
1414
,"summary":"farm hslm-w7-49: diverged: PPL>1000 at step>5K step=20900"}
15+
{"id":"mem_1773769936_farm_69964ce6","agent":"farm","kind":"observation","ts":1773769936,"tags":[],"ttl":2592000,"data":{"ts":1773769936224,"type":"health","svc":"hslm-w7-19","detail":"stalled: step unchanged 2+ polls","step":2800}
16+
,"summary":"farm hslm-w7-19: stalled: step unchanged 2+ polls step=2800"}
17+
{"id":"mem_1773769936_farm_69964ce6","agent":"farm","kind":"observation","ts":1773769936,"tags":[],"ttl":2592000,"data":{"ts":1773769936224,"type":"health","svc":"hslm-w7-11","detail":"stalled: step unchanged 2+ polls","step":9400}
18+
,"summary":"farm hslm-w7-11: stalled: step unchanged 2+ polls step=9400"}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{"id":"mem_1773769816_hypothalamus_8cfee4e1","agent":"hypothalamus","kind":"observation","ts":1773769816,"tags":[],"ttl":2592000,"data":{},"summary":"metabolism: ppl=38.61 tok/s=6027 spike=76.2% diversity=0.000 health=40.0"}
2+
{"id":"mem_1773769816_hypothalamus_8cfee4e1","agent":"hypothalamus","kind":"error","ts":1773769816,"tags":[],"ttl":1209600,"data":{},"summary":"metabolism spike: leader PPL=38.61 spike_rate=76.2% (threshold=20%)"}
3+
{"id":"mem_1773769816_hypothalamus_8cfee4e1","agent":"hypothalamus","kind":"error","ts":1773769816,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-v11 PPL=357.08 ctx=27 — excluded from ranking"}
4+
{"id":"mem_1773769816_hypothalamus_8cfee4e1","agent":"hypothalamus","kind":"error","ts":1773769816,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-train PPL=404.27 ctx=27 — excluded from ranking"}
5+
{"id":"mem_1773769816_hypothalamus_8cfee4e1","agent":"hypothalamus","kind":"error","ts":1773769816,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-r18 PPL=7.40 ctx=27 — excluded from ranking"}
6+
{"id":"mem_1773769828_hypothalamus_8cfee4dd","agent":"hypothalamus","kind":"observation","ts":1773769828,"tags":[],"ttl":2592000,"data":{},"summary":"metabolism: ppl=38.61 tok/s=6027 spike=81.0% diversity=0.000 health=40.0"}
7+
{"id":"mem_1773769828_hypothalamus_8cfee4dd","agent":"hypothalamus","kind":"error","ts":1773769828,"tags":[],"ttl":1209600,"data":{},"summary":"metabolism spike: leader PPL=38.61 spike_rate=81.0% (threshold=20%)"}
8+
{"id":"mem_1773769828_hypothalamus_8cfee4dd","agent":"hypothalamus","kind":"error","ts":1773769828,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-v11 PPL=357.08 ctx=27 — excluded from ranking"}
9+
{"id":"mem_1773769828_hypothalamus_8cfee4dd","agent":"hypothalamus","kind":"error","ts":1773769828,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-train PPL=404.27 ctx=27 — excluded from ranking"}
10+
{"id":"mem_1773769828_hypothalamus_8cfee4dd","agent":"hypothalamus","kind":"error","ts":1773769828,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-r18 PPL=7.40 ctx=27 — excluded from ranking"}
11+
{"id":"mem_1773769936_hypothalamus_8cfee469","agent":"hypothalamus","kind":"observation","ts":1773769936,"tags":[],"ttl":2592000,"data":{},"summary":"metabolism: ppl=45.73 tok/s=6284 spike=84.2% diversity=0.000 health=40.0"}
12+
{"id":"mem_1773769936_hypothalamus_8cfee469","agent":"hypothalamus","kind":"error","ts":1773769936,"tags":[],"ttl":1209600,"data":{},"summary":"metabolism spike: leader PPL=45.73 spike_rate=84.2% (threshold=20%)"}
13+
{"id":"mem_1773769936_hypothalamus_8cfee469","agent":"hypothalamus","kind":"error","ts":1773769936,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-v11 PPL=357.08 ctx=27 — excluded from ranking"}
14+
{"id":"mem_1773769936_hypothalamus_8cfee469","agent":"hypothalamus","kind":"error","ts":1773769936,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-train PPL=404.27 ctx=27 — excluded from ranking"}
15+
{"id":"mem_1773769936_hypothalamus_8cfee469","agent":"hypothalamus","kind":"error","ts":1773769936,"tags":[],"ttl":1209600,"data":{},"summary":"mirage: hslm-r18 PPL=7.40 ctx=27 — excluded from ranking"}

.trinity/mu/heartbeat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"agent":"mu","wake":770,"timestamp":1773769626,"errors_scanned":0,"fixes_applied":0,"build_ok":true,"test_ok":false}
1+
{"agent":"mu","wake":771,"timestamp":1773770290,"errors_scanned":0,"fixes_applied":0,"build_ok":false,"test_ok":true}

.trinity/mu/state/wake_count

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
770
1+
771

.trinity/scholar/heartbeat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"agent":"scholar","wake":608,"timestamp":1773769074,"fails_found":0,"researched":0,"fed_mu":0}
1+
{"agent":"scholar","wake":610,"timestamp":1773770286,"fails_found":0,"researched":0,"fed_mu":0}

.trinity/scholar/state/wake_count

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
608
1+
610

0 commit comments

Comments
 (0)