Files
timmy-home/heartbeat/last_tick.json
Alexander Whitestone ee7f37c5c7 feat: rewrite KimiClaw heartbeat — launchd, sovereignty fixes, dispatch cap
Rewrote kimi-heartbeat.sh with sovereignty-first design:
- Prefer Tailscale (100.x) over public IP for Gitea API calls
- Use $HOME instead of hardcoded /Users/apayne paths
- Remove token file paths from prompts sent to Kimi API
- Add MAX_DISPATCH=5 cap per heartbeat run
- Proper lockfile with stale detection (10min timeout)
- Correct identity separation: timmy-token for labels, kimi_gitea_token for comments
- Covers 4 repos: timmy-home, timmy-config, the-nexus, hermes-agent
- Label lifecycle: assigned-kimi -> kimi-in-progress -> kimi-done
- Failure handling: removes in-progress label so retry is possible

LaunchAgent: ai.timmy.kimi-heartbeat.plist (every 5 minutes)
Zero LLM cost for polling — bash/curl only. Kimi tokens only for actual work.

All Hermes cron jobs removed — they burned Anthropic tokens for polling.
KimiClaw dispatch is now pure infrastructure, no cloud LLM in the loop.
2026-03-30 17:59:43 -04:00

39 lines
1.1 KiB
JSON

{
"tick_id": "20260330_212052",
"timestamp": "2026-03-30T21:20:52.930215+00:00",
"perception": {
"gitea_alive": true,
"model_health": {
"provider": "local-llama.cpp",
"provider_base_url": "http://localhost:8081/v1",
"provider_model": "hermes4:14b",
"local_inference_running": true,
"models_loaded": [
"NousResearch_Hermes-4-14B-Q4_K_M.gguf"
],
"api_responding": true,
"inference_ok": false,
"inference_error": "HTTP Error 500: Internal Server Error",
"latest_session": "session_d8c25163-9934-4ab2-9158-ff18a31e30f5.json",
"latest_export": "session_d8c25163-9934-4ab2-9158-ff18a31e30f5.json",
"export_lag_minutes": 0,
"export_fresh": true,
"timestamp": "2026-03-30T21:20:52.929294+00:00"
},
"Timmy_Foundation/the-nexus": {
"open_issues": 1,
"open_prs": 1
},
"Timmy_Foundation/timmy-config": {
"open_issues": 1,
"open_prs": 1
},
"huey_alive": true
},
"previous_tick": "20260328_015026",
"decision": {
"actions": [],
"severity": "fallback",
"reasoning": "model unavailable, used hardcoded checks"
}
}