anbot

425ca29 / SPEC.md

View file at this commit

diff --git a/SPEC.md b/SPEC.md
index 04fdcb4..e555eb9 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -137,6 +137,14 @@ publication path before acknowledging a successful update. Use the server's
 publishing identity for the resulting ANProto records. Receiving commits never
 checks out or executes their content.
 
+For a push that advances the branch, the agent signs a `git-push` record
+containing the repository ID, branch ref, and proposed commit. The server
+checks the record against the authenticated agent and the received tip. The
+server's signed Git update embeds that record, the count and subjects of new
+commits (up to 20 subjects), and the previous update ID. The feed follows the
+selected publication history, so interrupted, rejected, and up-to-date pushes
+produce no announcement.
+
 ## Acceptance
 
 Use the actual committed ANBot source. Include startup instructions, runtime

Git ยท Social feed