- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01KnhfrafYx5ZGaMbzZEJQ2d
Refuse a push that is not formatted
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
- pushed
- by user · WAL seq 401 · 2026-08-25T15:28:22.687745Z
Changed files
-
modified
lib/openagents_web/controllers/responses_controller.ex -
modified
ops/dev/install-push-guard.sh -
modified
test/openagents_web/controllers/responses_controller_test.exs
Diff
3 files changed, +26 -4
lib/openagents_web/controllers/responses_controller.ex modified +4 -1
@@ -265,7 +265,10 @@ defmodule OpenAgentsWeb.ResponsesController do
| 265 | 265 |
|
| 266 | 266 |
|
| 267 | 267 |
|
| 268 |
|
|
| 268 |
|
|
| 269 |
|
|
| 270 |
|
|
| 271 |
|
|
| 269 | 272 |
|
| 270 | 273 |
|
| 271 | 274 |
|
ops/dev/install-push-guard.sh modified +17 -2
@@ -1,7 +1,8 @@
| 1 | 1 |
|
| 2 | 2 |
|
| 3 | 3 |
|
| 4 |
|
|
| 4 |
|
|
| 5 |
|
|
| 5 | 6 |
|
| 6 | 7 |
|
| 7 | 8 |
|
@@ -67,7 +68,21 @@ cat >"$hook_path" <<'HOOK'
| 67 | 68 |
|
| 68 | 69 |
|
| 69 | 70 |
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 71 | 86 |
|
| 72 | 87 |
|
| 73 | 88 |
|
test/openagents_web/controllers/responses_controller_test.exs modified +5 -1
@@ -1,7 +1,11 @@
| 1 | 1 |
|
| 2 | 2 |
|
| 3 | 3 |
|
| 4 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 5 | 9 |
|
| 6 | 10 |
|
| 7 | 11 |
|