feat(agents): add goose adapter#129
Conversation
Greptile SummaryThis PR adds the Goose (Block) agent adapter: a new
Confidence Score: 4/5The adapter logic is sound and well-tested, but the hooks writer silently drops the fsync guarantee that the shared hookutil primitive was designed to enforce. The private atomicWriteFile in hooks.go omits tmp.Sync() — a step that hookutil.AtomicWriteFile deliberately includes and that all other hook-writing adapters rely on. On a kernel crash between page-cache fill and physical flush, the hooks file can be lost, leaving Goose with no AO hook commands and making the session invisible to the activity dispatcher. backend/internal/adapters/agent/goose/hooks.go — the local atomicWriteFile should be replaced with hookutil.AtomicWriteFile Important Files Changed
Reviews (2): Last reviewed commit: "feat(agents): add goose adapter" | Re-trigger Greptile |
Registers the goose harness, stacked on the agent platform. Includes its own activity deriver. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the goose harness, stacked on #119 (agent platform). Adapter package +
Constructors()registration + resolver test. Includes its own activity deriver.🤖 Generated with Claude Code
Stack