KIPP UI v1, memory updates, daily notes 2026-02-10
This commit is contained in:
@ -64,3 +64,46 @@ Major session analyzing Polymarket/crypto tweets D J forwarded from X feed.
|
||||
- D J sending Telegram crypto signal group export (Option 2: JSON export)
|
||||
- Signal provider uses VWAP-based strategy
|
||||
- Sub-agent researching 5 more wallets
|
||||
|
||||
## Evening Session — KIPP + Leverage Trading
|
||||
|
||||
### Crypto Leverage Trading
|
||||
- Built **short signal scanner** (`scripts/short_scanner.py`) — RSI/VWAP/MACD/Bollinger scoring for 29 coins
|
||||
- Built **leverage game engine** (`leverage_game.py`) — $10K, 20x max leverage, longs/shorts/liquidations
|
||||
- Built **auto-trader** (`scripts/leverage_trader.py`) — connects scanners to game, TP/SL/trailing stops
|
||||
- "Leverage Challenge" game initialized, player "case"
|
||||
- Systemd timer every 15min
|
||||
- First scan: market quiet, no strong signals (highest short score 40 on FIL)
|
||||
|
||||
### KIPP Setup
|
||||
- KIPP VM: 192.168.86.100 (Proxmox CT, 8 cores, 8GB RAM, Ubuntu 24.04)
|
||||
- Installed Node.js 22, OpenClaw 2026.2.9
|
||||
- Set up SSH key auth from Case's VM
|
||||
- Created KIPP identity: SOUL.md, AGENTS.md, MEMORY.md, USER.md
|
||||
- Initially tried GLM-4.7 Flash via llama.cpp — had issues, switched to Claude
|
||||
- Configured Telegram bot: @dzclaw_kipp_bot (token: 8535439246:AAE...)
|
||||
- Webchat accessible via https://kipp.host.letsgetnashty.com/
|
||||
- Gateway token: kipp-local-token-2026
|
||||
- Proxmox firewall was blocking LAN access — D J disabled it
|
||||
- Needed trustedProxies, allowedOrigins, dangerouslyDisableDeviceAuth for reverse proxy
|
||||
- D J ran `openclaw configure` to set up Anthropic auth
|
||||
- KIPP is LIVE on Claude + Telegram
|
||||
- Name confirmed: KIPP (not Kip)
|
||||
|
||||
### KIPP Local LLM Attempt (Late Session)
|
||||
- Goal: Switch KIPP from Claude to local GLM-4 Flash 30B (q4) on llama.cpp at 192.168.86.40:8080/v1
|
||||
- llama.cpp server confirmed running and responding
|
||||
- Multiple openclaw.json config attempts failed — schema validation errors
|
||||
- Key schema findings for `openclaw.json`:
|
||||
- `gateway.bind`: must be enum (auto/lan/loopback/custom/tailnet)
|
||||
- `agents.defaults.model`: must be `{ primary: string, fallbacks?: string[] }`
|
||||
- `models.providers`: array of `{ baseUrl, apiKey, api, models[] }` for custom endpoints
|
||||
- `auth.profiles`: only allows provider/mode/email — NOT baseURL/apiKey
|
||||
- Gateway service installed but crashing on config validation
|
||||
- **Status: BLOCKED** — need to apply correct config schema, was mid-fix when session compacted
|
||||
|
||||
### Infrastructure
|
||||
- SSH keys generated on Case's VM, copied to KIPP VM
|
||||
- `loginctl enable-linger` set for boot persistence
|
||||
- sshpass installed on Case's VM
|
||||
- llama.cpp server: 192.168.86.40:8080/v1 (GLM-4 Flash 30B q4)
|
||||
|
||||
62
memory/2026-02-10.md
Normal file
62
memory/2026-02-10.md
Normal file
@ -0,0 +1,62 @@
|
||||
# 2026-02-10 — Monday Night / Tuesday Morning
|
||||
|
||||
## KIPP Build Session
|
||||
Major KIPP infrastructure session with D J.
|
||||
|
||||
### Completed
|
||||
- **KIPP Gitea account** — user: kipp, repo: git.letsgetnashty.com/kipp/workspace (private)
|
||||
- **KIPP switched to local LLM** — llamacpp/glm-4.7-flash as primary, Claude Sonnet as fallback
|
||||
- **KIPP ChromaDB memory** — collection `kipp-memory` (ccf4f5b6-a64e-45b1-bf1b-7013e15c3363), seeded 9 docs
|
||||
- **Ollama URL updated** — 192.168.86.40:11434 (same machine as llama.cpp, not the old 192.168.86.137)
|
||||
- **KIPP model config tuned** — maxTokens 2048, contextWindow 32768, auto-recall 1 result
|
||||
- **KIPP web UI v1** — thin client at https://kippui.host.letsgetnashty.com/
|
||||
- WebSocket JSON-RPC protocol v3 working (connect handshake, chat.send, streaming)
|
||||
- Weather widget, grocery list, timers, quick actions, mic button
|
||||
- Served from kipp-ui.service on port 8080
|
||||
- Gateway at kipp.host.letsgetnashty.com (port 18789)
|
||||
- CORS handled in Caddy config
|
||||
- **Meg added to USER.md** — "the boss"
|
||||
- **@RohOnChain tweet analyzed** — Kelly Criterion / gabagool22 ($788K PnL), mostly legit math but misleading framing
|
||||
|
||||
### Key Findings
|
||||
- GLM-4 Flash is a thinking model — burns ~200 tokens reasoning before responding
|
||||
- 32K context split across 4 slots = 8K effective per conversation
|
||||
- D J has 30GB free RAM on llama.cpp server — could bump to 128K context
|
||||
- OpenClaw WebSocket protocol: JSON-RPC v3, needs connect with client{id,version,platform,mode}, auth{token}, minProtocol:3
|
||||
- Event types: `agent` (stream:assistant for deltas, stream:lifecycle for start/end), `chat` (state:delta/final)
|
||||
- Caddy reverse proxy handles both services: kippui→8080, kipp→18789
|
||||
- `dangerouslyDisableDeviceAuth: true` still requires auth token in connect params
|
||||
|
||||
### KIPP Infrastructure
|
||||
- **VM:** 192.168.86.100 (wdjones user, SSH key from Case)
|
||||
- **llama.cpp:** 192.168.86.40:8080 (GLM-4 Flash 30B q4, 2 GPUs 12GB+10GB, 32GB RAM)
|
||||
- **Ollama:** 192.168.86.40:11434 (nomic-embed-text for embeddings)
|
||||
- **ChromaDB:** 192.168.86.25:8000 (kipp-memory collection)
|
||||
- **Gitea:** kipp:K1pp-H0me-2026! @ git.letsgetnashty.com/kipp/workspace
|
||||
- **Telegram:** @dzclaw_kipp_bot
|
||||
- **Web UI:** https://kippui.host.letsgetnashty.com/ (port 8080)
|
||||
- **Gateway:** https://kipp.host.letsgetnashty.com/ (port 18789)
|
||||
- **Token:** kipp-local-token-2026
|
||||
|
||||
### Next (Night Shift)
|
||||
- **Redesign KIPP UI** — Alexa+ inspired dashboard-first layout
|
||||
- Widget grid: weather, calendar, grocery list, smart home, photos
|
||||
- Chat hidden by default — appears on "Hey KIPP" / button press
|
||||
- D J sent Alexa Echo Show screenshot as reference
|
||||
- Research Alexa+ gen AI UI patterns
|
||||
- General improvements across projects
|
||||
|
||||
### Caddy Config (D J's reverse proxy)
|
||||
```
|
||||
kippui.host.letsgetnashty.com {
|
||||
reverse_proxy 192.168.86.100:8080
|
||||
}
|
||||
kipp.host.letsgetnashty.com {
|
||||
header Access-Control-Allow-Origin "https://kippui.host.letsgetnashty.com"
|
||||
header Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||
header Access-Control-Allow-Headers "Content-Type, Authorization"
|
||||
@options method OPTIONS
|
||||
handle @options { respond 204 }
|
||||
reverse_proxy 192.168.86.100:18789
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user