Initial import
This commit is contained in:
17
packages/domain/AGENTS.md
Normal file
17
packages/domain/AGENTS.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Scope
|
||||
Applies within `packages/domain`.
|
||||
|
||||
## Responsibilities
|
||||
- subscription lifecycle
|
||||
- billing cycle rules
|
||||
- quota ledger rules
|
||||
- generation orchestration
|
||||
- provider-key state transitions
|
||||
- admin and pairing policies
|
||||
|
||||
## Rules
|
||||
- This package owns the business meaning of key states and retry decisions.
|
||||
- Do not hide exact quota from admins, but never expose exact quota to normal users.
|
||||
- A successful user request may have multiple provider attempts but may consume quota only once.
|
||||
Reference in New Issue
Block a user