Repository navigation
Description
Parent
#8418 — Implement ADR 0098 entity-first harness evaluation
Purpose and boundary
This issue is about runtime entity discovery: enumerating candidate entities for already-configured source queries, primarily for broad fullsend poll scans. Entity sources are declared in configuration; Fullsend does not discover source declarations.
ADR 0079 and entity-source configuration v1 own source declarations, bindings, provider-specific query syntax, effective selections, trusted scopes, and current source-membership semantics. This contract consumes those definitions. It must not add another source configuration model or query language.
PR #9199 is still open. Drafting may proceed against it, but finalizing this contract must wait for the accepted ADR 0079/entity-source configuration v1, so this specification does not duplicate or conflict with a proposal that may still change.
ADR 0149 requires combined discovery to avoid silently missing candidates. This issue should specify the runtime guarantees needed by the coordinator in #9587. It is separate from selectively acquiring facts for an already-identified candidate (#9583) and must not gate the one-cycle fullsend run path for a candidate whose identity is already known.
The protocol/spec may be a focused companion contract or a section in an existing versioned contract. It should define observable behavior, not prescribe a storage backend or implementation architecture.
Questions the contract must answer
-
What counts as a complete scan? Define the unit of coverage and the evidence an adapter must provide before a scan can report complete, including a complete scan that found no candidates. How are incomplete, unsupported, and failed scans represented? A last page, empty page, or provider result cap must not by itself prove completeness.
-
When is progress safe to commit? Define what checkpoint or covered range means and when it may advance. How must an adapter account for pagination limits, unstable ordering, delayed indexing, and entities that change while a scan is running? When is partitioning or overlap reconciliation required, and what evidence shows that it closed possible gaps?
-
How is uncovered work recovered? Define which incomplete ranges and unresolved candidates remain retryable across process restarts, how retries coexist with new scans, and what fairness, age, or exhaustion guarantees are required. An exhausted retry must not turn missing coverage into a complete scan or an unresolved candidate into a non-match.
-
What invalidates prior coverage? Define how changes to the effective source query, trusted scope, credential scope, provider query behavior, or time-dependent selection affect checkpoints and what rediscovery is required to regain coverage.
-
What must adapter conformance prove? Give observable cases for complete-empty versus incomplete results, caps and pagination, concurrent changes and delayed indexing, failures and restart/retry, and changed query plans. Identify which evidence each case requires from the adapter.
Acceptance criteria
- A versioned normative contract answers the questions above and composes with ADR 0149, the accepted ADR 0079/entity-source configuration v1, and the applicable entity and authorization contracts.
- The contract distinguishes complete-empty from incomplete, unsupported, failed, and retryable outcomes; uncertain coverage cannot be treated as absence.
- Numbered conformance cases map each coverage, progress, recovery, and invalidation requirement to observable adapter behavior.
- Provider-specific limits are recorded only where they affect those guarantees; query-language and source-membership semantics remain owned by ADR 0079/entity-source configuration v1.
- The contract does not claim to enable scheduled execution or entity-driven dispatch without their separate authorization, scope, runtime, and implementation gates.
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
The earlier blocker (the ADR 0079 / entity-source configuration PR) has merged, and the earlier implementation PR was closed without merging. No open PR addresses this issue now, so it is unblocked and ready for implementation, superseding the earlier blocked triage. The issue body still describes the old blocked state. Treat the maintainer decisions in the latest comment as authoritative.
Summary of what to implement:
docs/normative/entity-discovery/v1/README.md(this directory does not exist yet), following ADR 0015. It should link to ADR 0079, ADR 0149 and the entity-source configuration v1 contract and must not define a second source model or query language.fullsend runwith a known entity and event-only harnesses are unaffected.make lint).Proposed conformance coverage:
Proposed changes to siblings #9587–#9589 are left for the maintainer to apply; they were not edited in this run.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
This is ready to implement as a documentation change. ADR 0149 already enumerates the required contents, and existing versioned specs under
docs/normative/(per ADR 0015) show the layout to follow (a versioned directory with a README).Points for the implementer:
make lint.No open PR addresses this issue and there are no blockers. The related implementation issue (scheduled discovery, routing, dedup, retry state) should consume this spec once merged.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Nov 17, 2026
🤖 Finished Code · ✅ Success · Started 9:09 AM UTC · Completed 9:19 AM UTC
Commit:
4c81590· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.42
fix(#9586): address review feedback on PR #9590
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.07
19 remaining items
fullsend-ai-triage commentedon Nov 20, 2026
This issue is blocked on the ADR 0079 / entity-source configuration v1 proposal, which is still open. That proposal owns source declarations, bindings, query syntax and source-membership semantics, and this discovery-completeness contract must consume those definitions rather than duplicate them. The issue itself says the contract can only be finalized after that proposal is accepted.
The earlier implementation PR for this issue was closed without merging. The maintainer's reason was that it was written before the ADR 0079 work existed, so it is no longer in flight. Any new implementation should start from the accepted ADR 0079 contract instead of reviving it. Drafting alongside the proposal is possible, but it should not merge ahead of it.
Once the prerequisite merges, this issue can be re-triaged and implemented. The earlier guidance still applies:
Blocked by:
ifireball commentedon Nov 24, 2026
/fs-triage
Please re-triage this issue against the current repository state and incorporate the maintainer decisions below. Keep this run focused on #9586; propose any changes to #9587–#9589 in your report, but do not edit those sibling issues as part of this run.
Prerequisite and contract home
docs/normative/entity-source-configuration/v1/README.mdfor source declarations, bindings, native provider query semantics, effective selections, trusted scopes, and current membership. Do not define a second source model or query language.docs/normative/entity-discovery/v1/README.md, following ADR 0015. The entity-source configuration v1 contract explicitly says it is not the complete discovery/query protocol. The new contract should link to it and to ADRs 0079 and 0149.fullsend pollrun enumerating candidates for configured sources. It does not mean discovering source declarations or keeping a persistent inventory of every entity. Keep it separate from normalized-entity field acquisition and cache freshness.Poll behavior and recovery
Boundaries and conformance
fullsend runwhen the entity identity is already known. Every entity-driven sandbox cycle still rechecks current source membership and the shared CEL eligibility decision.fullsend-ai-triage commentedon Nov 24, 2026
🤖 Finished Triage · ✅ Success · Started 9:52 AM UTC · Completed 9:54 AM UTC
Commit:
ff203b9· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16
fullsend-ai-coder commentedon Nov 24, 2026
🤖 Code ·⚠️ Cancelled · Started 9:56 AM UTC · Ended 9:59 AM UTC
Commit:
ff203b9· View workflow run →ifireball commentedon Nov 24, 2026
/fs-code
fullsend-ai-coder commentedon Nov 24, 2026
🤖 Finished Code ·⚠️ Cancelled · Started 9:56 AM UTC · Completed 9:59 AM UTC
Commit:
ff203b9· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high
fullsend-ai-coder commentedon Nov 24, 2026
🤖 Finished Code · ✅ Success · Started 10:01 AM UTC · Completed 10:10 AM UTC
Commit:
ff203b9· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.14
docs(#9586): address review feedback on entity discovery contract
docs(#9589): define first entity scope and run/poll CLI contract
docs(fullsend-ai#9586): add entity discovery v1 normative contract
Merge pull request fullsend-ai#9828 from fullsend-ai/agent/9586-entit…