Commit Graph

42 Commits

Author SHA1 Message Date
Alexander Whitestone
d1ebfe00cf feat: Add duplicate PR prevention tools (#1474)
Some checks failed
CI / test (pull_request) Failing after 49s
CI / validate (pull_request) Failing after 46s
Review Approval Gate / verify-review (pull_request) Successful in 5s
Add pre-flight check tools to prevent duplicate PRs from being created
for the same issue. This addresses the irony of creating duplicate PRs
for issue #1128 which was about cleaning up duplicate PRs.

Changes:
- Added scripts/check-existing-prs.sh - Bash script to check for existing PRs
- Added scripts/check_existing_prs.py - Python version of the check
- Added scripts/pr-safe.sh - User-friendly wrapper with guidance
- Added docs/duplicate-pr-prevention.md - Documentation and usage guide

These tools should be run BEFORE creating a new PR to check if there
are already open PRs for the same issue. This prevents the ironic
situation of creating duplicate PRs while trying to clean up duplicate PRs.

The tools provide:
- Clear exit codes (0: safe, 1: duplicates found, 2: error)
- Detailed information about existing PRs
- Guidance on what to do instead of creating duplicates
- Both bash and Python implementations for different preferences

Closes #1474
2026-04-14 19:00:10 -04:00
8755f455b1 feat: implement Issue #1127 triage recommendations (#1403)
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s
Staging Verification Gate / verify-staging (push) Failing after 5s
Merge PR #1403
2026-04-14 22:11:12 +00:00
dbd2e400c0 Merge pull request 'feat: Add forge cleanup tools and documentation (#1128)' (#1437) from q/1128-1776129480 into main
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
2026-04-14 02:23:59 +00:00
2f5f874e84 feat: standardize llama.cpp backend for sovereign local inference (#1123)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
2026-04-14 01:57:11 +00:00
64719324e0 feat: standardize llama.cpp backend for sovereign local inference (#1123)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
2026-04-14 01:52:43 +00:00
Alexander Whitestone
a29299820f feat: Add forge cleanup tools and documentation (#1128)
Some checks failed
CI / test (pull_request) Failing after 1m1s
Review Approval Gate / verify-review (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 1m1s
## Summary
Implements forge cleanup tools and documentation as requested in issue #1128.

## Changes
- scripts/cleanup-duplicate-prs.sh: Automated duplicate PR detection
- docs/forge-cleanup-analysis.md: Analysis of duplicate PRs
- docs/forge-cleanup-report.md: Cleanup report with metrics
- .github/workflows/pr-duplicate-check.yml: Weekly automated checks

Issue: #1128
2026-04-13 21:51:12 -04:00
e438662c97 feat: standardize llama.cpp backend for sovereign local inference (#1123)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
2026-04-14 01:48:17 +00:00
53d9a55444 feat: standardize llama.cpp backend for sovereign local inference (#1123)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
2026-04-14 01:40:14 +00:00
Alexander Whitestone
bb9758c4d2 feat: implement A2A protocol for fleet-wizard delegation (#1122)
Some checks failed
CI / test (pull_request) Failing after 31s
Review Approval Gate / verify-review (pull_request) Failing after 4s
CI / validate (pull_request) Failing after 30s
Implements Google Agent2Agent Protocol v1.0 with full fleet integration:

## Phase 1 - Agent Card & Discovery
- Agent Card types with JSON serialization (camelCase, Part discrimination by key)
- Card generation from YAML config (~/.hermes/agent_card.yaml)
- Fleet registry with LocalFileRegistry + GiteaRegistry backends
- Discovery by skill ID or tag

## Phase 2 - Task Delegation
- Async A2A client with JSON-RPC SendMessage/GetTask/ListTasks/CancelTask
- FastAPI server with pluggable task handlers (skill-routed)
- CLI tool (bin/a2a_delegate.py) for fleet delegation
- Broadcast to multiple agents in parallel

## Phase 3 - Security & Reliability
- Bearer token + API key auth (configurable per agent)
- Retry logic (max 3 retries, 30s timeout)
- Audit logging for all inter-agent requests
- Error handling per A2A spec (-32001 to -32009 codes)

## Test Coverage
- 37 tests covering types, card building, registry, server integration
- Auth (required + success), handler routing, error handling

Files:
- nexus/a2a/ (types.py, card.py, client.py, server.py, registry.py)
- bin/a2a_delegate.py (CLI)
- config/ (agent_card.example.yaml, fleet_agents.json)
- docs/A2A_PROTOCOL.md
- tests/test_a2a.py (37 tests, all passing)
2026-04-13 18:31:05 -04:00
9abe12f596 Merge pull request 'fix: [INFRA] Stand up a local Windows game runtime for Bannerlord on Apple Silicon' (#1289) from mimo/build/issue-720 into main
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s
Staging Verification Gate / verify-staging (push) Failing after 3s
2026-04-13 00:23:06 +00:00
Alexander Whitestone
a5a748dc64 docs: add AI tools org assessment tracker (#1119)
Some checks failed
CI / test (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 17s
Review Approval Gate / verify-review (pull_request) Failing after 3s
Concise implementation checklist extracted from Bezalel's 205-repo scan.
Prioritizes the 7 actionable tools with clear next steps for the fleet.
2026-04-12 19:24:38 -04:00
Alexander Whitestone
bd4b9e0f74 WIP: issue #720 (mimo swarm)
Some checks failed
CI / test (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 16s
Review Approval Gate / verify-review (pull_request) Failing after 2s
2026-04-12 11:55:51 -04:00
ba18e5ed5f Rewrite Fleet Vocabulary — replace Robing pattern with Hermes-native comms
Some checks failed
CI / test (pull_request) Failing after 10s
CI / validate (pull_request) Failing after 17s
Review Approval Gate / verify-review (pull_request) Failing after 3s
2026-04-12 12:09:18 +00:00
e07c210ed7 feat: add metadata for ordinal archive
Some checks failed
CI / test (pull_request) Failing after 10s
CI / validate (pull_request) Failing after 15s
Review Approval Gate / verify-review (pull_request) Failing after 3s
2026-04-11 23:10:03 +00:00
07fb169de1 feat: Sovereign Ordinal Archive - block 944648
Scanned 2026-04-11, documenting philosophical and moral inscriptions on Bitcoin blockchain.
2026-04-11 23:10:02 +00:00
b6980409f6 fix: [MEDIA] Veo/Flow flythrough prototypes for The Nexus and Timmy
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Staging Verification Gate / verify-staging (push) Has been cancelled
Closes #1194

Automated squash merge by mimo swarm.
2026-04-11 00:20:14 +00:00
Alexander Whitestone
220f20c794 feat: add desktop automation primitives to Hermes (#1125)
Some checks failed
CI / test (pull_request) Failing after 8s
CI / validate (pull_request) Failing after 10s
Review Approval Gate / verify-review (pull_request) Failing after 2s
Implements Phase 1 and Phase 2 tooling from issue #1125:

- nexus/computer_use.py: four Hermes tools with poka-yoke safety
    * computer_screenshot() — capture & base64-encode desktop snapshot
    * computer_click(x, y, button, confirm) — right/middle require confirm=True
    * computer_type(text, confirm) — sensitive keywords blocked without confirm=True;
      text value is never written to audit log
    * computer_scroll(x, y, amount) — scroll wheel
    * read_action_log() — inspect recent JSONL audit entries
    * pyautogui.FAILSAFE=True; all tools degrade gracefully when headless

- nexus/computer_use_demo.py: Phase 1 demo (baseline screenshot →
  open browser → navigate to Gitea forge → evidence screenshot)

- tests/test_computer_use.py: 32 unit tests, fully headless
  (pyautogui mocked), all passing

- docs/computer-use.md: API reference, safety table, phase roadmap,
  pilot recipes

- docker-compose.desktop.yml: sandboxed Xvfb + noVNC container

Fixes #1125

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 05:45:27 -04:00
Alexander Whitestone
ef74536e33 feat: add edge-tts as zero-cost voice output provider
Some checks failed
CI / test (pull_request) Failing after 33s
CI / validate (pull_request) Failing after 26s
Review Approval Gate / verify-review (pull_request) Failing after 5s
- Add EdgeTTSAdapter to bin/deepdive_tts.py (provider key: "edge-tts")
  default voice: en-US-GuyNeural, no API key required
- Add EdgeTTS class to intelligence/deepdive/tts_engine.py
- Update HybridTTS to try edge-tts as fallback between piper and elevenlabs
- Add --voice-memo flag to bin/night_watch.py for spoken nightly reports
- Add edge-tts>=6.1.9 to requirements.txt
- Create docs/voice-output.md documenting all providers and fallback chain
- Add tests/test_edge_tts.py with 17 unit tests (all mocked, no network)

Fixes #1126

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 06:29:26 -04:00
Bezalel
a0ee7858ff feat(bezalel): MemPalace ecosystem — validation, audit, sync, auto-revert, Evennia integration
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-07 14:47:12 +00:00
caa7823cdd [claude] Poka-yoke: make test skips/flakes impossible to ignore (#1094) (#1104)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-07 14:38:49 +00:00
Bezalel
36222e2bc6 docs(memory): add fleet-wide MemPalace taxonomy standard
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
CI / test (pull_request) Failing after 7s
CI / validate (pull_request) Failing after 4s
2026-04-07 14:26:25 +00:00
33a1c7ae6a [claude] MemPalace follow-up: CmdAsk, metadata fix, taxonomy CI (#1075) (#1091)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
CI / test (pull_request) Failing after 6s
CI / validate (pull_request) Failing after 4s
2026-04-07 14:23:07 +00:00
e957254b65 [claude] MemPalace × Evennia fleet memory scaffold (#1075) (#1088)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-07 14:12:38 +00:00
Groq Agent
a791109460 [groq] [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) (#978)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
CI / test (pull_request) Failing after 6s
CI / validate (pull_request) Failing after 3s
2026-04-07 08:38:28 +00:00
Groq Agent
907c021940 [groq] [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) (#935)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-07 06:47:03 +00:00
22d792bd8c [claude] PR hygiene: reviewer policy + org-wide cleanup (#916) (#923)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-07 06:27:56 +00:00
edcdb22a89 [claude] Archive ghost wizard accounts and clear dead assignments (#827) (#891)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-06 18:16:58 +00:00
286a9c9888 [claude] Offload 27 issues from Timmy to Ezra/Bezalel (#826) (#890)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-06 18:15:20 +00:00
7897a5530d [AUTOGENESIS][Phase I] Hermes v2.0 architecture spec + successor fork spec (#859)
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-06 02:57:57 +00:00
Allegro (Burn Mode)
d6eed4b918 docs: review pass on Burn Mode Operations Manual
Some checks failed
CI / validate (pull_request) Has been cancelled
Improvements:
- Add crash recovery guidance (2.7)
- Add multi-cycle task tracking tip (4.5)
- Add conscience boundary rule — burn mode never overrides SOUL.md (4.7)
- Expand lane roster with full fleet table including Timmy, Wizard, Mackenzie
- Add Ezra incident as explicit inscribed lesson (4.2)
- Add two new failure modes: crash mid-cycle, losing track across cycles
- Convert cron example from pseudocode to labeled YAML block
- General formatting and clarity improvements
2026-04-05 20:59:33 +00:00
5f23906a93 docs: Burn Mode Operations Manual — fleet-wide adoption (#839)
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-05 20:49:40 +00:00
1f0540127a docs: update canonical index with fleet context module (#830)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 17:33:00 +00:00
Ezra
3158d91786 docs: canonical Deep Dive index with test proof
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
- Adds docs/CANONICAL_INDEX_DEEPDIVE.md declaring intelligence/deepdive/ authoritative
- Records 9/9 pytest passing as hard proof
- Maps legacy paths in bin/, docs/, scaffold/, config/
- Ezra burn mode artifact for #830 continuity
2026-04-05 17:12:12 +00:00
30b9438749 [EZRA BURN-MODE] Deep Dive architecture decomposition (the-nexus#830)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 08:58:25 +00:00
781c84e74b Add TTS integration proof for Deep Dive (#830)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Phase 4 implementation: Piper (sovereign) + ElevenLabs (cloud)
with hybrid fallback architecture. Includes working Python code,
voice selection guide, testing commands.

Burn mode artifact by Ezra.
2026-04-05 08:31:33 +00:00
7ac9c63ff9 [DEEP-DIVE] Automated intelligence briefing scaffold — supports #830
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 07:42:18 +00:00
90c4768d83 [ezra] Deep Dive quick start guide (#830)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 05:19:04 +00:00
899e48c1c1 [ezra] Add execution runbook for Deep Dive pipeline #830
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 03:45:08 +00:00
8ba0bdd2f6 [ezra] Deep Dive scaffold #830: DEEPSDIVE_ARCHITECTURE.md
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-05 01:51:01 +00:00
43fb9cc582 [claude] Add FLEET_VOCABULARY.md — fleet shared language reference (#815) (#829)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
2026-04-04 19:44:49 +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
Alexander Whitestone
f4dd5a0d17 feat: add Google AI Ultra integration plan
Some checks failed
CI / validate (pull_request) Failing after 6s
Refs #739

Master tracking document for integrating all Google AI Ultra products into
Project Timmy and The Nexus. Covers 10 products across 5 phases:

Phase 1: Identity & Branding (#740, #741, #742, #680)
Phase 2: Research & Planning (#743, #744, #745, #746)
Phase 3: Prototype & Build (#747, #748, #749, #750, #681)
Phase 4: Media & Content (#682, #751, #752, #753)
Phase 5: Advanced Integration (#754-#762)

Includes API quick reference, key URLs, and hidden feature inventory.
2026-03-29 21:58:16 -04:00