Skip to content

feat(#1953): post no-PR reasons and failures to Jira - #2010

Merged
waynesun09 merged 21 commits into
fullsend-ai:mainfrom
ederign:feat/1953-jira-no-pr-reason
Nov 23, 2026
Merged

waynesun09 merged 21 commits into
fullsend-ai:mainfrom
ederign:feat/1953-jira-no-pr-reason

Conversation

@ederign

@ederign ederign commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Jira-sourced code runs now post the reason when no PR is opened: the agent’s explanation for a clean no-op, or the sanitized category and detail for a post-script failure.

The PR-link, no-op and failure paths share the existing Jira validation and authenticated writer. Separate markers let retries update the matching comment without replacing the PR link. Failure reporting stays best-effort and preserves the original exit status, including when comment rendering or delivery fails. The optional no_pr_reason output field makes the agent’s explanation explicit, with pr_body retained as a fallback for older outputs.

Refs #1953.

Validation

  • Original validation passed 313 source and 313 bundled post-code checks, 85 shared failure-reporter checks, 145 schema checks, 234 post-fix checks, and 44 real-scanner checks.
  • Bundle consistency, skillsaw lint and ShellCheck passed.
  • Sanity-checked the real bundled post-script and Fullsend Jira CLI on AISDLC-754. Reviewers with Jira access can inspect the outcome and failure comments there. Exercised no-op, retry, failure, failure retry and restored no-op: comments updated in place, the existing PR-link comment remained unchanged, and the issue’s status and fields stayed unchanged. This used controlled agent output and a disposable local repository, not a full coding-agent run.
  • November 17 follow-up: 328 source post-code checks passed, including single-CLI-invocation checks for 503 and timeout failures on both no-op and failure paths. All-files pre-commit and repository lint passed. The tests check shell call counts; they do not simulate the Jira client's internal HTTP retries. Bundled test mode excludes Go harness tests.

November 19 review follow-up

The shared Jira comment writer now suspends and restores xtrace for every caller and redacts the saved OAuth client secret alongside the Jira token. Tests cover traced no-op and failure runs in token and OAuth modes, successful and failed delivery, and literal OAuth-secret redaction in failure comments, including whitespace-trimmed credentials. The source post-code suite passes 373 checks; pre-commit and repository lint pass.

Failure details retain the same bounded regex/literal-token sanitizer as the existing forge failure-comment path. Early failures can occur before scan_public_text is initialized; that scanner remains required for optional no-op agent context. This behavior and its limitation are documented in docs/code.md.

Failure-filter hardening

Failure reporting now resolves system sed, awk, tail, cat and grep before repository-installed tools can alter PATH, and uses those paths throughout the failure-comment sanitizer and its comment formatting. A push-failure regression installs shadow tools that capture stdin and verifies they never receive the credential-bearing diagnostic. That regression fails against the previous sanitizer and passes with the fix; the 373-check source and bundled post-code suites pass.

No-PR reason truncation

Long no-PR explanations now retain the first 30 lines and show a truncation marker, preserving the leading reason. The complete explanation is sanitized and scanned before truncation. Regression tests cover both no_pr_reason and legacy pr_body at 30, 31 and 45 lines. All 379 source and 379 bundled post-code checks pass; all-files pre-commit, repository lint and bundle consistency checks pass.

Jira diagnostics and system-filter checks

Missing or invalid system-filter paths now fail with a clear tool-specific diagnostic. The shared Jira comment writer captures stdout and stderr, redacts saved and normalized credentials before logging, and preserves the original CLI exit status. Regression tests cover failed, empty, relative and non-executable filter lookups, plus credential-bearing CLI output for token and OAuth no-op/failure writes with successful and failed delivery.

Validation: 126 shared failure-reporter checks, 383 source and 383 bundled post-code checks, 234 post-fix checks and 25 code-output validation checks passed. All-files pre-commit, repository lint and bundle consistency passed.

CI ShellCheck compatibility

Scoped SC2317 annotations explain why exit is reachable in executed bundles when return is invalid. The source and regenerated bundles pass the pinned ShellCheck 0.10.0; the same version reproduces the warnings on the previous guard lines. All 126 shared failure-reporter checks pass, including sourced and executed-bundle failure paths.

Maintainer takeover (November 23)

  • f2ec7ea5: the comment body and the CLI output are now redacted from one credential list (raw and trimmed token, email, client ID and secret). Before, a token saved with surrounding whitespace was redacted from the log but not from the body. New test: jira-noop-redacts-trimmed-token.
  • 42593bbf: values that trim to empty are skipped, so a blank email no longer turns every space in the comment into [REDACTED]. New test: jira-noop-blank-email-keeps-body. Both new tests fail on the previous code.
  • Merged main. make check-bundle passes; the source post-code suite passes 389 checks.
  • Follow-up for a pre-existing sanitizer gap found in review: post-failure-report: _sanitize_workflow_value can rebuild :: from split input #2164.

Note

🤖 GPT-6 (version unavailable) responding on behalf of Eder

ederign and others added 6 commits November 10, 2026 16:25
Jira-sourced code runs that end without a PR now leave the reason on the
Jira issue instead of only in the job log:

- No-op exits post the no-PR notice with the agent's pr_body as context,
  using the same sanitization and secret scan as GitHub/GitLab.
- Post-script failures post the failure category and sanitized detail
  through a new report_post_failure_to_external_tracker hook in the
  shared failure library. The write is best-effort and the original
  exit code is kept.
- Both use a separate <!-- fullsend:code-agent-outcome --> marker, so a
  rerun edits the comment and never replaces the PR/MR link comment.
- The trusted fullsend CLI is resolved before the ERR trap (and must be
  an absolute path), and the Jira token is literally redacted from every
  Jira write.
- agents/code.md asks the agent to set pr_body to the reason whenever it
  stops with no commit and a clean tree, which previously happened only
  for repository-boundary escalations.

Other external trackers stay log-only; GitHub/GitLab-sourced runs are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
The already-fixed and label-gated stop points in the code-implementation
skill now say to set pr_body before stopping, so the agent's reason
reaches the "No PR created" comment (see agents/code.md "Stopping
without a commit"). Worded to stay within the skill's token budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
…tion

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@ederign
ederign requested a review from a team as a code owner November 13, 2026 21:33
@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Report Jira code-agent no-PR reasons and failures

🐞 Bug fix ✨ Enhancement 🧪 Tests 📝 Documentation 🕐 40+ Minutes

Grey Divider

AI Description

• Post sanitized no-PR explanations and post-script failures to Jira instead of leaving them only in
 logs.
• Keep outcome, failure, and PR-link comments separate so retries update the right comment.
• Add an explicit no-PR output field while preserving older outputs and original failure statuses.
Diagram

graph TD
  A["Agent output"] --> B["Post-code"] --> C{"Run outcome"}
  C -->|No PR| D["No-op notice"] --> F["Jira writer"] --> G["Jira issue"]
  C -->|Failure| E["Failure reporter"] --> F
  C -->|PR link| F
Loading
High-Level Assessment

Reusing the existing Jira CLI, destination checks, credential handling, and shared failure reporter is the appropriate approach. Separate comment markers preserve the PR link without introducing a second Jira integration or changing issue fields; log-only reporting would not resolve the missing Jira visibility.

Files changed (13) +792 / -312

Enhancement (3) +266 / -173
code-result.schema.jsonAllow a bounded no_pr_reason output field +7/-1

Allow a bounded no_pr_reason output field

• Adds an optional, nonempty string field limited to 4,000 characters while retaining existing PR-body output.

schemas/code-result.schema.json

post-code.shBundle Jira outcome and failure delivery +142/-103

Bundle Jira outcome and failure delivery

• Mirrors the post-code source changes in the executable bundle: resolves the trusted CLI early, shares validated Jira writing across three markers, and posts no-op and failure comments. Includes the shared failure-reporter and Bash-only redaction changes.

scripts/post-code.sh

post-code.src.shRoute Jira code-stage outcomes through one writer +117/-69

Route Jira code-stage outcomes through one writer

• Adds a validated, authenticated Jira comment writer for PR links, no-op notices, and failures, each with its own marker. No-op comments prefer no_pr_reason with pr_body fallback; no-op and failure writes are best-effort, and the trusted CLI is resolved before early exits or failure traps.

scripts/post-code.src.sh

Bug fix (1) +25 / -34
post-failure-report.lib.shSupport best-effort external failure reporting +25/-34

Support best-effort external failure reporting

• Builds the sanitized failure body before selecting its destination and offers it to an optional external-tracker hook. Handles body-construction failure without replacing the original failure, and performs literal token redaction inside Bash rather than a PATH-resolved awk process.

scripts/lib/post-failure-report.lib.sh

Refactor (2) +50 / -68
post-fix.shSynchronize bundled failure reporting and redaction +25/-34

Synchronize bundled failure reporting and redaction

• Includes the shared reporter’s optional external hook and best-effort body construction, plus Bash-only literal-token redaction.

scripts/post-fix.sh

validate-code-output.shSynchronize bundled failure reporting and redaction +25/-34

Synchronize bundled failure reporting and redaction

• Includes the shared reporter’s optional external hook and best-effort body construction, plus Bash-only literal-token redaction.

scripts/validate-code-output.sh

Tests (3) +380 / -2
post-code-test.shExercise Jira no-op, failure, and credential-safety paths +334/-2

Exercise Jira no-op, failure, and credential-safety paths

• Adds integration and trap tests for both target forges, reason fallback, sanitization, failed writes, destination rejection, early failures, and rerun refusal. Checks that comment markers remain separate, non-Jira trackers stay log-only, and a shadowed awk cannot receive the Jira token.

scripts/post-code-test.sh

post-failure-report-test.shTest the external failure-reporter hook +36/-0

Test the external failure-reporter hook

• Covers absent, successful, and failing hooks, including single-report behavior, safe failure text, and the log fallback.

scripts/post-failure-report-test.sh

validate-output-schema-test.shValidate new and legacy code-result forms +10/-0

Validate new and legacy code-result forms

• Tests optional no_pr_reason acceptance, its type and length boundaries, and continued acceptance of outputs without the new field.

scripts/validate-output-schema-test.sh

Documentation (4) +71 / -35
code.mdRequire an explicit reason for clean no-commit stops +32/-6

Require an explicit reason for clean no-commit stops

• Instructs the agent to write and validate no_pr_reason for clean stops, including repository-boundary escalations. Clarifies how to initialize the result file when stopping early.

agents/code.md

code.mdDocument Jira outcome and failure comments +24/-10

Document Jira outcome and failure comments

• Explains no_pr_reason selection, legacy pr_body fallback, sanitization, and Jira’s separate retryable comment markers. Documents best-effort delivery and the unchanged PR-link comment.

docs/code.md

code.yamlClarify the scope of runner-only Jira credentials +2/-2

Clarify the scope of runner-only Jira credentials

• Updates the credential comment to include no-op reasons and failure details among the runner-side Jira writes.

harness/code.yaml

SKILL.mdConnect no-commit stop points to structured reasons +13/-17

Connect no-commit stop points to structured reasons

• Directs label-gated, already-fixed, and existing-PR stop paths to set and validate no_pr_reason. Adds the field to the documented output contract.

skills/code-implementation/SKILL.md

@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 9:35 PM UTC · Completed 9:50 PM UTC

Commit: 1931ea2 · View workflow run →

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

@qodo-code-review

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

Copy link
Copy Markdown

Code Review by Qodo

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

Grey Divider


Informational

1. Old failure notice stays up after a later run 🐞 Bug ≡ Correctness
Description
No-op notices are written under JIRA_OUTCOME_MARKER and post-script failures under a separate
JIRA_FAILURE_MARKER, and no later outcome edits or clears the other sticky comment. Take a Jira
issue that gets a failure (for example, a secret-scan hit) and then a clean no-op or a successful PR
on rerun: its "Post-code script failed" comment stays up next to the newer outcome, so a Jira reader
sees two conflicting statuses with no indication of which is current.
Code

scripts/post-code.src.sh[R270-272]

+JIRA_CODE_MARKER="<!-- fullsend:code-agent -->"
+JIRA_OUTCOME_MARKER="<!-- fullsend:code-agent-outcome -->"
+JIRA_FAILURE_MARKER="<!-- fullsend:code-agent-failure -->"
Relevance

●● Moderate

Semantic design change, not a trivial fix. The PR deliberately uses separate markers and docs say
earlier comments stay alongside later ones. No close rejection precedent found, and no dismissals on
this path.

PR-#1843
PR-#1915

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The no-op path always uses the outcome marker (post-code.src.sh 597-600) and the failure hook always
uses the failure marker (330-337), so each rerun only edits the comment of its own kind.
docs/code.md 390-396 confirms that earlier no-op or failure comments stay alongside later ones. The
ticket asks that a rerun update rather than duplicate the comment.

scripts/post-code.src.sh[328-337]
scripts/post-code.src.sh[597-603]
docs/code.md[390-398]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
No-op and failure outcomes on a Jira issue use different sticky markers. A stale failure comment therefore stays up after a later no-op, and the reverse is also true.

## Fix Focus Areas
- scripts/post-code.src.sh[270-272]
- scripts/post-code.src.sh[330-337]
- scripts/post-code.src.sh[597-600]
- docs/code.md[390-398]

## Recommended Fix
Write both the no-op notice and the failure report under one "latest outcome" marker, so each rerun replaces the previous no-PR status. Keep the PR-link marker separate. Optionally, have a successful run rewrite the outcome comment to say it is superseded by the PR link. Regenerate scripts/post-code.sh, then update the docs and the integration-test markers.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


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
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/fullsend (sha: ff2ed12e) — View relationship
✅ Context preparation
  Commit messages: summarized; full text retained for this review
Review mode: Auto: 🧠 Deep: Broad security-sensitive shell changes span Jira, failure, retry, and no-op paths.

Grey Divider

Tip of the day
💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread scripts/post-code.src.sh Resolved
@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 13, 2026
@fullsend-ai-review

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

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn across shared scripts are balanced by an established contributor, no security or CI changes, and strong alignment with active linked issue criteria.

Previous run

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn across shared scripts are balanced by an established contributor, no security or CI changes, and strong alignment with active linked issue criteria.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (4)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (5)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (6)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (7)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

Previous run (8)

Risk Assessment: moderate (2/5)

Details

High protected path count and active git churn are balanced by an established contributor, no security or CI changes, and strong alignment with the active linked issue criteria.

@fullsend-ai-review

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

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] scripts/post-code.src.sh — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes regardless of context.

Low

  • [injection-vuln] scripts/post-code.src.sh:398 — The new Jira comment writer logs the fullsend CLI's combined stdout/stderr through print_sanitized_gha_log, which uses _sanitize_workflow_value (scripts/lib/post-failure-report.lib.sh). That helper deletes :: before deleting encoded newlines, so input like :%0A:error:%0A:injected becomes ::error::injected. The helper is unchanged by this PR and is already used at many call sites; this PR adds one more. Exploitation also requires the CLI to echo attacker-influenced text, which is not shown; impact is limited to fake annotations or log grouping.
    Remediation: In a separate hardening change, fix _sanitize_workflow_value so removing one sequence cannot create another (e.g. strip encoded CR/LF before ::, or loop until stable) and add regression tests for split delimiters; that covers every caller.

Earlier findings

  • PR-level, tier-mismatch — resolved_by_change.
  • agents/code.md:162, naming-convention — resolved_by_change.
  • scripts/post-code.src.sh:356, secret-exposure — resolved_by_change.
  • scripts/post-code.src.sh:357, secret-exposure — resolved_by_change.
Previous run

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

Review

Findings

Medium

  • [protected-path] scripts/post-code.src.sh — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/post-fix.src.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes regardless of context.

Labels: The PR title and change add new behavior (Jira no-PR reporting), matching the repo enhancement label.

Previous run (2)

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

Review

Findings

Medium

  • [protected-path] scripts/post-code.src.sh — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Earlier findings

  • scripts/post-code.src.sh:356, secret-exposure — resolved: post_jira_code_comment now suspends xtrace around the shared writer and restores it afterward (scripts/post-code.src.sh:307-314).
  • scripts/post-code.src.sh:357, secret-exposure — resolved: the comment body is now also redacted for the saved and normalized OAuth client secret alongside the Jira token (scripts/post-code.src.sh:362-364).
Previous run (3)

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

Review

Findings

Medium

  • [protected-path] scripts/post-code.src.sh — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [secret-exposure] scripts/post-code.src.sh:356 — Jira no-op and failure comments can still expose credentials when xtrace is enabled. post_jira_stage_update suspends tracing, but post_noop_comment and post_external_failure_comment call post_jira_code_comment directly without that guard, so the jira_auth_select, redaction and jira_auth_fullsend calls expand the saved Jira token (and email) into the trace. Only PUSH_TOKEN and GITLAB_TOKEN are registered with the log masker, and the new xtrace tests cover only successful stage updates. Exposure requires xtrace to be on (explicit bash -x, or the -x re-applied after the credential re-exec).
    Remediation: Disable and restore xtrace around the shared Jira comment writer before any credential expansion, so all three callers are protected, and add traced no-op and failure-path tests asserting the token and email never appear in output.
Previous run (4)

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

Review

Findings

Medium

  • [protected-path] agents/code.md — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes regardless of context.

Low

  • [secret-exposure] scripts/post-code.src.sh:357 — The failure-comment path still does not redact the saved Jira OAuth client secret: sanitize_failure_detail removes only PUSH_TOKEN, GH_TOKEN and GITLAB_TOKEN, and post_jira_code_comment additionally redacts only the Jira token. A diagnostic containing the client secret could be persisted on the Jira issue. The latest push (single-CLI-invocation change) does not address this.
    Remediation: Redact the saved Jira OAuth client secret from the full comment body alongside the Jira token before delivery, and add a regression test with a literal client secret in failure details.

Earlier findings

  • PR-level, tier-mismatch — resolved by change in an earlier push.
  • agents/code.md:162, naming-convention — resolved by change in an earlier push.
Previous run (5)

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

Review

Findings

Medium

  • [protected-path] agents/code.md — This PR modifies protected paths: agents/code.md, harness/code.yaml, scripts/lib/forge-transient-retry.lib.sh, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/pre-code-jira.sh, scripts/pre-code.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes.

Low

  • [secret-exposure] scripts/post-code.src.sh:354 — The new Jira failure path posts the failure comment body, which is built by the regex and literal-token sanitizer and is not run through the gitleaks-based scan_public_text that guards the no-PR agent context. Credential formats outside the regex set (for example AWS or Slack tokens) appearing in failure detail could reach the Jira comment. This matches the existing GitHub/GitLab failure-comment path, so the PR adds a destination for an existing gap rather than a new class of exposure.
    Remediation: Optional hardening: run scan_public_text on the sanitized failure detail before posting any external failure comment. If it finds a secret or cannot run, post only the category and workflow link, keeping the original exit status.

Earlier findings

  • PR-level, tier-mismatch — resolved by change in the latest push.
  • agents/code.md:162, naming-convention — resolved by change in the latest push.
Previous run (6)

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

Review

Findings

Medium

  • [protected-path] agents/code.md — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/ (post-code, post-fix, validate-code-output, pre-code, shared libs and tests) and skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes regardless of context.
Previous run (7)

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

Review

Findings

Medium

  • [protected-path] agents/code.md — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Earlier findings

  • PR-level, tier-mismatch — resolved: the PR title now uses feat(#1953), matching the feature-labelled issue and the new capability.
  • agents/code.md:162, naming-convention — resolved: the heredoc delimiter is now REASON and the jq arg is $reason, matching no_pr_reason.
Previous run (8)

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

Review

Findings

Medium

  • [protected-path] agents/code.md — This PR modifies protected governance/infrastructure paths: agents/code.md, harness/code.yaml, scripts/lib/post-failure-report.lib.sh, scripts/post-code-test.sh, scripts/post-code.sh, scripts/post-code.src.sh, scripts/post-failure-report-test.sh, scripts/post-fix.sh, scripts/validate-code-output.sh, scripts/validate-output-schema-test.sh, skills/code-implementation/SKILL.md. The PR links issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.
  • [tier-mismatch] N/A — The PR title uses the fix Conventional Commit prefix (fix(#1953): post no-PR reasons and failures to Jira), claiming the bug-fix tier. Linked issue Jira-sourced code runs: post the no-PR reason to the Jira issue #1953 carries the feature label and the change adds a new capability (posting no-PR reasons and failures to Jira work items, plus a new no_pr_reason schema field). COMMITS.md reserves feat for new capability, so the PR title should use feat so merge history on main stays accurate.
    Remediation: Retitle the PR to feat(#1953): post no-PR reasons and failures to Jira.

Low

  • [naming-convention] agents/code.md:162 — The example bash snippet under "Stopping without a commit" (lines 162-167) uses the heredoc delimiter PRBODY and the jq arg name pb (--arg pb "$no_pr_reason" '. + {no_pr_reason: $pb}') to set no_pr_reason. These names were copied from the pr_body snippet in skills/code-implementation/SKILL.md and don't match the field, on the path where no PR is produced.
    Remediation: Rename the heredoc delimiter (for example REASON) and the jq arg (for example $reason) to match no_pr_reason.

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.

@ederign ederign changed the title fix(#1953): post no-PR reasons and failures to Jira feat(#1953): post no-PR reasons and failures to Jira Nov 13, 2026

@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.

Review: one MEDIUM finding, left inline.

Comment thread scripts/post-code.src.sh Resolved
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

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

Commit: 3d0ffa2 · View workflow run →

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

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 13, 2026 22:10

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 13, 2026
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 10:16 PM UTC · Completed 10:23 PM UTC

Commit: 47b09cd · View workflow run →

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

@ederign

ederign commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@waynesun09, your retry finding is addressed in 47b09cd. The Jira no-op write now uses the transient-retry helper, including recognition of the CLI’s jira api: 503 error format. Tests cover 503 and timeout recovery, exhausted retries, and permanent errors without retries; source and bundled suites passed.

Could you take another look when you have a chance?

Note

🤖 GPT-6 (version unavailable) responding on behalf of Eder

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
… guidance

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:08 PM UTC · Completed 11:22 PM UTC

Commit: 6237d43 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@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.

Review: two MEDIUM findings, left inline.

Comment thread scripts/post-code.src.sh Resolved
Comment thread agents/code.md Resolved
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 6:26 PM UTC · Completed 6:35 PM UTC

Commit: e451c0f · View workflow run →

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

@fullsend-ai-review fullsend-ai-review Bot added the enhancement New feature or request label Nov 19, 2026

@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.

Review: one MEDIUM finding, left inline.

Comment thread scripts/post-code.src.sh Resolved
Signed-off-by: Eder Ignatowicz <ignatowicz@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.

Review: two MEDIUM findings, left inline.

Comment thread scripts/lib/post-failure-report.lib.sh Resolved
Comment thread scripts/post-code.src.sh Resolved
Signed-off-by: Eder Ignatowicz <ignatowicz@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.

Review: one HIGH finding, left inline.

Comment thread scripts/lib/post-failure-report.lib.sh Resolved

@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.

Review: one MEDIUM finding, left inline.

Comment thread scripts/post-code.src.sh Resolved
… body

Build one credential list (raw and trimmed token, email, client id and
secret) and use it for both the Jira comment body and the CLI output, so
a token saved with surrounding whitespace no longer reaches the issue
when agent context contains its trimmed form.

Assisted-by: Claude
Signed-off-by: Wayne Sun <gsun@redhat.com>
@waynesun09

Copy link
Copy Markdown
Member

/fs-fix-stop

@waynesun09

Copy link
Copy Markdown
Member

@ederign I'm taking this over to get it merged: I'll push the fix for the open token-redaction thread and a merge of main on top of your commits (no force-push). Thanks for the work on this.

@github-actions github-actions Bot added the fullsend-no-fix Skip bot-triggered fix agent runs label Nov 23, 2026
@github-actions

Copy link
Copy Markdown

Fix agent disabled for this PR. Remove the fullsend-no-fix label or use /fs-fix to re-engage.

…g Jira comments

A whitespace-only email or client ID passes validation (Bearer auth
treats a blank email as absent), but as a redaction pattern it replaced
every space or newline in the comment body with [REDACTED]. Skip values
that trim to empty. Scope the docs' fatal-write sentence to the PR/MR
link write and describe body redaction with the shared credential list.

Assisted-by: Claude (fix), Claude (review), DeepSeek (review)
Signed-off-by: Wayne Sun <gsun@redhat.com>
@waynesun09

Copy link
Copy Markdown
Member

/ok-to-test 42593bb

@waynesun09

Copy link
Copy Markdown
Member

/fs-review

@github-actions

Copy link
Copy Markdown

Functional tests authorized for 42593bbf38e12ad7f9c1dbdf9e4b3ad1f04ab4d9 (run). A new push needs a new /ok-to-test <sha>.

@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:29 PM UTC · Completed 5:40 PM UTC

Commit: 42593bb · View workflow run →

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

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See the review comment for full details.

Comment thread scripts/post-code.src.sh Resolved

@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.

Approved. CI is green, all threads are resolved, and the redaction fixes are covered by tests that fail on the previous code.

@waynesun09
waynesun09 added this pull request to the merge queue Nov 23, 2026
Merged via the queue into fullsend-ai:main with commit 0640a76 Nov 23, 2026
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fullsend-no-fix Skip bot-triggered fix agent runs 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.

2 participants