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
Implement the ADR 0148 actor cache interface and in-memory backend #9271
ADR 0148 permits bounded reuse of actor data for entity CEL, but Fullsend needs a cache API and implementation for that reuse.
What should happen
Define a Fullsend actor identifier, analogous to the entity identifier in the entity model, to scope cache entries.
Define a cache interface with Get(actorID) returning the normalized entity’s actor object or a miss; Put(actorID, entry); and Invalidate(actorID).
Provide a thread-safe in-memory implementation.
Preserve ADR 0148’s scope, expiry, and invalidation rules. Reuse only provider-verified authorization data; entity-specific facts and CEL decisions must remain current.
Context
This implements the actor cache primitive for ADR 0148. Related, distinct work: #8724 and #8414.
This is a well-scoped new-feature request with no blockers and no in-flight PR/MR. The normative contract already pins down most design details, so implementation can start without further input.
Design guidance from the contract (Authorization Contract v2, "Bounded CEL actor-verdict cache"):
The actor identifier/key must bind provider, tenant, canonical repo/project, immutable actor ID, verified actor kind, effective policy and revision, and permission source. It also binds ref, OWNERS/OWNERS_ALIASES revision, or bot-registry revision where applicable. A login or entity ID is not a valid key.
Entries store only the verified role or verified absence. They never store harness threshold results, CEL decisions, or label-transition grants.
Expiry is absolute, measured from lookup start, capped at five minutes, and never extended by a hit. Failed, incomplete, or unverifiable results must not be stored. Without a configured platform max age, cross-check reuse stays disabled.
Invalidation must work independently of TTL for known role, membership, OWNERS, bot-registry, or policy changes.
The cache must not be used for event admission or model-bound content admission.
Existing code to build on:normevent.Actor already carries ID, kind, role, bot role, and role-verified fields. No actor cache code exists yet, so this is a new package.
Suggested test case (conceptual):
with fake clock and max age = 5m:
Put(key, verifiedRole@t0) -> Get(key) at t0+4m hits
Get(key) at t0+5m -> miss (hits did not extend expiry)
Put(failed/unverified entry) -> rejected, Get misses
keys differing in any dimension -> distinct entries
Invalidate(key) -> only that entry misses
max age unset -> every Get misses
concurrent Get/Put/Invalidate -> clean under -race
The related issues #8724 and #8414 are closed and cover distinct work. Wiring the cache into the entity-CEL path is outside this issue's scope. This is a feature, so automatic promotion to code does not apply; a maintainer can apply the ready-to-code label when ready.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
Activity
fullsend-ai-triage commentedon Nov 10, 2026
🤖 Finished Triage · ✅ Success · Started 12:40 PM UTC · Completed 12:42 PM UTC
Commit:
ef7c61e· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.23
fullsend-ai-triage commentedon Nov 10, 2026
Triage summary
This is a well-scoped new-feature request with no blockers and no in-flight PR/MR. The normative contract already pins down most design details, so implementation can start without further input.
Design guidance from the contract (Authorization Contract v2, "Bounded CEL actor-verdict cache"):
Existing code to build on:
normevent.Actoralready carries ID, kind, role, bot role, and role-verified fields. No actor cache code exists yet, so this is a new package.Suggested test case (conceptual):
The related issues #8724 and #8414 are closed and cover distinct work. Wiring the cache into the entity-CEL path is outside this issue's scope. This is a feature, so automatic promotion to code does not apply; a maintainer can apply the ready-to-code label when ready.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidanceifireball commentedon Nov 10, 2026
/fs-code
fullsend-ai-coder commentedon Nov 10, 2026
🤖 Finished Code · ✅ Success · Started 12:52 PM UTC · Completed 1:03 PM UTC
Commit:
ef7c61e· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.77
fix(#9271): address review feedback on PR #9273
refactor(fullsend-ai#9271): add ADR 0148 actor-verdict cache and in-m…
Merge pull request fullsend-ai#9273 from fullsend-ai/agent/9271-actor…