docs: expand lint scope batch30 (2 files)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# 33 — API Gateway Security & PEP (MicroDAO)
|
||||
|
||||
*API Gateway Architecture, Policy Enforcement Point (PEP), Rate Limiting, Key Validation, PDP Integration, Embassy/Webhook Security, Usage Accounting*
|
||||
API Gateway Architecture, Policy Enforcement Point (PEP), Rate Limiting, Key
|
||||
Validation, PDP Integration, Embassy/Webhook Security, Usage Accounting.
|
||||
|
||||
---
|
||||
|
||||
@@ -28,7 +29,7 @@ API Gateway — це **єдина точка входу** для всіх зов
|
||||
|
||||
## 2. High-level Architecture
|
||||
|
||||
```
|
||||
```text
|
||||
┌──────────────────────────┐
|
||||
│ Load Balancer │
|
||||
└─────────────┬────────────┘
|
||||
@@ -203,7 +204,7 @@ reason
|
||||
quota_status
|
||||
```
|
||||
|
||||
### 7.1 Hard-deny reasons:
|
||||
### 7.1 Hard-deny reasons
|
||||
|
||||
- key_invalid
|
||||
- capability_missing
|
||||
@@ -308,7 +309,7 @@ if resource.mode == confidential:
|
||||
|
||||
Для платформи (EnergyUnion, GREENFOOD, Water Union):
|
||||
|
||||
### 11.1 Gateway виконує:
|
||||
### 11.1 Gateway виконує
|
||||
|
||||
1. Перевірка HMAC:
|
||||
|
||||
@@ -333,7 +334,7 @@ if resource.mode == confidential:
|
||||
4. Quota-check (events per day)
|
||||
5. Forward до Embassy Service
|
||||
|
||||
### 11.2 Відмова у разі:
|
||||
### 11.2 Відмова у разі
|
||||
|
||||
- HMAC mismatch
|
||||
- expired timestamp
|
||||
@@ -533,5 +534,3 @@ API Gateway / PEP — це:
|
||||
|
||||
**Версія:** 1.0
|
||||
**Останнє оновлення:** 2024-11-14
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 46 — Router Orchestrator Design (MicroDAO)
|
||||
|
||||
*DAARWIZZ Router: інструментальні маршрути, state machine, контекстні флоу, orchestration, паралелізація, безпека, облік вартості*
|
||||
DAARWIZZ Router: інструментальні маршрути, state machine, контекстні флоу,
|
||||
orchestration, паралелізація, безпека, облік вартості.
|
||||
|
||||
---
|
||||
|
||||
@@ -97,7 +98,7 @@ ERROR_RECOVERY
|
||||
DONE
|
||||
```
|
||||
|
||||
### Переходи:
|
||||
### Переходи
|
||||
|
||||
- INIT → PLAN
|
||||
- PLAN → EXECUTE_STEP
|
||||
@@ -122,7 +123,7 @@ DONE
|
||||
}
|
||||
```
|
||||
|
||||
### Типи кроків:
|
||||
### Типи кроків
|
||||
|
||||
- **LLM** — виклик LLM Proxy
|
||||
- **Tool** — виклик інструменту
|
||||
@@ -239,7 +240,7 @@ sequenceDiagram
|
||||
|
||||
## 13. Error Handling
|
||||
|
||||
### Типи помилок:
|
||||
### Типи помилок
|
||||
|
||||
| Type | Action |
|
||||
| ---------------------- | ---------------- |
|
||||
@@ -251,7 +252,7 @@ sequenceDiagram
|
||||
| agent_failed | skip/abort |
|
||||
| branch_condition_error | default-fallback |
|
||||
|
||||
### Recovery logic:
|
||||
### Recovery logic
|
||||
|
||||
```text
|
||||
on error:
|
||||
@@ -448,5 +449,3 @@ DAARWIZZ Router / Orchestrator:
|
||||
|
||||
**Версія:** 1.0
|
||||
**Останнє оновлення:** 2024-11-14
|
||||
|
||||
|
||||
|
||||
@@ -83,6 +83,8 @@ docs/cursor/41_ai_governance_agent_design.md
|
||||
docs/cursor/47_messaging_channels_and_privacy_layers.md
|
||||
docs/cursor/27_database_schema_migrations.md
|
||||
docs/cursor/32_policy_service_PDP_design.md
|
||||
docs/cursor/33_api_gateway_security_and_pep.md
|
||||
docs/cursor/46_router_orchestrator_design.md
|
||||
docs/consolidation/README.md
|
||||
docs/consolidation/SOURCES.md
|
||||
docs/runbooks/DOCS_SERVICES_AUTOMATION_RUNBOOK.md
|
||||
|
||||
Reference in New Issue
Block a user