mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
tools/buzz-agent/agent-exec.sh — the last mile from the scheduler to a live channel. Honors the `amy buzz agent serve --exec` contract: reads the task on stdin, runs a coding agent (Claude Code by default, or any $AGENT_CMD) inside the job's git worktree, verifies a diff exists, commits, pushes the `claude/job-*` feature branch, opens (or reuses) a PR, and prints the PR URL as the job result (kind-43004); any failure exits non-zero → job error (kind-43006). It never touches the default branch and never force-pushes — merge stays a human action on GitHub. README documents the load-bearing guardrails, since Buzz enforces none of them: a PR-only fine-grained token (Contents + Pull requests write, nothing else), branch protection on the default branch (require PR + review + CI, block force-push/deletion), and scoped intake (--accept-from) + agent tool allowlist. Verified end-to-end against a throwaway repo with a stubbed gh + agent (happy path pushes the branch and prints the PR URL; no-change path errors cleanly). Plan doc follow-up #3 marked done. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011mApqAbr8vkLC7gUDjavu6
cli plans
Audited 2026-06-30. 6 plans: 5 shipped (archived), 1 in-progress, 0 queued, 0 abandoned.
In progress
| Plan | Summary |
|---|---|
| 2026-05-28-cashu-cli.md | NIP-60/61/87 Cashu wallet verbs in amy; full command surface ships, production-mint interop harness still pending. |
Archived (shipped)
| Plan | Summary |
|---|---|
| archive/2026-04-21-cli-distribution.md | Native amy distribution via jlink/jpackage with a CI release matrix and Homebrew formula. |
| archive/2026-04-23-nip17-dm.md | NIP-17 DM send/list/await verbs in amy over quartz gift-wrap plumbing. |
| archive/2026-04-24-file-event-store-nips.md | Part 3: per-NIP enforcement, slots, tombstones, scrub, and tests for the file-backed event store. |
| archive/2026-04-24-file-event-store-overview.md | Part 1: goals and on-disk layout of the filesystem-native IEventStore for amy. |
| archive/2026-04-24-file-event-store-pipelines.md | Part 2: insert/query/delete/transaction/concurrency pipelines for the file-backed event store. |