Refresh stale references to the now-fixed forge pr find-by-head behavior #109
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools#109
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that
forge pr find-by-headand branch-name PR resolution matchhead.refclient-side (allod/tools#83), the command behaves correctly, but notes and agent memory written during the broken period still describe it as returning the wrong PR. Those stale references should be corrected so future work does not route around a bug that no longer exists.Primary goals:
forge pr find-by-headbroken to reflect the fix in allod/tools#83.forge pr createpurely to dodge the false "PR already exists for ''" error.Current state
allod/tools#83 fixed both
pr_find_by_headandresolve_pr_targetto fetch open PRs and matchhead.refclient-side (forge:730,forge:762), so a branch with no open PR now prints nothing and branch-name targets resolve to the right PR. Documentation and memory notes predating that fix still warn the command is unreliable.Scope
Doc/memory refresh only — no code change. The residual pagination limitation (fixed
limit=50) is tracked separately in allod/tools#89.Addressed by allod/strategy#19.
Audit result: agent memory (
allod/memory) andallod/tools/docs/forge.mdwere already clean — no "broken find-by-head" claim and no stacked-PR workaround guidance (that workaround text lives only in #83's own bug report, not in any note or memory). The one stale reference that remained was inallod/strategy'sdev-plans/bash-to-go-migration.md: its known-bug divergence rule still listed allod/tools#83 as an open correctness bug, which would send the future Go migration chasing a bug that no longer exists. Corrected there. No code change, per the doc/memory-only scope.The audit that closed this found
allod/memoryclean, and that was accurate — but it could not have been complete. The stale claim was in the private agent memory, which a public-only agent cannot read, so it survived the sweep and was carried into publicallod/memorygit-workflow.mda week later by an unrelated private-to-public memory relocation. Caught and removed before that relocation was relayed, so the public repo never actually carried it.Re-verified before removing:
7154edcis an ancestor oforigin/master, the installed build carries the same client-sidehead.reffilter, and behaviour on the exact failure condition is correct — with one PR open, its own branch resolves to that number while the default branch and a nonexistent branch both return empty.Worth recording as a method limit rather than a miss: an audit of public memory cannot certify that a retired fact is gone, because the private repo holds facts the auditing agent cannot see, and relocation is a path back into public memory. The memory split criterion now carries a rule that a relocated fact is re-verified first.