Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 10.1 KB

STATE.md

File metadata and controls

30 lines (29 loc) · 10.1 KB

Orchestra — current state

  • Wave 34: identical tool calls warn on #3 and end the turn on #5 with loop_limit. Wrap-up warns once at 85% of a turn budget. Cache busts use reported counters and the provider TTL (Antigravity 3300s, others 300s); warnings stay in session logs. Activation requires a clean restart at zero active turns.

Earlier milestones

  • Isolated worktree gemini-quotas-and-hub62-20261118 from main 9834244a4.
  • Hub Sol/Astra moved to 6.2. Old IDs preserved for history and rejected for new selection.
  • Three g1-pro groups / five windows integrated in wire normalization, history, gates and dashboard.
  • Quota probe uses the existing protected IPC path and defers while ACP owns the profile.
  • Deployment requires zero active turns, preservation of foreign dirty files and no Telegram service restart.
  • Verified on-disk live legacy Hub Sol rows: backup-space, seedon-sales-sol (both idle).
  • Deployed d306ed419, PID 2991639, restart_cut_turns=0, Telegram PID preserved.
  • First print attempt rejected ACP-only flags. Corrected CLI command and verified five real windows in SQLite, three weekly thresholds and both screenshots.
  • 488 backend and eight browser tests passed, plus targeted post-fix reruns. Six VPS project instruction files updated.
  • While persistent ACP holds the profile writer, quota probing defers safely. In-band quota updates still persist.
  • Evidence: .orchestra/tasks/gemini-quotas-and-hub62-20261118/report.md. PNGs under /tmp/orchestra_gemini_quotas_ui_*.png.
  • Visual R2 deployed in 0eede9924: one row of three compact Antigravity chips at desktop width, all five labels above both axes, separated stop labels. 44 browser tests passed. :8888 issued all three new immutable asset URLs, with both service PIDs unchanged and restart_cut_turns=0. Both live PNGs refreshed on hub and VPS.
  • Wave 5 deployed: 4c22c7dde, 22 admitted local routes (16 Gemini / 6 Claude), 6 Neon aliases. Both services active, cuts=0, Telegram PID preserved. 507 tests passed. Neon High returned the exact smoke response in 8.8s via production ACP. Temporary worker removed. Evidence .orchestra/tasks/gemini-neon-20261119/.
  • Wave 6 ACP fix: configurable 600s idle + 3600s absolute limit, bounded cancel and explicit recovery without replay. Human Cadence automation not enabled. Both existing Seedon jobs remain on their previous policy. Evidence .orchestra/tasks/acp-timeout-and-human-cadence-20261119/.
  • Wave 7 deployed: 2f881dc6e (HEAD), native Antigravity mid-turn steer + all 26 Astra audit fixes (B01–B26) + live Seedon cron worker seedon-cron (gpt-6.2-sol, tg_topic=True, crons bg-e1d2c45d74 & bg-9a5ab55d66, mailbox#3237 quarantined, seedon-ops-luna removed). Live AGY steer E2E passed (WAVE7_STEER_VERIFIED_OK); screenshots /tmp/orchestra_universal_chat_ui_{agy,codex}.png; orchestra.service active (PID 3577524, 0 cuts on last restart), telegram-bot-api PID 2786980 unchanged.
  • Wave 8 deployed: 371bc4798 (HEAD), native .ogg voice input (supports_native_audio_input, app/native_voice.py, tg_bridge.py, routes/tg.py, backend_antigravity.py, chat.js .chat-native-voice) for all antigravity/gemini-* sessions with 0 Deepgram calls. Verified 328 focused pytest + AST TOTAL_UNDEFINED=0 + check_instruction_contract.py + secret_scan.py --staged; live blind Russian .ogg E2E on antigravity/gemini-4-neon-high returned 749, voice_costs delta=0. orchestra.service active (PID 3698156, 0 cuts, telegram-bot-api PID 2786980 unchanged).
  • Kesha ACP mux: ветка перебазирована на Wave 8. Пассивное открытие, проверка cgroup, одноразовый допуск, лимит напоминаний и согласование inline audio проверены офлайн. Деплой ожидает закрытия оставшихся замечаний защиты spawner и зелёного расширенного прогона.
  • Wave 9 deployed: Orchestra 1ed8dd82b (app/acp_mux.py .acp-mux.sock 0600 kesha:kesha, SO_PEERCRED cgroup gate /system.slice/kesha-bot-vps.service, idle release, no background agy-vendor.elf) + Kesha /opt/kesha-bot d7307b26a (antigravity_session.py, gemini-4-neon-medium default, model_choices.py, native .ogg voice, safe reminders.py). Services active (orchestra.service PID 3758329, kesha-bot-vps.service PID 3758802 without greet_on_restart, telegram-bot-api.service PID 2786980 untouched). Verified live cgroup admission (True for Kesha, False + socket reject b'' for shell), offline build_runtime + probe_readiness 0.54ms without spawning agy.
  • Wave 10 deployed: Orchestra fea9d94a8 (app/acp_mux.py XDG_* propagation + test_acp_mux.py, 31 focused tests passed) + Kesha /opt/kesha-bot bfe7aa5 (kesha_mcp_launcher.py stdio proxy & FastMCP 3.x sanitizer + oversized schema compaction send_gmail_message 5067→1163B / draft_gmail_message 3302→1020B, antigravity_session.py all-8 MCP launcher + mcpSignature rotation with history handoff; 832 passed, 3 skipped), plus mailru-mcp/server.py (mail_send SMTP_SSL:465 + \Sent IMAP APPEND + 535 fallback hint) and /opt/cog-second-brain/.claude/skills/kesha-mail/SKILL.md. Live agy-vendor.elf E2E (3d4cddd7) verified all 8 MCP dirs/tools loaded (mail_folders, list_gmail_labels, eager mcp_mailru_mail_send), and live chat 720740564 actively used native .ogg voice + mailru + gmail (11:48–11:57); Eager check on agy-vendor.elf for compacted bfe7aa5 awaits 300s idle release of PID 4059954.
  • Wave 11 deployed: Orchestra 0f8417d0b (app/tg_bridge.py + app/acp_tg_delivery.py Antigravity TG de-spam using _TurnState ⚙️ N действий, native_request acpn:, read_file/view_file photo preview, ACP/single-underscore MCP icons; backend_antigravity.py + mcp_stdio.py explicit --scope/--sender/--session-id CLI flags; routes/sessions.py strict loopback + INTERNAL_TOKEN + orchestrator + kesha_handoff admission keeping cron 403) + Kesha /opt/kesha-bot fc27119 (tool_status.py flood-safe coalesced renders & ACP titles, antigravity_session.py 30s steer settle & cancel_sid, kesha_tools.py send_to_orchestrator) + /opt/cog-second-brain d893cd37 (rules-access.md, kesha-mail/SKILL.md). Verified: Kesha 839 passed, 3 skipped; Orchestra offline 44 passed + 10 passed, 239 passed TG/Mux/Wave11, check_instruction_contract OK; clean restart at 0 active turns (orchestra.service, kesha-bot-vps.service active; telegram-bot-api.service PID 2786980 untouched); live seedon-orchestrator digest handoff 200 OK (cron 403), --scope /home/kesha/projects/seedon, clean TG stream (🦜 kesha → seedon-orchestrator, ⚙️ 4 действия, 💬, 0 thinking/JSON dumps).
  • Wave 12 deployed: 152aa49c0 + 394e071f0 (main), merged Codex + Antigravity quota pools into 1 panel / 2 shared SVGs (Квоты пула), fixed false idle Antigravity staleness (24h idle cap, zero roll-forward after expired reset, activity tracking in backend_antigravity.py & acp_mux.py, 24h restart hydration), eliminated cross-reset sawtooth (_qlStepTimelineAcrossResets + reset-jump preservation in _downsample_timeline), and resolved 2-line / timeline point label overlaps. Verified: 207+177 passed, live headless screenshot /tmp/orchestra_wave12_unified_quota_charts.png (panels=1, svgs=2, stale=[], page_errors=[]), orchestra.service active (telegram-bot-api.service PID 2786980 untouched).
  • Wave 13 deployed: b3209afb6 (main), 7d-only decluttered quota charts (deduplicated Codex Sol+Luna, concise point/threshold labels, removed empty-history grey boxes & verbose prose, compact 5-pill footer) + human-readable #usage-bar (Codex 54% (норма 84%) · 1д 2ч, Antigravity 7d-only chips with воркеры стоп pill replacing -25.9 ■, plain-language hover details). Verified: 53+39=92 passed in focused UI/API/i18n suites, live screenshots /tmp/orchestra_wave13_{top_usage_bar,clean_2charts}.png, orchestra.service active (telegram-bot-api.service PID 2786980 untouched), 0 journal errors.
  • Wave 14 deployed: f56bd0efa (main) + Kesha 21281cd, persistent 5h quota cooldown breaker (kv antigravity_quota_cooldown, 0 retries/calls during cooldown, Resets in + 90s buffer), /limits Antigravity block (<=1024c), xhigh banned across Antigravity & Kesha (agy-neon -> medium), Neon orchestrator-only + >5-tool delegation rule, ANTIGRAVITY_AUTO_COMPACT_TOKENS=180000, warm/cold API-equivalent token/$/% estimation (accuracy=estimated), NOTIFY_CHAT=720740564 + run_on_laptop owner guard.
  • Wave 15 deployed (Variant 4+): Orchestra 982a0c39a (AGENTS.md + KB Kesha-Orchestra 100% independence law, last-known-good tag in app/main.py, kesha_worker provenance + :18081/inbox push on turn_end), Kesha 7fd61f2 (0 app.* imports, ACP_CONNECT_TIMEOUT_SEC=0.8s, ~1s inline failover to codex/gpt-6.2-sol, /orch status|logs|restart|rollback, Bearer inbox auth, 4 worker tools, immutable current/previous releases + smoke_imports.py + kesha-bot-rollback.service).
  • Wave 16+17 (SkillCache v1 full rollout): expanded pool 4→10 read-only capsules (kesha-mail, direct-reports, xiaomi-sleep, browser-control, morning-digest, wellness-dashboard, edo-1c-status, youtube-reader, vps-health-preflight, avito-stats) with seccomp replay + mutated counterexamples + secret_mask; wired 4 self-learning laws (capsule first, >=5-step trace capture, 2-gate qualification, stale/deopt vN->v(N+1), Tier C exclusion) into Orchestra prompts/pipeline/KB, Second Brain (b4e7bbd7), Seedon (b3a36d48), and Kesha (system_prompt.txt + kesha_tools.py, 0 shared imports).
  • Wave 18 (SkillCache CLI UX): /usr/local/bin/orch-capsule-run in $PATH, auto-discover data/skillcache.json + data/orchestra.db for list/describe/exec, added describe [<skill>] (schema + copy-paste CLI/MCP examples) & exec <skill> [--in JSON] with exact missing/unexpected/allowed field validation while preserving cryptographic session proof for MCP run/continue; synced SKILL.md & KB; 168+ passed, kesha-bot-vps/telegram-bot-api untouched.