Skip to content

feat: Add standing-order breadcrumb to link-health fixer PRs - #56

Open
rubambiza wants to merge 1 commit into
rossoctl:mainfrom
rubambiza:fix/link-health-fixer-breadcrumb
Open

feat: Add standing-order breadcrumb to link-health fixer PRs#56
rubambiza wants to merge 1 commit into
rossoctl:mainfrom
rubambiza:fix/link-health-fixer-breadcrumb

Conversation

@rubambiza

Copy link
Copy Markdown
Contributor

Summary

Link Health Fixer PR bodies did not link back to the automation program or its standing order, so a reader on the target repo could not navigate to what generated the PR. The Link Health Scanner already adds this breadcrumb footer; this makes the fixer match.

Append a footer to the fixer's PR body:

Generated by the [Rossoctl Link Health Fixer](https://github.com/$SOURCE_REPO/blob/main/standing-orders/link-health.md).

mirroring scripts/link-health-scanner.sh.

Why this is minimal

  • $SOURCE_REPO is already set and exported by load_org_profile (scripts/org.sh), defaulting to <org>/automation.
  • The fixer already sources program-lib.sh (scripts/link-health-fixer.sh:11), so $SOURCE_REPO is in scope — no new plumbing.
  • The change is a single footer appended after the fix-table loop, matching the sibling scanner's established pattern.

Verification

  • Rendered the assembled pr_body with a sample fix row and SOURCE_REPO=rossoctl/automation: the footer sits below the table, separated by a blank line, with $SOURCE_REPO expanded and linking to standing-orders/link-health.md.
  • bash -n scripts/link-health-fixer.sh clean.
  • shellcheck --severity=warning delta clean (only the pre-existing *_FLAG SC2034 notes tracked in ci: Make consumer scripts shellcheck-clean and widen lint scope #52).

Example of a fixer PR that lacked the breadcrumb: rossoctl/workload-harness#61.

Fixes #55

Assisted-By: Claude Code

Fixer PR bodies said only "Automated fix by OpenClaw Link Health Fixer"
with no link back to the program or its policy, so a reader on the target
repo could not navigate to what generated the PR. Append a footer linking
to standing-orders/link-health.md via $SOURCE_REPO, mirroring the scanner
footer (link-health-scanner.sh).

$SOURCE_REPO is already exported by load_org_profile (org.sh) and the fixer
already sources program-lib.sh, so no new plumbing is needed. Verified the
rendered body: footer sits below the table with SOURCE_REPO expanded.
bash -n clean, shellcheck delta clean (only pre-existing *_FLAG notes).

Fixes rossoctl#55

Assisted-By: Claude Code (Anthropic AI) <noreply@anthropic.com>

Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
@rubambiza rubambiza added enhancement New feature or request ready-for-ai-review Request automated AI code review from clawgenti labels Aug 13, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minimal, focused change that mirrors the existing scanner breadcrumb pattern — $SOURCE_REPO is already in scope and the multiline string assignment is consistent with surrounding code style.

All checks pass. Ready for human review.


Reviewed by clawgenti using the github-pr-review skill

@rubambiza rubambiza added ready-for-human-review AI review passed, ready for human reviewer and removed ready-for-ai-review Request automated AI code review from clawgenti labels Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-for-human-review AI review passed, ready for human reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Add standing-order breadcrumb to Link Health Fixer PR bodies

3 participants