Skip to content

Add a persisted cross-invocation cache of resolved policy verdicts #4843

Description

@JSONbored

Problem: Even with conditional-GET caching (above), the resolved AI-usage-policy verdict for a repo is recomputed fresh on every invocation rather than persisted across runs.

Area: AMS / Performance

Proposal: Persist the resolved policy verdict per repo locally, invalidated when the underlying doc's ETag changes.

Deliverables:

  • A small local cache of resolved policy verdicts, keyed by repo and doc ETag.

Acceptance criteria:

  • Repeated runs against the same unchanged repo skip re-resolution entirely.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions