Repository navigation
Commit b4475eb
committed
Reset rate allowance on manual re-enable and publish keys with an exclusive rename (#13)
Turning receipt back on (master switch or per-client resume) clears the
client's rate state again, as the docs say and the earlier code did.
The helper key file is published with renamex_np(RENAME_EXCL) instead
of link()+unlink(), so a helper killed mid-creation can no longer leave
a key with st_nlink == 2 that the reader rejects forever.
Addresses Codex review on PR #15 (discussion_r4698613638,
discussion_r4698613629).
Agent: Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015LJG7MWqYoCZivtQ96kBhP1 parent 15da9e9 commit b4475eb
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
631 | 635 | | |
632 | | - | |
| 636 | + | |
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| 636 | + | |
| 637 | + | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
| |||
711 | 713 | | |
712 | 714 | | |
713 | 715 | | |
| 716 | + | |
| 717 | + | |
714 | 718 | | |
715 | 719 | | |
716 | 720 | | |
| |||
0 commit comments