Commit Graph
3 Commits
Author SHA1 Message Date
kasun 1e02dd5930 chore(claude): close remaining gaps in the merge gate
Checks / Secret Scan (pull_request) Successful in 8s
Checks / Lint (pull_request) Successful in 9s
Gitea's issue comments endpoint ignores paging, so the hook now reads all
comments in one call; the paged loop refused every merge. Any command that
calls gitea.sh and mentions a merge must now be the strict form as a whole,
while commands that only name gitea.sh as a file (git add, git diff) pass.
The body may only pin the head commit, and curl calls have time limits so
the hook can't time out into a non-blocking error.
2026-11-27 03:57:18 +01:00
kasun f45fb7421a chore(claude): make the merge gate fail closed
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 10s
The first review found ways around the hook: unexpected errors exited with
non-blocking codes, unusual spellings of the merge path skipped it, and an
older pass outlived a newer fail. The ask rule for merges is back as a second
layer, so merging outside /merge is enforced, not just instructed.
2026-11-27 03:39:19 +01:00
kasun 6d404e2b21 chore(claude): add repo conventions and agent guardrails 2026-11-23 21:55:51 +01:00