You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[26.10.18] - 2026-10-18
Added
dispatch_agent.py task runs one implementation task end to end without
the operator in the loop (#361). It makes a worktree from origin/<base>.
Codex implements, the repo's suite runs (Codex fixes failures up to twice),
then the script commits, pushes and opens the PR. @rev and @sec review
headless and report-only, with their marker comments posted on the PR. Codex
fix rounds follow until both are clean or --max-rounds is reached. One RESULT line and exit codes 0-6 tell the operator what happened; it never
merges. dispatch_agent.py task-usage sums the per-step token ledger.
Reviewers read only a clean detached checkout and a diff file. Claude Code
runs with no shell, edit, web, skill, agent or MCP tools and user settings
only. Codex reviews only for a role team.toml routes to codex (the #351
opt-in), with --sandbox read-only and without the branch's AGENTS.md.
The suite runs code Codex just wrote, unsandboxed, with the operator's
rights; credential-looking environment variables are withheld from it.
Review reports are posted under a header the script writes (marker, full
SHA, parsed verdict); a run without a verdict gets no gate marker, and @rev/@sec handles in reports are backticked so they notify nobody.
The script commits only task_commit_paths, never .github/. It refuses
to push a branch that touches other paths, adds a symlink or adds a
credential-shaped line,
checked on the branch diff (with --text, so .gitattributes can't hide a
file), and it does not post a report that quotes one. A commit made by Codex
fails the run. Scratch cleanup never follows a symlink. Timeouts kill the
whole process tree, and git hooks are off for the script's own git calls.
team.toml[task] (commented out in docs/team.toml.example) holds the
suite command, optional per-file glob, passing exit codes, commit paths,
scratch globs and base branch. It is read from the main clone.
Fixed
Antigravity hooks now work, on Windows and elsewhere (#343). Probed on agy
1.3.5 (Windows) and 1.3.2 (Linux), and checked against the contract
documented inside the agy binary:
Every hook's stdout was plain text, which Antigravity rejects ("failed to
unmarshal result"), so no hook output ever reached the model.
On Windows, cmd /c broke every quoted command.
agy exports neither AGY_PLUGIN_ROOT nor AGY_PROJECT_DIR, and OLDPWD
is not the workspace.
Each hooks.json command is now bash hooks/agy-hook.sh <id> <Event>. The
dispatcher takes the workspace from the stdin workspacePaths (converting
Windows paths with cygpath/wslpath), runs the body from hooks/agy/,
and wraps its text in the JSON each event expects.
Session-start hooks move from PreInvocation (before every model call) to SessionStart (once per conversation).
The post-compaction invariants card is no longer shipped to Antigravity,
which has no compaction event; it would have told every new conversation it
had just been compacted.
The workspace team.toml is now injected as a systemMessage with a fixed
note that it is repo-supplied data, not instructions. It had never reached
the model on Antigravity before, and it may come from an untrusted repo.
scripts/test_agy_hooks.py runs every hook under that contract with no
model call, in Tier 1 on the source and in Tier 2 on the installed copy. It
replaces an assertion that assumed agy sets AGY_PLUGIN_ROOT.