feat: pr-body-spec-backlink#73
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
devloop | faebad2 | Commit Preview URL Branch Preview URL |
Jun 19 2026, 04:08 AM |
Owner
Author
Devloop Review Round 1
Review 1Verdict: ACCEPT Acceptance matrix
Engineering quality matrix
Review flags
FindingsNone. Missing tests
Fix instructionsNone. Notes
|
Owner
Author
Devloop Final Report
Acceptance Matrix SummaryAcceptance matrix
Engineering Quality SummaryEngineering quality matrix
Implementation Summary
Commit References
Tests Run
Residual Risk
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Polish the generated PR description footer and link back to the spec
Generated by
devloop --create-pr.Problem
The draft PR body that
devloop --create-prwrites (draft_pull_request_body,devloop:3709) reads like an internal tool dump rather than a finished description. It opens withGenerated by \devloop --create-pr`.(devloop:3724) — the raw invocation, not a brand — and ends withLatest commit: $commit(devloop:3744`), a noisy line that duplicates what GitHub already shows in the PR's commit list. It also never points a reader back to the spec that drove the change, so anyone reviewing the PR has no in-description path to the intent it implements. The moment it hurts: opening a freshly created draft PR, seeing a bare command string at the top and a redundant SHA at the bottom, and having to leave the PR to find the spec that explains why the change exists.Outcome
The generated PR body ends with the literal footer
Generated by [devloop.sh](https://devloop.sh)as its last block (below the---), carries noLatest commit:line, and no longer contains theGenerated by \devloop --create-pr`.text. When (and only when) the source spec resolves to a path inside the repo and is committed at the PR head commit, aSpec:line sits just above the footer linking to that spec via an absolutehttps://github.com///blob//` URL. Otherwise no spec link appears, and the body still leaks no absolute local filesystem path.Acceptance Criteria
AC1: The generated PR body's final content block (below the
---) is the literal lineGenerated by [devloop.sh](https://devloop.sh), and the stringdevloop --create-prdoes not appear anywhere in the body.AC2: The generated PR body contains no
Latest commit:line and no bare commit-hash line sourced from it.AC3: When the source spec is committed inside the repo at the PR head commit, the body contains a
Spec:line whose link target is an absolutehttps://github.com/<owner>/<repo>/blob/<commit>/<relpath>URL using the spec's repo-relative path, positioned above theGenerated byfooter.AC4: When the source spec is untracked/uncommitted, the body contains no
Spec:line and noblob/URL.AC5: When the source spec resolves to a path outside the repo, the body contains no
Spec:line.AC6: The generated PR body contains no absolute local filesystem path (the existing
/Users/no-leak guard atscripts/devloop_test.sh:1788still passes).AC7:
bash scripts/devloop_test.shpasses, including the updated e2e PR-body assertions and a new direct unit test covering the committed, uncommitted, and outside-repo backlink cases.Review Trail
Review rounds and the final report are posted as PR comments below.
Latest commit: faebad2