Greenacres AI Agent — CTO Mode
Agent Release Center
The official changelog for the AI agent layer — capability additions,
memory system updates, and every change to how CTO Mode operates.
Latest Release
v3.8.0 “Digital Twin”
- SOV-1/2: All Claude API calls routed through Haiku (HAI_MODEL). HAI_STRATEGY_MODEL=sonnet added to hai.conf for strategy-tier calls. Session-cap pre-flight gate in greenacres-hai skips API when credits exhausted.
- SOV-2: Credit monitoring — Claude Credits tile in /admin/ System Health grid showing session%, week%, overage with RAG colour coding. All 4 calling scripts audited and confirmed on Haiku.
- Credit awareness now a first-class platform concern: Usage tracked in HA via claude_usage integration. Session and weekly limits visible on dashboard.
Rollback
No — config change only
·
Severity
Notable
·
Breaking changes
None
Previous Release
Latest Release
v3.7.0 “Occupancy”
- SUGGEST-9:
compute_occupancy_context()— geofence + motion sensor occupancy model. Returns state (away/home/unknown), confidence (high/medium/low), empty duration, last-motion timestamp, and evidence list. Enrichesdoorbell_nobody_home,night_motion_nobody_home, andsecurity_coverage_gapinsights. Occupancy card on /status/.occupancyblock instatus.json. - Full code review: 6 bugs fixed. Camera recovery cooldown was never persisted (reload retried every 5 min instead of 4h) — fixed by saving state after detector loop. Dead imports (
io,math) and unusedinflux_scalarfunction removed.compute_health_scoresnow uses its parameter instead of global.apply_snoozewrite strategy made consistent with admin-api.front_door_unlockedescalate corrected to severity-conditional. - All documentation updated: /docs/ release history, /ai/ capabilities table, /ai/ agent history, file references. Master plan memory updated to v3.35.0.
Rollback
No — no infrastructure changes
·
Severity
Routine
·
Breaking changes
None
v3.6.0 “Forecast”
- Unified battery trend detector replaces separate lock + camera blocks. Covers patio camera, driveway camera, and front door lock. Warns at 14 days to critical, alerts at 3 days — based on drain rate, not current level.
battery_healthblock added tostatus.jsonevery intelligence run: current %, drain rate, days to critical, charging state, status label per device.- Battery Health section added to
/status/— table showing all devices with level, drain rate, predicted replacement date, and status badge.
Previous Release
v3.5.0 “Verbose”
- Python
loggingmodule added togreenacres-intelligenceandgreenacres-admin-api. Always DEBUG — journald compresses and rotates automatically. - Intelligence engine: INFO summary line each run (insights by severity, snooze count, elapsed time). WARNING on any detector exception (names detector + error).
- journald retention config: 30-day max retention, daily rotation, 500MB cap, compression.
Previous Release
v3.4.0 “Quiet”
- Intelligence engine: dedup window extended 4h → 6h per (insight-id, window) pair — reduces repeat event log entries by ~33%.
- Snooze system: per-alert snooze (4h / 24h / 7d) stored in
/var/lib/greenacres/snooze.json. Snoozed insights are suppressed from status.json and push notifications until expiry. Admin API:GET/POST /snooze,DELETE /snooze/<id>. - Alert Fatigue section on /admin/ — fatigue score (0-100), top 10 noise sources with ×N counts and bar visualisation, snooze controls inline. Loads from
status.json.alert_fatiguecomputed each intelligence run.
Previous Release
v3.3.0 “Control”
- Admin page: Docker Containers section — all 6 containers listed with live running/stopped state, Restart (with confirmation) and Logs buttons.
- Container log viewer: inline panel, last 60 lines with timestamps, refresh button, auto-refresh on restart.
- New
greenacres-admin-apibackend service (port 8767, localhost only) — container allowlist, nginx proxied via/admin-api/. CTO can now restart containers or read logs without SSH.
Previous Release
v3.2.0 “Insight”
- Analytics page: HP Temperature and HP Disk % charts now render — canvas elements were missing despite data and JS config being ready. Both charts show 30-day history.
- Docs page updated for 12-page platform — page count, greenacres-release description, nginx routing table corrected.
Previous Release
v3.1.0 “Memory”
- New /events/ page — 90-day event log viewer. Filter by severity, category, and time range. Reverse-chron table, 60s auto-refresh. Gap 1 closed: the platform now has institutional memory and a way to read it.
- Events nav link added to all 11 existing pages — shield icon, active state on /events/. Platform is now 12 pages.
Previous Release
v3.0.0 “Context”
- Home page: smoke/CO alarm banner — appears immediately if any Nest Protect is alarming, hidden when clear
- Home page: presence pill in header showing Arash home/away from
ha.presence - Controls page: new “Safety Context” section — camera count (X/N online) + Nest Protect smoke/CO state, read-only, 30s refresh
- Admin page: live System Health panel — HP+OP vitals, Docker container states, active alert count from status.json
Previous Release
v2.9.0 “Presence”
- Home page: camera count added to Security tile — X/N cameras online shown alongside lock state
- Home page: Intelligence score badge now populates from
d.healthavg scores in status.json (was always blank) - Home page: HAI bulletin integrated into 30s refresh loop — no longer a one-shot load, always current
- Status page: Arash presence (home/away) added to Safety & Climate section from
ha.presence - Admin page: legacy portal clearly labelled “LEGACY” with reduced opacity — no longer implies it is the live system
- Analytics: HP temperature chart added; chart height 80→140px for readability
Older Release
v2.8.0 “Conversation”
- Ask HAI multi-turn: full conversation history maintained per session — Claude sees all prior turns
- Ask HAI offline fallback: lock, health, docker, camera, battery, temp answered from status.json when credits exhausted
- Briefing archive panel on Ask HAI page — last 7 HAI briefings, expandable cards with priorities + recommendation
- greenacres-ask-cto backend rewritten (v2): accepts messages[] array, /briefings endpoint, backward-compatible
- Clear conversation button + turn counter on Ask HAI page
- /ask-cto-briefings nginx route added
Older Release
v2.7.0 “Polish”
- Full CTO platform audit — all services verified, data accuracy confirmed, InfluxDB 15 measurements writing
- Analytics sparklines updated to Greenacres Dark palette (emerald/cyan/amber/red — was old teal/pink from v1.x)
- Sidebar logo SVG gradient updated to new brand colours across all 11 pages
- PWA manifest.json deployed with name, theme colour #10b981, shortcuts (Status / Controls / Ask HAI)
- App icons generated (icon-192.png + icon-512.png) — emerald house mark on Deep Forest background
- Site now installable on iPhone: Safari → Share → Add to Home Screen → standalone app, no browser chrome
- 8 new CTO vision items added to /dev/: V-M2 Web Push, V-M3 PWA offline, V-C1–C4 platform, V-A7–A8 AI agent
v2.6.0 “Design”
- Greenacres Dark palette v3.0: Deep Forest #0a110d ground, Emerald #10b981 brand — consistent, legible, premium
- Dark/light mode: device-linked via prefers-color-scheme + manual toggle persisted in localStorage across all 11 pages
- @property typed CSS variables — animatable health score rings (Safari 16.4+ compatible)
- View Transitions API — 220ms cross-page fade. Speculation Rules — prefetch all 11 pages on load. content-visibility: auto on dashboard sections
- HA notification overload fixed: push_alerts_smart v2 policy — push once on new alert, silent on persistent, re-push when alert resolves and returns. HA automation cooldowns (1-min person detect debounce, 2-min garage)
- New consumable insights detector: printer ink low (warn <20%, alert <10%) + Claude API credits usage (warn ≥75%, alert ≥90%)
- Active Insights panel added to /status/ page — alert + warn insights rendered real-time with severity colour-coding
- Full site verified: all 11 pages HTTP 200, all 6 Docker healthy, 0 alerts, data age <90s
Agent Release Process
Research
SSH reads of affected files, status.json, logs. Findings stated before any change proposed.
Plan
Exact files, lines, and effect described. No code written until plan is stated.
Authorise
CEO explicit sign-off required. No implicit approval accepted.
Execute
Scripts SCP’d to /tmp/ and run with sudo. Production written only after sign-off.
Verify
File re-read or status.json re-polled. Task not marked complete until verified.
All Agent Releases
| Version | Codename | Key Capability | Model | Date |
|---|---|---|---|---|
| v3.35.0 | Occupancy | |||
|
||||
| v3.34.0 | Forecast | Battery health predictor | claude-sonnet-4-6 | 13 Apr 2026 |
| v3.33.0 | Verbose | Structured backend logging | claude-sonnet-4-6 | 13 Apr 2026 |
| v3.32.0 | Quiet | Alert deduplication & noise management | claude-sonnet-4-6 | 13 Apr 2026 |
| v3.31.0 | Notified | Web Push alerts | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.30.0 | Adaptive | HA Automation Advisor | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.29.0 | Clear | Dev page decluttered | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.28.0 | Proactive | QW28-30 + V-A7 wired up | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.27.0 | Mapped | V-D6 shipped | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.26.0 | Insightful | V-D5 and V-A6 wired up | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.25.0 | Alert | QW26-27: security gap correlation + Starling battery detectors | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.24.0 | Informed | claude-sonnet-4-6 | 12 Apr 2026 | |
| v3.23.0 | Resilient | claude-sonnet-4-6 | 12 Apr 2026 | |
| v3.22.0 | Clear | claude-sonnet-4-6 | 12 Apr 2026 | |
| v3.21.0 | Sharp | claude-sonnet-4-6 | 12 Apr 2026 | |
| v3.20.0 | Vigilant | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.19.0 | Aware | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.18.0 | Polished | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.17.0 | Autonomous | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.16.0 | Monitored | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.15.0 | Connected | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.14.0 | Secured | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.13.0 | Refined | No agent changes | claude-sonnet-4-6 | 12 Apr 2026 |
| v3.12.0 | Connected | SEC8+DEV6+AG4+UAT3: admin-api CSRF hardened, version automation improved, live Pi-hole domain chart, accessibility labels across all pages. | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.11.0 | Fortified | DEV11+SEC7+SEC9+UAT7: agent onboarding brief live, rate limiting, security headers, and connection-lost overlay — platform now hardened and self-documenting for cold-start sessions. | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.10.0 | Remote | V-P1+SEC10: Platform now reachable globally over Tailscale VPN with valid HTTPS. Platform and Agent layers accessible from any device on the tailnet. | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.9.0 | Resilient | UAT1+UAT2+DEV14: stale data banner, HAI fallback notice, urgency block timestamp — platform now visibly honest about its own health state. | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.8.0 | Hardened | DEV tooling: Consistency linter (10 checks, weekly cron), release events in events.jsonl, docs cross-refs, capability matrix updated, completeness score on /dev/. | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.7.0 | Suggestions | DEV12 complete — AI now reads its own event log and proposes what to build next | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.6.0 | Intelligence | HAI reasoning layer live — first Claude-generated briefing delivered | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.5.0 | Pipeline | Release pipeline completed — DEV2, DEV3, DEV7 shipped | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.4.0 | Blueprint | Dev tracker rebuilt — structured backlog, ADRs, Why Not, Incident Log, /dev/history/ archive | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.3.0 | Control | Docker restart + log viewer on Admin|greenacres-admin-api backend|/admin-api/ nginx proxy | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.2.0 | Insight | HP Temp + Disk charts on Analytics|Docs page corrected for 12-page platform | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.1.0 | Memory | Event log viewer /events/ (90-day JSONL)|Sidebar Events link on all 12 pages|Gap 1 closed | claude-sonnet-4-6 | 11 Apr 2026 |
| v3.0.0 | Context | Smoke/CO banner on home|Presence pill in header|Camera+Protect Safety Context on Controls|Admin live health panel | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.9.0 | Presence | Camera count in Security tile|Intelligence score from health data|HAI bulletin auto-refresh|Presence on status page|Legacy portal labelled | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.8.0 | Conversation | Multi-turn chat history|offline status.json fallback|briefing archive panel|backend v2 rewrite | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.7.0 | Polish | Full CTO audit|analytics palette fix|logo gradient fix|PWA manifest+icons|iPhone installable|8 new vision items | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.6.0 | Design | Dark palette v3.0|dark/light mode|@property rings|View Transitions|Speculation Rules|notification fix|consumable insights|status insights panel | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.5.0 | Intelligence | Push alerts live|morning brief 07:05|OP monitor up|camera+disk forecast|V-P2 V-P5 V-P6 V-A2 done | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.4.0 | History | 90-day event log live|Ask HAI gets history|30-day analytics|V-P4 V-P9 done | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.3.0 | UX Polish | UX2-UX5 complete|mobile CSS all 10 pages|camera battery alerts|V-P10 done | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.2.0 | Design | Design programme P1 added to dev|AI1 Ask HAI shipped|5 new vision items | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.1.0 | Ask | Ask HAI page live at /help/ | claude-sonnet-4-6 | 10 Apr 2026 |
| v2.0.0 | Craig | Craig pattern adopted for self-documenting deployment workflow | claude-sonnet-4-6 | 10 Apr 2026 |
| v1.9.0 | Sync | Full agent documentation + AI Releases page | claude-sonnet-4-6 | 9 Apr 2026 |
| v1.8.0 | Hub | HA API proxy + hub controls capability | claude-sonnet-4-6 | 8 Apr 2026 |
| v1.7.0 | Starling | Starling Hub full integration | claude-sonnet-4-6 | 7 Apr 2026 |
| v1.6.0 | Vision | HAI scoring fix + executive vision | claude-sonnet-4-6 | 7 Apr 2026 |
| v1.5.0 | Roaming | Reliable SSH access on both servers | claude-sonnet-4-6 | 5 Apr 2026 |
| v1.4.0 | Intelligence | Autonomous HAI briefings deployed | claude-sonnet-4-6 | 5 Apr 2026 |
| v1.3.0 | Platform | Time-series monitoring data access | claude-sonnet-4-6 | 4 Apr 2026 |
| v1.2.0 | Harden | Dual-server monitoring + email alerts | claude-sonnet-4-6 | 3 Apr 2026 |
| v1.1.0 | Connect | Network visibility + Omada integration | claude-sonnet-4-6 | 2 Apr 2026 |
| v1.0.0 | Stabilise | Agent established as technical operator | claude-sonnet-4-6 | 1 Apr 2026 |
Agent Stats
Next Up
V-A1: Restore LLM briefings via API credit top-up. V-A2: Proactive morning push. See Dev & Backlog for full roadmap.