Skip to content

fix(#9503)!: dispatch built-in agents from Jira without registration - #9831

Merged
csoceanu merged 12 commits into
mainfrom
agent/9503-jira-poll-builtin-agents
Dec 1, 2026
Merged

csoceanu merged 12 commits into
mainfrom
agent/9503-jira-poll-builtin-agents

Conversation

@fullsend-ai-coder

@fullsend-ai-coder fullsend-ai-coder Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The Jira poller now dispatches the built-in agents that can run from Jira (triage and code) without any agents: registration. A fresh fullsend github setup install now dispatches /fs-triage and /fs-code from Jira. So does a config that only tunes a built-in agent, such as - name: triage with runtime: claude. Built-ins are resolved the same way fullsend run resolves them: from the fullsend-ai/agents release tag that matches the CLI version, using the same GitHub token sources as fullsend run (GH_TOKEN, GITHUB_TOKEN, then gh auth). The shipped GitHub poll step receives its read-only job token automatically. GitLab operators can supply a masked, protected GITHUB_TOKEN CI/CD variable, also accepted by the CLI installer. Without a GitHub token, the lookup is anonymous and shares the unauthenticated API rate limit with other jobs using the same public IP address. A cycle that selects Jira work but matches no agent for a /fs-* command or label change now writes an actionable ::warning::.

Review, fix, retro and prioritize are never dispatched from Jira (prioritize has no Jira support yet), so /fs-prioritize produces no dispatch and these agents are never fetched.

This is the functional part of #9503, as requested in #9503 (comment). It uses @ianw's reproduction (#9503 (comment)) as a regression case. The warning-only work stays in #9504.

Changes

  • internal/harnessdispatch/enumerate.go: new ListEffectiveTriggeredHarnesses(ctx, dir, cfg, policy, BuiltinResolver). It lists the agents registered with a source:, plus the Jira-dispatchable built-ins (triage and code) that no source: entry replaces (case-insensitive) and no entry disables. Review, fix, retro and prioritize are never listed or resolved, so one that is unavailable cannot fail the poll. When the config sets roles: (or setup ran with --agents), only the built-ins those roles select are listed, using config.BuiltinAgentSelected (code is selected by coder). Roles do not scope agents registered with a source:. Each selected built-in is loaded with LoadWithBase, with its entry's harness: blocks and Agent set, so runtime, model, effort and harness: overrides apply. A built-in's harness.trigger stays ignored (ADR 0162 Decision 6). An agent whose last entry disables it is not listed. When any listed agent fails to load, the call returns an error that points at agents-repository access and allowed_remote_resources, so the poll fails before checkpoints advance and no event is dropped. ListTriggeredHarnesses, the GitHub dispatch path, is unchanged: it runs the shared loop with a nil resolver.
  • internal/cli/poll.go: newCELMatcher uses the effective list. agentsRepoBuiltinResolver (test seam newJiraBuiltinResolverFn) reuses the version-aware agents-repo fallback, including GHES host handling and allowed_remote_resources, and resolves the ref once per matcher. The configured-host client resolves authentication from GH_TOKEN, GITHUB_TOKEN, then gh auth. Authentication depends on a token reaching the poll process; without one, the resolver falls back to anonymous access. celMatcher.DispatchCandidates feeds the no-match warning.
  • internal/cli/run.go: fetchPinnedAgentsRepoFile is split into resolveAgentsRepoPin and fetchAgentsRepoFileAtPin. fullsend run, lint and dispatch --route behave as before.
  • internal/jirapoll (nomatch.go, poller.go): when a cycle selected issues, evaluated at least one request-like event (a comment with a /fs-* command, or a label change), and dispatched nothing, it writes one ::warning:: line naming each such issue key and event (up to 10); ordinary comments never trigger it, the agents considered, and remediation steps. Dynamic strings are sanitized: control characters dropped, %, CR and LF encoded, and every :: run broken up. The kill switch suppresses the warning.
  • Poll jobs: .github/workflows/reusable-poll-jira.yml binds GH_TOKEN: ${{ github.token }} on the actual Poll Jira step, retaining contents: read. The GitLab poll job already inherits the operator's GITHUB_TOKEN through the installer and poll scripts. This update documents that supported path and tests it through the shipped job YAML; GH_TOKEN retains precedence when both are set. No GitLab or Jira credential substitutes for a GitHub token. GitLab requires access to api.github.com and raw.githubusercontent.com for built-in lookup and fetch. Without a GitHub token, five repositories polling every five minutes can consume the shared 60-request/hour anonymous limit with one ref lookup per cycle.
  • Docs: docs/guides/user/jira-integration.md, docs/reference/config-reference.md, and docs/cli/README.md describe built-in discovery, the supported Jira agent set, role selection, token use, failure behavior and troubleshooting.

Compatibility

  • Breaking default: the built-in triage and code agents that a config does not register, and whose role its effective roles: selects, are now dispatched from Jira when their trigger matches. An omitted, null, or bare roles: key keeps the existing layered-config inheritance behavior; only an explicit roles: [] selects none. For example, an install that registered only triage can now also dispatch code on /fs-code or an added ready-to-code label. To opt out, add - name: code with enabled: false, which also disables the agent on the code host.
  • New failure mode: if the triage or code built-in (or any other enabled, listed agent) cannot be loaded (for example fullsend-ai/agents is unreachable, or allowed_remote_resources: [] is set), the poll run fails. No checkpoint advances, so events are retried next cycle. To poll with no access to the agents repository, register triage and code with a source:; a custom source replaces the built-in, which is then not fetched.
  • Unsupported built-ins: review, fix, retro and prioritize are not Jira dispatch targets and are never fetched. Agents registered with a source: and a valid Jira trigger are still dispatched whatever their name.
  • ADR 0058: this extends the same transitional agents-repo fallback to the Jira matcher; no documented configuration contract changes.
  • Version pinning: release builds read their own agents release tag; development builds read main, as fullsend run does. The harness is fetched at the resolved commit SHA.
  • GitHub routing: unchanged.

BREAKING CHANGE: The Jira poller now dispatches the role-selected built-in triage and code agents that are not disabled, without an agents: registration, and fails the poll run when a listed agent cannot be loaded. Add - name: <agent> with enabled: false to opt an agent out.

Testing

Regression tests cover: missing agents: config, shorthand overrides (ianw's config) and harness: blocks, custom-source precedence, disabled agents (including source plus disable pairs), the roles: subset and inheritance forms (omitted, null and bare inherit; an explicit empty list selects none), version-pinned built-in resolution, partial and total resolution failures, the kill switch, and the no-match warning on both GitHub and GitLab targets. They also cover that /fs-prioritize, /fs-review, /fs-fix and /fs-retro produce no dispatch while /fs-triage and /fs-code still work, that unavailable unsupported built-ins do not fail the poll while an unavailable triage or code still does, restricted agents-repository access (allowed_remote_resources: [], no ref access) with custom sources, and that the default resolver sends GH_TOKEN or GITHUB_TOKEN, prefers GH_TOKEN when both are set, and actually performs an anonymous lookup without either. The fixture-based production-wiring tests exercise newCELMatcher with the real version-aware resolver against controlled HTTP servers; they are not live Jira or live GitHub tests. Job-level regressions execute the GitHub poll step with its YAML token binding and the GitLab YAML's before_script and script commands with a stub CLI. They verify token delivery, unchanged read-only GitHub permissions, and GitLab's token-absent path using dummy credentials.

  • Focused job-token and resolver tests with go test -race: pass.
  • make lint and commit hooks: pass, including actionlint, shellcheck, go vet, secret scanning, and documentation links.
  • make go-test (race detection and coverage): the main-module run passed every package except internal/scaffold. Its existing TestValidateAgentsConfigStep_AcceptsOverrideOnlySettings fails with local yq v4.45.1. The same failure was reproduced on the unchanged PR head 520b5e1; this update does not change that validation step or its test. The new token tests pass. The remaining internal/mintcore tests with -race -tags github were run separately and pass.

E2E validation passed for the Jira → GitLab CEE dispatch flow.

Using Fullsend built from c125d9de17c2605296b0bb9c06dbb99da49867fe (the reachable pre-merge commit for this PR), I verified:

  • /fs-triage dispatched successfully.
  • /fs-code dispatched successfully.
  • The code agent created fs-code-live-test-fourth-try.md.
  • Validation and post-processing passed, and GitLab MR was created.

This confirms the flow works end to end in the tested environment.

pkg/behaviourtest still builds its Jira matcher from registered harnesses only.

Checklist

  • PR title follows Conventional Commits and is marked breaking (!) because the default Jira dispatch behavior changes
  • Tests added/updated for new or modified logic
  • Human-authored documentation correction is DCO-signed; autonomous agent commits are exempt

Closes #9503

@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner November 24, 2026 12:28
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Nov 24, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:31 PM UTC · Completed 12:44 PM UTC

Commit: 6369f65 · View workflow run →

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

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Site preview

Preview: https://4977c97d-site.fullsend-ai.workers.dev

Commit: cdeb1413cec91dd499a34266a475271948203837

@csoceanu
csoceanu marked this pull request as draft November 24, 2026 12:39
@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 24, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn, multi-author contention, and large change size are balanced by high test coverage (50%), bot authorship, opt-out rollback safety, and full alignment with linked issue #9503 acceptance criteria.

Previous run

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (50%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (50%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (50%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (4)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (50%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (5)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (50%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (6)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (50%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (7)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention across touched CLI files are counterbalanced by strong test coverage (48%), zero protected or security-sensitive paths modified, opt-out rollback safety, and full alignment with issue #9503 acceptance criteria.

Previous run (8)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (50%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (9)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (47%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (10)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (44%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (11)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (41%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (12)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (44%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (13)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (43%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (14)

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn and multi-author contention in core CLI files are balanced by strong test file coverage (43%), zero protected or security-sensitive paths modified, and full alignment with linked issue #9503 acceptance criteria.

Previous run (15)

Risk Assessment: moderate (2/5)

Details

Moderate risk: while touching high-churn core CLI files with elevated historical churn, the PR has high test coverage, modifies no protected or security-sensitive paths, and precisely addresses the linked issue acceptance criteria.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium

Low

  • [api-contract] internal/cli/poll.go:593 — The Jira built-in resolver always uses GitHub and ignores a configured Forgejo agent-definition source, unlike fullsend run's agentsRepoFallback; poll-time trigger matching can differ from run-time composition.
    Remediation: Honor the configured Forgejo source before constructing the GitHub resolver, and add a resolver test.

Earlier findings

  • internal/config/config.go:1253 (also :1268, :1276, :1277, :1287), fail-open / breaking-config — resolved: the roles-null handling raised against these lines is no longer in the PR; config.go now only adds BuiltinAgentSelected.
Previous run

<!-- fullsend:review-diff-hash:7d40ff5a28b1f437604b1db02acc144e7732c02526e766ac42eb9af19390da64 -->
<!-- fullsend:review-head:520b5e1e2fff384acaa364c29d877e43bc9dc9b7 -->
<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJhcGktY29udHJhY3QiLCJmaWxlIjoiaW50ZXJuYWwvY2xpL3BvbGwuZ28iLCJpZCI6ImZfMTA3YjA3Y2I1MzhiMWUyNyIsImxpbmUiOjU5MywiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZmFpbC1vcGVuIiwiZmlsZSI6ImludGVybmFsL2NvbmZpZy9jb25maWcuZ28iLCJpZCI6ImZfYzkyZGIxOWU4ZDMyMjE5NiIsImxpbmUiOjEyNzcsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzZWN1cml0eSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImZhaWwtb3BlbiIsImZpbGUiOiJpbnRlcm5hbC9jb25maWcvY29uZmlnLmdvIiwiaWQiOiJmX2Y0ZjBkYjEzYmI4MDJiYjAiLCJsaW5lIjoxMjc2LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic2VjdXJpdHkifSx7InNldmVyaXR5IjoiaW5mbyIsImNhdGVnb3J5IjoiZmFpbC1vcGVuIiwiZmlsZSI6ImludGVybmFsL2NvbmZpZy9jb25maWcuZ28iLCJpZCI6ImZfNTY1MTlkYjMyOGUxOWE3NiIsImxpbmUiOjEyNzcsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzZWN1cml0eSJ9LHsic2V2ZXJpdHkiOi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6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2ViZWQ5ZjJkNTBiYjc4YTEiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl82YzA3NDBmNTc5ZTQyMThjIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfZDYzYzBhY2IwZDIxOThlMyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzNkODNkNzhhY2M2NmY1MjIiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Low

  • [api-contract] internal/cli/poll.go:593 — The Jira built-in resolver always selects GitHub, ignoring the configured Forgejo agent-definition source. Unlike fullsend run's agentsRepoFallback, it never checks forgejoAgentsSourceFn. With FULLSEND_FORGEJO_URL and a pinned Forgejo definitions repository configured, Jira polling therefore evaluates GitHub harnesses instead of the definitions execution uses, or fails entirely when GitHub access is unavailable.
    Remediation: Honor the configured Forgejo agent-definition source before constructing the GitHub resolver, retaining its pinned-source and fail-without-GitHub-fallback behavior. Add a Jira matcher test using configured Forgejo definitions.
  • [fail-open] internal/config/config.go:1277 — The default-config constructor still replaces nil roles with DefaultAgentRoles(), selecting triage and code for the new Jira fallback. An explicit empty slice remains restrictive, but losing the role selection restores the broader defaults. Unchanged since the prior review.
    Remediation: Keep default selection explicit at installation boundaries, and preserve an explicit deny-all role selection when constructing runtime configuration.
  • [fail-open] internal/config/config.go:1276 — NewPerRepoConfig continues treating nil roles as permission to install the standard role set rather than selecting no agents. The new Jira enumeration consumes that selection. Non-nil empty roles are preserved; the residual concern is the permissive nil default.
    Remediation: Separate an explicitly requested default installation from runtime construction with missing role-selection data.
  • [fail-open] internal/config/config.go:1277 — NewPerRepoConfig still substitutes the broad default role set when roles are missing. A caller that loses a restrictive role list can restore both Jira built-in candidates. Limited to selection defaults, not a demonstrated actor-authorization bypass.
    Remediation: Require callers to opt into the default role set explicitly, or reject missing selection data in security-sensitive runtime paths.
  • [fail-open] internal/config/config.go:1276 — The runtime default constructor retains a permissive nil-role branch: missing role data selects DefaultAgentRoles(), whereas an explicit empty selection selects no built-ins.
    Remediation: Separate missing runtime selection from an intentional request for installation defaults.
  • [sub-agent-failure] PR-level — The challenger sub-agent did not return findings: its adjudication accounting was ambiguous (it merged 12 findings with identical category/file/line identities but listed only 11 in merged_from, so one-to-one accounting could not be established). Using pre-challenger finding set.

Info

  • [fail-open] internal/config/config.go:1277 — The constructor's default-on role selection remains present: nil becomes DefaultAgentRoles(), which includes the roles enabling both Jira built-ins. Informational; not evidence that actor authorization is bypassed.
    Remediation: Retain explicit roles: [] wherever no built-in agents should be selected.
  • [fail-open] internal/config/config.go:1277 — Missing role-selection input still yields the standard enabled roles in NewPerRepoConfig, so the Jira fallback can consider triage and code without an explicit role list. Unchanged; explicit empty role lists remain deny-all.
    Remediation: Use an explicit empty role list when constructing a configuration intended to select no built-ins.
  • [fail-open] internal/config/config.go:1276 — The nil-versus-empty distinction remains security-relevant at construction: nil requests the broader default role set, whereas [] selects no built-ins.
    Remediation: Ensure callers distinguish intentional default installation from missing restrictive configuration.
  • [fail-open] internal/config/config.go:1277 — NewPerRepoConfig still enables standard roles when its roles argument is nil; with effective Jira built-in enumeration, absence of an explicit selection can enable candidates a narrower list would exclude. Actor authorization remains a separate control.
    Remediation: Require an explicit default-selection decision where runtime callers must fail closed.
  • [fail-open] internal/config/config.go:1276 — The constructor continues interpreting absent roles permissively rather than as an empty selection: nil takes DefaultAgentRoles(); a non-nil empty slice does not.
    Remediation: Preserve non-nil empty slices for deny-all configurations.
  • [fail-open] internal/config/config.go:1277 — DefaultAgentRoles() remains the fallback for absent constructor roles, so Jira built-in selection is opt-out at this boundary; it does not imply every Jira actor can dispatch an agent.
    Remediation: Keep restrictive selections explicit rather than relying on missing configuration to disable agents.
  • [fail-open] internal/config/config.go:1277 — The default constructor still broadens nil role input to the standard role set. The Jira matcher uses that selection to discover built-ins even when no agent sources are registered. Explicit empty roles continue to exclude them.
    Remediation: Use an explicit empty selection for runtime configurations that must not acquire default built-in candidates.
  • [fail-open] internal/config/config.go:1277 — The constructor's permissive missing-role fallback remains: nil selects standard roles rather than none. Empty slices are correctly preserved.
    Remediation: Make restrictive runtime selection explicit and preserve its nil-versus-empty representation.
  • [fail-open] internal/cli/poll.go:553 — The matcher still enumerates effective built-ins rather than requiring agents: registrations. An absent registration list is not a deny-all boundary: selected, non-disabled triage and code harnesses may become candidates. This is the requested fallback behavior; roles, explicit disables, the kill switch, triggers and actor authorization remain separate controls.
    Remediation: Use roles: [] or explicit enabled: false entries when built-in candidate discovery must be disabled.
  • [fail-open] internal/cli/poll.go:534 — newCELMatcher still loads configuration with MissingOK: true, so direct construction without either config file obtains default roles and may resolve built-in candidates instead of failing closed. The normal Jira CLI path separately requires tracker.jira settings and enabled polling.
    Remediation: Consider requiring configuration in matcher construction when callers rely on its absence to stop dispatch.
  • [fail-open] internal/config/config.go:763 — BuiltinAgentSelected still returns true immediately for nil roles: nil selects a built-in, [] selects none, a non-empty list must contain an enabling role. The missing-selection fallback remains permissive, as documented.
    Remediation: Preserve explicit deny-all role lists and avoid treating missing selection as restrictive.
  • [fail-open] internal/config/config.go:763 — The nil-role shortcut in BuiltinAgentSelected remains unchanged and allows built-in selection without an enabling role entry. Explicit empty and non-empty lists follow restrictive membership checks.
    Remediation: Preserve explicit deny-all role lists and avoid treating missing selection as restrictive.
  • [fail-open] internal/config/config.go:763 — Absent roles still mean every built-in is selected in BuiltinAgentSelected, subject to the caller's supported-agent subset and explicit disables. Unchanged default behavior, not a new authorization bypass.
    Remediation: Preserve explicit deny-all role lists and avoid treating missing selection as restrictive.
  • [breaking-config] internal/config/config.go:762 — The change is still present: the exported BuiltinAgentSelected and builtinAgentRoles mapping make the existing roles: key decide which built-in agents Jira dispatch falls back to. nil roles selects every built-in; explicit roles: [] selects none; code is enabled by the coder role. Installs that never registered agents but set roles: now start dispatching the selected built-ins from Jira. Intentional, and the PR title carries the ! marker. No config schema field added or removed.
    Remediation: No code change required; ensure release notes and the config-reference entry for roles: describe the Jira fallback and roles: [] / coder semantics.
  • [breaking-config] internal/config/config.go:762 — The change is still present: the exported BuiltinAgentSelected and builtinAgentRoles mapping make the existing roles: key decide which built-in agents Jira dispatch falls back to. nil roles selects every built-in; explicit roles: [] selects none; code is enabled by the coder role. Installs that never registered agents but set roles: now start dispatching the selected built-ins from Jira. Intentional, and the PR title carries the ! marker. No config schema field added or removed.
    Remediation: No code change required; ensure release notes and the config-reference entry for roles: describe the Jira fallback and roles: [] / coder semantics.
  • [breaking-config] internal/config/config.go:762 — The change is still present: the exported BuiltinAgentSelected and builtinAgentRoles mapping make the existing roles: key decide which built-in agents Jira dispatch falls back to. nil roles selects every built-in; explicit roles: [] selects none; code is enabled by the coder role. Installs that never registered agents but set roles: now start dispatching the selected built-ins from Jira. Intentional, and the PR title carries the ! marker. No config schema field added or removed.
    Remediation: No code change required; ensure release notes and the config-reference entry for roles: describe the Jira fallback and roles: [] / coder semantics.

16 finding(s) below the low severity threshold were not posted.

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added component/dispatch Workflow dispatch and triggers component/docs User-facing documentation labels Nov 24, 2026
@fullsend-ai-coder

fullsend-ai-coder Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 12:46 PM UTC · Completed 1:02 PM UTC

Commit: 6369f65 · View workflow run →

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

@codecov

codecov Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

fullsend-ai-coder Bot added a commit that referenced this pull request Nov 24, 2026
Address review feedback on PR #9831.

- ListEffectiveTriggeredHarnesses now returns an error when any agent
  fails to resolve or load, so the Jira poller no longer advances
  checkpoints past events only the unavailable agent could match.
- Sanitize dynamic strings in the no-match warning annotation.
- Rename the newJiraBuiltinResolver test seam to newJiraBuiltinResolverFn.
- Document the new failure mode in the Jira guide.

Note: pre-commit could not fetch hook repositories (certificate failure);
go fmt, go vet and whitespace checks were run directly. Unrelated
pre-existing test failures in internal/cli (TestStartFetchService_*,
TestPostScriptEnv_NoSchema*) also fail without this change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fullsend-ai-coder fullsend-ai-coder Bot changed the title fix(#9503): warn when jira-poll has no agent to dispatch fix(#9503): dispatch built-in agents from Jira without registration Nov 24, 2026
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 1 (bot-triggered)

Fixed the high-severity event-loss finding (the Jira poll now fails if any agent cannot load), sanitized the no-match annotation, renamed the test seam, and proposed a new PR title. Two low-severity findings (Jira-scoped opt-out, release notes) were recorded as disagreements as out of scope.

Fixed (4):

  1. A transient failure loading one built-in harness discards its Jira events (enumerate.go) (internal/harnessdispatch/enumerate.go): ListEffectiveTriggeredHarnesses now returns an error when any agent fails to resolve or load, so the Jira poll fails before checkpoints advance and the events are retried next cycle. Updated the partial-failure tests, added a regression test that a single unavailable built-in fails newCELMatcher and dispatches after recovery, adjusted the version-pinned resolver test to disable built-ins its fake server does not serve, and documented the new error in the Jira guide troubleshooting table.
  2. No-match warning annotation embeds unescaped Jira command/label text (nomatch.go) (internal/jirapoll/nomatch.go): Added sanitizeAnnotation: drops control characters, encodes percent, CR and LF, and breaks up the double-colon sequence. Applied to the event descriptions and agent names in the warning. Added a test with percent-encoded newlines, double colons and an ESC character.
  3. Test seam newJiraBuiltinResolver lacks Fn suffix and 'Override in tests' doc sentence (poll.go) (internal/cli/poll.go): Renamed to newJiraBuiltinResolverFn in poll.go and the tests, and reworded the doc comment to include an 'Override in tests to...' sentence.
  4. PR title matches only the first cherry-picked commit: Proposed the title suggested by the reviewer through pr_title.

Disagreed (2):

  1. Existing Jira installs now dispatch every non-disabled built-in; consider a Jira-scoped opt-out (poll.go): This is the behavior the linked issue requested and the guide documents it. A Jira-scoped opt-out is a new feature beyond this PR's scope; the retitled PR now conveys the dispatch change. Consider a follow-up issue.
  2. New network dependency and non-zero exit on poll should be called out in release notes (enumerate.go): Release notes are not editable by the fix agent. The failure mode is documented in the Jira guide troubleshooting table, which this run extended for the stricter behavior.

Tests: passed

CI inspections (1):

  1. test (pending, in_progress): Still running when inspected; the other non-Fullsend checks had passed or were skipped.

Conflict update: skipped; strategy none; forge MERGEABLE; target main

Decision points
  • How to prevent event loss when a built-in cannot load (alternatives: Preserve checkpoints for events the unavailable agent could match, Fail the poll when any agent cannot load; rationale: Failing the poll is the smallest correct change: checkpoints stay untouched and the next cycle retries every event, with no need to predict what an unloadable harness would have matched.)

PR metadata: title updated

Next steps:

  • /fs-review — request a re-review of the changes
  • /fs-fix <your instruction> — run another fix pass with specific guidance
  • Push commits directly — review re-runs automatically on push

Updated by fullsend fix agent

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:04 PM UTC · Completed 1:20 PM UTC

Commit: 1c9ac4e · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

fullsend-ai-coder Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 1:22 PM UTC · Completed 1:30 PM UTC

Commit: 1c9ac4e · View workflow run →

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

fullsend-ai-coder Bot added a commit that referenced this pull request Nov 24, 2026
strings.NewReplacer matches without overlap, so ::: became ': ::' and
still contained '::'. Encode %, CR and LF with the replacer, then loop
until no '::' remains. Add a test for runs of three or more colons.

Note: pre-commit hooks were not run (pre-commit could not fetch hook
repositories, TLS failure in the sandbox). gofmt, go vet and
go test -race ./internal/jirapoll/ passed.

Addresses review feedback on PR #9831

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fullsend-ai-coder fullsend-ai-coder Bot changed the title fix(#9503): dispatch built-in agents from Jira without registration fix(#9503)!: dispatch built-in agents from Jira without registration Nov 24, 2026
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 2 (bot-triggered)

Fixed the incomplete double-colon neutralization in the no-match annotation sanitizer and added a regression test. Proposed a breaking-change PR title and body. Existing commit subjects are left for a human squash.

Fixed (2):

  1. The no-match annotation sanitizer left a double-colon sequence in runs of three or more colons (internal/jirapoll/nomatch.go): Encode percent, CR and LF with the replacer, then break up every double colon in a loop until none remains. Added a test covering runs of three to five colons and mixed encoded input that asserts the output has no double colon.
  2. PR title and body do not mark the changed default Jira dispatch behavior as breaking: Proposed a title with the breaking marker and a condensed body whose checklist and BREAKING CHANGE paragraph describe the new default dispatch, the enabled:false opt-out and the all-enabled-agents-must-load rule. The old body also exceeded the length limit for proposals, so the Testing section was condensed.

Disagreed (1):

  1. Mark each existing commit subject with the breaking marker and add a BREAKING CHANGE trailer: Rewording needs a rewrite of already-pushed commits, which a bot-triggered run may not do. Only commit subjects reach release notes (COMMITS.md), so a maintainer who agrees should run /fs-fix squash with an instruction to use a breaking subject and trailer.

Tests: passed

CI inspections (3):

  1. CI / test (passing, success): Unit tests passed on the previous head.
  2. commit-lint and pr-title-lint (passing, success): Commit and title lint passed on the previous head.
  3. behaviour-github-emulator (agents) (pending, in_progress): Still running at inspection time; all other emulator shards passed.

Conflict update: skipped; strategy none; forge MERGEABLE; target main

Decision points
  • How to handle the breaking-marker finding without rewriting history (alternatives: Amend or rebase the existing commits, Mark only this iteration commit, Update the title and body and defer commit rewording to a human squash; rationale: History rewrites are human-only, and marking an unrelated sanitizer fix as breaking would mislabel the release notes.)

PR metadata: title updated; body updated

Next steps:

  • /fs-review — request a re-review of the changes
  • /fs-fix <your instruction> — run another fix pass with specific guidance
  • Push commits directly — review re-runs automatically on push

Updated by fullsend fix agent

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:32 PM UTC · Completed 1:43 PM UTC

Commit: 4e2314d · View workflow run →

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

@fullsend-ai-coder

fullsend-ai-coder Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/1abfdd0aad49204449cb7461d3a90fb40952ba407b6cf0f0ddf1a25aa3772100/scripts/post-fix.sh failed: exit status 1) · Started 3:08 PM UTC · Completed 3:19 PM UTC

Commit: 520b5e1 · View workflow run →

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

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

⚠️ Post-fix script failed — Push rejected — workflows permission (exit code 1)

The fix agent completed, but the post-fix script failed before finishing.

Security boundary: the coder app intentionally lacks workflows write permission. Changes to .github/workflows/ must be made outside the agent (e.g., via a manual PR). Re-run the agent without workflow file changes, or apply those changes separately.

Workflow run: https://github.com/fullsend-ai/fullsend/actions/runs/46446459295

Details:
To https://github.com/fullsend-ai/fullsend.git
! [remote rejected] agent/9503-jira-poll-builtin-agents -> agent/9503-jira-poll-builtin-agents (refusing to allow a GitHub App to create or update workflow .github/workflows/reusable-poll-jira.yml without workflows permission)
error: failed to push some refs to 'https://github.com/fullsend-ai/fullsend.git'
To https://github.com/fullsend-ai/fullsend.git
! [remote rejected] agent/9503-jira-poll-builtin-agents -> agent/9503-jira-poll-builtin-agents (refusing to allow a GitHub App to create or update workflow .github/workflows/reusable-poll-jira.yml without workflows permission)
error: failed to push some refs to 'https://github.com/fullsend-ai/fullsend.git'
Please check the workflow logs for full details and retry with /fs-fix if appropriate.

Give the GitHub Poll Jira step its read-only job token for built-in
agent lookup. Document the operator-supplied GITHUB_TOKEN inherited by
the GitLab poller, including anonymous lookup limits when it is absent.

Exercise the shipped workflow and GitLab job commands with dummy
credentials, and cover resolver token precedence and anonymous access.

Signed-off-by: csoceanu <csoceanu@redhat.com>
@csoceanu

Copy link
Copy Markdown
Contributor

/fs-review

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:52 PM UTC · Completed 4:03 PM UTC

Commit: c125d9d · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review

Copy link
Copy Markdown

Finding threads left open (6):

  1. Thread: the explanation was posted, but the thread could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  2. Thread: the explanation was posted, but the thread could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  3. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  4. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  5. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  6. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.

Resolve the CLI reference conflict by retaining built-in discovery
and token guidance alongside the entity-source configuration details.

Signed-off-by: csoceanu <csoceanu@redhat.com>
@csoceanu

csoceanu commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

@jwm4 - thanks for the review! I’ve addressed the four points from your review in c125d9d:

  • The actual Poll Jira step now receives GH_TOKEN: ${{ github.token }}, retaining contents: read.
  • GitLab’s operator-supplied GITHUB_TOKEN is documented, including connectivity requirements and the shared anonymous rate limit. The existing scripts already preserve this variable; the new regression test verifies that it reaches the poll command.
  • The guide and PR description now accurately describe authenticated and anonymous lookup behavior.
  • Added regression tests that exercise token delivery through the shipped GitHub step and GitLab job scripts, alongside resolver token-precedence coverage.

I also merged the latest main and resolved the documentation conflict in 5d88601. CI is now running. Live E2E validation has not been repeated for this revision.

Could you please re-review?

@fullsend-ai-review

fullsend-ai-review Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 8:38 AM UTC · Completed 8:55 AM UTC

Commit: 5d88601 · View workflow run →

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

@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn, multi-author contention, and large change size are balanced by high test coverage (50%), bot authorship, opt-out rollback safety, and full alignment with linked issue #9503 acceptance criteria.

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] .github/workflows/reusable-poll-jira.yml:118 — The PR modifies a protected path (adds GH_TOKEN: ${{ github.token }} to the Poll Jira step so built-in agent lookup is authenticated; permissions stay contents: read). It links jira-poll: dispatches nothing unless agents are registered in config, and the installer registers none #9503 and explains the rationale, but human approval is always required for protected-path changes.
  • [incomplete-doc] docs/guides/user/custom-poller-example.md:49 — The example Jira polling workflow does not set GH_TOKEN, so with this PR the poller resolves built-in triage/code anonymously under the shared 60 requests/hour limit. The shipped reusable-poll-jira.yml sets it for this reason.
    Remediation: Add GH_TOKEN: ${{ github.token }} to the env: block of the Poll Jira and build dispatch matrix step.

Low

  • [api-contract] internal/cli/poll.go:618 — Jira built-in resolution always uses GitHub and ignores a configured Forgejo agent-definition source, while fullsend run uses the Forgejo source first. Polling can evaluate different harness triggers than the dispatched run.
    Remediation: Check for a configured Forgejo agent-definition source before building the GitHub resolver, and add a test showing polling and execution resolve the same source.
  • [incorrect-doc] docs/guides/user/cel-triggers-reference.md:39 — The sentence on Jira polling omits that unregistered built-in triage and code are now evaluated automatically, and that review, fix, retro and prioritize are evaluated from Jira only when registered with a source:.
    Remediation: Update lines 39-40 and link to jira-integration.md.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review

Copy link
Copy Markdown

Finding threads left open (5):

  1. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  2. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  3. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  4. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  5. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.

Outdated review threads left open (2):

  1. Thread: the review bot could not resolve this outdated thread. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  2. Thread: the review bot could not resolve this outdated thread. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.

@jwm4 jwm4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the four points are addressed. I checked each at 5d88601:

  • The Poll Jira step now gets GH_TOKEN: ${{ github.token }}, with permissions still contents: read.
  • The GitLab requirements in the Jira guide name the GITHUB_TOKEN CI/CD variable, the need to reach github.com, and what happens without a token.
  • Step 6 of the guide and the PR description now describe the anonymous fallback accurately.
  • TestJiraPollWorkflowBuiltinToken and TestRunPollJobScript_JiraBuiltinToken run the shipped step and script, so a missing token binding fails a test.

This approval also covers the change to .github/workflows/reusable-poll-jira.yml that the review agent flagged as a protected path.

Before merging, I recommend addressing the custom-poller-example.md finding in the review agent's latest review. The sample workflow on that page has the same gap: its token is on the install step only, so the step that runs fullsend poll has none. Adding GH_TOKEN: ${{ github.token }} to that step's env: fixes it.

I verified the above by reading the code and tests. I have not run this revision against a live Jira.

Posted by Bill Murdock with assistance from Claude Code.

@csoceanu

csoceanu commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

/fs-fix address the custom-poller-example.md finding in the #9831 (comment). The sample workflow on that page has the same gap: its token is on the install step only, so the step that runs fullsend poll has none. Adding GH_TOKEN: ${{ github.token }} to that step's env: fixes it.

@fullsend-ai-coder

fullsend-ai-coder Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 2:15 PM UTC · Completed 2:20 PM UTC

Commit: 5d88601 · View workflow run →

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

The sample workflow set GH_TOKEN only on the install step, so the step that
runs fullsend poll resolved built-in agents anonymously. Add it to that
step's env, matching reusable-poll-jira.yml. Addresses PR #9831 review.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 8 (human-triggered)

Addressed the custom-poller-example.md finding as instructed by adding GH_TOKEN to the poll step's env. Other review findings were out of scope for this /fs-fix instruction and were left untouched. No forge-reported merge conflict.

Fixed (1):

  1. custom-poller-example.md sample workflow: GH_TOKEN missing on the fullsend poll step (docs/guides/user/custom-poller-example.md): Added GH_TOKEN: ${{ github.token }} to the env of the 'Poll Jira and build dispatch matrix' step, so built-in agent lookup is authenticated, matching reusable-poll-jira.yml.

Tests: passed

CI inspections (2):

  1. build (passing, success)
  2. behaviour-github-emulator (passing, success): All behaviour shards passed.

Conflict update: skipped; strategy none; forge MERGEABLE; target main@66d7918847650225eaa7cd00e2a389484014e79c

Finding threads:

  • Resolved 2 outdated review-bot thread(s)

Next steps:

  • /fs-review — request a re-review of the changes
  • /fs-fix <your instruction> — run another fix pass with specific guidance
  • Push commits directly — review re-runs automatically on push

Updated by fullsend fix agent

@fullsend-ai-review

fullsend-ai-review Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 2:23 PM UTC · Completed 2:39 PM UTC

Commit: cdeb141 · View workflow run →

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

@csoceanu

csoceanu commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

E2E validation passed for the Jira → GitLab CEE dispatch flow.

Using Fullsend built from c125d9de17c2605296b0bb9c06dbb99da49867fe (the reachable pre-merge commit for this PR), I verified:

  • /fs-triage dispatched successfully.
  • /fs-code dispatched successfully.
  • The code agent created fs-code-live-test-fourth-try.md.
  • Validation and post-processing passed, and GitLab MR was created.

This confirms the flow works end to end in the tested environment.

@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Moderate risk: elevated historical churn, multi-author contention, and large change size are balanced by high test coverage (48%), bot authorship, opt-out rollback safety, and full alignment with linked issue #9503 acceptance criteria.

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] .github/workflows/reusable-poll-jira.yml:118 — This PR modifies a protected governance/infrastructure path (.github/workflows/reusable-poll-jira.yml, adding GH_TOKEN: ${{ github.token }} to the Poll Jira step). The PR links issue jira-poll: dispatches nothing unless agents are registered in config, and the installer registers none #9503 and explains the rationale (authenticated built-in agent lookup; job keeps contents: read), so context is sufficient, but human approval is always required for protected-path changes regardless of context.

Low

  • [api-contract] internal/cli/poll.go:618 — The Jira built-in resolver always builds a GitHub resolver and ignores a configured Forgejo agent-definition source, whereas fullsend run goes through agentsRepoFallback, which prefers a configured Forgejo source and never falls back to GitHub. Jira trigger matching can therefore evaluate a different harness than the later agent run, or fail where only the Forgejo source is reachable.
    Remediation: Apply the same Forgejo source selection as agentsRepoFallback before constructing the GitHub resolver, and add a test showing Jira matching and fullsend run resolve the same configured Forgejo harness.

Earlier findings

  • docs/guides/user/custom-poller-example.md:49, incomplete-doc, resolved — the latest push adds GH_TOKEN: ${{ github.token }} to the Poll Jira step env in the custom poller example.
  • docs/guides/user/cel-triggers-reference.md:39, incorrect-doc, reclassified to info — the passage describes agents registered under a built-in name, which Jira still dispatches; it is incomplete about the new unregistered triage/code dispatch rather than wrong.

1 finding(s) below the low severity threshold were not posted.

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment for full details.

Comment thread internal/cli/poll.go Resolved
@fullsend-ai-review

Copy link
Copy Markdown

Finding threads left open (6):

  1. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  2. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  3. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  4. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  5. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.
  6. Thread: the explanation was posted in this older copy of a finding thread, but it could not be resolved. Reason: FORBIDDEN: Resource not accessible by integration. Next step: resolve it manually.

This branch was successfully deployed

1 active and 1 inactive deployments
site-preview — cdeb1413 Deployed Dec 1, 2026 by github-actions[bot]
forgejo-dev — cdeb1413 Deployed Dec 1, 2026 by fullsend-ai-coder[bot] via forgejo-behaviour #21632
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/dispatch Workflow dispatch and triggers component/docs User-facing documentation fullsend-no-fix Skip bot-triggered fix agent runs needs-human Agent loop needs human intervention ready-for-review Triggers review agent dispatch requires-manual-review Review requires human judgment risk/moderate PR risk: moderate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jira-poll: dispatches nothing unless agents are registered in config, and the installer registers none

3 participants