Files
baiyue-firstleg/overseas-security-service/AGENTS.md
T
2026-08-25 14:46:06 +08:00

15 lines
696 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Overseas Security Service 模块指引
## 职责边界
- 消费 IAM 三类跨区安全事件,维护海外可靠 Inbox 与单调安全投影,并为海外 Gateway 提供内部实时校验。
- MySQL 是恢复源;Redis 仅为可重建镜像,不能成为授权真相或在失败时默认放行。
- 不签发 Token、不保存 raw Token/凭据、不承载 Lastleg 业务,也不解释 Event Bridge 的重试状态。
## 入口
- 内部事件与校验:`controller/OverseasSecurityController.java`
- 幂等、单调投影:`service/SecurityProjectionService.java`
- Token 校验:`service/OverseasSecurityValidationService.java`
- SQL:`src/main/resources/db/overseas-security.sql`