Skip to content

fix(gitlab)!: post triage and prioritize results as new notes - #2037

Open
tpouyer wants to merge 37 commits into
fullsend-ai:mainfrom
tpouyer:gitlab-doors-append
Open

tpouyer wants to merge 37 commits into
fullsend-ai:mainfrom
tpouyer:gitlab-doors-append

Conversation

@tpouyer

@tpouyer tpouyer commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The GitLab triage and prioritize doors edited the bot's earlier marked note in place, so the newest result sat above the requests that asked for it. Each run now posts a new note at the end of the thread. This is a companion to fullsend-ai/fullsend#9399 (issue fullsend-ai/fullsend#9334). Thanks to @waynesun09 for raising it in fullsend-ai/fullsend#9399 (comment).

This PR is now narrowed to the posting change. The rules for reading earlier triage comments (which comments count as the triage account's own, folds as history, carrying causes across runs) moved to #2079, which replaces #2044 with a structured-state design. Review findings on those rules are answered there.

Changes

  • tracker_post_sticky_comment (gitlab-triage-ops) and forge_post_sticky_comment (gitlab-prioritize-ops) POST one new note per run, with the marker on the first line and the result below it. They no longer look up the bot user, list notes, PUT to /notes/:id or add the "Previous run" history. The unused _gitlab_bot_username helpers are removed and the function names stay.
  • Both require GITLAB_TOKEN; on a failed POST they print a ::warning:: and return 1, which fails the step.
  • This covers the triage sufficient result, the prioritize result and the triage-in-progress status note, which also appends.
  • Triage step 2e gains one sentence: on GitLab an issue triaged more than once has one note per run, so the agent pages through every note and treats the newest triage-agent note as the prior analysis. fix(triage)!: carry causes as structured state across re-triage runs #2079 replaces step 2e as a whole.
  • docs/triage.md gains a per-tracker note on re-runs under Multi-forge support, including the accepted cost that an often-edited GitLab issue collects one triage note per run (One comment per agent run: merge the status comment and the result, fold the details fullsend#9335 is the follow-up that compacts each run). The Retries bullet says it describes Jira. docs/prioritize.md is updated, keeping main's wording for the dark Jira prioritize forge.
  • behaviour/features/prioritize.feature says the post-script posts a RICE comment, not a sticky one.
  • The GitLab sticky tests are replaced by append tests for both triage markers and the prioritize marker, plus a failed-POST test for each door. Bundles rebuilt.

Not changed

Order

Safe to merge before or after fullsend-ai/fullsend#9399 and #2079. Until #9399 lands, GitHub and Jira keep editing in place while GitLab appends.

Testing

  • make check-bundle
  • scripts/post-triage-test.sh, post-prioritize-test.sh, pre-triage-test.sh, harness-jira-test.sh: all pass. make lint and pre-commit pass.
  • The mocks list a bot-authored marked note, so code that edits in place would PUT it. The three append tests (triage in-progress, triage sufficient, prioritize) assert exactly one new note POST; they fail against main's scripts and pass here.
  • The failed-POST tests check for the ::warning:: as well as a failed step.

The GitLab triage and prioritize doors found the bot's earlier note that
starts with the marker and edited it in place, folding the previous body
into a "Previous run" block. The newest result then sat above the
requests that asked for it. fullsend-ai/fullsend#9399 (still open) makes
the doors in that repo append a new comment per run; these two doors
live here.

tracker_post_sticky_comment (gitlab-triage-ops) and
forge_post_sticky_comment (gitlab-prioritize-ops) now POST one new note
per run, marker on the first line and the body below it, as before. This
covers the sufficient result, the in-progress status note and the
prioritize result. They no longer resolve the token owner, list notes or
PUT to /notes/:id, so the now-unused _gitlab_bot_username helpers go
too. Both require GITLAB_TOKEN and, on a failed POST, print a
::warning:: and return 1. The function names stay. The in-repo Jira door
posts through `fullsend issues post-comment` and would change with
#9399's CLI, not here.

With several marked notes possible, the triage agent's step 2e reads
every triage-agent comment, starts from the newest (found by edit or
creation time after paging through every GitLab note or Jira comment)
and keeps every cause from any of them. docs/triage.md says per tracker how re-runs post, and
docs/prioritize.md says GitLab adds a new comment each run.

The GitLab sticky tests in post-triage-test.sh and
post-prioritize-test.sh are replaced by append tests (both triage
markers and the prioritize marker). The mocks list a bot-authored note
per marker, so code that edits in place would PUT it; each test asserts
exactly one new marked note carrying the result body and no listing or
PUT of notes. New triage and prioritize tests check that a failed note
POST warns and fails the step. Bundles rebuilt.

Raised by @waynesun09 on fullsend-ai/fullsend#9399.

BREAKING CHANGE: on GitLab, each triage (sufficient, in-progress) and
prioritize run, a retry included, adds a new issue note instead of
editing the earlier marked one, so re-runs add comments to the thread.
No migration is needed; earlier notes are left as they are.

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@tpouyer
tpouyer requested a review from a team as a code owner November 15, 2026 11:20
@qodo-code-review

qodo-code-review Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Append GitLab triage and prioritize results as new notes

🐞 Bug fix 🧪 Tests 📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Post each GitLab triage and prioritize result as a new note to preserve thread chronology.
• Read all prior triage analyses across comment pages so re-runs retain earlier findings.
• Add append and failed-post tests; document tracker-specific re-run behavior.
Merge Risk 🟡 Medium

Blast radius 🟡 Medium 💥 2 capabilities

  • 2 affected capabilities within one bounded functional scope: GitLab issue-result comment integration.
  • The changed GitLab note operation is the delivery boundary for the triage result.
  • Its caller invokes the marked-note function only at the final triage posting step, so the affected end-to-end behavior is result delivery to the issue, not each helper or generated bundle separately.
  • The changed GitLab note operation is used by the prioritize post script to deliver the RICE result to the issue.
  • This is a distinct user outcome from triage delivery, but it remains within the same bounded GitLab issue-result comment integration.
Sources

scripts/lib/gitlab-triage-ops.lib.sh[227-230]

  _gitlab_api POST "/projects/${REPO_ENCODED}/issues/${ISSUE_NUMBER}/notes" \
    --data-urlencode "body=${marker}
${body}" > /dev/null \
    || { echo "::warning::Failed to post comment" >&2; return 1; }
Behavioral complexity 🟡 Medium 🧩 Compatibility cases

  • Before: the implementation queried notes, identified a bot-authored marker, edited the matching note, and folded prior content into history.
  • After: it unconditionally POSTs a new note containing the marker and current body, without reading prior notes.
  • New correctness condition: every rerun must preserve append-only semantics and keep the marker/body contract intact while tolerating existing old-style marked notes.
  • This is a compatibility and repeated-state interaction, but it is implemented as a direct API transformation without a new algorithm, concurrency protocol, coordinated write, or complex state machine.
Sources

scripts/lib/gitlab-triage-ops.lib.sh[227-230]

  _gitlab_api POST "/projects/${REPO_ENCODED}/issues/${ISSUE_NUMBER}/notes" \
    --data-urlencode "body=${marker}
${body}" > /dev/null \
    || { echo "::warning::Failed to post comment" >&2; return 1; }
Potential damage 🟡 Medium 🩹 Recoverable

  • A failed POST can leave the current triage result unavailable or cause the workflow to fail before completion.
  • This is recoverable by rerunning the workflow or manually posting the result; there is no changed persistent application state to repair.
  • Successful reruns intentionally append notes, which can leave stale visible triage results and require manual cleanup, but the consequence remains reversible inconvenience/degradation rather than data loss or integrity failure.
  • Code rollback restores edit-in-place behavior, but it does not remove notes already appended.
  • Supported recovery is a rerun after the GitLab/API fault clears; cleanup of duplicate or stale notes is manual.
Sources

scripts/lib/gitlab-triage-ops.lib.sh[227-230]

  _gitlab_api POST "/projects/${REPO_ENCODED}/issues/${ISSUE_NUMBER}/notes" \
    --data-urlencode "body=${marker}
${body}" > /dev/null \
    || { echo "::warning::Failed to post comment" >&2; return 1; }
Assessed commit c5b7b53
Diagram

graph TD
  Triage["Triage door"] --> API["GitLab API"] --> Notes[("Issue notes")] --> Agent["Triage agent"] --> Analysis["Next analysis"]
  Prioritize["Prioritize door"] --> API
Loading
High-Level Assessment

Appending marked notes is the appropriate approach: it keeps results after the requests that prompted them and removes the lookup-and-edit workflow. Continuing to edit a sticky note would retain the chronology problem; the agent’s full-history guidance addresses the resulting multiple-note history.

Files changed (11) +191 / -485

Bug fix (7) +66 / -409
triage.mdPreserve findings across all prior triage comments +9/-1

Preserve findings across all prior triage comments

• Instructs the agent to fetch every comment page, identify the newest analysis by edit or creation time, and retain causes from every earlier marked analysis.

agents/triage.md

gitlab-prioritize-ops.lib.shAppend marked GitLab priority notes +8/-69

Append marked GitLab priority notes

• Replaces bot lookup, note searching, in-place edits, and folded history with one marked note POST per run. A failed POST warns and returns an error.

scripts/lib/gitlab-prioritize-ops.lib.sh

gitlab-triage-ops.lib.shAppend marked GitLab triage notes +11/-67

Append marked GitLab triage notes

• Posts a new marked note for each triage result or status instead of editing an earlier note. Requires a token and makes POST failures warn and fail.

scripts/lib/gitlab-triage-ops.lib.sh

post-prioritize.shRebuild post-prioritize bundle with append behavior +8/-69

Rebuild post-prioritize bundle with append behavior

• Includes the revised GitLab prioritize door in the generated post-prioritize script.

scripts/post-prioritize.sh

post-triage.shRebuild post-triage bundle with append behavior +11/-67

Rebuild post-triage bundle with append behavior

• Includes the revised GitLab triage door in the generated post-triage script.

scripts/post-triage.sh

pre-prioritize.shRefresh bundled GitLab prioritize operations +8/-69

Refresh bundled GitLab prioritize operations

• Synchronizes the generated pre-prioritize script with the simplified GitLab prioritize door.

scripts/pre-prioritize.sh

pre-triage.shRefresh bundled GitLab triage operations +11/-67

Refresh bundled GitLab triage operations

• Synchronizes the generated pre-triage script with the append-only GitLab triage door.

scripts/pre-triage.sh

Tests (2) +113 / -73
post-prioritize-test.shTest append-only priority notes and POST failures +44/-37

Test append-only priority notes and POST failures

• Replaces sticky-comment tests with assertions for one marked POST, no note lookup or edit, and a warning and failed step when posting fails.

scripts/post-prioritize-test.sh

post-triage-test.shTest append-only triage results and status +69/-36

Test append-only triage results and status

• Checks that sufficient and in-progress runs each POST one marked note without listing or editing earlier notes. Also verifies that a failed POST warns and fails the step.

scripts/post-triage-test.sh

Documentation (2) +12 / -3
prioritize.mdDocument append-only GitLab priority comments +2/-2

Document append-only GitLab priority comments

• Clarifies that each GitLab prioritize run posts a new issue comment rather than editing a sticky comment.

docs/prioritize.md

triage.mdDocument tracker-specific triage re-run behavior +10/-1

Document tracker-specific triage re-run behavior

• Explains that GitLab appends results while GitHub and Jira currently edit marked comments, pending the companion change.

docs/triage.md

@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:22 AM UTC · Completed 11:29 AM UTC

Commit: b37a163 · View workflow run →

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

@qodo-code-review

qodo-code-review Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Prioritize behaviour spec still promises a sticky RICE comment ✓ Resolved

Resolving commit: 0361d25

Resolution reason
Removed the word "sticky" from the prioritize feature's step 1.5 so the spec no longer promises an
edit-in-place sticky RICE comment; it now says "post a RICE comment".
Description
The GitLab prioritize door now posts a new note per run, but behaviour/features/prioritize.feature
line 6 still says "The post-script must post its sticky RICE comment on the issue." That spec is
untouched by this PR, so it now describes the removed edit-in-place behaviour and will mislead
anyone checking the prioritize contract. The stale wording also sits beside the docs/prioritize.md
change this PR made, which shows the author meant to update prioritize docs to the new-comment
model.

2. Refuted causes return on later triage runs ✗ Dismissed
Description
Step 2e tells the agent to preserve causes from every earlier triage note, but records a cause's
refutation only in reasoning, which the posting script does not publish. On a third GitLab run,
the agent can read the original cause in an older note but cannot read the later refutation, so it
may restore a cause the previous run removed.

3. GitHub and Jira results still overwrite earlier comments ✗ Dismissed
Description
The triage result and in-progress status still edit the earlier marked comment on GitHub and Jira,
because the GitHub door and the in-repo Jira door are not changed by this PR and are deferred to
fullsend-ai/fullsend#9399. The documentation added here states this openly, but the ticket-derived
rule requires that a supported platform not use sticky-comment behaviour, so the same run on GitHub
or Jira still folds the newest result into an older comment. This is a known, documented gap rather
than a regression in the diff, so it is flagged as a recommendation to track rather than a blocker.

Grey Divider

Context sources
❌ Tickets: failed to load — Ticket collection could not establish complete evidence
✅ Compliance rules (platform): 55 rules
✅ Skills: 4 invoked
  code-review
  code-implementation
  pr-review
  docs-review
✅ Web pages:
  +2 more
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/fullsend (sha: 28d2384b) — View relationship
  Explored: repo: fullsend-ai/pi-anthropic-vertex (sha: d2ecd039) — View relationship
  Explored: repo: fullsend-ai/pi-xai-vertex (sha: a86139bf) — View relationship
  Explored: repo: fullsend-ai/react-shopping-cart (sha: 59531a7a) — View relationship
  Explored: repo: fullsend-ai/devlake (sha: ba0670f2) — View relationship
✅ Context preparation
  Commit messages: summarized; full text retained for this review
Review mode: Auto: ⚖️ Balanced: Behavioral GitLab posting changes across duplicated scripts and triage workflows.

Grey Divider

Tip of the day
💡 Did you know, you can type 'qodo, fix this' on a finding and the fix lands right on your PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread docs/prioritize.md Resolved
Comment thread docs/triage.md Resolved
Comment thread agents/triage.md Resolved
@fullsend-ai-review fullsend-ai-review Bot added the risk/elevated PR risk: elevated label Nov 15, 2026
@fullsend-ai-review

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

Copy link
Copy Markdown

Risk Assessment: elevated (3/5)

Details

Elevated risk maintained at 3 across 12 files, driven by a breaking change touching 9 protected script and documentation paths with high historical churn and regression history, balanced by established contributor authorship and updated unit tests.

Previous run

Risk Assessment: elevated (3/5)

Details

Elevated risk maintained at 3 across 12 files, driven by a breaking change touching 9 protected script and documentation paths with high historical churn and regression history, balanced by established contributor authorship and updated unit tests.

Previous run (2)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large change touching 13 protected script and skill paths with high historical regression history and change coupling, balanced by established contributor authorship and no dependency or CI workflow modifications.

Previous run (3)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large change touching 13 protected script and skill paths with high historical regression history and change coupling, balanced by established contributor authorship and no dependency or CI workflow modifications.

Previous run (4)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change with large blast radius touching 13 protected script, agent, and documentation paths with high historical regression frequency and change coupling, balanced by established contributor authorship and updated unit tests.

Previous run (5)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change with large blast radius touching 13 protected script, agent, and documentation paths with high historical regression frequency and change coupling, balanced by established contributor authorship and updated unit tests.

Previous run (6)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 12 protected script, agent, and documentation paths with high historical churn and regression frequency across touched files, balanced by established contributor authorship and updated unit tests.

Previous run (7)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 12 protected script, agent, and documentation paths with high historical churn and regression frequency across touched files, balanced by established contributor authorship and updated unit tests.

Previous run (8)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 12 protected script, agent, and documentation paths with high historical churn and regression frequency, balanced by established contributor authorship and updated unit tests.

Previous run (9)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 12 protected script, agent, and documentation paths with high historical churn and regression frequency, balanced by established contributor authorship and updated unit tests.

Previous run (10)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 9 protected script and doc paths with high historical churn and regression frequency, balanced by established contributor authorship and updated unit tests.

Previous run (11)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a breaking change touching 9 protected script and doc paths with high historical churn and regression frequency, balanced by established contributor authorship and updated unit tests.

@fullsend-ai-review

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

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies files under protected paths: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh. The PR description explains the rationale and links the companion work (Remove sticky comments: post every agent result as a new comment fullsend#9334), but human approval is always required for protected-path changes, regardless of context.
Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoiaW5mbyIsImNhdGVnb3J5IjoibWlzc2luZy1hdXRob3JpemF0aW9uIiwiZmlsZSI6InNjcmlwdHMvbGliL2dpdGxhYi10cmlhZ2Utb3BzLmxpYi5zaCIsImlkIjoiZl84NWEwYzVhYWY0NjdmMmY4IiwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkZXNpZ24tc21lbGwiLCJmaWxlIjoiYWdlbnRzL3RyaWFnZS5t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TkiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl80NjU4ZDU0NmQyMTc5N2Q1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfODVhMGM1YWFmNDY3ZjJmOCIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYzMwOTRkMmQ5OThlZWYzMSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2Q1NTQwNTE2ODYwNGQxZGQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl84YzE4YmQ2YjEyNDViY2VmIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize.sh, scripts/post-prioritize-test.sh, scripts/post-triage.sh, scripts/post-triage-test.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh. The description explains the rationale and cites an upstream issue, but human approval is always required for protected-path changes regardless of context.
    Remediation: A human maintainer must review and approve the protected-path changes.

Earlier findings

  • scripts/harness-jira-test.sh:106, misplaced-abstraction and two code-organization findings — resolved. The file is no longer in the PR's changed-file list, so it matches base again; the incremental diff shows the added block removed.
  • agents/triage.md:114 and agents/triage.md:115, over-engineering — resolved. The incremental diff removes the long step 2e trust/fold rules, leaving one added sentence at line 100.
Previous run (2)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJtaX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iOiJmXzI2MjNlNTc2MjJiNDM3OTAiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfZDU1NDA1MTY4NjA0ZDFkZCIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2FjYTRkNjI3NmU2NDgzMDUiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfOGMxOGJkNmIxMjQ1YmNlZiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzI3ZTRlNzliOTE4ZTBhNTkiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfNDY1OGQ1NDZkMjE3OTdkNSIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl84NWEwYzVhYWY0NjdmMmY4Iiwic3RhdHVzIjoib3BlbiJ9LHsiaWQiOiJmXzc2ZjQyZTMzODJhNWNjZTUiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9jMzA5NGQyZDk5OGVlZjMxIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/harness-jira-test.sh, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md and skills/jira-forge/SKILL.md. The description explains the rationale and references the companion fullsend issues, but human approval is always required for protected-path changes, regardless of context.

Low

  • [misplaced-abstraction] scripts/harness-jira-test.sh:106 — The file is scoped to Jira harness configuration and credential boundaries, but lines 106-114 assert GitHub-specific triage host-file expansion (FULLSEND_APP_SET in env/github/triage.env). Updating the header and block comments to explain the exception does not move the check.
  • [code-organization] scripts/harness-jira-test.sh:106 — The triage-app-set-in-sandbox-host-file assertion still sits in the Jira-focused suite. Consider moving it to an appropriately scoped harness test script. Advisory only.

Earlier findings

  • scripts/harness-jira-test.sh:2, stale-doc — resolved: the file header now mentions the GitHub FULLSEND_APP_SET check (incremental diff, lines 2-5).
  • scripts/harness-jira-test.sh:93, stale-doc — resolved: the comment above the FULLSEND_APP_SET check now states that fullsend#9575 makes the triage job export it and that older installs leave it unset (incremental diff).
Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJjb2RlLW9yZ2FuaXphdGlvbiIsImZpbGUiOiJzY3JpcHRzL2hhcm5lc3MtamlyYS10ZXN0LnNoIiwiaWQiOiJmXzI2MjNlNTc2MjJiNDM3OTAiLCJsaW5lIjoxMDYsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InN0YWxlLWRvYyIsImZpbGUiOiJzY3JpcHRzL2hhcm5lc3MtamlyYS10ZXN0LnNoIiwiaWQiOiJmX2Q1NTQwNTE2ODYwNGQxZGQiLCJsaW5lIjoyLCJhY3Rpb25hYmxlIjpmYWxzZX0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoibWlzcGxhY2VkLWFic3RyYWN0aW9uIiwiZmlsZSI6InNjcmlwdHMvaGFybmVzcy1qaXJhLXRlc3Quc2giLCJpZCI6ImZfYWNhNGQ2Mjc2ZTY0ODMwNSIsImxpbmUiOjk2LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InN0YWxlLWRvYyIsImZpbGUiOiJzY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IjoiYWdlbnRzL3RyaWFnZS5tZCIsImlkIjoiZl9jMzA5NGQyZDk5OGVlZjMxIiwibGluZSI6MTE0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic2VjdXJpdHkifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmX2FjYTRkNjI3NmU2NDgzMDUiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfOGMxOGJkNmIxMjQ1YmNlZiIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl8yN2U0ZTc5YjkxOGUwYTU5Iiwic3RhdHVzIjoib3BlbiJ9LHsiaWQiOiJmXzQ2NThkNTQ2ZDIxNzk3ZDUiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfODVhMGM1YWFmNDY3ZjJmOCIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYzMwOTRkMmQ5OThlZWYzMSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9XX0= -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected paths: agents/triage.md, scripts/harness-jira-test.sh, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR description gives a rationale and references the upstream issue, but human approval is always required for protected-path changes, regardless of context.

Low

  • [code-organization] scripts/harness-jira-test.sh:106 — The header of scripts/harness-jira-test.sh (lines 2-3) scopes it to Jira provider/profile configuration and credential boundaries, but this PR adds triage-app-set-in-sandbox-host-file (lines 100-111), a check of GitHub triage wiring (env/github/triage.env exporting FULLSEND_APP_SET, harness/triage.yaml not setting it). The repo keeps agent- and forge-specific harness checks beside that agent's tests (scripts/post-fix-test.sh:305-307, scripts/post-code-test.sh). Mitigating: the check sits next to the similar JIRA_USER_EMAIL host-file check (lines 91-98), and post-triage-test.sh has no harness/triage.yaml checks yet.
    Remediation: Optionally move the check into scripts/post-triage-test.sh.
  • [stale-doc] scripts/harness-jira-test.sh:2 — The file header comment still describes the script as verifying only Jira provider/profile configuration and credential boundary, while this PR adds a GitHub triage host-file assertion to it.
Previous run (4)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJtaXNwbGFjZWQtYWJzdHJhY3Rpb24iLCJmaWxlIjoic2NyaXB0cy9oYXJuZXNzLWppcmEtdGVzdC5zaCIsImlkIjoiZl9hY2E0ZDYyNzZlNjQ4MzA1IiwibGluZSI6OTYsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5Ijoic3RhbGUtZG9jIiwiZmlsZSI6InNjcmlwdHMvaGFybmVzcy1qaXJhLXRlc3Quc2giLCJpZCI6ImZfOGMxOGJkNmIxMjQ1YmNlZiIsImxpbmUiOjkzLCJhY3Rpb25hYmxlIjpmYWxzZX0seyJzZXZlcml0eSI6ImluZm8iLCJjYXRlZ29yeSI6Im92ZXItZW5naW5lZXJpbmciLCJmaWxlIjoiYWdlbnRzL3RyaWFnZS5tZCIsImlkIjoiZl8yN2U0ZTc5YjkxOGUwYTU5IiwibGluZSI6MTE0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJpbmZvIiwiY2F0ZWdvcnkiOiJvdmVyLWVuZ2luZWVyaW5nIiwiZmls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joiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYzMwOTRkMmQ5OThlZWYzMSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9XX0= -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected paths: agents/triage.md, scripts/harness-jira-test.sh, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR description explains the rationale and references its companion upstream issue, but human approval is always required for protected-path changes, regardless of context.

Low

  • [misplaced-abstraction] scripts/harness-jira-test.sh:96 — The GitHub triage sandbox check for FULLSEND_APP_SET (exported from env/github/triage.env, expanded as a host file, absent from harness/triage.yaml) lives in a script named for and mostly checking Jira overlays.
    Remediation: Move the check into a GitHub or shared multi-forge harness test script.
  • [stale-doc] scripts/harness-jira-test.sh:93 — The comment still says fullsend's route-based triage job "does not export" FULLSEND_APP_SET. The latest commit updated docs/triage.md and env/github/triage.env to say the triage job exports it since fix(#9568): export FULLSEND_APP_SET to the triage agent step fullsend#9575, so this comment now contradicts them.
    Remediation: Reword the comment to match env/github/triage.env (the triage and harness-run jobs export it; an older fullsend leaves it empty).
Previous run (5)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJtaXNwbGFjZWQtYWJzdHJhY3Rpb24iLCJmaWxlIjoic2NyaXB0cy9oYXJuZXNzLWppcmEtdGVzdC5zaCIsImlkIjoiZl9hY2E0ZDYyNzZlNjQ4MzA1IiwibGluZSI6OTYsImFjdG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EiLCJsaW5lIjoxMTQsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzZWN1cml0eSJ9XSwiZGlzcG9zaXRpb25zIjpbeyJpZCI6ImZfMjdlNGU3OWI5MThlMGE1OSIsInN0YXR1cyI6InJlY2xhc3NpZmllZCJ9LHsiaWQiOiJmXzg1YTBjNWFhZjQ2N2YyZjgiLCJzdGF0dXMiOiJyZWNsYXNzaWZpZWQifSx7ImlkIjoiZl80NjU4ZDU0NmQyMTc5N2Q1Iiwic3RhdHVzIjoicmVjbGFzc2lmaWVkIn0seyJpZCI6ImZfNzZmNDJlMzM4MmE1Y2NlNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2MzMDk0ZDJkOTk4ZWVmMzEiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, env/github/triage.env, scripts/harness-jira-test.sh, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The description explains the rationale and cites the companion issue, but human approval is always required for protected-path changes, regardless of context.

Low

  • [misplaced-abstraction] scripts/harness-jira-test.sh:96 — The new assertion checks GitHub-specific configuration (env/github/triage.env and FULLSEND_APP_SET), but this script is described as Jira provider/profile and credential-boundary checks. It follows the adjacent host-file pattern and is the repo's only harness test script, so this is advisory.

Earlier findings

  • agents/triage.md:114, over-engineering — reclassified to info: the cause-accumulation rules were already in the base prompt, and the PR's added verified/unverified split addresses a trust gap documented in step 2e.
  • agents/triage.md:115, over-engineering — reclassified to info: the evidentiary-weight wording is unchanged from base; the only addition is the (unverified) tag on unverifiable claims.
  • PR-level, missing-authorization — reclassified: remains informational; the PR has no linked fixing issue in this repository.
  • agents/triage.md:106, design-smell — resolved by change.

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

Previous run (6)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJvdmVyLWVuZ2luZWVyaW5nIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfMjdlNGU3OWI5MThlMGE1OSIsImxpbmUiOjExNCwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoiaW5mbyIsImNhdGVnb3J5IjoibWlzc2luZy1hdXRob3JpemF0aW9uIiwiZmlsZSI6InNjcmlwdHMvbGliL2dpdGxhYi10cmlhZ2Utb3BzLmxpYi5zaCIsImlkIjoiZl84NWEwYzVhYWY0NjdmMmY4IiwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJvdmVyLWVuZ2luZWVyaW5nIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfNDY1OGQ1NDZkMjE3OTdkNSIsImxpbmUiOjExNSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkZXNpZ24tc21lbGwiLCJmaWxlIjoiYWdlbnRzL3RyaWFnZS5tZCIsImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1IiwibGluZSI6MTA2LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoicHJvbXB0LWluamVjdGlvbiIsImZpbGUiOiJhZ2VudHMvdHJpYWdlLm1kIiwiaWQiOiJmX2MzMDk0ZDJkOTk4ZWVmMzEiLCJsaW5lIjoxMTQsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzZWN1cml0eSJ9XSwiZGlzcG9zaXRpb25zIjpbeyJpZCI6ImZfNDY1OGQ1NDZkMjE3OTdkNSIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl84NWEwYzVhYWY0NjdmMmY4Iiwic3RhdHVzIjoicmVjbGFzc2lmaWVkIn0seyJpZCI6ImZfNzZmNDJlMzM4MmE1Y2NlNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2MzMDk0ZDJkOTk4ZWVmMzEiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies 12 protected governance/infrastructure files: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The description explains the rationale and references the originating issue and follow-up, but human approval is always required for protected-path changes.

Low

  • [over-engineering] agents/triage.md:114 — Step 2e asks the agent to do multi-page pagination plus per-forge GraphQL/REST edit-author checks (GitHub editor, GitLab lastEditedBy, Jira updateAuthor) inside the prompt to pick the baseline prior analysis. Some of this is justified (the marker is an HTML comment anyone can type), but the amount of procedure in prompt text is disproportionate. Unchanged by this push; still open.

Earlier findings

  • PR-level (scripts/lib/gitlab-triage-ops.lib.sh), missing-authorization — reclassified to info: the originating issue is Remove sticky comments: post every agent result as a new comment fullsend#9334, in the lockstep sibling repo (AGENTS.md §6); only an in-repo tracking issue is missing.
  • agents/triage.md:114 (prompt-injection) and agents/triage.md:106 (design-smell) were resolved in an earlier push; no further action.

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

Previous run (7)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJvdmVyLWVuZ2luZWVyaW5nIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfNDY1OGQ1NDZkMjE3OTdkNSIsImxpbmUiOjExNSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJtaXNzaW5nLWF1dGhvcml6YXRpb24iLCJmaWxlIjoic2NyaXB0cy9saWIvZ2l0bGFiLXRyaWFnZS1vcHMubGliLnNoIiwiaWQiOiJmXzg1YTBjNWFhZjQ2N2YyZjgiLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImRlc2lnbi1zbWVsbCIsImZpbGUiOiJhZ2VudHMvdHJpYWdlLm1kIiwiaWQiOiJmXzc2ZjQyZTMzODJhNWNjZTUiLCJsaW5lIjoxMDYsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJwcm9tcHQtaW5qZWN0aW9uIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfYzMwOTRkMmQ5OThlZWYzMSIsImxpbmUiOjExNCwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InNlY3VyaXR5In1dLCJkaXNwb3NpdGlvbnMiOlt7ImlkIjoiZl9jMzA5NGQyZDk5OGVlZjMxIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNDY1OGQ1NDZkMjE3OTdkNSIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The description references the companion issue and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [over-engineering] agents/triage.md:115 — Step 2e of the triage prompt asks the agent to page through REST and GraphQL queries per tracker, check editor object types, compare the trailing user id of a GitLab GraphQL Global ID with the REST /user id, and choose between last-edit and creation time. The latest edits added GraphQL pagination and GitLab-specific id comparisons. The complexity has a reason (several marked notes now exist and the marker is forgeable), so this stays advisory.
  • [missing-authorization] scripts/lib/gitlab-triage-ops.lib.sh — The change touches 15 files and over 1,000 diff lines but links no issue in this repository. Authorization rests on the cross-repo companion issue and PR referenced in the description, plus a follow-up issue named as out of scope.

Earlier findings

  • agents/triage.md:114, prompt-injection — resolved: step 2e now counts a marked comment only when its last edit was made by the triage account, using the GitLab lastEditedBy GraphQL lookup (added in skills/gitlab-forge/SKILL.md).
Previous run (8)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJwcm9tcHQtaW5qZWN0aW9uIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfYzMwOTRkMmQ5OThlZWYzMSIsImxpbmUiOjExNCwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InNlY3VyaXR5In0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5Ijoib3Zlci1lbmdpbmVlcmluZyIsImZpbGUiOiJhZ2VudHMvdHJpYWdlLm1kIiwiaWQiOiJmXzQ2NThkNTQ2ZDIxNzk3ZDUiLCJsaW5lIjoxMTUsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZGVzaWduLXNtZWxsIiwiZmlsZSI6ImFnZW50cy90cmlhZ2UubWQiLCJpZCI6ImZfNzZmNDJlMzM4MmE1Y2NlNSIsImxpbmUiOjEwNiwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9XSwiZGlzcG9zaXRpb25zIjpbeyJpZCI6ImZfNzZmNDJlMzM4MmE1Y2NlNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9XX0= -->

Review

Findings

Medium

  • [protected-path] agents/triage.md, scripts/ (lib, pre-/post- scripts and tests), skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md — this PR modifies governance/infrastructure files under protected paths (agents/, scripts/, skills/). The description explains the rationale and cites the upstream issue and review thread, but human approval is always required for protected-path changes, regardless of context.

Low

  • [prompt-injection] agents/triage.md:114 — Step 2e checks the original author of a marked comment (GitHub Bot type and App slug/login, GitLab author.id, Jira author.accountId). It checks the last editor (GitHub GraphQL editor, Jira updateAuthor) only to choose the comment's timestamp. A marked comment edited by someone else still counts as a triage-agent comment, and the "keep every cause from any earlier analysis" rule can carry fabricated causes forward. Exploiting this needs permission to edit another user's comment, which limits the impact.
    Remediation: when the last editor is not the triage account, treat the comment as ordinary human commentary whose causes are hypotheses, and add cases for a human-edited bot comment.
  • [over-engineering] agents/triage.md:115 — Step 2e has the agent correlate a GraphQL editor query (with after=<endCursor> pagination) against the REST comment listing by databaseId, and derive an effective edit time. That is a complex multi-API procedure to carry out from a prompt.
    Remediation: consider a deterministic helper script, or a simpler rule.
Previous run (9)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkZXNpZ24tc21lbGwiLCJmaWxlIjoiYWdlbnRzL3RyaWFnZS5tZCIsImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1IiwibGluZSI6MTA2LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn1dLCJkaXNwb3NpdGlvbnMiOlt7ImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The description explains the rationale, but human approval is always required for protected-path changes, regardless of context.
Previous run (10)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkZXNpZ24tc21lbGwiLCJmaWxlIjoiYWdlbnRzL3RyaWFnZS5tZCIsImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1IiwibGluZSI6MTA2LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn1dLCJkaXNwb3NpdGlvbnMiOlt7ImlkIjoiZl83NmY0MmUzMzgyYTVjY2U1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh, plus tests (scripts/post-*-test.sh) — This PR modifies governance/infrastructure paths (agents/, scripts/). The description explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Earlier findings

  • agents/triage.md:106, design-smell, resolved — the step 2e line no longer cites the unmerged external PR and now says "since some trackers edit the marked comment in place".
Previous run (11)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImRlc2lnbi1zbWVsbCIsImZpbGUiOiJhZ2VudHMvdHJpYWdlLm1kIiwiaWQiOiJmXzc2ZjQyZTMzODJhNWNjZTUiLCJsaW5lIjoxMDYsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifV19 -->

Review

Findings

Medium

  • [protected-path] agents/triage.md — This PR modifies protected paths: agents/triage.md, scripts/lib/gitlab-prioritize-ops.lib.sh, scripts/lib/gitlab-triage-ops.lib.sh, scripts/post-prioritize-test.sh, scripts/post-prioritize.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/pre-prioritize.sh, scripts/pre-triage.sh. The PR description explains the rationale and cites the upstream issue (Remove sticky comments: post every agent result as a new comment fullsend#9334), but human approval is always required for protected-path changes, regardless of context.

Low

  • [design-smell] agents/triage.md:106 — The triage agent prompt refers to a pending pull request in another repository ("until fix(#9334)!: post every agent result as a new comment fullsend#9399 lands"). Tracking an in-flight PR inside runtime agent instructions ties the prompt to outside state, and the text will be out of date once that PR merges. The instruction to pick the newest analysis by edit time works without referring to the pending PR.
    Remediation: Remove the clause "until fix(#9334)!: post every agent result as a new comment fullsend#9399 lands" from line 106 of agents/triage.md and keep the guidance self-contained, for example: "since some trackers edit the marked comment in place".

Labels: PR fixes GitLab triage/prioritize comment behavior and updates docs.


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 fullsend-ai-review Bot added bug Something isn't working documentation Improvements or additions to documentation labels Nov 15, 2026
Follow-ups from review of this PR:

- agents/triage.md: step 2e no longer names an open pull request in
  another repository; it says some trackers edit the marked comment in
  place, which stays true as they change.
- behaviour/features/prioritize.feature: the post-script posts "a RICE
  comment", not a "sticky" one. The behaviour suite runs on GitHub,
  which still edits the comment in place, while GitLab now appends.
- docs/triage.md: the Retries bullet says it describes Jira, where the
  `sufficient` and `in-progress` comments each keep one fixed marker and
  every run edits the earlier comment with that marker.

Carrying a refuted cause forward between triage runs, raised in the same
review, needs a change to how every tracker's triage comment holds its
state; it is tracked in fullsend-ai#2042.

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 6:34 PM UTC · Completed 6:41 PM UTC

Commit: 0361d25 · View workflow run →

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

Comment thread agents/triage.md Resolved
tpouyer and others added 4 commits November 16, 2026 09:01
…e it

Step 2e reads every marked comment and keeps every cause in them, so a
marker anyone can type would plant causes that persist across runs. A
marked comment now counts as a triage-agent comment only when the
triage account wrote it: on GitHub a REST author of type Bot whose App
slug ends in -triage (gh issue view drops the [bot] suffix), on GitLab
and Jira the account the agent's own credential belongs to. Anyone
else's marked comment is a human comment whose causes are hypotheses.
The forge skills show the REST listing, the account lookups, and the
Jira expand=properties that exposes the marker property.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The REST listing gave authors but no bodies, and gh issue view uses
different comment ids, so the agent could not tie a REST author to the
marked comment it read. The listing now includes the body, step 2e reads
GitHub comments from it, and a comment no App posted never counts as the
triage account's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
If the agent cannot learn its own account, or a comment has no author,
no marked comment counts as a triage-agent comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
… REST only

The triage App slug is pinned in harness/triage.yaml, so step 2e now
requires performed_via_github_app.slug == "fullsend-ai-triage" (or the
fullsend-ai-triage[bot] login), the idiom pr-review uses for the review
App, instead of any slug ending in -triage. The step also reads GitHub
comments only from the REST listing, so it no longer points back at
gh issue view for pagination.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The listing renamed fields to user, type and app, while step 2e names
user.login, user.type and performed_via_github_app.slug; it now keeps
those paths so the two match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 16, 2026
Brings in the fullsend-ai#2037 commits that count a marked comment only when the
triage account wrote it and read GitHub comments with their authors from
one REST listing. This branch's step 2e already carries the same rule;
its GitHub bullet now reads comments from that listing too, and a
comment no App posted never counts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 16, 2026
Step 2e here already rebuilds the lists when no marked comment is from
the triage account; it now does the same when the agent cannot look up
its own account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 16, 2026
Step 2e here now trusts a GitHub comment only from the fullsend-ai-triage
App slug pinned in harness/triage.yaml (or its [bot] login), as fullsend-ai#2037
does and as pr-review does for the review App.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  fix(triage): keep fold-only causes as unverified; name the job that lacks FULLSEND_APP_SET

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	agents/triage.md
#	docs/triage.md
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  docs(triage): name the FULLSEND_APP_SET guard on the fourth trusted name

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  docs(triage): a custom App set still matches through the harness slug

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	docs/triage.md
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  test(triage): keep FULLSEND_APP_SET in the host file, not the harness

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  fix(triage): label human hypotheses unverified; tighten the APP_SET guard

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	agents/triage.md
#	docs/triage.md
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  test(triage): check the APP_SET host file is wired and expanded

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	agents/triage.md
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:44 AM UTC · Completed 2:01 AM UTC

Commit: 81b8ef3 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

fullsend-ai/fullsend#9575 merged on 17 Nov and closed #9568, so the
caveat now applies only to installs on fullsend v0.56.1 or earlier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  docs(triage): fullsend's triage job now exports FULLSEND_APP_SET

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	docs/triage.md
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:26 PM UTC · Completed 1:36 PM UTC

Commit: 16a5000 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:02 PM UTC · Completed 4:14 PM UTC

Commit: f2a4496 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

fullsend-ai-review[bot]

This comment was marked as outdated.

tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…t in the header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
* gitlab-doors-append:
  test(triage): the APP_SET guard comment matches fullsend#9575; name it in the header

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:06 PM UTC · Completed 7:20 PM UTC

Commit: 654ead9 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

… notes

The trust rules for reading earlier triage comments, the step 2e prose
and the forge-skill additions that supported them move to the triage
state change that replaces fullsend-ai#2044, where they belong.
This PR keeps the GitLab triage and prioritize doors posting a new note
each run, their tests and the docs that describe that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Two MEDIUM findings from a review pass, both inline: one on the Previous run fold rule in step 2e, one on the Jira scope listed for GET /myself.

Comment thread agents/triage.md Outdated

Pick the newest by the time its current text was written. That is the comment's last edit when the triage account made it, and its creation time when it was never edited (GitHub and GitLab `created_at`, Jira `created`). Anyone with edit rights can edit an older comment, including adding a `Previous run` fold to it, and their edit must not make it the newest. fullsend itself edits its first marked comment in place on GitHub and Jira, sometimes after a later duplicate exists, so its own edits do count. To tell who made the last edit: on GitHub, the forge skill's GraphQL query gives each comment's `lastEditedAt` and its `editor` (the account that made the last edit), which counts only when its `__typename` is `Bot` and its `login` is one of the triage App names above; on GitLab, the same query gives the note's `lastEditedAt` and `lastEditedBy`, which must be your own account (`lastEditedAt` alone means nothing on GitLab: it is filled in even for an unedited note); on Jira, the comment's `updateAuthor.accountId` must be your own account, and then `updated` is the time.

In every triage-agent comment, only the text above its first `Previous run` fold is the triage agent's current analysis. The fold is the block fullsend's sticky comment code (`internal/sticky`) appends when it edits a comment in place: on GitHub a `<details>` block whose `<summary>` starts with `Previous run`, on Jira an expand node whose title starts with `Previous run` (your Jira forge skill shows it); the words alone in prose are not a fold. A fold holds earlier text that someone else may have edited before fullsend folded it into the comment, so a cause found only inside a fold is a hypothesis to verify, as for a human comment below: keep it, labelled unverified, but never treat it as an established finding.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

MEDIUM: Step 2e's fold rule leaves out GitLab, where older bot notes already contain Previous run folds

Step 2e says only the text above a comment's first Previous run fold is current analysis. It defines the fold as the block fullsend's internal/sticky appends, and names only GitHub (<details>) and Jira (expand node).

But the GitLab sticky code this PR removes also wrote a fold on every re-run. On main, scripts/lib/gitlab-triage-ops.lib.sh line 266 has printf '\n\n<details>\n<summary>Previous run</summary>...'. So any GitLab issue triaged more than once before this change has a bot-written, bot-edited marked note that contains folds. That note passes the author and last-editor checks, and it stays the newest triage-agent note until the next run.

The fold rule doesn't cover it, so the agent can treat folded text as current analysis and carry its causes forward as findings. The (unverified) rule exists to prevent exactly that. The earlier fold thread was fixed for GitHub and Jira only, so this is a new gap.

Suggestion: Add GitLab to the fold definition: a <details> block whose <summary> starts with Previous run, written by the earlier GitLab sticky code in this repo. Or define the fold by its format on GitHub and GitLab rather than by internal/sticky. Make the same change in the docs/triage.md paragraph about folded history (around line 266).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, that gap was real for the version you reviewed. The step 2e trust and fold rules have since moved to #2079, and this PR's step 2e change is now only the GitLab paging sentence. As I understand it, #2079 covers your case: its fold definition is "a <details> block whose <summary> starts with Previous run on GitHub and GitLab, an expand node titled Previous run… on Jira", so the folds the old GitLab sticky code wrote are covered. It also escapes a fake fold in the agent's own text. Happy to adjust if you read it differently.

Comment thread docs/triage.md Outdated
so its earlier analyses are read as human comments.
- **GitLab:** the account `GET /api/v4/user` returns for `GITLAB_TOKEN`.
- **Jira:** the account `GET /rest/api/3/myself` returns, which needs the
`read:jira-user` scope (or the granular `read:user:jira`) on

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

MEDIUM: The granular Jira scope for GET /myself is listed as only read:user:jira, which is incomplete

This says GET /rest/api/3/myself needs read:jira-user "(or the granular read:user:jira)". Atlassian's Jira Cloud v3 OpenAPI spec (x-atlassian-oauth2-scopes for GET /rest/api/3/myself) lists the classic read:jira-user as current. The granular option is a set of four scopes required together (Beta): read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira.

An admin who follows this doc and grants only read:user:jira can see /myself refused. Step 2e then fails closed: every earlier analysis is quietly treated as a human hypothesis, and the only notice is in the reasoning field, which is never posted.

Suggestion: List the full granular set (read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira), or link to Atlassian's "Get current user" reference instead of naming one scope. Fix any copy of the same text elsewhere (for example skills/jira-forge/SKILL.md) too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks. This text moved to #2079 with the trust rules, and it's fixed there in 9b745bb and d530b9f. It now lists the classic read:jira-user scope, or all four granular scopes (read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira), and notes that Atlassian's "Get current user" reference marks the granular set Beta. I asked the AI to check it against Atlassian's v3 OpenAPI spec, and it matches your reading. No other copy of the text is left in this PR.

Step 2e now notes that GitLab leaves one triage note per run, so the
agent pages through all notes and takes the newest as the prior
analysis. The docs and door comments say fullsend-ai/fullsend#9399 is
an open PR, and name the cost of a note per issue edit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:37 AM UTC · Completed 4:48 AM UTC

Commit: 192ca6d · View workflow run →

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

* origin/main:
  feat(prioritize): write Jira RICE dimension fields and map Confidence
  fix(fullsend-ai#2076): re-check skip labels before deferred ready-to-code
  feat(fullsend-ai#2076): honor skip-triage and configured skip labels in triage
  fix(code): guard Jira preflight credential tracing
  fix(jira): keep token-mode credentials off traced call lines
  docs(local): use the fullsend pin for the OpenShell version
  fix(examples): post the link-check all-clear as a new comment
  fix(code): isolate Jira transition failure diagnostics
  feat(code): add optional Jira workflow transitions

# Conflicts:
#	docs/prioritize.md
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:08 PM UTC · Completed 1:19 PM UTC

Commit: c5b7b53 · View workflow run →

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation requires-manual-review Review requires human judgment risk/elevated PR risk: elevated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants