You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ad6cc8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(advisor): default-off tiered decision advisor with v1-safe evidence (#54)
* feat(advisor): add default-off local decisions
Bind advisor evidence without changing receipt v1.
Store companion records in the receipt transaction.
Block model adapters until the upstream API is verified.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(advisor): preserve v1 receipt semantics
Keep gateway params digests and sign separate advisor companions.
Reject input failures instead of treating them as unavailable.
Ignore payload task claims and verify exported record bindings.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs(advisor): refresh corrected harness results
Use the gateway state shape without spoofable task claims.
Record conservative approval: 55% precision and 100% recall.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(advisor): isolate producer and v1 exports
Reserve the internal producer ID so requests cannot poison history.
Keep default exports readable by released v1 verifiers.
Verify leading companions against signed manifest anchors.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs(receipts): explain opt-in advisor records
Document the reserved identity and signed-anchor verification.
Keep the record extension outside frozen v1 defaults.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(verify): report unchecked advisor records
Default v1 exports contain no advisor evidence lines.
Keep chain verification usable without hiding unchecked evidence.
Require advisor records when supplied or explicitly requested.
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|`AGENTGATE_ADVISOR_URL`| Unset disables the advisor. Accepts loopback or `.svc.cluster.local` service origins only. | No |
424
+
|`AGENTGATE_ADVISOR_UNAVAILABLE`|`allow_with_flag` by default. Also accepts `require_approval` or `deny`. | No |
425
+
|`AGENTGATE_ADVISOR_APPROVAL_THRESHOLD`| Escalation probability threshold. Default `0.6`. | No |
426
+
|`AGENTGATE_ADVISOR_DENY_THRESHOLD`| Denial probability threshold. Default `0.9`. Must exceed the approval threshold. | No |
427
+
|`AGENTGATE_ADVISOR_CONFIDENCE_THRESHOLD`| Require approval when final confidence is lower. Default `0.8`. | No |
377
428
|`AGENTGATE_RATE_KEY_RPS`| Requests per second per API key ID. Default `20`. Zero requires tenant admission disabled. | No |
378
429
|`AGENTGATE_RATE_KEY_BURST`| Per-key token bucket burst. Default `40`. Zero requires tenant admission disabled. | No |
379
430
|`AGENTGATE_RATE_TENANT_RPS`| Requests per second per tenant. Default `100`; `0` disables this bucket. | No |
@@ -470,6 +521,11 @@ OAuth callbacks validate encrypted state without an admin session, so they don't
470
521
471
522
Service configurations are YAML files in `configs/services/`. See `configs/services/google_workspace.yaml` for an example. The gateway itself loads the merged `configs/services.yaml`.
472
523
524
+
Each action accepts `risky: true` or `risky: false`.
525
+
Omission defaults to false. Non-boolean values stop registry loading.
526
+
Mark writes, deletes, payments, outbound email, and bulk exports as risky.
527
+
The marker has no enforcement effect while the advisor is disabled.
528
+
473
529
### Upstream connections and retries
474
530
475
531
Each service gets a separate HTTP client, connection pool, and circuit breaker.
0 commit comments