Skip to content

Implement entity-source configuration v1 as the canonical config model #9884

Done

Description

@ifireball

Parent

#8418 — Implement ADR 0098 entity-first harness evaluation

Upstream contract

Implement ADR 0079 and entity-source configuration v1. This issue also updates the normative v1 compatibility rules to reflect the requirements below; the current legacy_tracker translation rule is superseded.

What to build

Load entity-source configuration into one canonical in-memory model, and port the existing Jira poller to consume it. The Jira poller receives its resolved project list from an entity source and uses the multi-project internals from the child issue under #9677. Runtime consumers do not keep a second raw tracker model.

Harness-level entity_kinds and entity_filters fields and their composition are tracked separately in #9905.

Configuration compatibility rules

  • Validate the effective per-repository configuration after all layers are composed. Legacy tracker cannot coexist with entity-provider connections or any entity_sources anywhere in that effective configuration. A connections map containing only non-entity services such as Vault may coexist with tracker.
  • Resolve legacy tracker using its existing whole-block replacement semantics, then normalize the effective provider block into provider-named entries. Do not generate a legacy_tracker name. A mixed legacy/entity configuration is an actionable validation error, not a precedence or shadowing case.
  • Map legacy Jira settings to connections.jira and, when a project scope exists, entity_sources.jira. Map base_url, api_url, and creation policy to the connection; map the primary project and JQL to the source; preserve the legacy poll-enabled setting as discovery eligibility. Map tracker.jira.run_label to connections.jira.jira_agent_start_label.
  • jira_agent_start_label applies to any Jira-sourced agent run, before sandbox setup, with the existing best-effort behavior. It does not change event polling or enable entity dispatch.
  • Legacy GitHub and GitLab tracker blocks contain creation policy only. Map allowed_targets to the corresponding provider connection and do not create an entity source from policy alone.
  • Preserve the endpoint and credential resolution used by the legacy tracker. Never retarget a legacy grant or credential to the repository's native host merely because the new connection has a provider-default name. If a legacy endpoint cannot be represented without changing the target host or credential scope, fail with an actionable diagnostic.
  • Preserve default command selection, existing Jira secret names, query and poll behavior, checkpoints, and event dispatch behavior. Normalization does not create agent entity bindings or replay historical work.

Acceptance criteria

Activity

  1. added
    ready-for-agent
    on Nov 26, 2026
  2. fullsend-ai-triage commented on Nov 26, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 10:13 AM UTC · Completed 10:15 AM UTC

    Commit: d9d65b1 · View workflow run →

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

  3. added
    blocked
    on Nov 26, 2026
  4. fullsend-ai-triage commented on Nov 26, 2026

    @fullsend-ai-triage

    This issue is clearly specified, and the entity-source configuration v1 contract it builds on is already merged. It can't be fully implemented yet, though, because of one dependency.

    The Jira poller port needs the multi-project poller internals tracked in #9883, the child of #9677. That issue is still open and has no pull request. The acceptance criteria for resolving a multi-project Jira scope from an entity source depend on the poller accepting an explicit set of project keys, so they can't be met until #9883 lands.

    Once #9883 is merged, this issue can be re-triaged and should be ready for implementation. The downstream issues #9598, #9587 and #9588 depend on this one, not the other way around.

    Blocked by:

  5. self-assigned this
    on Nov 26, 2026
  6. ifireball commented on Nov 26, 2026

    @ifireball
    MemberAuthor

    /fs-triage

  7. fullsend-ai-triage commented on Nov 26, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:43 PM UTC · Completed 12:45 PM UTC

    Commit: 17d68d0 · View workflow run →

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

  8. 15 remaining items

  9. fullsend-ai-triage commented on Nov 27, 2026

    @fullsend-ai-triage

    An open, non-draft pull request already implements this issue's config model and Jira poller port. It is awaiting review. It describes itself as a partial implementation and references the parent issue rather than closing this one, so it may not cover everything. Don't dispatch a second implementation while it is open.

    The divergences from this issue's requirements flagged in the previous triage comment still apply, since the PR has not been updated since:

    • Legacy normalization: the PR generates a legacy_tracker connection and source. This issue requires provider-named entries (connections.jira, entity_sources.jira) and no generated legacy_tracker name.
    • Mixed configuration: this issue requires an actionable validation error when legacy tracker coexists with entity connections or sources in the effective configuration. A Vault-only connections map is the exception. The PR records shadowing diagnostics instead.
    • jira_agent_start_label: confirm the PR maps tracker.jira.run_label to it and applies it to any Jira-sourced agent run before sandbox setup.
    • Normative v1 document: it must be updated for provider-named normalization, effective-layer exclusivity, the Vault-only exception, and jira_agent_start_label.

    If the PR merges with gaps, a re-triage can scope the remainder.

    Addressed by:

    Previous run

    A pull request for this issue is already open and ready for review. It adds the connections, entity sources and agent bindings to the config model and ports the Jira poller to read the canonical model. Its description calls it a partial implementation, so this issue is not blocked, but the PR may not cover everything yet. Please don't dispatch a second implementation while it is open.

    When you review it, check it against this issue's requirements. These are the points where it appears to differ:

    • Legacy normalization: the PR describes translating legacy tracker into a connection and source named legacy_tracker. This issue requires provider-named entries (connections.jira, entity_sources.jira) and says no legacy_tracker name should be generated.
    • Mixed configuration: the issue requires an actionable validation error when legacy tracker coexists with entity connections or sources in the effective configuration. A Vault-only connections map is the exception. The PR describes recording diagnostics when explicit entries shadow translated ones, which is a different behavior.
    • jira_agent_start_label: the issue maps tracker.jira.run_label to connections.jira.jira_agent_start_label and applies it to any Jira-sourced agent run before sandbox setup. Check that the PR covers this.
    • Normative v1 document: the issue requires updating the document and its examples for the rules above.

    The PR is non-draft. If it lands and leaves gaps, a re-triage can scope the remainder.

    Addressed by:

  10. fullsend-ai-triage commented on Nov 27, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 9:14 AM UTC · Completed 9:15 AM UTC

    Commit: 547a3c6 · View workflow run →

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

  11. added
    pr-open
    and removed
    pr-open
    on Nov 27, 2026
  12. ifireball commented on Nov 27, 2026

    @ifireball
    MemberAuthor

    PR #9893 is the implementation slice for this issue. All remaining work from #9884 is tracked in these follow-ups:

    Once PR #9893 merges, close #9884. Do not schedule or add more implementation work under #9884; continue only through the linked follow-up issues.

  13. added 2 commits that reference this issue on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

pr-openready-for-agent

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions