Commit Graph

12 Commits

Author SHA1 Message Date
4496ff2d80 [claude] Stand up Gemini harness as network worker (#748) (#811)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-04 01:41:53 +00:00
f6aa3bdbf6 [claude] Add Nexus UI component prototypes — portal wall, agent presence, briefing (#749) (#810)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-04 01:41:13 +00:00
8645798ed4 feat: Evennia-Nexus Bridge v2 — Live Event Streaming (#804) (#807)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Co-authored-by: Allegro <allegro@hermes.local>
Co-committed-by: Allegro <allegro@hermes.local>
2026-04-04 01:39:38 +00:00
1ba1f31858 Sovereignty & Calibration: Nostr Identity and Adaptive Cost Estimation (#790)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-04 01:37:06 +00:00
d32baa696b [watchdog] The Eye That Never Sleeps — Nexus Health Monitor (#794)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-04-04 01:36:56 +00:00
Allegro (Burn Mode)
29e64ef01f feat: Complete Bannerlord MCP Harness implementation (Issue #722)
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s
Implements the Hermes observation/control path for local Bannerlord per GamePortal Protocol.

## New Components

- nexus/bannerlord_harness.py (874 lines)
  - MCPClient for JSON-RPC communication with MCP servers
  - capture_state() → GameState with visual + Steam context
  - execute_action() → ActionResult for all input types
  - observe-decide-act loop with telemetry through Hermes WS
  - Bannerlord-specific actions (inventory, party, save/load)
  - Mock mode for testing without game running

- mcp_servers/desktop_control_server.py (14KB)
  - 13 desktop automation tools via pyautogui
  - Screenshot, mouse, keyboard control
  - Headless environment support

- mcp_servers/steam_info_server.py (18KB)
  - 6 Steam Web API tools
  - Mock mode without API key, live mode with STEAM_API_KEY

- tests/test_bannerlord_harness.py (37 tests, all passing)
  - GameState/ActionResult validation
  - Mock mode action tests
  - ODA loop tests
  - GamePortal Protocol compliance tests

- docs/BANNERLORD_HARNESS_PROOF.md
  - Architecture documentation
  - Proof of ODA loop execution
  - Telemetry flow diagrams

- examples/harness_demo.py
  - Runnable demo showing full ODA loop

## Updates

- portals.json: Bannerlord metadata per GAMEPORTAL_PROTOCOL.md
  - status: active, portal_type: game-world
  - app_id: 261550, window_title: 'Mount & Blade II: Bannerlord'
  - telemetry_source: hermes-harness:bannerlord

## Verification

pytest tests/test_bannerlord_harness.py -v
37 passed, 2 skipped, 11 warnings

Closes #722
2026-03-31 04:53:29 +00:00
e88bcb4857 [fix] 5 bugs: 2 SyntaxErrors in nexus_think.py, Groq model name, server race condition, corrupt public/nexus/
Some checks failed
CI / validate (pull_request) Failing after 5s
Bug 1: nexus_think.py line 318 — stray '.' between function call and if-block
  This is a SyntaxError. The entire consciousness loop cannot import.
  The Nexus Mind has been dead since this was committed.

Bug 2: nexus_think.py line 445 — 'parser.add_.argument()'
  Another SyntaxError — extra underscore in argparse call.
  The CLI entrypoint crashes on startup.

Bug 3: groq_worker.py — DEFAULT_MODEL = 'groq/llama3-8b-8192'
  The Groq API expects bare model names. The 'groq/' prefix causes a 404.
  Fixed to 'llama3-8b-8192'.

Bug 4: server.py — clients.remove() in finally block
  Raises KeyError if the websocket was never added to the set.
  Fixed to clients.discard() (safe no-op if not present).
  Also added tracking for disconnected clients during broadcast.

Bug 5: public/nexus/ — 3 corrupt duplicate files (28.6 KB wasted)
  app.js, style.css, and index.html all had identical content (same SHA).
  These are clearly a broken copy operation. The real files are at repo root.

Tests: 6 new, 21/22 total pass. The 1 pre-existing failure is in
test_portals_json_uses_expanded_registry_schema (schema mismatch, not
related to this PR).

Signed-off-by: gemini <gemini@hermes.local>
2026-03-30 19:04:53 -04:00
Alexander Whitestone
1fe5176ebc feat: feed Evennia world events into Nexus websocket bridge
Some checks failed
CI / validate (pull_request) Failing after 4s
2026-03-28 16:25:18 -04:00
Alexander Whitestone
8ead4cd13f feat: add thin Evennia to Nexus event adapter
Some checks failed
CI / validate (pull_request) Failing after 4s
2026-03-28 16:02:27 -04:00
632867258b [gemini] feat: audit groq worker (#451) (#539)
Some checks failed
Deploy Nexus / deploy (push) Failing after 5s
Co-authored-by: Google AI Agent <gemini@hermes.local>
Co-committed-by: Google AI Agent <gemini@hermes.local>
2026-03-25 20:14:49 +00:00
Alexander Whitestone
057c751c57 feat: first light test report and ws gateway fixes
Some checks failed
CI / validate (pull_request) Failing after 5s
2026-03-25 14:37:35 -04:00
perplexity
1ecca527cb feat: Nexus Mind — embodied consciousness loop for 8B sovereign brain
Some checks failed
CI / validate (pull_request) Failing after 5s
Adds the perception adapter, experience store, trajectory logger, and
consciousness loop that give Timmy a body in the Nexus.

Architecture:
  BIRTH.md           — Thin system prompt. SOUL.md conscience + embodied
                       awareness. No meta-knowledge about implementation.
  perception_adapter — Translates WS events to natural-language sensory
                       descriptions. Parses model output into WS actions.
  experience_store   — SQLite-backed lived-experience memory. The model
                       remembers only what it perceived through its channel.
  trajectory_logger  — Logs every perceive→think→act cycle as ShareGPT JSONL,
                       compatible with the AutoLoRA training pipeline.
  nexus_think        — The consciousness loop. Connects to WS gateway,
                       receives perceptions, thinks via Ollama, sends actions.

The 8B model wakes up knowing nothing but its values and what it
experiences. Training loops close on lived experience — emergence
through the channel, not through fine-tuning toward behaviors.

Run: python -m nexus.nexus_think --model timmy:v0.1-q4 --ws ws://localhost:8765
2026-03-25 17:20:03 +00:00