GeezerVison is showing github.com — pr-shepherd: PR #3483 is a stale duplicate of merged PR #3507 — close it, its #2664 fix already landed · Issue #6428 · developing-today/code
pr-shepherd: PR #3483 is a stale duplicate of merged PR #3507 — close it, its #2664 fix already landed #6428DescriptionFinding
Open PR #3483 ("fix(pm-dispatch): constrain session directories for every caller", head 8a9a387039b5e45fb8cd9515e0b406319db839f3) is a stale duplicate of merged PR #3507. Both PRs implement the same fix for issue #2664 in the same files (pm-stack/dispatch/src/validate.ts, src/server.ts, README.md, test/validate.test.ts, test/server.test.ts): one directory rule for every caller (blank → repo clone; absolute in-tree paths only; relative/out-of-tree rejected before any side effect) plus blank-title fallback via optNonBlankString.
Evidence
- PR fix(pm-dispatch): constrain session directories for every caller #3483: OPEN,
mergeable=CONFLICTING, mergeStateStatus=DIRTY (verified twice this run: gh pr view and the REST pulls read), last updated 2026-11-01T16:22:02Z — untouched for over 4 days.
- PR fix(dispatch): session directory containment + blank title/directory handling (#2664) #3507: MERGED 2026-11-01T10:42:46Z (merge commit
2115038f08bbca090e1bbdfb7a9964e1242d6af0) with the same pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664 fix (its body: fix task 5418, "Phase 1, per the adopted decision on the issue").
- Current main (
a2b4345e80927cb1d8ac652756cb219b971bf635) already contains the change: pm-stack/dispatch/src/validate.ts has optNonBlankString (line 124, used for title/directory at lines 153/155) and the unified resolveSessionDirectory (line 172), verified by a contents read this run.
- Issue pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664 is CLOSED (verified this run).
- Dedupe: issue searches this run for "3483", "3507 duplicate", and "superseded dispatch PR" found no existing issue tracking the closure of PR fix(pm-dispatch): constrain session directories for every caller #3483. (The lexical-only confinement residual of this same code was separately tracked as issue pm-dispatch(sessions): directory confinement is lexical only — committed symlinks in the clone (nixpkgs, worktrees) escape it (residual of #2903) #3999, now CLOSED — different finding.)
Why it matters
A conflicting, abandoned duplicate of an already-landed security-relevant fix invites a future worker to rebase and merge it on top of the landed version, and it pollutes the open-PR list every sweep reads. The fix itself is done; only the duplicate needs closing.
Acceptance criteria
Found by the pr-diff-review job, run 2026-11-05 21:24 CST, batch PRs #3471–#3491. Activitydeveloping-today commented on Nov 6, 2026 dezren39 commented on Nov 6, 2026 dezren39 commented on Nov 6, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-e
- Session / ID: task 10878
- Found via: queue claim (pr_shepherd)
- Task: Done — PR fix(pm-dispatch): constrain session directories for every caller #3483 closed (not merged) as a stale duplicate of merged PR fix(dispatch): session directory containment + blank title/directory handling (#2664) #3507; issue pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664 remains closed; no code change made.
- Spot-check (against current main, fresh gh reads this shift): PR fix(pm-dispatch): constrain session directories for every caller #3483 OPEN/CONFLICTING at head 8a9a387; PR fix(dispatch): session directory containment + blank title/directory handling (#2664) #3507 MERGED 2026-11-01T10:42:46Z. Main contains every piece of PR fix(pm-dispatch): constrain session directories for every caller #3483:
optNonBlankString (pm-stack/dispatch/src/validate.ts line 124, used for title line 153 and directory line 155), unified resolveSessionDirectory for OIDC+bearer (line 172, called from server.ts line 198, unknown repo fails closed), resolver tests including blank-directory and sibling-prefix cases citing issue pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664, blank title/directory parsing tests ("session blank title/directory parsing (issue pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664)"), HTTP-level scoping tests in server.test.ts, and README directory-scoping text (issues fix(pm-dispatch): POST /v1/sessions accepts an arbitrary directory — OIDC callers escape their repo clone #2903, pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664). Main is a superset: it also has the later issue pm-dispatch(sessions): directory confinement is lexical only — committed symlinks in the clone (nixpkgs, worktrees) escape it (residual of #2903) #3999 symlink canonicalization hardening absent from PR fix(pm-dispatch): constrain session directories for every caller #3483. No missing piece to salvage; salvage note posted on canonical PR fix(dispatch): session directory containment + blank title/directory handling (#2664) #3507 (comment 6676247674) before closing, per protocol §8.
- Links: PR fix(pm-dispatch): constrain session directories for every caller #3483 (closed), PR fix(dispatch): session directory containment + blank title/directory handling (#2664) #3507 (merged, superseding), issue pm-dispatch(sessions): directory is never validated — empty string defeats the repo default, and any absolute path lets an OIDC caller launch a session outside its own repo #2664 (closed)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|