feat(http): answer 429 after repeated failed token checks on /commands #55

Closed
mariusz.pacek wants to merge 0 commits from mariusz.pacek/fix/m4-store-http-safety AGit into master
pull from: mariusz.pacek/fix/m4-store-http-safety
Owner

M4 safety review fixes (write path still off): restore file fsynced before/after the atomic move; strict JSON with CorruptRestoreFileException and .bad quarantine; /commands body ≤ 1 KB and JSON only; X-Requested-By validated and line breaks kept out of line protocol; 429 cool-down after 5 failed tokens per minute. 🤖 Generated with Claude Code

M4 safety review fixes (write path still off): restore file fsynced before/after the atomic move; strict JSON with CorruptRestoreFileException and .bad quarantine; /commands body ≤ 1 KB and JSON only; X-Requested-By validated and line breaks kept out of line protocol; 429 cool-down after 5 failed tokens per minute. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mariusz.pacek added 5 commits 2026-10-24 03:12:39 +00:00
mariusz.pacek closed this pull request 2026-10-24 07:19:49 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#55