221 Commits

Author SHA1 Message Date
Michael Mikovsky 10f1aa52a7 Update PROTOCOL.md 2026-04-24 19:25:27 -06:00
Michael Mikovsky b38d9d2149 finish treetest documentation sweep 2026-04-24 18:30:44 -06:00
Michael Mikovsky 9e74f6d6f3 Update CLAUDE.md 2026-04-24 17:49:15 -06:00
Michael Mikovsky c1a7a19c58 Update builders.rs 2026-04-24 17:45:04 -06:00
Michael Mikovsky 5a5323514b document remaining treetest modules 2026-04-24 17:44:13 -06:00
Michael Mikovsky ef62befe9a expand treetest documentation and rationale 2026-04-24 17:34:05 -06:00
Michael Mikovsky 943c820f30 further split treetest modules and docs 2026-04-24 17:21:39 -06:00
Michael Mikovsky 539d98a9e9 refactor treetest into documented modules 2026-04-24 17:02:54 -06:00
Michael Mikovsky 18cdefaefb add realistic root knowledge mode to treetest 2026-04-24 16:46:56 -06:00
Michael Mikovsky de3a7d3381 refactor treetest app into ui modules 2026-04-24 16:22:17 -06:00
Michael Mikovsky 2b633ce019 add treetest protocol simulator and ui 2026-04-24 16:19:42 -06:00
Michael Mikovsky 555663bd3d refactor: split logger into focused modules 2026-04-24 14:32:59 -06:00
Michael Mikovsky 11674bae8f Add newlines and reformat for better code quality 2026-04-24 14:27:55 -06:00
Michael Mikovsky fc8638d014 refactor: split protocol endpoint into focused modules 2026-04-24 14:25:35 -06:00
Michael Mikovsky 71afc49ac9 fix: remove panics from handle_introspection 2026-04-24 14:15:40 -06:00
Michael Mikovsky 3f1116c26a Improve protocol implementation. 2026-04-24 14:10:03 -06:00
Michael Mikovsky 49901b6370 Reorganize protocol. 2026-04-24 13:37:30 -06:00
Michael Mikovsky dcf0fe230b Work on implementing the protocol. 2026-04-24 12:32:24 -06:00
Michael Mikovsky 275f6c4ba2 Remove some redundency. 2026-04-23 22:39:01 -06:00
Michael Mikovsky 24e84084ac Fix 5. 2026-04-23 22:28:52 -06:00
Michael Mikovsky fd5916b65a Fix 4. 2026-04-23 22:17:49 -06:00
Michael Mikovsky 8d2f22cab9 Fix 3. 2026-04-23 22:09:25 -06:00
Michael Mikovsky 5213f38680 Fix some more clairity 2026-04-23 22:01:35 -06:00
Michael Mikovsky cc61d297de Some improvements. 2026-04-23 21:47:20 -06:00
Michael Mikovsky 351bf8f5ae Combine end and cancel since hook and stream are combined. 2026-04-23 20:00:49 -06:00
Michael Mikovsky 43b182468b Merge streams and hooks. 2026-04-23 15:55:38 -06:00
Michael Mikovsky 1fe6275169 Improve clarity of PROTOCOL.md 2026-04-23 15:36:27 -06:00
Michael Mikovsky 6c91b40441 Add revision 2026-04-23 06:36:39 -06:00
Michael Mikovsky 717f5332e8 Update PROTOCOL.md 2026-04-22 21:39:08 -06:00
Michael Mikovsky d0ca53f5c7 Working network test 2026-04-22 13:12:25 -06:00
Michael Mikovsky cd301dea67 Add documentation to treetest 2026-04-22 10:25:03 -06:00
Michael Mikovsky 1af134104e Add TreeTest 2026-04-22 10:03:24 -06:00
Michael Mikovsky fcb3b2be17 feat: complete protocol spec and initial implementation
- Write PROTOCOL.md with full wire format spec and 8 real-world scenario
  analyses (reconnect, multi-operator, large files, AV evasion, router crash,
  malformed packets, future pivoting)

- Rewrite workspace structure:
  - unshell lib: protocol types (PacketHeader, TreeRequest/Response,
    HandshakeMessage/Ack), Transport trait, TcpTransport, Tree routing
  - ush-router: router binary with per-node threads, NodeRegistry with
    longest-prefix path matching, packet relay
  - ush-payload: implant binary with reconnect loop, module tree, InfoModule
  - ush-cli: operator REPL with rustyline, session management, command parser

- Protocol design: two-part rkyv frame [header][payload]; router reads only
  header for routing, payload bytes forwarded opaque

- All code documented with doc comments and examples
- Zero warnings, zero errors across entire workspace
- 32 tests pass (unit tests for tree routing, TCP transport, framing,
  command parsing, node registry)
2026-04-20 23:38:02 -06:00
Michael Mikovsky 959ea469a8 Fix bug in proc_impl_switcher.rs 2026-04-20 23:14:07 -06:00
Michael Mikovsky 3fdabf96ff chore: add gstack skill routing rules to CLAUDE.md 2026-04-20 22:48:51 -06:00
Michael Mikovsky 512823585f Fix core dump bug in tree path search 2026-03-18 12:01:21 -06:00
Michael Mikovsky 95d335a271 Add tree type 2026-03-17 17:29:36 -06:00
Michael Mikovsky f3a59f5082 Convert to no_std, add request type 2026-03-17 16:40:05 -06:00
Michael Mikovsky 3a5605bc0d Remove error type 2026-03-17 15:15:37 -06:00
Michael Mikovsky 4b949f6b7e Merge pull request #1 from Astatin3/rewrite
Code cleanup
2026-03-05 10:42:02 -07:00
Michael Mikovsky 2c3962fa99 Remove warnings from unused colors. 2026-03-04 12:22:23 -07:00
Michael Mikovsky 07e3f83bcf Put logging time behind log_debug 2026-03-04 10:00:06 -07:00
Michael Mikovsky 76eb533911 Fix error in pretty logger. 2026-03-04 09:30:27 -07:00
Michael Mikovsky fd71e6930f Add symbolic refs for fn names 2026-02-20 19:23:36 -07:00
Michael Mikovsky 689c4ac714 Add refrerence symbolic strings 2026-02-20 18:17:11 -07:00
Michael Mikovsky 55d2deef1c Add init checking to PrettyLogger 2026-02-20 15:55:21 -07:00
Michael Mikovsky 5a60f3f503 Obfuscation macros are now defined more easily 2026-02-20 15:47:58 -07:00
Michael Mikovsky ba1772e512 Make base62 project independent, more concise macro definitions. 2026-02-20 14:54:12 -07:00
Michael Mikovsky 6c6625e9ad Make the log macro's definition more consise 2026-02-20 14:34:32 -07:00
Michael Mikovsky 219c7254fb Remove old code 2026-02-20 14:13:41 -07:00