Highlights
- Add FlowAudit, an opt-in closed-flow usage audit addon with no network side effects.
- Expose FlowAudit through StatsAPI with /audit and /audit/refresh endpoints.
- Keep the audit window in memory and process-local; applications can add durable sinks separately.
- Document FlowAudit and StatsAPI audit composition in English and Chinese docs.
Validation
- ruff check
- ruff format --check
- pyright
- pytest: 270 passed
- uv build
- Docker smoke test with /health, /audit, and SOCKS greeting