Skip to content

fix: #93 category_routing + #105 X-RateLimit headers - #108

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/issue-93-category-routing
Apr 15, 2026
Merged

fix: #93 category_routing + #105 X-RateLimit headers#108
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/issue-93-category-routing

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Closes #93 and #105. Two small follow-ups bundled: cron categories + rate-limit header advertisement.

Closes #93 and #105.

#93 — add research/plugins/template/channels entries to org.yaml
category_routing defaults. Without them, evolution crons firing with
these categories found no target and their audit summaries silently
dropped at PM. Routes each back to the role that generated it so the
author acts on their own findings.

#105 — emit X-RateLimit-Limit / -Remaining / -Reset on every response
(allowed and throttled) and Retry-After on 429s per RFC 6585. 2 tests
cover both paths. Clients and monitoring tools can now back off
proactively instead of polling into 429 walls.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor Author

⚠️ Superseded by PR #114. This branch was created before PRs #95, #99, and #106 merged. The diff vs current main shows -965 deletions (supervised.go, wsauth_middleware_test.go, org_path_test.go) which would revert those security/stability PRs if merged as-is. The actual commit (2a74a7b) only adds 3 files — no regressions — so it cherry-picked cleanly onto current main. Please use PR #114 instead.

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor Author

Superseded by PR #114 (rebased onto main post #94/#95/#99/#106).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(template): add missing category_routing entries for evolution crons (research/plugins/template/channels)

1 participant