Commit 3fdcf90
Enforce the k-anonymity floor in the engine; type the spec->policy seam
min_aggregate_cases moves onto the core EvaluationAccessPolicy (omitted
resolves to 5 under aggregate disclosure, 1 otherwise) and the engine refuses
agent-chosen aggregate subsets below the floor after cost resolution, so the
protection holds on every path — programmatic API and local runs included —
not just compiled harbor deployments. The sidecar keeps its earlier check as
defense-in-depth and now passes the floor through its explicit authorization.
AgentAccessSpec.to_access_policy() is the single typed translation from build
spec to runtime policy; the compiler emits it nested in serve.json and
SidecarEvaluationPolicy holds it as `access`, replacing the hand-rolled flat
keys (disclosure/agent_evaluable/min_aggregate_cases/expose_case_resources)
that had to be kept in sync across three representations.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 10e3dea commit 3fdcf90
17 files changed
Lines changed: 158 additions & 749 deletions
File tree
- vero
- examples/insights-bundle
- .claude/agents
- skills/insights
- src/vero
- evaluation
- harbor
- build
- tests
Lines changed: 0 additions & 67 deletions
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 64 deletions
This file was deleted.
This file was deleted.
0 commit comments