Skip to content

feat(#519): let the fix agent update stale PR/MR title and body - #1863

Merged
csoceanu merged 4 commits into
mainfrom
agent/519-fix-pr-metadata-update
Nov 5, 2026
Merged

csoceanu merged 4 commits into
mainfrom
agent/519-fix-pr-metadata-update

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Gives the fix agent a privileged, forge-neutral way to correct a PR/MR title or description that a fix has made inaccurate. Examples are content moved to another file, superseded behavior descriptions, and stale test counts (#487, #1819).

Changes

  • schemas/fix-result.schema.json: new optional fields:
    • pr_title: 1–200 chars, must contain a non-space character, no CR/LF.
    • pr_body: 1–8000 chars, not blank.
    • Each proposed field requires the SHA-256 of the value the agent read (pr_title_base_sha256 / pr_body_base_sha256).
  • scripts/process-fix-result.py: applies the proposal after schema validation passes and only when post-fix reports that its gitleaks scan of agent-result.json ran and passed.
    • Just before editing it re-reads the live metadata and skips, with a warning, any field whose hash no longer matches. A concurrent human edit is never overwritten.
    • Only the proposed fields are changed.
    • GitHub: gh pr edit --title=... --body-file -. GitLab: PUT /merge_requests/:iid with title / description, token passed via curl config on stdin.
    • Replacement bodies keep the existing closing reference (Closes #N / Related to ...) and the ### Post-script verification block. Forged copies of those in the proposal are dropped.
    • The outcome is added to the summary comment (for example **PR metadata:** title updated; body not updated (changed since the agent read it)). Failures are warnings only and never block the summary or change the exit code. Forge error details go to the job log, not the public comment.
  • scripts/post-fix.src.sh / bundled post-fix.sh: exports FIX_RESULT_SECRET_SCAN=passed only when the result-file scan actually ran. It installs gitleaks for metadata-only (no-push) runs that propose metadata. Without a scan, the metadata is not applied.
  • agents/fix.md, skills/fix-result-contract/SKILL.md, docs/fix.md: when to propose the fields (materially inaccurate values, including metadata-only runs; never cosmetic rewording), how to compute the base hashes on GitHub and GitLab, and carrying the fields forward across validation retries.

Design note

The maintainer asked to skip the update if the live metadata no longer matches "the version used by the agent". There is no existing channel for passing a pre-script snapshot to the post-script. So the agent records a hash of the value it read, and the post-script compares that against the live value. A wrong or missing hash can only cause a skip, never an overwrite of something the agent did not see.

Testing

  • python3 scripts/process-fix-result-test.py: 79 tests pass (33 new). They cover:
    • both fields, either field alone, neither field, and metadata-only runs;
    • empty, blank and over-length values, title CR/LF (including a trailing newline), and missing or malformed hashes;
    • multiline bodies with quotes and backticks passed intact via stdin;
    • preservation of managed sections and dropping of forged ones;
    • concurrent-edit refusal on GitHub and GitLab;
    • the secret-scan and schema-validation gates;
    • non-fatal read and edit failures.
  • bash scripts/post-fix-test.sh (source and --bundled): 4 new end-to-end scenarios against the real post-script on a no-push run. They cover GitHub apply, GitLab apply, a failed secret scan blocking the update, and a failed edit that still posts the summary and exits 0.
  • validate-output-schema-test.sh, validate-code-output-test.sh, hack/lint-agent-docs-test.sh, skillsaw --strict (0.18.0), shellcheck -x (0.10.0.1) and the make check-bundle logic all pass.

Caveats

  • pre-commit could not fetch hook repositories in the sandbox (TLS failure), so the hooks were run directly. make could not exec /bin/sh, so check-bundle was replicated with scripts/bundle-sh.sh.
  • Three post-fix-test.sh harness-YAML checks (fix-conflict-strategy-default-merge, fix-harness-signed-commits-default-off, eval-fix-harness-signed-commits-on) fail identically on unmodified main in this sandbox. They are unrelated to this change.
  • This touches protected paths (agents/, scripts/, skills/) and needs human review.

🤖 Generated with Claude Code


Closes #519

Post-script verification

  • Branch is not main/master (agent/519-fix-pr-metadata-update)
  • Secret scan passed (gitleaks — e49b038be44e757ce15e89d24883048fcb4587c5..HEAD)
  • PR body secret scan passed (gitleaks — no-git)
  • Final PR description secret scan passed (gitleaks — no-git)

@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Nov 2, 2026
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team November 2, 2026 15:03
@fullsend-ai-review

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Ended 3:05 PM UTC

Commit: a2f71e8 · View workflow run →

Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment /fs-review to retry.

@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:07 PM UTC · Completed 3:19 PM UTC

Commit: a2f71e8 · View workflow run →

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

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 2, 2026
@fullsend-ai-review

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

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Moderate risk preserved under re-review anchoring following minor regex and test adjustments, driven by protected path modifications and elevated script churn, balanced by bot authoring, opt-in rollback safety, and full alignment with linked issue #519.

Previous run

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, opt-in rollback safety, and clear alignment with the linked issue.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, opt-in rollback safety, and clear alignment with the linked issue.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, and clear alignment with the linked issue.

Previous run (4)

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path edits and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, comprehensive test coverage, and strong alignment with linked issue #519.

Previous run (5)

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path edits and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, comprehensive test coverage, and strong alignment with linked issue #519.

Previous run (6)

Risk Assessment: moderate (2/5)

Details

Moderate risk preserved after minor delta, driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, opt-in rollback safety, and clear alignment with the linked issue.

Previous run (7)

Risk Assessment: moderate (2/5)

Details

Moderate risk preserved across re-review, driven by protected path changes and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, extensive test coverage, and complete alignment with linked issue #519.

Previous run (8)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved across re-review, driven by protected path changes and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, extensive test coverage, and complete alignment with linked issue #519.

Previous run (9)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved across re-review, driven by protected path changes and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, extensive test coverage, and complete alignment with linked issue #519.

Previous run (10)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved across re-review, driven by protected path changes and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, extensive test coverage, and complete alignment with linked issue #519.

Previous run (11)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following rebase and squash, driven by protected path changes and high churn in post-fix scripts, balanced by bot authorship, opt-in rollback safety, comprehensive test coverage, and full alignment with linked issue #519.

Previous run (12)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following incremental updates to process-fix-result and tests, driven by protected path modifications and script churn, balanced by bot authorship, opt-in rollback safety, and full alignment with linked issue #519.

Previous run (13)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following incremental updates to process-fix-result and tests, driven by protected path modifications and script churn, balanced by bot authorship, opt-in rollback safety, and full alignment with linked issue #519.

Previous run (14)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following minor updates to process-fix-result and tests, driven by protected path modifications and elevated git churn across touched scripts, balanced by bot authoring, opt-in rollback safety, and close alignment with linked issue #519.

Previous run (15)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following minor updates to process-fix-result and tests, driven by protected path modifications and elevated git churn across touched scripts, balanced by bot authoring, opt-in rollback safety, and close alignment with linked issue #519.

Previous run (16)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved following minor updates to process-fix-result and tests, driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, opt-in rollback safety, and close alignment with the linked issue.

Previous run (17)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved after minor delta, driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, opt-in rollback safety, and clear alignment with the linked issue.

Previous run (18)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk preserved after minor delta, driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, and clear alignment with the linked issue.

Previous run (19)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, and clear alignment with the linked issue.

Previous run (20)

<!-- fullsend:risk-assessment -->
Risk Assessment: moderate (2/5)

Details

Moderate risk driven by protected path modifications and elevated git churn across touched scripts, balanced by comprehensive test coverage, bot authoring, and clear alignment with the linked issue.

@fullsend-ai-review

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

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] agents/fix.md — This PR modifies protected governance/infrastructure paths: agents/fix.md, scripts/post-fix-test.sh, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/process-fix-result-test.py, scripts/process-fix-result.py, skills/fix-result-contract/SKILL.md. The PR links issue Fix agent should support updating PR metadata when scope changes #519 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Earlier findings

  • scripts/process-fix-result.py:1053, injection-vuln — resolved by change: the quick-action filter regex now uses ^[^\S\n]*/\w, so leading Unicode blanks (NBSP, em space) no longer hide a GitLab quick action; new tests cover this for both the new body and the preserved live tail.
Previous run

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

Review

Findings

Medium

  • [protected-path] agents/fix.md, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/post-fix-test.sh, scripts/process-fix-result.py, scripts/process-fix-result-test.py, skills/fix-result-contract/SKILL.md — This PR modifies governance/infrastructure files under protected paths (agents/, scripts/, skills/). It links issue Fix agent should support updating PR metadata when scope changes #519 and the description explains the rationale, but human approval is always required for protected-path changes regardless of context.

Low

  • [injection-vuln] scripts/process-fix-result.py:1038 — The GitLab quick-action filter (^[ \t]*/\w) treats only ASCII space/tab as a prefix before /, so an interior line starting with a Unicode blank (e.g. NBSP or em space) followed by /close passes the gate. I could not verify that GitLab's extractor runs a command after a Unicode-whitespace prefix; it most likely requires an ASCII-whitespace or line-start /, in which case the current filter is already stricter than needed. Reclassified from medium to low: this is defence-in-depth hardening, not a demonstrated injection. It also sits behind schema validation, the secret-scan gate and the live-hash check, and applies only on the GitLab path.
    Remediation: Optionally widen the prefix to any Unicode whitespace (for example ^[^\S\n]*/\w) and add NBSP and em-space regression tests for both the proposed text and the preserved live tail.

Earlier findings

  • scripts/process-fix-result.py:1139, injection-vuln — resolved: apply_pr_metadata now calls has_quick_action(merged), so the preserved live verification tail is checked as well as the proposal. The new test test_gitlab_quick_action_in_preserved_live_tail_not_resent covers a retained /close.
  • scripts/process-fix-result.py:1053, injection-vuln — reclassified from medium to low (see above).

Re-review note: One or more prior medium-or-higher findings remain open and must still be addressed.

Blocking prior findings:


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
Previous run (2)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImluamVjdGlvbi12dWxuIiwiZmlsZSI6InNjcmlwdHMvcHJvY2Vzcy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cxNDg2M2MzMiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzVmMTk3MWU3NmQwZjQ4ODQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9hMzgxYzY5ZDc3MmM4MTljIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfZTRiNjhhOWMxZDYwMmJkYyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2VkMGY0NDkwNDRmNTJkNDYiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl82MGU3MGY3MTBkOGY4NzQzIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNzEwNTUzZGU1YmY5ZDdiNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzU2OWE4MTg1ZGNjYzBhNDciLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [protected-path] agents/fix.md, scripts/post-fix.src.sh, scripts/post-fix.sh, scripts/process-fix-result.py, scripts/process-fix-result-test.py, scripts/post-fix-test.sh, skills/fix-result-contract/SKILL.md — This PR modifies governance/infrastructure files under protected paths (agents/, scripts/, skills/). It links issue Fix agent should support updating PR metadata when scope changes #519 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [injection-vuln] scripts/process-fix-result.py:1139 — The GitLab quick-action gate checks only proposed_body, not merged, the description actually submitted. build_pr_body appends the raw live verification tail unchanged, so a standalone quick-action line (for example /close) already sitting in the live description would be re-sent whenever a harmless proposal passes the gate. Exploitation needs an unexecuted quick-action line already in the live description, and whether GitLab re-runs an unchanged line on save was not verified.
    Remediation: Check has_quick_action(merged) before submitting the GitLab description (keeping the proposal check is optional), and add a regression test with a harmless proposal and a live verification tail that contains a quick-action line.

Earlier findings

  • scripts/process-fix-result.py:546, logic-error, resolved — _mask_block_code and _paragraph_starts now treat an ordered-list marker that cannot interrupt a paragraph as paragraph text; a regression test covers `2. ````.
  • scripts/process-fix-result.py:1053, injection-vuln, reclassified medium to low — the latest commit blocks quick-action lines in the proposed GitLab body; only the residual merged-body gap above remains.

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
Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImluamVjdGlvbi12dWxuIiwiZmlsZSI6InNjcmlwdHMvcHJvY2Vzcy1maXgtcmVzdWx0LnB5IiwiaWQiOiJmX2NmMDVhOWYyYzIxNzUzNWEiLCJsaW5lIjoxMDUzLCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJzZWN1cml0eSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImxvZ2ljLWVycm9yIiwiZmlsZSI6InNjcmlwdHMvcHJvY2Vzcy1maXgtcmVzdWx0LnB5IiwiaWQiOiJmXzU3NjdkNzM3OWUzYzg1OWEiLCJsaW5lIjo1NDYsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImNvZGUtb3JnYW5pemF0aW9uIiwiZmlsZSI6InNjcmlwdHMvcHJvY2Vzcy1maXgtcmVzdWx0LnB5IiwiaWQiOiJmXzEzY2ZhOTkzNDI0ODZmMmYiLCJsaW5lIjo1NTIsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI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0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl82NDI1MDYxMjQ4YmE4MzRlIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYTU5YTAwN2ZkMzRiODYzMyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2Y1NTdkZGM5YzA5NDY2NDMiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9iZjEzMmQzMTc2YjQ4MjlmIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNGQyYzI5M2U1YWE2ODc4YiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzFiMDk2NDk4NWVjYWM2MTYiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl81MWVjNWM1NWM1MTRjN2Q2Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfZjEyM2IzNzcxNDg2M2MzMiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzVmMTk3MWU3NmQwZjQ4ODQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [injection-vuln] scripts/process-fix-result.py:1053 — The GitLab publisher sends the agent-proposed Markdown as the MR description via PUT with the runner token, and nothing filters GitLab quick actions. A proposed body with a standalone line such as /close or /label ~x may trigger operations beyond editing descriptive text, because GitLab runs quick actions found in issuable descriptions. Whether it does so on an API description update (as opposed to create) cannot be confirmed statically. Neither build_pr_body nor managed_sections_exposed rejects such lines, and the schema check, secret scan and base hash do not authorize them. This undercuts the PR's own aim of stopping the proposal from adding issue-closing instructions. The existing GitLab summary note already sends unfiltered agent text with the same token, so this adds a second path to an existing exposure rather than a new privilege.
    Remediation: Reject or neutralize GitLab body proposals that contain quick-action lines (lines starting with / outside code) before the PUT, and consider the same for the summary note. Add tests showing that /close and /label cannot reach the description-update API while ordinary Markdown still passes.
  • [protected-path] scripts/process-fix-result.py — This PR modifies protected governance/infrastructure paths: agents/fix.md, scripts/post-fix-test.sh, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/process-fix-result-test.py, scripts/process-fix-result.py, skills/fix-result-contract/SKILL.md. The PR links issue Fix agent should support updating PR metadata when scope changes #519 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [logic-error] scripts/process-fix-result.py:546 — The block-code pass treats every ordered-list marker as a list opener, even one that cannot interrupt a paragraph. For example, build_pr_body('New.', 'Old paragraph\n2. ```\nCloses #519\nend ```') returns New.\n\nCloses #519. In CommonMark the 2. does not interrupt the paragraph, so the paired backtick runs form an inline code span holding the reference, and the replacement turns that inert example into a live closing reference. It needs an unusual construct already in the current body.
    Remediation: Apply the paragraph-interruption rule (only a list starting at 1 may interrupt a paragraph) in both block-code parsing and inline segmentation, and add the demonstrated case as a regression test.

Earlier findings

  • scripts/process-fix-result.py:784, injection-vuln — resolved: raw HTML blocks are now masked when locating the managed verification heading; the <pre> + heading repro returns only Closes #519.
  • scripts/process-fix-result.py:810, injection-vuln — resolved: a reference inside an HTML attribute (<span title="Fixes #999">) is no longer carried into the body.
  • scripts/process-fix-result.py:775, injection-vuln — resolved: a closed <pre> block holding Fixes #999 is no longer extracted as a live reference.
  • scripts/process-fix-result.py:575, logic-error — resolved: a quote-only blank line now ends the inline-code segment; the commented Closes #999 is not carried.
  • scripts/process-fix-result.py:904, logic-error — resolved: raw HTML openers on list continuation lines are tracked in their container, so the real Closes #519 is kept.
  • scripts/process-fix-result.py:804, logic-error — resolved: a fence marker inside a raw HTML block no longer masks the live reference.

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
Previous run (4)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmplY3Rpb24tdnVsbiIsImZpbGUiOiJzY3JpcHRzL3Byb2Nlc3MtZml4LXJlc3VsdC5weSIsImlkIjoiZl9hMzgxYzY5ZDc3MmM4MTljIiwibGluZSI6Nzg0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic2VjdXJpdHkifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmplY3Rpb24tdnVsbiIsImZpbGUiOiJzY3JpcHRzL3Byb2Nlc3MtZml4LXJlc3VsdC5weSIsImlkIjoiZl9lNGI2OGE5YzFkNjAyYmRjIiwibGluZSI6ODEwLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic2VjdXJpdHkifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL3Byb2Nlc3MtZml4LXJlc3VsdC5weSIsImlkIjoiZl9lZDBmNDQ5MDQ0ZjUyZDQ2IiwibGluZSI6NTc1LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiY29ycmVjdG5lc3MifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL3Byb2Nlc3MtZml4LXJlc3VsdC5weSIsImlkIjoiZl82MGU3MGY3MTBkOGY4NzQzIiwibGluZSI6OTA0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiY29ycmVjdG5lc3MifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL3Byb2Nlc3Mt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mX2ZiOWUwZjQyZDdmMjUyMDciLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl85MmI5MjFkMDhhZGQwMDRkIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfOTg3ZDIwNjkzN2RlOGQ0ZSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzY0MjUwNjEyNDhiYTgzNGUiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9hNTlhMDA3ZmQzNGI4NjMzIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfZjU1N2RkYzljMDk0NjY0MyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2JmMTMyZDMxNzZiNDgyOWYiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl80ZDJjMjkzZTVhYTY4NzhiIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfMWIwOTY0OTg1ZWNhYzYxNiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9XX0= -->

Review

Findings

Medium

  • [protected-path] scripts/process-fix-result.py — This PR modifies protected governance/infrastructure paths: agents/fix.md, scripts/post-fix-test.sh, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/process-fix-result-test.py, scripts/process-fix-result.py, skills/fix-result-contract/SKILL.md. The PR links issue Fix agent should support updating PR metadata when scope changes #519 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [injection-vuln] scripts/process-fix-result.py:784 — _managed_tail_start masks fenced, indented and inline code and HTML comments but not raw HTML blocks. A live body containing <pre>\n### Post-script verification\n\nFixes #999\n</pre> is treated as having a managed verification tail; the replacement copies everything from the heading onward without the opening <pre>, turning the previously literal Fixes #999 into live text. The raw-HTML masking added for reference extraction does not cover this separate input. (Reproduced against the PR head: output is New.\n\n### Post-script verification\n\nFixes #999\n</pre>.)
    Remediation: Apply raw-HTML-block masking when locating the managed verification heading, and add a regression test.
  • [injection-vuln] scripts/process-fix-result.py:810 — Existing-reference extraction does not exclude inline HTML attributes or Markdown link titles. A live body such as <span title="Fixes #999">example</span> yields the reference Fixes #999, which build_pr_body appends as standalone live text (reproduced: output New.\n\nFixes #999).
    Remediation: Exclude HTML tags/attributes and Markdown link metadata from reference extraction (preferably via a Markdown parser) and test that such references are not carried into live text.
  • [logic-error] scripts/process-fix-result.py:575 — A quote-only blank line resets paragraph state but does not end the inline-code segment. When the next paragraph is outside the quote, backticks can pair across the block boundary and hide a real <!-- opener, so an existing commented-out Closes #999 becomes an active closing reference (reproduced with > old \x\n>\ntext \n\nCloses Fix agent should support updating PR metadata when scope changes #519`).
    Remediation: Split inline-code segments at quote-only blank lines, including when the next paragraph leaves the blockquote; add a regression test.
  • [logic-error] scripts/process-fix-result.py:904 — Raw HTML container tracking only considers markers on the opener line, not the continuation indent of an existing list item. For - item\n\n <pre>\n example\n\nCloses #519, _raw_html_containers returns an empty container list, the block is treated as top-level, and the genuine closing reference is masked to EOF and silently dropped (reproduced: output New.).
    Remediation: Track existing list containers when recognizing raw HTML openers on continuation lines; add a regression test.
  • [logic-error] scripts/process-fix-result.py:804 — Raw HTML is masked only after Markdown code parsing has run, so a fence marker inside a raw HTML block is treated as a Markdown fence. For Old.\n\n<pre>\n```\n</pre>\n\nCloses #519 the live Closes #519 is masked and dropped even though the <pre> block is closed (reproduced: output New.).
    Remediation: Resolve raw HTML blocks alongside fenced code and comments so fence markers inside raw HTML cannot alter parser state; add a regression test.

Earlier findings

  • scripts/process-fix-result.py:567, logic-error — resolved: the latest commit starts a new inline-code segment when blockquote depth increases; the nested-quote repro now returns only Closes #519.
  • scripts/process-fix-result.py:541, logic-error — resolved: _paragraph_starts segmentation was reworked for nested quotes in the latest commit and the full-scope correctness pass did not re-report it.
  • scripts/process-fix-result.py:843, logic-error — resolved: the single-regex raw HTML masking was replaced by line-aware masking that bounds unclosed blocks by their container.

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added fix-agent enhancement New feature or request labels Nov 2, 2026
@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 3:21 PM UTC · Completed 3:25 PM UTC

Commit: a2f71e8 · View workflow run →

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

fullsend-ai-coder Bot added a commit that referenced this pull request Nov 2, 2026
Recognize closing references in list and inline forms when preserving
references from the current PR body, and neutralize closing keywords the
agent-proposed body adds outside whole-line references. Align the
::warning:: sanitizer with the shell _gha_sanitize helper.

Addresses #1863

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 1 (bot-triggered)

Addressed the two medium findings (closing-reference preservation and filtering now work in list, inline and cross-repo forms) and the low sanitizer finding, with new tests. The protected-path finding is a merge gate that needs human approval, so it was left unchanged. make and pre-commit could not run in the sandbox; the script test file was run directly and passed.

Fixed (3):

  1. Body replacement preserves closing references only when the keyword starts a plain-text line (scripts/process-fix-result.py): Existing references are now recognized in list-prefixed and inline forms (and GH-N / URL targets) and carried into the references block when the body is replaced; regression tests added for bulleted and inline references.
  2. Closing-reference filter on the agent-proposed body only recognizes keywords at the start of a line (scripts/process-fix-result.py): Closing keywords anywhere in the proposed body (prose, list items, cross-repo and URL forms) are now stripped down to the bare reference, so the proposal cannot add an issue-closing instruction; whole-line references are still dropped. Existing authorized references come only from the current body. Tests added for prose, list, cross-repository, URL and GH-N forms.
  3. Warning sanitizer leaves percent-encoded newlines, ANSI escapes and control characters (scripts/process-fix-result.py): _sanitize now strips ANSI escapes and control characters, encodes % as %25 and :: as %3A%3A, matching the shell _gha_sanitize helper; unit test added.

Disagreed (1):

  1. Protected-path changes require human approval: This is the mandatory merge-gate finding: it requires human approval and prescribes no content edit, so there is nothing to change in the code.

Tests: passed

CI inspections (5):

  1. CI / test (passing, success)
  2. CI / skillsaw (passing, success)
  3. CI / commit-lint (passing, success)
  4. Script tests / script-test (passing, success)
  5. Functional Tests / functional-tests-complete (transient-infra, failure): The rollup check failed closed because the enhancement label does not trigger tests and an earlier run on this head was cancelled; the test jobs themselves were skipped, so it is not caused by the diff. Rerun the Functional Tests workflow (or apply a label that triggers it).

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

Decision points
  • How to neutralize closing keywords in the proposed body (alternatives: Reject the whole proposed body, Drop the whole line, Remove the keyword and keep the bare reference; rationale: Keeping the bare reference preserves the description's meaning while removing the closing effect; whole-line references are still dropped as before.)

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 2, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:28 PM UTC · Completed 3:36 PM UTC

Commit: c0d4316 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 3:38 PM UTC · Completed 3:42 PM UTC

Commit: c0d4316 · View workflow run →

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

fullsend-ai-coder Bot added a commit that referenced this pull request Nov 2, 2026
Strip closing keywords from the proposed PR body until the text is stable
and across line breaks, so "fixes fixes #999" cannot leave an active
closing reference. Preserve every target of an inline multi-issue closing
expression ("fixes #519 and #520") when carrying over existing refs.

Pre-commit could not fetch its remote hook repositories (certificate
verification failure); the file-level hooks (whitespace, EOF, line endings)
were checked manually.

Addresses #1863

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 2 (bot-triggered)

Fixed both actionable findings in process-fix-result.py (repeat-until-stable closing keyword neutralization across lines, and multi-target inline reference preservation) with regression tests; the protected-path finding needs human approval and has no code fix.

Fixed (2):

  1. Closing-reference neutralization in build_pr_body is bypassable (nested keywords such as 'fixes fixes #N', keyword and target split across lines) (scripts/process-fix-result.py): Closing keywords in the proposed body are now stripped over the whole text and the substitution repeats until the text is stable, so nested or line-split keywords cannot leave an active closing reference. Added regression tests for nested keywords, keyword/target on separate lines, and a keyword exposed by a dropped reference line.
  2. Inline references with multiple issue targets are truncated when current-body references are preserved (scripts/process-fix-result.py): The inline reference pattern now captures a trailing comma/'and'-separated target list, so all targets are preserved and neutralized together. Added tests for comma-separated and 'and'-separated inline references, plus neutralization of multi-target references in a proposed body.

Disagreed (1):

  1. Protected-path change requires human approval: This is the mandatory merge-gate finding. It asks for human approval and prescribes no content change, so there is nothing for the fix agent to edit.

Tests: passed

CI inspections (6):

  1. behaviour (flaky, failure): One review-persona dispatch scenario failed because the workflow log snapshot was incomplete; the other scenarios passed and the scenario does not touch the files in this PR. Rerun the behaviour job.
  2. test (passing, success)
  3. script-test (passing, success)
  4. skillsaw (passing, success)
  5. commit-lint (passing, success)
  6. functional-tests (fix) (passing, success)

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

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 2, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:44 PM UTC · Completed 3:53 PM UTC

Commit: 67d5708 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 3:55 PM UTC · Completed 3:59 PM UTC

Commit: 67d5708 · View workflow run →

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

fullsend-ai-coder Bot added a commit that referenced this pull request Nov 2, 2026
Extend closing keywords to GitLab -ing forms and an optional "issue(s)"
word, recognize equivalent ATX forms of the post-script verification
heading in proposals, and extract existing closing references from the
whole body so references wrapped across lines keep every target.

Addresses #1863

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 3 (bot-triggered)

Addressed all three medium findings in scripts/process-fix-result.py with tests, and recorded the protected-path notice as needing human approval. process-fix-result-test.py passes (91 tests). make script-test could not run in the sandbox and pre-commit could not fetch hook repos, so I checked whitespace, line endings and secrets by hand. Project CI on the PR head was passing apart from the Fullsend dispatch jobs, which are excluded.

Fixed (3):

  1. Closing-keyword filter misses GitLab -ing forms and an optional 'issue' word before the target (scripts/process-fix-result.py): Extended the closing keyword pattern with closing/fixing/resolving/implementing and allowed an optional issue/issues word before the target, for both the proposal filter and reference extraction. Added tests for each variant.
  2. Only the exact post-script verification heading line is treated as the managed section (scripts/process-fix-result.py): Heading detection now accepts equivalent ATX forms (up to three leading spaces, tab after the hashes, trailing spaces, closing hashes), so lookalike headings in a proposal are dropped. Added a regression test.
  3. Existing closing references are extracted one line at a time, so wrapped references lose targets (scripts/process-fix-result.py): Existing references are now extracted from the whole unmanaged head, so a reference whose targets or keyword wrap across lines is kept in full, with whitespace collapsed. List-marker lines keep their marker. Added tests for wrapped references.

Disagreed (1):

  1. Protected-path changes require human approval: This is a merge-gate notice with no content change to make. A human must approve the protected-path changes, so no code edit applies.

Tests: passed

CI inspections (6):

  1. test (passing, success)
  2. script-test (passing, success)
  3. skillsaw (passing, success)
  4. commit-lint (passing, success)
  5. functional-tests (fix) (passing, success)
  6. behaviour (passing, success)

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

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 2, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:01 PM UTC · Completed 4:12 PM UTC

Commit: d6e97ae · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review
fullsend-ai-review Bot dismissed stale reviews from themself November 4, 2026 16:41

Superseded by updated review

fullsend-ai-review[bot]

This comment was marked as outdated.

@csoceanu

csoceanu commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

/fs-fix Address all five actionable low findings from the latest review in scripts/process-fix-result.py.

Merge the latest upstream main into this branch before the final verification. After the implementation and tests are complete, squash the branch’s implementation history into one signed commit on top of the updated main.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 7:42 AM UTC · Completed 7:51 AM UTC

Commit: 375d666 · View workflow run →

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

Allow the fix agent to refresh a stale PR/MR title and body after it
changes the implementation, and harden how the body is rewritten.

- agents/fix.md, docs/fix.md, skills/fix-result-contract/SKILL.md,
  schemas/fix-result.schema.json: document and validate new optional
  structured-output fields for a replacement PR title and body.
- scripts/post-fix.src.sh and the regenerated scripts/post-fix.sh bundle:
  pass the update through the post-fix flow.
- scripts/process-fix-result.py: validate and apply the title/body
  update. Preserve issue references and closing keywords anywhere in the
  body, neutralize nested or multi-target closing keywords without
  dropping targets, keep managed headings intact, and fail closed when a
  body would be hidden.
- The body is parsed with a line-aware Markdown mask so literal text is
  not misread as a heading or reference. Fenced and indented code, code
  spans, HTML comments and raw HTML blocks (pre, script, style,
  textarea, processing instructions, CDATA, declarations) are masked.
  Code spans stay within one paragraph and never cross headings, thematic
  breaks, fences, list items, blockquote boundaries (including a blank
  quoted line) or HTML blocks. Raw HTML blocks are tracked like fences,
  including inside list continuation lines and quotes, run to their end
  condition or the end of their container, and their content cannot open
  a fence, comment or list item. A verification heading inside a raw
  block is not the managed tail. HTML tags and attributes and link
  destinations and titles (inline links, images, definitions) are not
  read as references.
- scripts/process-fix-result-test.py, scripts/post-fix-test.sh: tests for
  the above, including regressions for each parsing case.

Review feedback on PR #1863 addressed in this squash: raw HTML block
masking for the managed verification heading, references in HTML
attributes and link titles, a quote-only blank line ending a code span,
raw HTML openers on list continuation lines, and fence markers inside
raw HTML blocks. The latest main was merged before squashing.

Not run: pre-commit (could not fetch hook repos; trailing whitespace and
conflict-marker checks run directly), make targets and yq-based harness
checks (tools unavailable). process-fix-result-test.py passes.
scripts/post-fix-test.sh has 3 harness config failures that also occur
without this change.

Addresses #1863

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 5 (human-triggered)

Addressed all five low findings in scripts/process-fix-result.py with regression tests, merged the latest main, and squashed the branch into one commit. The 150 unit tests in process-fix-result-test.py pass. scripts/post-fix-test.sh shows 3 harness-config failures that also occur without this change. pre-commit could not fetch hook repos, so basic whitespace and conflict-marker checks were run directly.

Fixed (6):

  1. Raw HTML blocks are not masked when locating the managed verification heading (process-fix-result.py:784) (scripts/process-fix-result.py): Raw HTML blocks are now masked by the same line-aware pass as fences and comments, and the managed-tail and exposure checks use that masking, so a heading inside a pre block is not the managed tail. Regression test added.
  2. Existing-reference extraction reads HTML attributes and Markdown link titles (process-fix-result.py:810) (scripts/process-fix-result.py): Reference extraction and the exposure check now mask HTML tags with their attributes, and the destination and title of inline links, images and link reference definitions, so a reference there is not carried into live text. Prose around links and tags stays live. Regression tests added.
  3. A quote-only blank line does not end the inline-code segment (process-fix-result.py:575) (scripts/process-fix-result.py): A line holding only blockquote prefixes now starts a new inline-code segment, so a span cannot pair across it when the next paragraph leaves the quote. Regression test added.
  4. Raw HTML container tracking ignores the continuation indent of an existing list item (process-fix-result.py:904) (scripts/process-fix-result.py): Raw HTML blocks are now tracked inside the block parser, which already knows the open list items and quote depth. An opener on a continuation line therefore ends with its item, and the later top-level closing reference is kept. Regression test added.
  5. A fence marker inside a raw HTML block is treated as a Markdown fence (process-fix-result.py:804) (scripts/process-fix-result.py): Raw HTML blocks are resolved alongside fences and comments in the same pass, so their content cannot change fence, comment or list state. Closing keywords in proposed bodies are still stripped, since masking of raw blocks is enabled only for reference and heading detection. Regression tests added.
  6. Human instruction: merge latest main, then squash the branch into one commit: origin/main (06f1182) was merged cleanly into the branch, then the whole PR was squashed into a single commit on top of it. No new fetch was possible, so the local origin/main ref was used. The squash commit carries no Signed-off-by trailer because agent commits are exempt from DCO sign-off; the post-script handles publishing.

Tests: passed

CI inspections (5):

  1. script-test (passing, SUCCESS): Passing on the previous head.
  2. test (passing, SUCCESS): Passing on the previous head.
  3. skillsaw (passing, SUCCESS): Passing on the previous head.
  4. commit-lint (passing, SUCCESS): Passing on the previous head.
  5. DCO (passing, SUCCESS): Passing on the previous head.
Decision points
  • Where to handle raw HTML blocks (alternatives: Keep the separate post-hoc masking pass and patch each case, Resolve raw HTML in the block parser alongside fences; rationale: The review's findings share one root cause: raw HTML was resolved after code parsing, without container knowledge. Resolving it in the block parser fixes the fence and list-continuation cases together and lets the old separate pass be removed.)

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 5, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:53 AM UTC · Completed 8:06 AM UTC

Commit: 306d678 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 8:08 AM UTC · Completed 8:13 AM UTC

Commit: 306d678 · View workflow run →

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

- Refuse to send a proposed MR description to GitLab when a line starts
  with a quick action (for example /close), since GitLab may run those.
- Treat an ordered-list marker that cannot interrupt a paragraph as
  paragraph text in both the block-code and inline-code passes, so a
  fence-like text after it no longer opens a block.

Note: pre-commit could not fetch its hook repositories (certificate
error); trailing-whitespace was checked by hand. make lint (skillsaw)
was not run. scripts/process-fix-result-test.py passes.

Addresses #1863

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 2 (bot-triggered)

Addressed both actionable findings: GitLab quick-action lines in a proposed body now block the description update, and non-interrupting ordered-list markers no longer open lists or fences. The protected-path finding needs human approval. The summary-note exposure the review mentioned as optional was left alone as outside this PR's change. Tests in scripts/process-fix-result-test.py pass. pre-commit could not fetch its hooks (certificate error), so whitespace was checked by hand, and make lint was not run.

Fixed (2):

  1. GitLab description update could carry quick-action lines such as /close or /label (scripts/process-fix-result.py): On GitLab, the proposed body is no longer sent when any line starts with a slash and a command word (checked on the raw text, not Markdown-aware). A note is added to the summary. Added tests for blocked lines (including inside a code fence and with CRLF) and for ordinary Markdown with slashes still being sent.
  2. Ordered-list marker that cannot interrupt a paragraph was treated as a list opener (scripts/process-fix-result.py): The block-code pass now applies the paragraph-interruption rule (only a non-empty bullet or an ordered item starting at 1 can interrupt a paragraph; a sibling item after leaving a list item is unaffected). The inline-code segmentation no longer reads text after a demoted marker as a fence or heading. Added a regression test with the reported case and a check that '1.' still opens a fenced item.

Disagreed (1):

  1. Protected-path change requires human approval: This is a merge-gate finding that asks for human approval and prescribes no content edit, so there is nothing to change in the code.

Tests: passed

CI inspections (7):

  1. CI / test (passing, success): Passed on the previous head.
  2. Script tests / script-test (passing, success): Passed on the previous head.
  3. Functional Tests / functional-tests (fix) (passing, success): Passed on the previous head.
  4. Behaviour Tests / behaviour (passing, success): Passed on the previous head.
  5. CI / skillsaw (passing, success): Passed on the previous head.
  6. CI / commit-lint (passing, success): Passed on the previous head.
  7. DCO (passing, success): Passed on the previous head.

Conflict update: skipped; strategy none; forge MERGEABLE; target main@06f118206dbc89cf0c51786d33062f75cca7b89f

Decision points
  • How strict the GitLab quick-action check should be (alternatives: Skip lines inside code or comments, as the review suggested, Flag any line that starts with a slash and a command word; rationale: A Markdown-aware check would depend on the hand-written parser being correct. The raw-line check cannot be bypassed by a parsing mistake, and its only cost is rejecting a rare body that has such a line in code.)

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 5, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 8:15 AM UTC · Completed 8:23 AM UTC

Commit: 4a8945a · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 8:25 AM UTC · Completed 8:28 AM UTC

Commit: 4a8945a · View workflow run →

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

Address review feedback on PR #1863: the quick-action gate now inspects the
description actually submitted (including the preserved live verification
tail), not just the proposed body. Adds a regression test.

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 3 (bot-triggered)

Addressed the quick-action finding by checking the merged GitLab description; the protected-path finding needs human approval and has no code change.

Fixed (1):

  1. GitLab quick-action gate checks only the proposed body, not the merged description that is submitted (scripts/process-fix-result.py): The gate now checks the merged description (including the preserved live verification tail) for quick-action lines before the GitLab update. Added a regression test with a harmless proposal and a live tail containing a quick-action line.

Disagreed (1):

  1. protected-path: PR modifies governance files under agents/, scripts/, skills/: This is the mandatory merge-gate finding; it only requires human approval and prescribes no content change, so there is nothing to edit.

Tests: passed

CI inspections (4):

  1. script-test (pending, in_progress): Still running when inspected.
  2. test (passing, success)
  3. commit-lint (passing, success)
  4. skillsaw (passing, success)

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

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 5, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 8:30 AM UTC · Completed 8:37 AM UTC

Commit: 2e2740c · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-coder

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

Copy link
Copy Markdown
Contributor Author

🤖 Finished Fix · ✅ Success · Started 8:39 AM UTC · Completed 8:43 AM UTC

Commit: 2e2740c · View workflow run →

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

Widen the GitLab quick-action filter prefix to any non-newline whitespace
and add NBSP/em-space regression tests (PR #1863 review).

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

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 4 (bot-triggered)

Hardened the GitLab quick-action filter against Unicode-blank prefixes and added tests. The protected-path finding needs human approval and is left as is. The fix-agent unit tests pass (155).

Fixed (1):

  1. GitLab quick-action filter only treats ASCII space/tab as a line prefix, so a leading Unicode blank (NBSP, em space) is not flagged (low, injection-vuln, scripts/process-fix-result.py) (scripts/process-fix-result.py): Widened the quick-action prefix to any non-newline whitespace and added NBSP and em-space regression tests for both the proposed text and the preserved live tail.

Disagreed (1):

  1. Protected-path change requires human approval (agents/, scripts/, skills/): This is the mandatory merge-gate notice. It asks for human approval and prescribes no content edit, so there is nothing to change in code.

Tests: passed

CI inspections (6):

  1. behaviour (unrelated, failure): One behaviour scenario (the prioritize RICE-score comment) failed while the other 11 passed. This PR does not touch the prioritize path. Rerun the job; if it keeps failing, file an issue for the behaviour suite owners.
  2. test (passing, success)
  3. script-test (passing, success)
  4. skillsaw (passing, success)
  5. commit-lint (passing, success)
  6. functional-tests-complete (passing, success)

Conflict update: skipped; strategy none; forge MERGEABLE; target main@06f118206dbc89cf0c51786d33062f75cca7b89f

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 5, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 8:45 AM UTC · Completed 8:51 AM UTC

Commit: 400942b · View workflow run →

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

@rh-hemartin

Copy link
Copy Markdown
Member

@csoceanu you will need to ask your agent to close threads, they get hidden sometimes and it is a problem to unblock the PR :D

This branch was previously deployed

1 inactive deployment
dev — 400942b7 Deployed Nov 5, 2026 by fullsend-ai-coder[bot] via behaviour #1712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fix-agent needs-human Agent loop needs human intervention ok-to-test 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.

Fix agent should support updating PR metadata when scope changes

2 participants