Skip to content

Implement ADR 0098 entity-first harness evaluation #8418

Todo
17 of 30 issues completed
Todo

Description

@ifireball

What happens

ADR 0098 adopts harness evaluation over a required normalized entity and optional event, but that path is not implemented. Current harness CEL receives only event; fullsend poll still reconstructs events for dispatch. Entity-first execution is disabled until the required versioned contracts exist.

What should happen

  • Event-backed candidates resolve the current forge-neutral entity and evaluate the existing harness predicate with both entity and the prompting event after event authorization.
  • Scheduled entity discovery uses declared entity sources, verified Fullsend invocation provenance, effective platform eligibility policy, and the same predicate with event == null.
  • Before CEL, each candidate harness receives only action-indicating entity history whose actors meet its current observation or mutation threshold. Missing or incomplete enumeration, provenance, policy, or authorization fails closed.
  • Harnesses without entity sources retain their event-only behavior. Handled-state evidence and run coordination prevent recurring discovery from repeatedly launching already-handled work.

Completion criteria

  • The versioned normalized-entity field contract in Specify normalized entity v1 for ADR 0098 #8420 is complete before entity-first execution is enabled.
  • Entity-source declarations, bindings, and concrete provider query languages follow ADR 0079 and the entity-source configuration v1 contract in PR docs(adr): define entity source bindings and execution integration #9199. Implementation issues must consume that contract rather than define competing config or query syntax.
  • The versioned discovery/query protocol required by ADR 0098 and ADR 0149 builds on that source/configuration contract and is complete before entity-first execution is enabled. It defines the logical discovery semantics and maps supported configured query languages to them; see Specify entity discovery completeness and recovery guarantees (ADR 0149) #9586.
  • Acquisition behavior follows accepted ADRs 0147 and 0149; provider/kind scope is selected during implementation planning.
  • An end-to-end event-backed slice and a scheduled-discovery slice demonstrate the shared predicate, nullable-event behavior, authorization gates, and fail-closed cases with meaningful behavior or contract tests.
  • Harness configuration, dispatch/poll behavior, CLI and user documentation reflect the implemented provider scope and preserve event-only compatibility.

Context

Sub-issues

Sub-issues

17 of 30 Issues completed
Loading 30 sub-issues

Activity

  1. fullsend-ai-triage commented on Oct 14, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 11:38 AM UTC · Completed 11:39 AM UTC

    Commit: 9f18857 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.17

  2. added
    blocked
    on Oct 14, 2026
  3. fullsend-ai-triage commented on Oct 14, 2026

    @fullsend-ai-triage

    This work is currently blocked on the normalized-entity v1 and query-planning contract tracked in #8419, which is still open with no PR in flight. The completion criteria here already require that contract before entity-first execution is enabled. It defines the CEL-visible entity fields, the action-indicating history classification, the authorization representation for retained history, and the completeness and query-planning signals that make fail-closed behavior well defined. Implementing the Go representation, the event-backed slice, and the scheduled-discovery slice before that spec is merged would risk building against a moving contract.

    Once #8419 is merged, this issue can be re-triaged. At that point it may be worth splitting into separate event-backed and scheduled-discovery implementation issues, since both share the contract but can be delivered independently. #313 (scheduled runs) is related context for the discovery slice but not a blocker.

    Blocked by:

  4. fullsend-ai-triage commented on Oct 14, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 11:50 AM UTC · Completed 11:52 AM UTC

    Commit: 9f18857 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.12

  5. fullsend-ai-triage commented on Oct 14, 2026

    @fullsend-ai-triage

    This remains blocked. The earlier triage pointed at #8419, but that issue has since been deleted and replaced by two sub-issues, both still open and with no PR in flight:

    The completion criteria here already require both contracts before entity-first execution is enabled, so implementing the Go representation or either slice first would risk building against a moving contract. The two are not equally blocking: the event-backed slice mostly depends on #8420, while the scheduled-discovery slice needs both. Once the contracts land, it would likely be worth re-triaging and splitting this into separate event-backed and scheduled-discovery implementation issues, since they can then be delivered independently. #313 (scheduled runs) is related context for the discovery slice but not a blocker.

    Blocked by:

  6. fullsend-ai-scribe commented on Oct 15, 2026

    @fullsend-ai-scribe

    Meeting update — 2026-10-15

    Relevant to this issue: The entity-first harness evaluation is identified as a blocker for OpenShift platform integration.

    • The entity-based model currently blocks OpenShift integration until the architectural updates required by ADR 0098 are completed
    • Core base solutions remain intact while platform expansion (including OpenShift support) depends on finishing entity-first evaluation
    • Action item to assist with architectural requirements to resolve blocking issues this quarter

    Related PRs: PR #8423 — specifies normalized entity v1 for ADR 0098; PR #8422 — records entity-source discovery requirements

    Next steps: Unblock entity model by completing the architectural requirements; draft new ADRs following the recent merge of existing ADR documents.

    Meeting notes

  7. fullsend-ai-scribe commented on Oct 19, 2026

    @fullsend-ai-scribe

    Meeting update — 2026-10-19

    Relevant to this issue: ADRs for entity implementation supporting infinite execution runners were drafted, with AI tools assisting the architectural design process. This directly advances the entity-first harness evaluation path described in this issue.

    • ADRs for entity implementation have been drafted and are pending finalization
    • AI tools were used to generate and refine architectural ideas, specifically to optimize token usage in the design process
    • The entity architecture aims to support infinite execution runners

    Related PRs: PR #8559 (entity-source discovery requirements for ADR 0098), PR #8423 (normalized entity v1 spec for ADR 0098)

    Next steps: Finalize the ADRs for entity implementation based on the AI-generated drafts

    Meeting notes

  8. self-assigned this
    on Nov 10, 2026
  9. 23 remaining items

  10. added a commit that references this issue on Nov 20, 2026
  11. moved this from Done to Todo in fullsend-ai Workstreamon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blocked

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions