Repository navigation
v2.0.0: agy-only orchestrator
Antigravity (agy)-only release.
Breaking
- Primary-model list narrowed to what agy 1.4.6 offers: Gemini 4 Argon (Medium / High), Claude Opus 5.5, Claude Sonnet 5.5. Argon Low, Gemini 3.8 Flash and GPT-OSS 120B are warned about as non-frontier.
- GPT-4 / o-series / DeepSeek / Grok and generic Gemini Pro / Ultra are no longer accepted as primary models, including via
AGY_ARGON_PRIMARY_MODEL.
Added
- agy 1.4.6 sends one flat
invoke_subagentcall per subagent (Prompt,Role,TypeName, optionalModel); both the flat form and theSubagentslist form are handled. - Code split into
scripts/argon_hook/(common,models,routing,judge,report,state,guards,tools,handlers); entry point staysscripts/enforce-orchestrator.py. - Routing engine ported verbatim from mitosis-orchestrator 2.3.0:
Decisionwith confidence,scout-unprovenrule (scout needs positive read-only evidence), worker-lookup downgrade, Chinese rules, optional judge (AGY_ARGON_JUDGE_URL, fallbackMITOSIS_JUDGE_URL). tests/routing_cases.jsonl(855) androuting_holdoutv1 to v8 (40 each);tests/test_routing_eval.pythresholds: accuracy >= 0.95, cost errors <= 0.05, zero worker tasks to the scout.scripts/routing-parity.py <mitosis_repo>proves 0 differences.- State lock (
flock, fail open,AGY_ARGON_LOCK_TIMEOUT) and atomic state saves. - REPORT FORMAT block auto-appended to subagent prompts missing the four headers (
AGY_ARGON_APPEND_REPORT_FORMAT=0disables). - Report enforcement: a subagent's own
send_messagereport to its parent is validated; invalid reports are denied once so the subagent resends (AGY_ARGON_ENFORCE_REPORT=0). - Scout read-only layer for
flash-lite-scoutsubagents. - Scout escalation: after a scout reports
FAILEDorBLOCKED, the next scout dispatch is escalated toflash-workeronce, within 3 dispatches or 30 minutes (AGY_ARGON_ESCALATE=0). First agy implementation. AGY_ARGON_WORKER_DOWNGRADE=0and judge tuning variables (AGY_ARGON_JUDGE_{KEY,MODEL,TIMEOUT,MIN_CONFIDENCE,ALLOW_HTTP_KEY,THRESHOLD}).- Coexistence:
SessionStartwarns when mitosis-orchestrator is also enabled (same skill and agent names; useagy plugin disable mitosis-orchestrator). - Engineering scaffolding:
pyproject.toml, GitHub Actions CI (unittest on 3.11 to 3.13, ruff, vermin 3.8),tests/test_packaging.py,CONTRIBUTING.md,SECURITY.md.
Changed
- README, README.zh-TW,
rules/AGENTS.mdand the/orchestrateskill rewritten for agy only; agent files no longer imply an Argon-only primary. - The four-header report contract is unchanged.
- Routing keyword rules read the
Promptonly;Roleis a label and no longer feeds them (a lookup scout with Role "Add Scout" was wrongly upgraded toflash-worker). Tests added. - Documented that the bundled agents keep
inheritCustomizations: false, so subagent-side report rejection and the scout read-only layer only fire for types that inherit customizations; primary-side message scan and scout-failure escalation cover the bundled types.
Verified
- agy 1.4.6 (2026-10-23): agy does not run plugin hooks inside subagents with
inheritCustomizations: false, and enforces the agent tool lists itself (a scout given an edit task could not edit). Routing parity with mitosis stays at 0 differences (parity cases carry no role). - agy 1.4.6 (2026-10-23): hook
{}is a deny;{"decision":"allow"}means no objection and agy still shows its own permission prompt for commands and file writes. The plugin keeps returning explicit allow when it has no opinion and never bypasses agy prompts;AGY_ARGON_AUTO_ALLOW=1is the only path that grantspermissionOverrides(in-workspace only).