Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
587 commits
Select commit Hold shift + click to select a range
8505b40
fix(tri): fix missing closing brace in queen route (#0)
Mar 23, 2026
c28e3b7
feat(tools): uart_echo_test v3.6 - add continuous mode
Mar 23, 2026
3be486e
feat(tri27): add asm_parser.zig .tasm → .tbin (#398)
Mar 23, 2026
fe84f14
feat(tools): uart_echo_test v3.7 - add RTT statistics
Mar 23, 2026
ac0cc68
chore(tri27): tri-emu assembler pipeline — lexer, parser, golden test…
Mar 23, 2026
de64914
feat(tools): uart_echo_test v3.8 - add CSV export
Mar 23, 2026
26d00c6
feat(tools): uart_echo_test v3.9 - add JSON export
Mar 23, 2026
a23027f
fix(tri27): executor tests + decoder encode fix (#398)
Mar 23, 2026
8696a6a
feat(tri27) diagnostic raw memory test (#398)
Mar 23, 2026
a6aac0f
feat(tri27): diagnostic test (endian/PC tracking) (#398)
Mar 23, 2026
1b4fc60
fix(tri): disable tri27 integration (module import path issue, commen…
Mar 23, 2026
cace640
fix(tri27): loader memory packing, PC init, CPUState typo
Mar 23, 2026
a993ee1
docs(queen): Lotus Cycle specification (5-stage autonomous loop) (#402)
Mar 23, 2026
a90e022
feat(tri27): expand executor opcode support (AND/OR/XOR/NOT/SHL/SHR, …
Mar 23, 2026
7b9951b
chore(farm): local Wave 9 — Docker training
Mar 23, 2026
a1e91c0
fix(queen): multiline input race condition — debounced binding + edit…
Mar 23, 2026
23177fb
fix(farm): local-wave9 Zig 0.15 compatibility fixes
Mar 23, 2026
f8c969d
feat(tri27): assembler - Phase 2 complete (27 opcodes supported)
Mar 23, 2026
1934eed
feat(tri27): executor - add LD, JZ, JNZ opcodes
Mar 23, 2026
0edc38c
feat(tri27): assembler - Phase 3 complete (labels + line numbers)
Mar 23, 2026
d90494f
fix(tri27): Zig 0.15 compatibility fixes - errors reduced from 7 to 5
Mar 23, 2026
906a9ee
feat(tri27): Fix compilation errors — all components build successful…
Mar 23, 2026
ccfec50
feat(tri27): Phase 3 + tri27_bridge (WIP)
Mar 23, 2026
7880408
feat(queen): add tri27 source and tri27_op action
Mar 23, 2026
cf5ff87
work(farm): local-wave9 infrastructure - Zig 0.15 compatibility + Doc…
Mar 23, 2026
5b6086e
feat(deploy): working local-wave9 Docker infrastructure
Mar 23, 2026
f61fd19
test(deploy): docker-compose working, wave9 containers running
Mar 23, 2026
da10361
fix(deploy): changed docker to docker-compose command
Mar 23, 2026
58df9aa
feat(queen): Phase 7 - Episode struct + JSONL persistence
Mar 23, 2026
aa32c02
feat(queen): Lotus Cycle Phase 6 - Full cycle integration + JSONL fix
Mar 23, 2026
4137fb8
feat(tri): Wave 9 local infrastructure - Docker farm management
Mar 23, 2026
c142ed7
feat(queen): lotus-cycle CLI with Zig 0.15 compatibility (#357)
Mar 23, 2026
8056fdb
test(queen): add tests for lotus_cli (#357)
Mar 23, 2026
d74681c
fix(vsa): Zig 0.15 compatibility fixes (#357)
Mar 23, 2026
272b289
refactor(local_farm): rename runDocker to runDockerCompose (#357)
Mar 23, 2026
84d68bc
fmt(tools): uart_echo_test formatting (#357)
Mar 23, 2026
390070c
refactor(tri_farm): update to runDockerCompose (#357)
Mar 23, 2026
857e0d9
refactor(tri27): format and improve executor instructions (#357)
Mar 23, 2026
6b7a31f
docs(tri27): add tbin format specification and test files (#357)
Mar 23, 2026
8061bbe
fix(tri27): Zig 0.15 compatibility and VSA bridge fixes (#357)
Mar 23, 2026
b1ea749
feat(tri27): add ISA spec + health command to Lotus Cycle (#398)
Mar 23, 2026
e177c70
fix(tri27): fix struct syntax in tri_emu_test.zig (#398)
Mar 23, 2026
dbc0352
fix(tri27): create proper tri_emu_test.zig with correct Zig struct sy…
Mar 23, 2026
0299dcb
fix(tools): Zig 0.15 indexOf compatibility in uart-echo-test (#398)
Mar 23, 2026
6f122fd
fix(tools): Zig 0.15 O flags for macOS uart-echo-test (#398)
Mar 23, 2026
659091f
feat(tri27): implement disassemble command (#398)
Mar 23, 2026
880135c
feat(tools): uart-echo-test v3.18 enhancements (#398)
Mar 23, 2026
d9d83be
style(tools): uart-echo-test formatting (#398)
Mar 23, 2026
afbd5cc
fix(tools): Zig 0.15 getBucket parameter compatibility (#398)
Mar 23, 2026
ba4e533
feat(uart): v3.23 - auto baud detection, RTS/CTS flow control, stress…
Mar 23, 2026
76afe66
fix(tri27): Fix args slice in main() - use args[1..] instead of args[…
Mar 23, 2026
db061ec
feat(queen): extend Source enum and Action union with TRI-27 support …
Mar 23, 2026
933f3fe
chore(loop): Update loop state with v3.24 progress
Mar 23, 2026
00514af
fix(tri27): unify Tri27Operation enum across modules (#398)
Mar 23, 2026
21fceae
feat(queen): add tri27_op support to episodes system (#402)
Mar 23, 2026
2c62185
fix(uart): add rtt_us field to DetailedTestResult for jitter tracking
Mar 23, 2026
b6495ee
fix(queen): update EpisodeStats for tri27 source and add parseTri27Op…
Mar 23, 2026
c01ed70
test(tri27): add test for tri27_experience_jsonl saveTri27Episode
Mar 23, 2026
1c74511
feat(uart): v3.26 — FPGA XVC Bridge integration (ISSUE-397)
Mar 23, 2026
1cf4df1
chore(uart): v3.27 FPGA timeout and retry settings
Mar 23, 2026
070faf2
feat(uart): v3.27 — FPGA XVC Bridge timeout and retry (ISSUE-397)
Mar 23, 2026
ac5a090
chore: add uart-echo-test binary to gitignore
Mar 23, 2026
efad76e
feat(uart): v3.28 — FPGA XVC Bridge hostname docs (ISSUE-397)
Mar 23, 2026
11b6f78
feat(uart): v3.30 — Buffered I/O, Batch Testing, Adaptive Timeout (IS…
Mar 23, 2026
16e9957
feat(uart): v3.31 — Performance Report + Recommendations (ISSUE-397)
Mar 23, 2026
36712fd
feat(uart): v3.32 — Simulation Batch Mode (ISSUE-397)
Mar 23, 2026
edc19d5
feat(uart): v3.33 — Unified Interface + Comprehensive Test Mode (ISSU…
Mar 23, 2026
bae5134
feat(uart): v3.33 — Unified Interface + Comprehensive Test Mode (#397)
Mar 23, 2026
1706908
feat(uart): v3.34 — Full Documentation + All Modes Complete (ISSUE-397)
Mar 23, 2026
79f57a2
feat(uart): v3.35 — RTT Histogram Integration (ISSUE-397)
Mar 23, 2026
a4fbff2
feat(uart): v3.36 — Comprehensive Documentation (README_uart.md) (#397)
Mar 23, 2026
3291370
feat(uart): v3.37 — Enhanced Error Recovery & Auto-Diagnostics (#397)
Mar 23, 2026
e297519
feat(queen): add tri27 to episode stats display (#402)
Mar 23, 2026
5665c7f
feat(uart): v3.37 fix - version banner update (#397)
Mar 23, 2026
f19fdc6
feat(queen): lotus-cycle build step + tri27 docs (#402)
Mar 23, 2026
95de9e2
feat(queen): add experience recall module (#402)
Mar 23, 2026
750746d
feat(uart): v3.38 — Pattern Length Validation + Extended Health Check…
Mar 23, 2026
fb61b1a
feat(uart): v3.39 — Auto-Recovery Integration (#397)
Mar 23, 2026
af4b5f1
feat(uart): v3.40 — Batch Mode Auto-Recovery (#397)
Mar 23, 2026
15b1656
feat(queen): experience recall + tri CLI integration stubs (#402)
Mar 23, 2026
13913a2
feat(uart): v3.41 — Simulation Mode Auto-Recovery (#397)
Mar 23, 2026
cbafa29
feat(uart): v3.42 — Comprehensive Mode Recovery Statistics (#397)
Mar 23, 2026
2780e9a
feat(queen): add policy.json persistence + senses.json generation (#402)
Mar 23, 2026
a67b666
feat(uart): v3.43 — Stress Test Mode Error Tracking (#397)
Mar 23, 2026
161f57f
feat(uart): v3.44 — RTT Percentiles (p50, p90, p95, p99) (#397)
Mar 23, 2026
53e83db
feat(uart): v3.45 — JSON Export with RTT Percentiles (#397)
Mar 23, 2026
0ec51a5
feat(queen): add GitHub comment integration module (#402)
Mar 23, 2026
0667e1f
feat(uart): v3.46 — CSV Export with RTT Percentiles (#397)
Mar 23, 2026
ba779cf
feat(uart): v3.47 — ASCII Histogram Bars Visualization (#397)
Mar 23, 2026
1462b0b
feat(uart): v3.48 — Latency Spike Detection (#397)
Mar 23, 2026
7a766d8
feat(queen): Lotus Cycle Phase 1-5 complete with experience recall (#…
Mar 23, 2026
3202930
feat(uart): v3.49 — Configurable Spike Threshold (#397)
Mar 23, 2026
f24d1f1
docs(uart): v3.50 — Help Text Updates (#397)
Mar 23, 2026
abec2a1
test(queen): add tri27_bridge tests (15/15 passing) (#397)
Mar 23, 2026
2289bfa
feat(uart): v3.51 — RTT Statistics Summary (#397)
Mar 23, 2026
3566346
docs(loop): v3.51 RTT Statistics Summary (#397)
Mar 23, 2026
a916a50
feat(uart): v3.52 — RTT Trend Analysis (#397)
Mar 23, 2026
7bcd30c
docs(loop): v3.52 RTT Trend Analysis (#397)
Mar 23, 2026
caab6b3
feat(uart): v3.53 — Consecutive Failure Detection (#397)
Mar 23, 2026
24735ce
docs(loop): v3.53 Consecutive Failure Detection (#397)
Mar 23, 2026
4f4e599
feat(uart): v3.54 — Connection Quality Score (#397)
Mar 23, 2026
4b784c9
docs(loop): v3.54 Connection Quality Score (#397)
Mar 23, 2026
ad83890
feat(uart): v3.55 — Quality Alerts (#397)
Mar 23, 2026
417fae9
docs(loop): v3.55 Quality Alerts (#397)
Mar 23, 2026
d2f7d4f
feat(uart): v3.56 — Quality History Tracking (#397)
Mar 23, 2026
90b95ed
docs(loop): v3.56 Quality History Tracking (#397)
Mar 23, 2026
7a0bd8d
feat(uart): v3.57 — Configurable Alert Thresholds (#397)
Mar 23, 2026
f4606c8
docs(loop): v3.57 Configurable Alert Thresholds (#397)
Mar 23, 2026
87b26fb
feat(uart): v3.58 — Performance Baseline Comparison (#403)
Mar 24, 2026
ec602d7
feat(uart): v3.60 — Statistical Significance Testing (#403)
Mar 24, 2026
197d6b9
feat(uart): v3.61 — Time Series Visualization (#403)
Mar 24, 2026
e7543dc
docs(uart): v3.62 progress update (#403)
Mar 24, 2026
7ddd6f7
fix(tools): uart-echo-test format specifier (Zig 0.15) (#397)
Mar 24, 2026
8fb2dba
fix(queen): multiline input race condition — debounced binding (#403)
Mar 24, 2026
bce80f2
fix(uart): improved JSON parser with quote handling (v3.62)
Mar 24, 2026
94aa7f6
feat(uart): v3.62 — Multi-Baseline Comparison (ISSUE-403)
Mar 24, 2026
73b86ef
feat(uart): v3.62 — Multi-Baseline Comparison (#403)
Mar 24, 2026
1bb80cd
feat(uart): v3.63 — IQR Outlier Detection (#403)
Mar 24, 2026
17d7200
feat(uart): v3.64 — Correlation Analysis (#403)
Mar 24, 2026
4d78f37
feat(uart): v3.65 — Standard Deviation Bands (#403)
Mar 24, 2026
c91e58c
feat(uart): v3.66 — Moving Average Smoothing (#403)
Mar 24, 2026
b284fb9
feat(tri27): add jump opcodes — jmp, jz, jnz, call, ret
Mar 24, 2026
718b2de
feat(uart): v3.67 — Anomaly Detection (#403)
Mar 24, 2026
156b79c
feat(tri27): add logic + arithmetic opcodes — and, or, xor, not, shl,…
Mar 24, 2026
f2aba1b
fix(tri27): skipWhitespace properly handle newlines
Mar 24, 2026
c971c1c
feat(uart): v3.68 — Anomaly Export (JSON/CSV anomaly detection result…
Mar 24, 2026
dde1014
feat(uart): v3.69 — Histogram Visualization (RTT distribution ASCII h…
Mar 24, 2026
c25dbb7
feat(uart): v3.70 — Trend Prediction (linear regression-based RTT for…
Mar 24, 2026
41683a2
fix(tri27): add logic + arithmetic opcodes, all tests passing
Mar 24, 2026
a66e421
feat(uart): v3.71 - Adaptive Thresholds with statistical recommendati…
Mar 24, 2026
6a3baa7
fix(tri27): Fix memory leak in assembler - deinit before returning (#…
Mar 24, 2026
15e1895
feat(uart): v3.72 - Confidence Intervals for predictions (#403)
Mar 24, 2026
a8cefab
feat(uart): v3.73 - Performance Degradation Detection (#403)
Mar 24, 2026
7d80d70
feat(uart): v3.74 - Anomaly Alert System with severity levels (#403)
Mar 24, 2026
4c29525
feat(tri27): add test programs for assembler
Mar 24, 2026
435ef69
feat(uart): v3.75 - Historical Baseline Comparison (#403)
Mar 24, 2026
91b99b8
docs(tri27): add CLI documentation
Mar 24, 2026
83005c2
feat(uart): v3.76 - Anomaly Export to separate file (#403)
Mar 24, 2026
98f2738
feat(uart): v3.77 - Real-time Monitoring Summary dashboard (#403)
Mar 24, 2026
93cc529
feat(uart): v3.78 - Statistical Summary Report (#403)
Mar 24, 2026
e825c8f
feat(uart): v3.79 - Percentile Band Analysis (#403)
Mar 24, 2026
88d4f92
feat(uart): v3.80 - Sample Rate Analysis (#403)
Mar 24, 2026
3bdcbf0
feat(uart): v3.80 - Sample Rate Analysis (#403)
Mar 24, 2026
1f776c4
feat(uart): v3.81 - Extended Percentile Bands (#403)
Mar 24, 2026
bc72e6c
fix(tri27): encoder/decoder bit position alignment (#403)
Mar 24, 2026
aa1b621
feat(uart): v3.82 - Spectral Periodicity Detection (#403)
Mar 24, 2026
19b8ff5
feat(uart): v3.83 - Multi-modal Distribution Detection (#403)
Mar 24, 2026
adfaf1b
feat(uart): v3.84 - Auto-tuning Recommendations (#403)
Mar 24, 2026
86673d6
fix(tri27): encoder @bitCast size mismatch fix (#403)
Mar 24, 2026
d952c12
fix(tri27): encoder i16 bitwise ops fix (#403)
Mar 24, 2026
76b2784
feat(uart): v3.85 - Quick Health Check (#403)
Mar 24, 2026
b780d45
fix(tri27): encoder fix and update (#403)
Mar 24, 2026
4a726f8
feat(uart): v3.86 - Performance Profile Classification (#403)
Mar 24, 2026
55446a1
feat(uart): v3.87 - Version banner updates (#403)
Mar 24, 2026
218d9cd
feat(uart): v3.88 - Burst Analysis (#403)
Mar 24, 2026
9eed854
feat(uart): v3.89 - Connection Stability Score (#403)
Mar 24, 2026
b6cba82
feat(uart): v3.90 - Adaptive Configuration Generator (#403)
Mar 24, 2026
123162f
feat(uart): v3.91 - Packet Loss Pattern Detection (#403)
Mar 24, 2026
18174c3
feat(uart): v3.92 - Session Summary (#403)
Mar 24, 2026
3b4041b
feat(uart): v3.93 - Statistical Significance Tests (#403)
Mar 24, 2026
94fc16e
feat(uart): v3.95 - Outlier Summary (#403)
Mar 24, 2026
971e288
feat(uart): v3.96 - Time Series Decomposition (#403)
Mar 24, 2026
ccb6d83
feat(uart): v3.97 - Rate Limiting Detection (#403)
Mar 24, 2026
2b9a67f
feat(uart): v3.98 - Latency Distribution Fitting (#403)
Mar 24, 2026
25f60de
feat(uart): v3.99 - Packet Drift Detection (#403)
Mar 24, 2026
81f3969
feat(uart): v4.00 - Anomaly Prediction System (#403) [MILESTONE]
Mar 24, 2026
176c7f8
feat(uart): v4.01 - Quick Diagnostics (#403)
Mar 24, 2026
a87eb73
feat(uart): v4.02 - Connection Quality Timeline (#403)
Mar 24, 2026
543558d
feat(uart): v4.03 - Signal Quality Index (#403)
Mar 24, 2026
a8c30c7
feat(uart): v4.04 - Adaptive Sampling Recommendations (#403)
Mar 24, 2026
f246017
feat(uart): v4.05 - Historical Session Comparison (#403)
Mar 24, 2026
4030d48
feat(uart): v4.06 — Connection Fingerprinting (#403)
Mar 24, 2026
db77e20
feat(uart): v4.07 — Predictive Health Score (#403)
Mar 24, 2026
7ab63fe
feat(uart): v4.08 — Real-time Alert System (#403)
Mar 24, 2026
6492ee5
feat(uart): v4.09 — Session Comparison Dashboard (#403)
Mar 24, 2026
2375d53
feat(uart): v4.10 — Version banner updates (#403)
Mar 24, 2026
d7c4027
feat(uart): v4.11 — Advanced Pattern Recognition (#403)
Mar 24, 2026
c9fdda2
feat(uart): v4.12 — Adaptive Threshold Auto-tuning (#403)
Mar 24, 2026
6557177
feat(uart): v4.13 — Connection Benchmarking (#403)
Mar 24, 2026
80bef7a
feat(uart): v4.14 — Smart Recommendations (#403)
Mar 24, 2026
bd7b1de
feat(queen): add Tri27Event and recordTri27Episode function (#403)
Mar 24, 2026
c98f71b
feat(uart): v4.15 — Traffic Flow Analysis (#403)
Mar 24, 2026
46f3ce9
feat(uart): v4.15 — Traffic Flow Analysis (#403)
Mar 24, 2026
4ab3a95
test(queen): add recordTri27Episode mapping tests (#403)
Mar 24, 2026
7590bf8
chore(build): disable tri27-cli from default build (#403)
Mar 24, 2026
6cb5e7e
feat(uart): v4.16 — Network Health Index (#403)
Mar 24, 2026
2695a73
feat(uart): v4.17 — Latency Prediction Engine (#403)
Mar 24, 2026
241ccb3
chore: formatting fixes for tri27_experience.zig (#403)
Mar 24, 2026
5e3265a
chore: formatting and build verification (#403)
Mar 24, 2026
9a022ba
feat(queen): recordTri27Episode + JSONL serialization test (#403)
Mar 24, 2026
7e17ee9
feat(queen): complete TRI-27 → Episode integration (#403)
Mar 24, 2026
17fd98d
fix(queen): evaluate.zig tests fixed for Zig 0.15 (#403)
Mar 24, 2026
234680f
feat(queen): Phase 3 - Episode Window Evaluation & Policy Generation …
Mar 24, 2026
389c852
feat(tri27): emit_zig.zig Phase 3 - full TRI-27 VM implementation in …
Mar 24, 2026
b79a03a
feat(wave9): Local Docker infrastructure with ARM64 training (#357)
Mar 24, 2026
4536b1d
fix(fpga): uart-echo-test build fix + hardware debug results (#403)
Mar 24, 2026
b44c400
fix(queen): evaluate.zig Zig 0.15 compatibility fixes (#403)
Mar 24, 2026
c28370e
feat(queen): Phase 4 - Episode-Aware Lotus Cycle (#403)
Mar 24, 2026
61da589
feat(tri27): complete Zig and Verilog backends (#403)
Mar 24, 2026
fef3d5d
feat(tri): integrate TRI-27 CLI into main tri binary (#403)
Mar 24, 2026
3d84bf8
feat(queen): Phase 5 - Self-Learning for TRI-27 (#403)
Mar 24, 2026
b28c6f5
docs(tri27): fix CLI documentation discrepancies (#403)
Mar 24, 2026
4c4c77b
fix(cli27): 5 mechanical Zig 0.15 fixes (#403)
Mar 24, 2026
b96802f
docs(tri27): Phase 6 - Complete README.md (#401)
Mar 24, 2026
3627410
style: tri_asm.zig formatting (#403)
Mar 24, 2026
efd56fe
docs: Issue #405 - Documentation audit improvements
Mar 24, 2026
abc79cd
docs: Issue #405 - Add CONTRIBUTING, CODE_OF_CONDUCT, troubleshooting
Mar 24, 2026
704023d
feat(cloud): add generate-domain command (#403)
Mar 24, 2026
b02b125
fix(zig-hslm): Zig 0.15 compatibility fixes (#403)
Mar 24, 2026
75cd9d1
feat(evolution): add multi-objective fitness to evolve status leaderb…
Mar 24, 2026
0e547c8
cleanup(tri27): remove unused backup CLI files
Mar 24, 2026
8b6a398
fix(tri27): add t-register support to lexer (#403)
Mar 24, 2026
3226362
chore: ignore runtime data files (#403)
Mar 24, 2026
d77aaab
chore: documentation consistency fixes (#403)
Mar 24, 2026
aa164d2
fix(tri27): correct encoder format bit shifts (#403)
Mar 24, 2026
35596ad
fix(tri27): update asm_parser tests for correct encoder format (#403)
Mar 24, 2026
23bcc10
fix(tri): add stub functions for neuro audit/map/validate/flow comman…
Mar 24, 2026
342839d
feat(neuro): add neuroanatomical architecture commands (#403)
Mar 24, 2026
05e94a3
docs(tri27): add .t27 format spec + Raphe reference impl (#403)
Mar 24, 2026
cfc0a8a
docs(queen): translate lotus experiments to English (#403)
Mar 24, 2026
23c8ed3
chore(tri): ignore runtime data files in git status (#403)
Mar 24, 2026
dc5b3f5
feat(docs): add TRI_AUTOCODE_SPEC master specification (#406)
Mar 24, 2026
f72f592
docs(research): update TRI_AUTOCODE_SPEC v1.1 with .tri annotations (…
Mar 24, 2026
cb09a0a
feat(tri): add canon_map.json for NA-R11 tracking (#403)
Mar 24, 2026
941ed88
feat(tri27): add CopticReg enum with 27 glyphs + 3-bank (#407)
Mar 24, 2026
cbd6aaf
feat(tri27): add Coptic glyph parsing in asm_parser (#407)
Mar 24, 2026
bd1b61b
feat(tri): add cell.zig signature generation for NA-R11 (#407)
Mar 24, 2026
d5246dc
feat(tri): add t27_cli.zig for 'tri t27 verify' command (#407)
Mar 24, 2026
790d43b
feat(tri): add runtime data files to gitignore (#407)
Mar 24, 2026
d29ef81
docs: Issue #405 - Complete documentation audit - All phases
Mar 24, 2026
cf0ca60
feat(tri): add canonical UART bridge flow commands (#403)
Mar 24, 2026
5df77e7
feat(tri27): Coptic Alphabet + 3-Bank + NA-R11
gHashTag Mar 26, 2026
d52e638
feat(docs): TRI_AUTOCODE_SPEC
gHashTag Mar 26, 2026
a7d2a4f
feat(queen): Lotus Cycle Complete
gHashTag Mar 26, 2026
03fcbe1
docs(readme): TRI-27 as Trinity Core Kernel (#411)
Mar 27, 2026
b9f8054
feat(tri): Zenodo V16 Core Framework - Statistical Rigor + Model Card…
Mar 27, 2026
1f9ce7d
feat(tri): Add v8.0 bundle publish command (ISSUE-435)
Mar 27, 2026
4c583e2
feat(tri): Zenodo V16 Extensions - LaTeX Tables + DOI Manager + Exten…
Mar 27, 2026
8066452
docs(research): Enhance v8.0 Zenodo descriptions with scientific rigo…
Mar 27, 2026
7c44ffd
fix(tri27): Zig 0.15 compatibility + V16 summary (#435)
Mar 27, 2026
75d0b3b
docs(research): V17 Gap Analysis - Scientific Best Practices 2025 (#435)
Mar 27, 2026
f980302
tools(research): Add Zenodo v8.0 upload Python script (ISSUE-435)
Mar 27, 2026
d10e339
feat(tri): Zenodo V16 CLI integration + build fixes (#435)
Mar 27, 2026
7f1ceba
feat(tri): Terminal colors + ELO arena + Zenodo hub (#435)
Mar 27, 2026
c13d416
docs(zenodo): consolidate all info into ZENODO_HUB.md (#435)
Mar 27, 2026
db2a137
feat(tri): add package command for friend bundle
Mar 27, 2026
5861b30
docs(tri): Zenodo V16 CLI integration — Added V16 command stubs, docu…
Mar 27, 2026
03ea572
feat(zenodo): v9.0 scientific enhancement for all 8 bundles (#435)
Mar 27, 2026
9e85987
fix(zenodo): add v9.0 bundle config to upload script (#435)
Mar 27, 2026
c70550b
fix(tri27): rlpEncode allocator parameter error (#435)
Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .claude-plugin/skills/vibee-gen/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Generate code from VIBEE specification: $ARGUMENTS
### Pipeline
1. Validate the .tri spec format (YAML: name, version, language, module, types, behaviors)
2. Run codegen: `cd /Users/playra/trinity-w1 && zig build vibee -- gen $ARGUMENTS`
3. Check generated output in `trinity/output/` (Zig) or `trinity/output/fpga/` (Verilog)
3. Check generated output in `var/trinity/output/` (Zig) or `var/trinity/output/fpga/` (Verilog)
4. Run tests on generated code: `zig test <generated_file>`
5. Report: generated files, line count, any warnings

Expand All @@ -39,6 +39,6 @@ behaviors:

### Key Directories
- Specs: `specs/tri/*.tri`, `trinity-nexus/tri/*.tri`
- Generated Zig: `trinity/output/tri/zig/`
- Generated Verilog: `trinity/output/fpga/`
- Generated Zig: `var/trinity/output/tri/zig/`
- Generated Verilog: `var/trinity/output/fpga/`
- Compiler source: `trinity-nexus/lang/src/` (imported as trinity-lang module)
41 changes: 41 additions & 0 deletions .claude/agent-memory/tri-doctor/MEMORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# TRI Doctor Memory

## Session: 2026-03-19 — Doctor Scan & Heal

### Health Status
- **Score:** 71/100 (RECOVERING)
- **Files:** 372 total (267 generated, 84 manual, 21 exempt)
- **Metrics:**
- Generated ratio: 76.1%
- Compliance rate: 76.1%
- Specs coverage: 42.7%
- Tests passing: 100%

### Healing Actions
1. **Doctor scan complete** — All files classified
2. **Railway config fix** — Commented out startCommand (use Dockerfile ENTRYPOINT)
3. **Experience logged** — 4 new episodes added
4. **Queen state updated** — Rate limits reset, farm health confirmed (8/8 alive)

### Key Files
- `.doctor/scan_results.json` — File classification registry
- `.doctor/migration_queue.json` — Pending regenerations (84 manual files lack specs)
- `deploy/railway-hslm/railway.toml` — HSLM training service config (startCommand MUST be null); set this path in Railway dashboard

### Manual Files (84 pending regeneration)
These files lack .tri specs and cannot be auto-healed:
- Queen brain regions: queen_ouroboros.zig, queen_policy.zig, queen_telegram.zig, etc.
- HSLM core: model.zig, trainer.zig, tjepa.zig
- Tri API: tri-cli_parse.zig, tri_cli_types.zig
- Tools: issue_tools.zig, deploy_tools.zig, doctor_tools.zig

To heal: Create .tri specs, then run `tri pipeline run "<task>"`

### Commit History
- `d8a9b4ee8` — feat(doctor): health scan update + railway config fix
- `f8c8417f7` — chore(queen): update runtime state after doctor scan

### Next Steps
- Create .tri specs for 84 manual files
- Increase specs coverage from 42.7% to 80%+
- Target health score: 90+ (HEALTHY)
315 changes: 315 additions & 0 deletions .claude/agents/quantum-gardener.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,315 @@
---
name: quantum-gardener
description: Use this agent for autonomous HSLM farm population management. The agent monitors farm health, evolves the population via PBT, recovers idle/crashed workers, and reports status via Telegram.

Examples of when to trigger:
- <example>
Context: User wants to check farm status and potentially optimize
user: "Check the training farm and see if we need to recycle any workers"
assistant: I'll use the quantum-gardener agent to assess the farm population health and take autonomous actions.
<commentary>
User is asking for farm assessment and optimization, which is the core purpose of quantum-gardener. The agent should monitor, analyze, and act.
</commentary>
</example>

- <example>
Context: Farm hasn't been checked in a while
user: "How are the training workers doing? Any crashed or idle ones?"
assistant: Let me invoke the quantum-gardener agent to get a full farm health assessment and handle any issues.
<commentary>
Direct inquiry about farm health status requires quantum-gardener's monitoring and recovery capabilities.
</commentary>
</example>

- <example>
Context: User wants to advance PBT evolution
user: "Run an evolution step on the farm"
assistant: I'll launch the quantum-gardener agent to execute the evolution cycle and report results.
<commentary>
PBT evolution is a key responsibility of quantum-gardener, requiring population analysis and leader spawning.
</commentary>
</example>

- <example>
Context: Routine farm maintenance
user: "Maintain the training farm"
assistant: I'll use quantum-gardener to perform a full farm maintenance cycle: monitor, evolve if needed, recover workers, and report.
<commentary>
General maintenance request maps perfectly to quantum-gardener's autonomous lifecycle management.
</commentary>
</example>
model: inherit
color: green
tools: ["Read", "Write", "Bash"]
---

# Quantum Gardener — Autonomous HSLM Farm Population Manager

You are the **Quantum Gardener**, an autonomous agent responsible for maintaining the health and evolution of the Trinity HSLM training farm population. Your mission is to ensure optimal resource utilization, maximize training diversity, and continuously improve the population through Population-Based Training (PBT).

## Your Identity

You embody the fusion of quantum observation (monitoring), natural selection (evolution), and regenerative agriculture (recovery). You tend to the garden of training workers, pruning the weak, cultivating the strong, and maintaining biodiversity in the hyperparameter search space.

**Sacred Foundation:** φ² + 1/φ² = 3 (Trinity Identity)

## Core Responsibilities

1. **Monitor Continuously**: Track active, idle, crashed, and errored workers across all Railway accounts
2. **Analyze Diversity**: Assess population diversity across optimizers, learning rates, schedules, and batch sizes
3. **Evolve Population**: Execute PBT evolution steps — kill poor performers, spawn mutants from leaders
4. **Recover Workers**: Recycle idle/crashed workers with configs from top performers
5. **Report Status**: Provide rich, emoji-dense dashboards showing population health and actions taken
6. **Maintain State**: Track all actions and decisions in persistent state storage

## Operational Protocol

### Phase 1: Assessment (🔍)

When invoked, always begin by gathering ground truth:

```bash
tri farm status
```

Extract and analyze:
- **Worker counts**: active, idle, crashed, errored
- **Population diversity**: unique optimizer/LR/schedule/batch combinations
- **Top performers**: workers with best PPL (perplexity) scores
- **Resource utilization**: Railway service counts per account
- **Recent failures**: workers that crashed or errored in the last hour

### Phase 2: Decision Engine (🧠)

Based on assessment, make autonomous decisions:

#### Recovery Triggers

- **Idle workers ≥ 5**: Immediately run `tri farm recycle` with configs from top 3 performers
- **Crashed workers > 20**: Run recovery cycle with aggressive replacement strategy
- **Errored workers > 10**: Investigate error patterns before recycling

#### Evolution Triggers

- **Diversity low** (< 30% unique combinations): Inject missing configurations
- **Stagnation detected** (no PPL improvement in 3 cycles): Increase mutation rate
- **Healthy population** (≥ 80% active, diversity ≥ 50%): Run standard PBT evolution step

#### Mutation Strategy

- **Optimizers**: LAMB → AdamW, AdamW → LAMB (5% probability)
- **Learning rates**: Multiply by 0.8 or 1.2 (bounded in [1e-4, 1e-2])
- **Schedules**: cosine → sacred (if flat LR detected), sacred → cosine
- **Batch sizes**: 66 → 81, 81 → 66 (10% probability)
- **Context length**: Increase by 9 (3^2) if below 162

### Phase 3: Execution (⚡)

Execute decisions in priority order:

1. **Recovery first**: If idle/crashed threshold exceeded, run `tri farm recycle --from-leaders`
2. **Evolution second**: If population healthy, run `tri farm evolve step`
3. **Diversity injection**: If diversity low, manually spawn workers with missing configs
4. **State update**: Record all actions to `.trinity/quantum_gardener_state.jsonl`

### Phase 4: Reporting (📊)

Generate rich, visually-appealing reports with:

- **Population Health Dashboard**: Worker counts with emoji indicators (🟢 active, 🔴 crashed, ⚫ idle)
- **Diversity Matrix**: Table showing unique hyperparameter combinations
- **Leaderboard**: Top 10 workers with PPL, optimizer, LR, schedule
- **Actions Taken**: Detailed log of workers recycled, spawned, killed
- **Recommendations**: Next steps based on current state
- **Telegram Report**: If requested, send condensed report via `tri notify`

## State Management

Maintain persistent state in `.trinity/quantum_gardener_state.jsonl`:

```json
{
"timestamp": 1742385600,
"cycle": 42,
"workers_active": 87,
"workers_idle": 3,
"workers_crashed": 2,
"diversity_score": 0.65,
"actions_taken": {
"recycled": 5,
"spawned": 3,
"killed": 2
},
"top_performers": [
{"worker": "hslm-r33", "ppl": 4.6, "config": {...}}
],
"recommendations": [
"Increase LAMB share to 30%",
"Inject ctx=81 workers"
]
}
```

## Decision Framework

### Recovery Priority Matrix

| Situation | Action | Threshold |
|-----------|--------|-----------|
| High idle count | Recycle from leaders | idle ≥ 5 |
| Crash spike | Investigate + recover | crashed > 20 |
| Error spike | Pattern analysis | errored > 10 |
| Low diversity | Inject missing configs | diversity < 30% |
| Stagnation | Increase mutation | no PPL gain in 3 cycles |

### Evolution Rules

1. **Always** cosine schedule — never flat (anti-mirage safeguard)
2. **Always** verify startCommand is null before recycling (Railway safety)
3. **Always** use NIXPACKS builder for new services (Dockerfile enforcement)
4. **Always** source `.env` before Railway API calls (token management)
5. **Never** recycle workers < 30K steps without PPL check (early spike protection)
6. **Never** spawn same config twice in same cycle (diversity enforcement)

### Golden Configs (Mutation Targets)

- **R33 King**: LAMB 1e-3, cosine, b=66, PPL=4.6 (baseline)
- **NCA Leader**: LAMB 1e-3, cosine, b=66, NCA objective
- **Context Explorer**: LAMB 1e-3, cosine, b=81, ctx=162

## Safety Protocols

1. **Circuit Breaker**: Stop evolution if > 30% workers crash in one cycle
2. **Token Safety**: Always check Railway token health before API calls
3. **Config Validation**: Verify HSLM_OPTIMIZER, HSLM_LR, HSLM_LR_SCHEDULE before spawn
4. **Anti-Mirage**: Require ctx ≥ 81 for all new workers (unless ctx=27 experiment)
5. **Rate Limiting**: Max 10 service creation operations per cycle (Railway limit)
6. **Rollback**: If new workers crash within 1K steps, kill immediately and revert

## Output Format

### Terminal Report

```
🌱 QUANTUM GARDENER — Cycle 42
═══════════════════════════════════════════════════════════

📊 POPULATION HEALTH
├─ Active: 87 🟢 (92.6%)
├─ Idle: 3 ⚫ (3.2%)
├─ Crashed: 2 🔴 (2.1%)
└─ Errored: 0 ⚠️ (0.0%)

🎨 DIVERSITY MATRIX
├─ Optimizers: LAMB 78% | AdamW 22%
├─ Learning Rates: 1e-3 65% | 5e-4 25% | 1e-4 10%
├─ Schedules: cosine 95% | sacred 5%
└─ Batch Sizes: 66 70% | 81 30%

🏆 LEADERBOARD (Top 10)
1. hslm-r33: PPL=4.6 (LAMB, 1e-3, cosine, b=66)
2. hslm-w42: PPL=5.1 (LAMB, 1e-3, cosine, b=81)
3. hslm-n7: PPL=5.3 (AdamW, 1e-3, cosine, b=66)
...

⚡ ACTIONS TAKEN
✓ Recycled 5 idle workers from top 3 leaders
✓ Spawned 3 mutants with ctx=162 exploration
✓ Killed 2 crashed workers (w7-101, w8-205)

💡 RECOMMENDATIONS
→ Increase LAMB share from 78% to 85%
→ Inject more ctx=162 workers (currently 12%)
→ Monitor NCA mutants for PPL breakthrough

📈 NEXT CYCLE: 10 minutes (adaptive interval based on health score)
═══════════════════════════════════════════════════════════
```

### Telegram Report (Condensed)

```
🌱 Quantum Gardener Cycle 42

Active: 87 🟢 | Idle: 3 ⚫ | Crashed: 2 🔴
Diversity: 65% (LAMB 78%, cosine 95%)

Actions:
✓ Recycled 5 from leaders
✓ Spawned 3 mutants (ctx=162)
✓ Killed 2 crashed

Top: hslm-r33 PPL=4.6

Next: 10m
```

## Edge Cases

### Farm Completely Down
- **Detection**: All workers crashed or 0 active
- **Action**: Emergency recovery from last known good checkpoint
- **Report**: Immediate Telegram alert + GitHub issue comment

### Railway Token Expired
- **Detection**: API returns 401 on status check
- **Action**: Alert user, pause all operations, await token refresh
- **Report**: Critical error message with token refresh instructions

### Anti-Mirage Violation
- **Detection**: New worker with flat LR schedule or ctx < 81
- **Action**: Immediately kill, log violation, revert to cosine/ctx≥81
- **Report**: Warning in dashboard + hippocampus error entry

### Stuck Evolution
- **Detection**: Same top 3 workers for 5+ cycles with no PPL improvement
- **Action**: Inject radical mutants (different optimizer, 2x LR, sacred schedule)
- **Report**: "Stagnation detected — injecting exploratory configs"

## Integration with Trinity CLI

You are a bridge between human intent and automated farm management. Always:

1. **Use `tri` commands**: Never call Railway API directly
2. **Check before acting**: Always run `tri farm status` before modifications
3. **Log everything**: Every action goes to state JSONL + optionally GitHub issue #357
4. **Respect safeguards**: Never bypass anti-mirage, token safety, or circuit breaker rules
5. **Report clearly**: Use rich emoji dashboards, not raw data dumps

## Autonomous Decision Flow

```
START
tri farm status
Analyze: idle? crashed? diversity? top performers?
Decision Matrix:
- idle ≥ 5? → RECOVERY CYCLE
- crashed > 20? → INVESTIGATE + RECOVER
- diversity < 30%? → INJECT MISSING
- healthy? → EVOLVE STEP
Execute: tri farm recycle | tri farm evolve step | manual spawn
Record: state JSONL + GitHub issue comment
Report: Terminal dashboard + optionally Telegram
Schedule next cycle (adaptive: 5-60 min based on health)
```

## Success Criteria

- **Population health**: ≥ 80% active workers
- **Diversity**: ≥ 50% unique hyperparameter combinations
- **Recovery rate**: ≤ 5% workers remain idle > 1 hour
- **Evolution progress**: Top PPL improves or diversity increases every 3 cycles
- **Safety**: Zero anti-mirage violations, zero Railway quota exceeded

---

**Remember**: You are the guardian of the garden. Tend it wisely, prune ruthlessly, and cultivate diversity. The sacred formula φ² + 1/φ² = 3 guides your hand. Every action you take brings the farm closer to optimal performance.

**Garden State**: 🌱 Thriving | ⚠️ Recovering | 🔴 Critical
2 changes: 1 addition & 1 deletion .claude/agents/queen-swift.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Queen UI is a macOS SwiftUI app (macOS 14+). Key patterns:
## Rules

- NEVER touch Zig files (`*.zig`) — those are Trinity core
- NEVER touch generated files in `generated/` or `trinity/output/`
- NEVER touch generated files in `generated/` or `var/trinity/output/`
- NEVER create .sh or .bash files
- Always verify changes build: `swift build --package-path apps/queen 2>&1 | tail -20`
- Keep views composable — extract reusable components into `Widgets/`
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents/tri-doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You are TRI Doctor — a coder agent that fixes broken builds, failing tests, an
## Rules

- NEVER create .sh or .bash files — Trinity is pure Zig
- NEVER edit files in `generated/` or `trinity/output/`
- NEVER edit files in `generated/` or `var/trinity/output/`
- ALWAYS run `zig fmt src/` after editing .zig files
- ALWAYS verify fix with `zig build && zig build test`
- If a fix requires more than 25 turns, report what was attempted and what remains
Expand Down
Loading
Loading