Repository navigation
Description
Parent
#8418 — Implement ADR 0098 entity-first harness evaluation
What to build
For the provider and entity kind selected by #9589, selectively acquire the normalized-entity facts and history needed to evaluate an entity CEL predicate, following ADR 0147.
Keep CEL dependency analysis provider-neutral: it identifies the logical facts and evidence needed to prove a result. The selected provider adapter owns query planning and optimization, translating those logical needs into its native API calls, filters, and pagination. Use provider-side filters only when they are sound for the predicate semantics; otherwise read a broader result and evaluate locally, or return an unknown/deferred outcome when the available evidence is insufficient.
This issue starts with a candidate entity that has already been identified. Source discovery, its query syntax, and combined discovery/routing are handled by #9199, #9586, and #9587. Actor authorization is handled by #9584; wiring the acquisition into fullsend run is handled by #9598.
Preserve independent collection coverage and source-revision consistency across reads. A known positive witness may settle a result over a partial collection when the predicate semantics permit it. Negative and aggregate results require sufficient coverage. Unsupported and failed reads must remain distinguishable from empty results.
Acceptance criteria
- CEL dependency analysis derives provider-neutral logical data needs and proof requirements from the predicate and normalized-entity contract.
- The selected provider adapter translates those needs into provider-native reads and uses a provider filter only when it is sound for the predicate semantics.
- When a sound provider-side filter is unavailable, the adapter broadens the read and evaluates locally, or returns an unknown/deferred result if sufficient evidence cannot be obtained.
- Tests show that state-only predicates do not fetch unrelated history and that only the required fact/history categories are read.
- A known positive witness can settle a result over a partial collection when the contract permits it.
- Incomplete evidence for a negative or aggregate result produces a retryable unknown/deferred outcome.
- Tests cover provider-specific limits, unsupported reads, failed reads, pagination/coverage, and source-revision consistency so these cases cannot be mistaken for empty results.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
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.08
fullsend-ai-triage commentedon Nov 17, 2026
This issue depends on the CEL entity/event binding work tracked in #9582, which is still open and has no linked PR. The acquisition plan is derived from the CEL dependencies of a harness predicate, so it needs the entity-bound (and nullable-event) CEL environment to exist first. The other contracts this issue builds on (normalized entity v1, actor/entity caches, entity-context-snapshot) are already closed.
Once #9582 lands, this issue can be re-triaged and picked up. The scope and acceptance criteria (plan derivation, positive-witness short circuit over partial collections, deferred outcomes for incomplete negative/aggregate evidence, and unsupported or failed reads) look clear enough to start from at that point.
Blocked by:
51 remaining items
fullsend-ai-triage commentedon Nov 27, 2026
Remaining-work check after the earlier code runs: no open PR addresses this issue, and the merged work (engine, GitHub adapter, collections, closing actor) appears to cover the core of the acceptance criteria for GitHub. That covers plan derivation, selective reads, positive-witness short-circuit, retryable deferral for incomplete negative or aggregate evidence, and unsupported or failed reads that are not mistaken for empty results. The adapter also applies no narrowing filter, so none is unsound.
The remaining gaps are fact groups the GitHub adapter still returns as unsupported. They cannot be finished in a single further code run, because they are independent and the first needs a new component.
change_proposal.approval.gate. This needs review decisions and branch rules mapped at the base revision. It is separate from text handling.Proposed follow-up child issues, one for each of the two above, are listed below. Once they land, this issue should be ready to close.
Two items are not proposed as code work:
threadsandchecks(GitHub exposes no immutable creation time) andwork_item.issue_type(the contract maps it as unsupported) stay unsupported. That is the fail-closed outcome the criteria call for, so it can be recorded as the accepted final state.A maintainer should confirm whether the content-safety pipeline deserves its own prerequisite issue or belongs inside the first child.
Blocked by:
refactor(fullsend-ai#9583): read the GitHub closing actor from the la…
Merge pull request fullsend-ai#9896 from fullsend-ai/agent/9583-githu…
ifireball commentedon Nov 30, 2026
/fs-triage is this issue finallt done now?
fullsend-ai-triage commentedon Nov 30, 2026
🤖 Finished Triage · ✅ Success · Started 1:01 PM UTC · Completed 1:03 PM UTC
Commit:
cca0379· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.21
fullsend-ai-triage commentedon Nov 30, 2026
Yes, this issue is done. Triage checked the remaining work rather than relying on the earlier summary.
What was verified
change_proposal.approval.gateresolution for GitHub pull requests) was closed by merged PR refactor(#9909): resolve the GitHub pull request approval gate #9934.Accepted final state, not open work
threadsandchecks, andwork_item.issue_type, intentionally stay unsupported. That is the fail-closed outcome the criteria call for.fullsend run(Run one entity-bound harness cycle through fullsend run #9598) and the provider/kind selection (Choose first entity scope and define compatible run/poll CLI behavior #9589) are separate issues outside this scope.Residual low-risk check: the live-API behavior noted earlier (that a close event's time matches the entity's close time) was not verified against GitHub. If it is wrong, the closer reads as unknown rather than wrong, so this can be confirmed during normal use. File a follow-up if it turns out to be an issue.
Closing as completed. The parent, #8418, stays open.