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 shared entity/event CEL eligibility evaluation (ADR 0098) #9581
featureFeature-category issue awaiting human prioritizationready-for-agentFully specified and ready for an AFK agenttriagedTriaged but awaiting human prioritization
Implement the shared entity-source predicate evaluation boundary. The predicate receives a required normalized entity and nullable event; a supplied event is available for its initial evaluation, while direct entity evaluation uses event == null. The boundary returns exactly one of eligible, proven non-match, deferred/unresolved, or denied. Only eligible may start a sandbox. Keep event-only harnesses on their existing path.
This issue absorbs the CEL binding work from #9582. Reuse normalized-entity v1 and preserve its distinctions among absent, empty, unsupported, not loaded, partial, unknown, and failed data.
Acceptance criteria
CEL tests cover a present event, a null event, guarded and unguarded event access, and entity-only predicates.
Partial and unknown evidence stays unresolved; it cannot become a false result.
The final decision reports eligible, proven non-match, deferred/unresolved, or denied, and only eligible reaches sandbox launch.
Exact placement (likely the harness dispatch layer with the CEL trigger package) is an implementation-planning choice; ADR 0098 is the reference for outcome mapping.
Partial, unknown, unsupported, failed, or provenance-missing data must resolve to deferred or denied, never to a false result. Only eligible may reach sandbox launch, and event-only harnesses must be unchanged.
Proposed test case
Table-driven over the decision seam with fake injected deps:
CEL true -> eligible (sandbox may start)
CEL false, full coverage -> non-match (no sandbox)
CEL unknown / partial data -> deferred (no sandbox, retryable)
unsupported or failed read -> deferred (never coerced to false)
missing provenance -> deferred/denied per ADR (no sandbox)
authorization denied -> denied (no sandbox)
Plus: present event, null event, guarded/unguarded event access,
entity-only predicates, and a harness without entity sources
following the unchanged event-only path.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
Previous run
This issue is ready for implementation. The prerequisites it cites (#8420, #9271, #9276, #9310) are all closed, and no open PR addresses it.
The likely home is the harness dispatch layer, with the poll dispatch path as a caller. The exact placement is left to implementation planning.
Unknown, unsupported, failed, or provenance-missing data must map to deferred or denied, never to a false/empty result, and only the eligible outcome may reach sandbox launch.
Harnesses with no entity sources must keep their current event-only behavior unchanged.
Proposed test case
Table-driven over the decision seam with fake injected deps:
CEL true -> eligible (sandbox may start)
CEL false, full coverage -> non-match (no sandbox)
CEL unknown / partial data -> deferred (no sandbox, retryable)
unsupported or failed read -> deferred (never coerced to false)
missing provenance -> deferred/denied per ADR (no sandbox)
authorization denied -> denied (no sandbox)
Plus: harness without entity sources follows the unchanged event-only path.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
changed the title [-]Add shared pre-sandbox eligibility decision with eligible/non-match/deferred/denied outcomes (ADR 0098)[/-][+]Implement shared entity/event CEL eligibility evaluation (ADR 0098)[/+]on Nov 17, 2026
featureFeature-category issue awaiting human prioritizationready-for-agentFully specified and ready for an AFK agenttriagedTriaged but awaiting human prioritization
Activity
fullsend-ai-triage commentedon Nov 17, 2026
🤖 Finished Triage · ✅ Success · Started 9:05 AM UTC · Completed 9:07 AM UTC
Commit:
4c81590· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.15
fullsend-ai-triage commentedon Nov 17, 2026
Re-triage confirms the earlier assessment: this issue is ready for implementation.
Proposed test case
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
This issue is ready for implementation. The prerequisites it cites (#8420, #9271, #9276, #9310) are all closed, and no open PR addresses it.
Scope notes
Proposed test case
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidance[-]Add shared pre-sandbox eligibility decision with eligible/non-match/deferred/denied outcomes (ADR 0098)[/-][+]Implement shared entity/event CEL eligibility evaluation (ADR 0098)[/+]5 remaining items
ifireball commentedon Nov 17, 2026
/fs-code
fullsend-ai-coder commentedon Nov 17, 2026
🤖 Finished Code · ✅ Success · Started 2:40 PM UTC · Completed 3:01 PM UTC
Commit:
3e8fae6· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $4.84
fix(#9581): bound CEL macro expansion and defer on interrupted authorize
fix(#9581): bound CEL predicate evaluation time and honor cancellation
fix(#9581): defer on cancellation outside comprehensions and fix Eval…
fix(#9581): check ctx before entity binding in Evaluate
refactor(fullsend-ai#9581): add entity/event CEL eligibility decision…
Merge pull request fullsend-ai#9605 from fullsend-ai/agent/9581-entit…