Repository navigation
Description
Parent
#8418 — Implement ADR 0098 entity-first harness evaluation
Dependency
Depends on #9884 for the canonical entity-source configuration model.
What is missing
PR #9893 currently normalizes legacy tracker through a generated legacy_tracker connection, allows it to coexist with explicit entity configuration, and lets explicit entries shadow the generated fallback. The agreed compatibility behavior instead uses provider-named entries and rejects mixed legacy/entity configuration, with a Vault-only exception for connections. The current PR also does not map the legacy Jira run label into the canonical connection field.
Without this in-memory compatibility path, runtime consumers either need to keep reading raw tracker or users must rewrite configuration before the canonical model can replace it. The explicit user-config migration command is tracked separately in #9885.
What should happen
Load the effective legacy tracker configuration into the canonical provider-named model without modifying user files. Preserve the old whole-block replacement behavior across layers before translating. Map GitHub and GitLab allowed_targets to the matching provider connection without creating entity sources; map Jira connection, source, polling eligibility, command defaults, and jira_agent_start_label while preserving endpoint and credential scope.
Reject an effective configuration that combines legacy tracker with entity-provider connections or entity_sources. A connections map containing only non-entity services such as Vault may coexist. Diagnostics should identify the conflicting configuration and remediation.
Update the normative v1 compatibility text to match this behavior. Do not add an automatic file rewrite or migration command to this issue.
Acceptance criteria
- Legacy-only configurations resolve to provider-named canonical connections and, for a complete Jira project scope, the Jira entity source.
- GitHub and GitLab policy-only blocks retain their
allowed_targetsand do not create an entity source. -
tracker.jira.run_labelresolves toconnections.jira.jira_agent_start_label. - Whole-block legacy layer replacement is preserved; changing the effective provider cannot leave grants from the replaced provider active.
- Mixed legacy/entity configuration fails validation, including when the conflicting values arrive through different layers; Vault-only connections remain allowed.
- Host, credential, query, command-default, polling, and checkpoint behavior remain unchanged. A mapping that cannot preserve host or credential scope fails with an actionable error.
- The normalized effective-config view reports provider-named results and their source layer without exposing secret values.
- Tests cover provider switches across layers, policy-only GitHub/GitLab, Jira label and polling translation, mixed-config errors, the Vault exception, and host/credential preservation.
- No configuration file is rewritten; the optional in-place migration remains in Add an in-place migration command for legacy tracker configuration #9885.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Nov 27, 2026
🤖 Finished Triage · ✅ Success · Started 9:19 AM UTC · Completed 9:20 AM UTC
Commit:
547a3c6· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.09
fullsend-ai-triage commentedon Nov 27, 2026
The scope and acceptance criteria here are clear, but implementation can't start until the canonical entity-source configuration model exists. That model is tracked in #9884 and is being implemented in the open PR #9893, which is not yet merged.
PR #9893 is a partial implementation of #9884 that references the parent issue rather than closing this one, so it doesn't resolve this issue. It does introduce the code this issue changes. As written, the PR generates a
legacy_trackerconnection, lets explicit entries shadow the translated ones, and doesn't map the legacy Jira run label. This issue replaces those behaviors with provider-named entries, mixed-config validation errors with the Vault-only exception, and thejira_agent_start_labelmapping.Once #9893 (or its successor) has merged, this issue should be re-triaged. If the PR is revised to cover these requirements, the remaining scope can be narrowed at that point.
Blocked by:
The normative v1 compatibility text that this issue also asks to update lives in the entity-source configuration contract documentation and is touched by the same PR, so sequencing after it should avoid conflicting edits.
Blocked by:
csoceanu commentedon Nov 30, 2026
/fs-triage
fullsend-ai-triage commentedon Nov 30, 2026
🤖 Finished Triage · ✅ Success · Started 9:14 AM UTC · Completed 9:16 AM UTC
Commit:
5bf4a02· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16
fullsend-ai-triage commentedon Nov 30, 2026
The blockers noted in the earlier triage are resolved: #9884 is closed and PR #9893 has merged, so the canonical model this change builds on is now on main. The issue is ready for implementation.
Where the work lands
internal/config/entity_sources.go— the legacy translation currently generates thelegacy_trackerconnection and Jira source and lets explicit entries shadow them. This is the code to change to provider-named entries with mixed-config rejection.internal/config/issue_targets.go— the legacyrun_labelis parsed here. It needs to feedjira_agent_start_label.internal/config/effective.go— the effective-config view should report provider-named results and their source layer.docs/normative/entity-source-configuration/v1/README.md— the compatibility text that describes thelegacy_trackerand shadowing behavior needs to be updated to match.Notes for the implementer
legacy_tracker-specific code paths, such as explicit-replacement handling and the shadow diagnostics, become obsolete. Remove them rather than leaving dead branches.Proposed test case
Labels: The earlier
blockedlabel no longer applies: the dependency issue #9884 is closed and PR #9893 has merged.type/enhancementfits a deliberate behavior change to an existing compatibility path rather than a defect.Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancecsoceanu commentedon Nov 30, 2026
/fs-code
fullsend-ai-coder commentedon Nov 30, 2026
🤖 Finished Code · ✅ Success · Started 9:20 AM UTC · Completed 9:51 AM UTC
Commit:
5bf4a02· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $4.63
docs(#9907): document reserved provider connection names and jira pol…
feat(fullsend-ai#9907)!: normalize legacy tracker to provider-named c…
Merge pull request fullsend-ai#9933 from fullsend-ai/agent/9907-norma…
feat(fullsend-ai#9903)!: drive repos Jira polling and safety from can…