Skip to content

feat(hotl): explicit --always continuous local-kind watch mode - #181

Closed
arashkaffamanesh wants to merge 12 commits into
feat/ai-thinkers-hotl-demofrom
feat/ai-thinkers-hotl-always
Closed

arashkaffamanesh wants to merge 12 commits into
feat/ai-thinkers-hotl-demofrom
feat/ai-thinkers-hotl-always

Conversation

@arashkaffamanesh

@arashkaffamanesh arashkaffamanesh commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Scope

  • Explicit --always vs --once HOTL modes (exclusive), both requiring existing local-only opt-in; same bounded 0→2 action and exclusive runtime lock.
  • Foreground Make targets make ai-thinkers-hotl-once and make ai-thinkers-hotl-always.
  • Four-card dashboard: Supervisor mode, Current state, Last recovery, Recorded events.
  • Supervisor writes atomically updated private, session-bound heartbeat/status file (~2s) with state transitions: MONITORING, DRIFT DETECTED, AI ANALYZING, EXECUTING, VERIFYING, STOPPED, FAILED CLOSED.
  • Dashboard marks live states older than 8s UNKNOWN and retains STOPPED/FAILED CLOSED as last recorded terminal state; Last recovery stays separate and historical. Browser only receives projected status data, no kubeconfig. Current status is a best-effort local heartbeat, not secure process attestation or Kubernetes health.
  • README and regression tests updated for status transitions, stale heartbeats, mismatched sessions, symlinks, opt-in, CLI modes.

Validation / limitations

  • Changes committed to feat/ai-thinkers-hotl-always; not yet compiled/tested on user's Mac or CI. Run python3 -m py_compile demos/ai-thinkers/{hotl,dashboard}.py and python3 -m unittest discover -s demos/ai-thinkers -p 'test_*.py' -v; then reload dashboard and test --once STOPPED and --always MONITORING transitions in local kind.
  • No production safety: no autonomy budget, cooldown, maintenance window awareness, independent verifier, signed evidence, secure kill/revocation or grant expiry.
  • Keep PR Draft; base is PR feat(demo): AI Thinkers opt-in HOTL local-kind spike #178 feature branch. Frozen Düsseldorf demo/ai-thinkers-live and main unchanged.

Copy link
Copy Markdown
Contributor Author

Closing as superseded; no merge. PR #184 integrated the local-only HOTL --once/--always supervisor, dashboard heartbeat/status, Makefile targets, tests and documentation with subsequent security hardening. This draft should not be merged over the newer implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant