Commit Graph

53 Commits

Author SHA1 Message Date
Allegro
c134081f3b [#94] Add quick reference and deployment checklist for production 2026-03-30 16:46:35 +00:00
Allegro
0d8926bb63 [#94] Add operations dashboard and setup script for Uni-Wizard v4 2026-03-30 16:45:35 +00:00
Allegro
11bda08ffa Add PR description for Uni-Wizard v4 2026-03-30 16:44:29 +00:00
Allegro
be6f7ef698 [FINAL] Uni-Wizard v4 Complete — Four-Pass Architecture Summary 2026-03-30 16:41:28 +00:00
Allegro
bdb8a69536 [DOCS] Allegro Lane v4 — Narrowed Definition
Explicit definition of Allegro narrowed lane:

**Primary (80%):**
- Gitea Bridge (40%): Poll issues, create PRs, comment on status
- Hermes Bridge (40%): Cloud model access, telemetry streaming to Timmy

**Secondary (20%):**
- Redundancy/Failover (10%): Health checks, VPS takeover, Syncthing mesh
- Uni-Wizard Operations (10%): Service monitoring, restart on failure

**Explicitly NOT:**
- Make sovereign decisions (Timmy decides)
- Authenticate as Timmy (identity remains local)
- Store long-term memory (forward to Timmy)
- Work without connectivity (value is cloud bridge)

**Success Metrics:**
- Issue triage: < 5 min
- PR creation: < 2 min
- Telemetry lag: < 100ms
- Uptime: 99.9%
- Failover: < 30s

Allegro provides connectivity, redundancy, and dispatch.
Timmy retains sovereignty, decision-making, and memory.
2026-03-30 16:40:35 +00:00
Allegro
31026ddcc1 [#76-v4] Final Uni-Wizard Architecture — Production Integration
Complete four-pass evolution to production-ready architecture:

**Pass 1 → Foundation:**
- Tool registry, basic harness, 19 tools
- VPS provisioning, Syncthing mesh
- Health daemon, systemd services

**Pass 2 → Three-House Canon:**
- Timmy (Sovereign), Ezra (Archivist), Bezalel (Artificer)
- Provenance tracking, artifact-flow discipline
- House-aware policy enforcement

**Pass 3 → Self-Improvement:**
- Pattern database with SQLite backend
- Adaptive policies (auto-adjust thresholds)
- Predictive execution (success prediction)
- Hermes bridge for shortest-loop telemetry
- Learning velocity tracking

**Pass 4 → Production Integration:**
- Unified API: `from uni_wizard import Harness, House, Mode`
- Three modes: SIMPLE / INTELLIGENT / SOVEREIGN
- Circuit breaker pattern for fault tolerance
- Async/concurrent execution support
- Production hardening (timeouts, retries)

**Allegro Lane Definition:**
- Narrowed to: Gitea integration, Hermes bridge, redundancy/failover
- Provides: Cloud connectivity, telemetry streaming, issue routing
- Does NOT: Make sovereign decisions, authenticate as Timmy

**Files:**
- v3/: Intelligence engine, adaptive harness, Hermes bridge
- v4/: Unified API, production harness, final architecture

Total: ~25KB architecture documentation + production code
2026-03-30 16:39:42 +00:00
Allegro
fb9243153b [#76-v2] Uni-Wizard v2 — Three-House Architecture with Ezra, Bezalel, and Timmy Integration
Complete second-pass refinement integrating all wizard house contributions:

**Three-House Architecture:**
- Ezra (Archivist): Read-before-write, evidence over vibes, citation discipline
- Bezalel (Artificer): Build-from-plans, proof over speculation, test discipline
- Timmy (Sovereign): Final judgment, telemetry, sovereignty preservation

**Core Components:**
- harness.py: House-aware execution with policy enforcement
- router.py: Intelligent task routing to appropriate house
- task_router_daemon.py: Full three-house Gitea workflow
- tests/test_v2.py: Comprehensive test suite

**Key Features:**
- Provenance tracking with content hashing
- House-specific policy enforcement
- Sovereignty telemetry logging
- Cross-house workflow orchestration
- Evidence-level tracking per execution

Honors canon from specs/timmy-ezra-bezalel-canon-sheet.md:
- Distinct house identities
- No authority blending
- Artifact-flow unidirectional
- Full provenance and telemetry
2026-03-30 15:59:47 +00:00
Allegro
5f549bf1f6 [#79] JSONL Scorecard Generator for overnight loop analysis
Generates comprehensive reports from overnight loop JSONL data:

**Features:**
- Reads ~/shared/overnight-loop/*.jsonl
- Produces JSON and Markdown reports
- Pass/fail statistics with pass rates
- Duration analysis (avg, median, p95)
- Per-task breakdowns
- Hourly timeline trends
- Error pattern analysis
- Auto-generated recommendations

**Reports:**
- ~/timmy/reports/scorecard_YYYYMMDD.json (structured)
- ~/timmy/reports/scorecard_YYYYMMDD.md (human-readable)

**Usage:**
  python uni-wizard/scripts/generate_scorecard.py

Closes #79
2026-03-30 15:50:06 +00:00
a95da9e73d Merge pull request '[#74] Syncthing mesh setup for VPS fleet' (#80) from feature/syncthing-setup into main 2026-03-30 15:45:04 +00:00
5e8380b858 Merge pull request '[#75] VPS provisioning script for sovereign Timmy deployment' (#81) from feature/vps-provisioning into main 2026-03-30 15:30:04 +00:00
Allegro
266d6ec008 [#75] Add VPS provisioning script for sovereign Timmy deployment
- scripts/provision-timmy-vps.sh: Full automated provisioning
- configs/llama-server.service: Inference systemd unit
- configs/timmy-agent.service: Agent harness systemd unit
- docs/VPS_SETUP.md: Setup and troubleshooting guide

Installs llama.cpp, Hermes-3 model, Python venv, firewall rules.
Configures localhost-only inference on port 8081.
2026-03-30 15:22:34 +00:00
Allegro
eadb1eff25 [#74] Add Syncthing mesh setup script and documentation
- Add scripts/setup-syncthing.sh for automated VPS provisioning
- Add docs/SYNCTHING.md with architecture and troubleshooting
- Configure systemd service for auto-start
- Set web UI to localhost-only for security

Allegro VPS: Device ID MK6G5KV-VLTY7KS-FJ6ZN63-RV5ZIRG-7C2GSRS-OSJUDWA-IC6A7UP-NIGMQAE
Ezra VPS: Awaiting SSH access for setup completion
2026-03-30 15:20:01 +00:00
6f9fe7f31b Merge pull request '[DOCS] Ezra and Bezalel wizard houses canon, deployment, and launch report' (#51) from alexander/wizard-houses-ezra-bezalel into main
Reviewed-on: http://143.198.27.163:3000/Timmy_Foundation/timmy-home/pulls/51
2026-03-30 02:06:39 +00:00
Alexander Whitestone
5a47d14b7f docs: record timmy openclaw telegram path 2026-03-30 02:06:39 +00:00
Alexander Whitestone
11f2901f3b docs: note nostr cutover future work 2026-03-30 02:06:39 +00:00
Alexander Whitestone
4072ec56f6 docs: record ezra auth and four-party telegram proof 2026-03-30 02:06:39 +00:00
Alexander Whitestone
6f0052b338 docs: record bezalel codex wake proof 2026-03-30 02:06:39 +00:00
Alexander Whitestone
1632849848 docs: update wizard launch report with telegram proof 2026-03-30 02:06:39 +00:00
Alexander Whitestone
2f8f5f689c docs: add wizard houses launch report 2026-03-30 02:06:39 +00:00
Alexander Whitestone
11cb53932b docs: add wizard telegram bot cutover plan 2026-03-30 02:06:39 +00:00
Alexander Whitestone
bc35d5fa94 docs: define and launch Ezra and Bezalel houses 2026-03-30 02:06:39 +00:00
4f13f49cf5 Merge pull request 'Complete Timmy Bridge Epic - Sovereign Local Timmy Infrastructure' (#65) from feature/timmy-bridge-epic into main 2026-03-30 02:06:06 +00:00
Allegro
3148ded347 Complete Timmy Bridge Epic - Local Timmy Sovereign Infrastructure
This PR delivers the complete communication bridge enabling Local Timmy
(Mac/MLX) to connect to the Wizardly Council via sovereign Nostr relay.

Closes #59 - Nostr relay deployment
- Docker Compose configuration for strfry relay
- Running on ws://167.99.126.228:3334
- Supports NIPs: 1, 4, 11, 40, 42, 70, 86, 9, 45

Closes #60 - Monitoring system
- SQLite database schema for metrics
- Python monitor service (timmy_monitor.py)
- Tracks heartbeats, artifacts, latency
- Auto-reconnect WebSocket listener

Closes #61 - Mac heartbeat client
- timmy_client.py for Local Timmy
- 5-minute heartbeat cycle
- Git artifact creation in ~/timmy-artifacts/
- Auto-reconnect with exponential backoff

Closes #62 - MLX integration
- mlx_integration.py module
- Local inference with MLX models
- Self-reflection generation
- Response time tracking

Closes #63 - Retrospective reports
- generate_report.py for daily analysis
- Markdown and JSON output
- Automated recommendations
- Uptime/latency/artifact metrics

Closes #64 - Agent dispatch protocol
- DISPATCH_PROTOCOL.md specification
- Group channel definitions
- @mention command format
- Key management guidelines

Testing:
- Relay verified running on port 3334
- Monitor logging to SQLite
- All acceptance criteria met

Breaking Changes: None
Dependencies: Docker, Python 3.10+, websockets
2026-03-30 01:49:21 +00:00
f75d12f38d [DOCS] Allegro prep packet and Gitea wizard house onboarding report
Merge wizard house onboarding visibility reports
2026-03-29 23:37:38 +00:00
96e0930f59 docs: add allegro prep and gitea wizard onboarding reports 2026-03-29 23:30:56 +00:00
4ca5e8e100 feat: add sovereign hashtag metrics for archive media (#48) 2026-03-28 20:16:31 +00:00
25c1b32bfb feat: add twitter video media manifest pipeline (#47) 2026-03-28 19:58:32 +00:00
0a421e5ba5 Merge pull request '[TRAINING] Add Evennia telemetry, sample trace, and baseline eval (#37)' (#40) from codex/evennia-training into main 2026-03-28 19:35:04 +00:00
Alexander Whitestone
aca26da71f fix: make Evennia training replay deterministic (#37) 2026-03-28 15:33:43 -04:00
Alexander Whitestone
3f5a174943 feat: add Evennia training baseline and eval harness (#37) 2026-03-28 15:20:32 -04:00
e33856ce02 Merge pull request '[DOCS] Add Evennia world layout and training plan specs' (#39) from codex/evennia-specs into main 2026-03-28 19:06:28 +00:00
Alexander Whitestone
236223dcef docs: add Evennia world and training specs 2026-03-28 13:40:14 -04:00
9a87f4e768 Merge pull request '[IMPLEMENTATION] Bootstrap local Evennia world lane for Timmy (#36)' (#38) from codex/evennia-world into main 2026-03-28 17:35:29 +00:00
Alexander Whitestone
78ec5ad97b feat: bootstrap local Evennia world lane for Timmy (#36) 2026-03-28 13:33:26 -04:00
812c576a7b docs: codify merge proof standard (#32) 2026-03-28 14:03:39 +00:00
3be3a6ed4f feat: add trajectory sanitization utility (#27) 2026-03-28 05:04:44 +00:00
b47e236b7b docs: add NotebookLM research packet and Manus prompts (#24) 2026-03-28 04:44:20 +00:00
Alexander Whitestone
69956b65ca track twitter archive and refresh timmy state 2026-03-27 21:58:27 -04:00
1a51c86468 Merge pull request 'Add Morrowind MCP config + context file — zero-code tuning' (#16) from fix/mcp-morrowind-tool-naming into main
Reviewed-on: http://143.198.27.163:3000/Timmy_Foundation/timmy-home/pulls/16
2026-03-28 00:29:52 +00:00
9fbcc8c4a6 feat: add MCP tool reference — prevents tool name hallucination 2026-03-27 23:22:49 +00:00
db8c61876a feat: add externalized MCP config for Morrowind gameplay tuning 2026-03-27 23:22:48 +00:00
4189e3d12c feat: add MCP tool reference context file
Hermes loads this as session context so the model always has
exact tool names. Prevents mcp_morro hallucination loops.
2026-03-27 23:22:36 +00:00
67068aafd7 feat: add externalized MCP config for Morrowind
All gameplay tuning — tool names, iteration guards, perception settings,
trajectory logging — editable without code changes.
Changes take effect next Hermes session.
2026-03-27 23:22:35 +00:00
300dec2a9a Merge pull request 'Build private Twitter archive pipeline foundation' (#4) from codex/twitter-archive-pipeline into main 2026-03-27 22:15:50 +00:00
Alexander Whitestone
cf5c763d0e feat: add private twitter archive pipeline scripts 2026-03-27 18:09:28 -04:00
2a2157c7f6 Merge pull request 'Update ops checks for Hermes sidecar' (#2) from codex/ops-cutover-checks into main 2026-03-27 21:57:27 +00:00
Alexander Whitestone
e2336a28b9 Update ops checks for Hermes sidecar 2026-03-27 17:35:07 -04:00
9b81d68da4 Merge pull request 'Clarify active architecture and repo boundaries' (#1) from codex/cleanup-boundaries into main 2026-03-27 21:21:54 +00:00
Alexander Whitestone
4f5a59641b docs: clarify active architecture and repo boundaries 2026-03-27 17:15:57 -04:00
perplexity
af479d6221 Add pilot.py — Layer 1 deterministic motor control
Three-layer architecture (Layer 1 of 3):
- Behavior tree: approach NPCs, enter doors, pick up items, explore
- Stuck detection + random unstick maneuvers
- Optional reflex model (Layer 2) integration via --reflex flag
- Goal file: Timmy writes strategy to current_goal.txt
- Escalation file: pilot surfaces novel situations for Timmy
- Trajectory logging: every perception-action pair to JSONL for DPO
- Reuses existing perception parser + CGEvent action functions
- Autosave every 100 cycles, graceful Ctrl+C

Usage: python3 ~/.timmy/morrowind/pilot.py
       python3 ~/.timmy/morrowind/pilot.py --reflex --interval 0.5

Refs: #660, #661
2026-03-27 18:15:11 +00:00