Repository navigation
docs(adr): add ADR 0096, request agents on Jira by label only - #9847
Conversation
On Jira, typed commands no longer start agents for now, and fullsend removes the trigger label when it starts the run or refuses the request. GitHub and GitLab do not change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Bill Murdock <bmurdock@redhat.com>
Retitle to "Request agents on Jira by label only" and rename the file, since triage still starts when a person opens or edits an issue. Say that no comment starts an agent on Jira, note the relation to ADR 0061, and correct the consequences for skip-triage, --force and label removal. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Bill Murdock <bmurdock@redhat.com>
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
No findings to reportTip of the day💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all
|
PR Summary by QodoDocument label-only agent requests for Jira
AI Description
Merge Risk
|
|
🤖 Finished Review · ✅ Success · Started 9:29 PM UTC · Completed 9:40 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.06 |
Site previewPreview: https://cda3f63b-site.fullsend-ai.workers.dev Commit: |
|
Risk Assessment: moderate (2/5) DetailsDocumentation-only PR adding ADR 0096 with no protected or security-sensitive paths, assigned moderate risk due to high recent commit churn, multi-author contention, and change coupling on docs/architecture.md. Previous runRisk Assessment: moderate (2/5) DetailsDocumentation-only addition of ADR 0096 with minimal diff size and no protected paths, elevated from low to moderate risk due to high recent commit churn and multi-author contention on docs/architecture.md. |
ReviewFindingsLow
Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJtaXNzaW5nLWRvYyIsImZpbGUiOiJkb2NzL0FEUnMvMDA2MS1oYXJuZXNzLWNlbC1kaXNwYXRjaC5tZCIsImlkIjoiZl8yNDQ5ZjdjMTVkYTM3MmNmIiwibGluZSI6MTgsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJkb2NzLWN1cnJlbmN5In1dfQ== --> ReviewFindingsLow
Previous run (2)<!-- fullsend:review-diff-hash:3565a2cd160d45cc1e008d4c37359f73402e2784078396ddf617965deb71fe91 --> Looks good to me Labels: PR adds an ADR and a related architecture doc update. Previous run (3)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me Labels: PR adds an ADR and a related architecture doc update. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ralphbean
left a comment
There was a problem hiding this comment.
Please consider a change in the consequences section about parity expectations.
Add a consequence saying that asking for an agent now differs between Jira and GitHub or GitLab, that this is an accepted cost and not a goal, and that typed commands return to Jira only if they can be handled reliably. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Bill Murdock <bmurdock@redhat.com>
…s-only-41e04a Resolve docs/architecture.md: keep main's ADR 0085 text and the ADR 0096 bullet after it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Bill Murdock <bmurdock@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 3:36 PM UTC · Completed 3:47 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.65 |
Superseded by updated review
jflowers
left a comment
There was a problem hiding this comment.
Review: ADR 0096 — request agents on Jira by label only
Council verdict: APPROVE WITH ADVISORIES — 3 LOW advisories, no CRITICAL or HIGH findings.
Four reviewers assessed this change (divisor-adversary, divisor-architect, divisor-curator, divisor-guard); all four approve. The ADR records one decision — on Jira, only labels request agents, and fullsend removes the label when it answers — with GitHub and GitLab unchanged. The docs/architecture.md bullet is present and surgical; frontmatter, status, and numbering follow the ADR template; and the cross-forge parity bullet requested in the earlier review round is in place at this head (docs/ADRs/0096-request-agents-on-jira-by-label-only.md:86-90).
CI is green across all checks. The test job runs make lint-all, whose pre-commit suite covers the ADR lint hooks (lint-adr-status, lint-adr-numbers, lint-adr-frontmatter) plus ruff and ty; semgrep and gateway-doc-configs pass in dedicated jobs. The diff touches only docs/, so every path-scoped local tool and project-declared pre-flight check is out of scope for this change; verification beyond CI coverage was not needed.
The three LOW advisories are inline. They concern failure-mode documentation depth (label-removal failure semantics, refusal observability) and Consequences length against the writing-adrs target — each can settle in the implementation change this PR deliberately scopes out.
| Reviewer | Verdict | Findings |
|---|---|---|
| divisor-adversary | APPROVE WITH ADVISORIES | 2 LOW |
| divisor-architect | APPROVE WITH ADVISORIES | 1 LOW |
| divisor-curator | APPROVE | 0 |
| divisor-guard | APPROVE | 0 |
This review was generated by /uf.review-pr (AI-assisted).
Summary
This is the ADR I said I would open on #9820. It adds ADR 0096: on Jira, a person asks for an agent by adding a label, comments (typed commands such as
/fs-codeincluded) no longer start agents for now, and fullsend removes the label once it has answered the request, either by starting the run or by refusing it. GitHub and GitLab do not change.It is a decision record only. The implementation is a separate change.
Related Issue
None. Related work:
Changes
docs/architecture.md: one bullet for the target state.Unchanged: how requests are found, who may make them, and everything on GitHub and GitLab.
Defaults that change
These land with the ADR unless a reviewer objects in review:
/fs-code --forceand the/fs-triageoverride ofskip-triageare no longer available from a Jira issue. The ADR's Consequences say what to do instead.Left to the implementation
/fs-code --force") and the triage skip reason ("comment /fs-triage to triage it anyway") infullsend-ai/agents, and the places indocs/guides/user/jira-integration.mdthat give a command as the way to start or restart an agent.Evidence for current behavior
Checked at fullsend
ac4cc1db7and fullsend-ai/agents86f8ba46.harness/code.yaml(/fs-code,ready-to-code) andharness/triage.yaml(/fs-triage,ready-for-triage, and an issue opened or edited by a human) in agents./fs-first word is a command.extractCommandininternal/jirapoll/convert.go.addJiraRunLabelininternal/cli/run_jira_label.go). Label requests come from "added" entries in the issue history (diffLabelsininternal/jirapoll/discover.go), which is why asking again means removing the label and adding it back.filterBotEventsininternal/jirapoll/poller.godrops events whose actoractorKind(internal/jirapoll/convert.go) classifies as a bot.--forceexists only on a comment, and the child-issue skip counts closed children.scripts/pre-code-jira.src.shin agents, and "If the code agent skips the run" indocs/guides/user/jira-integration.md./fs-triageoverridesskip-triage. The trigger inharness/triage.yamlandscripts/pre-triage.src.shin agents.status_notificationsindocs/reference/config-reference.md, and "Tracking runs with an optional label" in the Jira guide.--target-forgeaccepts onlygithuborgitlab(internal/cli/poll.go).Not checkable from the repository: that Jira's search matches a label exactly and comment text only loosely. That is how Jira's query language treats label values and text search.
Testing
make lintpasses (stage changes first, then run)Checklist
!for breaking changes)🤖 Generated with Claude Code