fix(#501): remove redundant info from code agent PR body - #521
Conversation
The post-code script's PR body included three pieces of redundant information: a duplicate "Closes #N" line (one from the commit body, one from the footer), a "Changed files" section (duplicating GitHub's Files Changed tab), and a "Created by" attribution line (duplicating GitHub's bot identity display). Changes to post-code.sh: - Strip "Closes #N" lines from commit body before assembling the PR description, keeping only the canonical footer reference - Remove the FILE_SUMMARY computation and "Changed files" section from both the empty-body and body-present code paths - Remove the "Created by" HTML footer Changes to post-code-test.sh: - Add PR body assembly tests verifying: single Closes reference, no Changed files section, no Created by footer, correct fallback text for empty commit bodies Note: make lint could not run (pre-commit network error in sandbox). Manual verification of lint is required. Closes #501
Site previewPreview: https://c219f224-site.fullsend-ai.workers.dev Commit: |
Review: #521Head SHA: 19a6b80 SummaryThe change correctly addresses all three items in issue #501: deduplicating the FindingsMedium
Low
Info
FooterOutcome: comment-only |
The post-code script's PR body included three pieces of redundant information: a duplicate "Closes #N" line (one from the commit body, one from the footer), a "Changed files" section (duplicating GitHub's Files Changed tab), and a "Created by" attribution line (duplicating GitHub's bot identity display).
Changes to post-code.sh:
PR description, keeping only the canonical footer reference
from both the empty-body and body-present code paths
Changes to post-code-test.sh:
no Changed files section, no Created by footer, correct
fallback text for empty commit bodies
Note: make lint could not run (pre-commit network error in sandbox). Manual verification of lint is required.
Closes #501
Changed files
internal/scaffold/fullsend-repo/scripts/post-code-test.shinternal/scaffold/fullsend-repo/scripts/post-code.shCloses #501
Post-script verification
agent/501-remove-redundant-pr-text)476d8ba7341a4d41278880699920ccd902246a59..HEAD)Created by fullsend code agent