Repository navigation
Description
Parent
#8418 — Implement ADR 0098 entity-first harness evaluation
What to build
Implement the combined entity-source discovery coordinator for the selected first provider/kind scope. For each provider, tenant, repository or project, entity kind, and effective credential scope, run one compatible logical search across enabled harness sources, as required by ADR 0149.
Use the effective source selections and provider-native membership semantics defined by ADR 0079 and the entity-source configuration v1 contract. Membership may be checked remotely. A local check is appropriate only when it reproduces the provider's current semantics exactly. Deduplicate candidates by canonical entity identity and route each candidate to the harnesses whose effective source selections match.
Optimize time-to-useful-candidate under provider limits. Where provider behavior and source semantics allow, return fresher or recently updated candidates first and process candidates as pages arrive. Respect provider page/result caps and rate-limit/backoff guidance.
Each poll pass reports complete, incomplete/interrupted, failed, or unsupported. Complete-empty means the configured search plan completed and returned no candidates; an interrupted, capped, or rate-limited pass may still yield candidates but is not complete-empty. Keep unresolved-candidate retries in memory during the poll process; do not require a shared durable checkpoint or persistent candidate inventory. A later poll invocation may start a fresh scan. Provider-specific backfill, safe partitioning, or reconciliation must give older candidates recurring chances without a global catch-up deadline or permanent starvation.
This is the discovery capability consumed by fullsend poll; CLI composition and compatibility are tracked separately.
Acceptance criteria
- Deterministic adapter tests cover combined searches, scope isolation, provider-native membership checks, candidate routing, canonical deduplication, and unsupported queries/operators.
- Freshness-first ordering is used where supported without changing source membership semantics; candidates can be processed incrementally as pages arrive.
- Pagination, result caps, delayed indexing, concurrent changes, and rate limits cannot make an incomplete pass look like a successful empty result. A candidate already found may proceed if its own current membership and eligibility checks pass.
- Unresolved candidates can be retried in memory during a poll process; a new invocation starts a fresh scan without requiring shared durable retry/checkpoint state. Recurring provider-specific backfill prevents older candidates from being permanently starved.
- Tests use the conformance cases from the normative discovery contract at
docs/normative/entity-discovery/v1/README.md.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
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.11
fullsend-ai-triage commentedon Nov 17, 2026
This issue is blocked by two open issues that must land first, as the description already notes:
No open pull request currently addresses this issue. Once both prerequisites are resolved, the issue can be re-triaged. Its scope and acceptance criteria (provider-adapter conformance cases with deterministic fixtures) are already well defined.
Blocked by:
fullsend-ai-triage commentedon Nov 17, 2026
🤖 Finished Triage · ✅ Success · Started 9:38 AM UTC · Completed 9:40 AM UTC
Commit:
4c81590· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.05
fullsend-ai-triage commentedon Nov 17, 2026
This issue remains blocked by three items, all still open:
No open PR addresses this issue directly. Scope and acceptance criteria are already clear, so re-triage once these land.
Blocked by:
[-]Implement combined scheduled discovery search, local routing, canonical dedup, and retry state (ADR 0149)[/-][+]Implement combined entity-source discovery for the selected scope (ADR 0149)[/+]34 remaining items
fix(#9587): address second review round on PR #9948
fix(#9587): keep backfill reserve when retries exhaust an allocation
fix(#9587): address third review round on PR #9948
refactor(#9587): add combined entity-source discovery coordinator
fix(#9587): address review feedback on PR #9948
fix(#9587): move misplaced doc comments in discovery tests
fix(#9587): supersede retained retry facts for rediscovered non-members
fix(#9587): exclude rediscovered candidates before the retry batch limit
refactor(#9587): add combined entity-source discovery coordinator
fix(#9587): stop retry batch on plan change; quote selection in error
fix(#9587): honor retry backoff on rediscovery; spend no attempt with…
fix(#9587): keep no-route retries out of batch; count held rediscover…
fix(#9587): count no-route rediscovery of a retained retry item unres…
fix(#9587): unknown membership for repeated user qualifiers in legacy…
refactor(#9587): add combined entity-source discovery coordinator