GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm-stack(deploy): kaneo-sync-guard path breaks when deploy.sh is invoked from the repo root · Issue #10527 · developing-today/code

pm-stack(deploy): kaneo-sync-guard path breaks when deploy.sh is invoked from the repo root #10527

New issue
Copy link
New issue
Copy link
Closed
#10532
Closed
pm-stack(deploy): kaneo-sync-guard path breaks when deploy.sh is invoked from the repo root#10527
#10532
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 15, 2026
Issue body actions

Finding (from PR review)

Codex P2 on merged PR #10190: pm-stack/deploy.sh resolves the Kaneo sync guard from $0 after it has already changed directory, so invoking deployment from the repository root looks for the guard in the wrong place and a healthy deployment fails without running the guard.

"When deployment is invoked from the repository root as bash pm-stack/deploy.sh, the script has already changed into pm-stack, but $0 still contains pm-stack/deploy.sh. This expression therefore looks for pm-stack/pm-stack/kaneo-sync-guard.py, causing a healthy deployment to fail without running the guard. Use the already-established absolute STACK_DIR to locate the sibling script regardless of the invocation directory."
— chatgpt-codex-connector[bot], 2026-11-14T17:03:15Z

Evidence

  • Source PR: pm-stack: close authority — sync guard + design record (#10136) #10190 "pm-stack: close authority — sync guard + design record (pm stack: close authority — automation must never close an issue #10136)" — pm-stack: close authority — sync guard + design record (#10136) #10190 (merged 2026-11-14T17:04:11Z, merge commit 6909410)
  • Review comment: pm-stack: close authority — sync guard + design record (#10136) #10190 (comment) — pm-stack/deploy.sh, line 104 at review time
  • No response: the review thread is unresolved (verified via GraphQL reviewThreads 2026-11-15), the thread contains only the original comment (no replies), and no commit followed the comment — all PR commits are timestamped 2026-11-14T16:59Z, before the 17:03:15Z review; the PR merged at 17:04:11Z unchanged in this respect.
  • Still live on current main (verified twice with fresh gh api raw reads, 2026-11-15): pm-stack/deploy.sh line 28 does cd "$(dirname "$0")", line 29 sets STACK_DIR="$PWD", but line 104 still runs python3 "$(dirname "$0")/kaneo-sync-guard.py" instead of using $STACK_DIR.
  • Already-tracked check: searched open and closed issues by file path, PR number, and keywords (statusTransitions, deploy.sh kaneo, pm-kaneo-sync-guard) on 2026-11-15 — no existing issue covers this finding. (The sibling arg-rejection finding from the same PR is separately tracked as issue pm-stack(kaneo-sync-guard): reject unaccounted CLI arguments before running guard #10428 and is not part of this issue.)

Acceptance criteria

  • pm-stack/deploy.sh locates kaneo-sync-guard.py via the established absolute STACK_DIR (or an equivalent invocation-independent path), so bash pm-stack/deploy.sh from the repository root runs the guard correctly; OR the finding is resolved by a documented decision recorded on this issue.
  • Verification is by fresh reads of the changed script (CI-first; no sandbox builds).

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    source/pr-comment-reviewFiled by the pr-comment-review job
    on Nov 15, 2026
  2. developing-today commented on Nov 15, 2026

    @developing-today
    developing-todayBot
    on Nov 15, 2026 – with developing.today
    Contributor
    More actions

    CODE-3820

  3. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: pr-comment-review job
    • Session / ID: pr-comment-review job, run 2026-11-15 11:54 CST
    • Found via: unaddressed PR comment, pm-stack: close authority — sync guard + design record (#10136) #10190 (comment)
    • Task: Triage the deploy.sh guard-path finding from PR pm-stack: close authority — sync guard + design record (#10136) #10190 and route a fix or documented decision.
    • Expectation: effort s; done = finding re-verified against current main and a fix routed or a documented decision recorded on issue pm-stack(deploy): kaneo-sync-guard path breaks when deploy.sh is invoked from the repo root #10527
    • Links: source PR pm-stack: close authority — sync guard + design record (#10136) #10190; comment pm-stack: close authority — sync guard + design record (#10136) #10190 (comment)
  4. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    effort/xsTrivial: expected under 30 minutes of work
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 15, 2026
  5. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Picked up by lane any-a as task 17378 and triaged inline.

    Verification (fresh, 2026-11-15T18:04Z): the Codex P2 finding on merged PR #10190 is still live on current main. pm-stack/deploy.sh line 28 does cd "$(dirname "$0")", line 29 sets STACK_DIR="$PWD", but line 104 still runs python3 "$(dirname "$0")/kaneo-sync-guard.py". Invoked from the repo root as bash pm-stack/deploy.sh, $0 is pm-stack/deploy.sh, so after the cd the guard resolves to pm-stack/pm-stack/kaneo-sync-guard.py and a healthy deploy fails without running the guard. PR #10190 is MERGED; issue #10527 is OPEN with no hard-stop labels.

    Triage: work kind = small-fix; kind/bug (already present); priority/normal (P2 reviewer severity, per the priorities brief ordinary band); effort/xs. Labels synced: status/needs-triage removed, task/small-fix + effort/xs added, claim labels applied.

    Fix (same session): change line 104 to locate the guard via the established absolute $STACK_DIR. Acceptance check: bash -n clean, and a path-resolution simulation showing the guard resolves correctly when invoked from the repo root, from pm-stack/, and by absolute path. The source PR review thread is not replied to (per packet scope); all discussion lives here.

  6. developing-today
    added
    status:in-review
    on Nov 15, 2026
  7. dezren39
    added a commit that references this issue on Nov 15, 2026

    Merge pull request #10532 from developing-today/queue/17378-10527-dep…

    6317aa9
  8. dezren39
    closed this as completedin #10532on Nov 15, 2026
  9. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 15, 2026
  10. dezren39
    removed
    status:done
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 15, 2026
  11. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Done — fixed and merged in the claiming session (task 17378, lane any-a).

    • PR fix(pm-stack): resolve kaneo-sync-guard via STACK_DIR (#10527) #10532 MERGED at 2026-11-15T18:08:00Z, merge commit 6317aa9. One-line change: pm-stack/deploy.sh line 104 now runs python3 "$STACK_DIR/kaneo-sync-guard.py" instead of resolving from $0 after the cd.
    • Verified on current main with a fresh read: line 104 carries the $STACK_DIR form.
    • Tests: bash -n clean; path-resolution simulation (oracle: resolved guard path exists on disk) — old expression fails the repo-root invocation (bash pm-stack/deploy.sh), new expression passes repo-root, in-directory (./deploy.sh), and absolute-path invocations.
    • Codex disposition is recorded on PR fix(pm-stack): resolve kaneo-sync-guard via STACK_DIR (#10527) #10532 (comment 6898922172): Codex review failed to run / usage-limited with zero findings; CodeRabbit rate-limited with no findings; merged on own verification.
    • This issue auto-closed via the PR's Fixes #10527; all in-flight status/*, queue/*, and work/* labels have been removed. The source PR pm-stack: close authority — sync guard + design record (#10136) #10190 review thread was not replied to, per the packet scope.
  12. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Task 17381 (auto follow-on of task 17378, same issue #10527) completed as already_done: fresh verification shows issue #10527 CLOSED, PR #10532 MERGED (merge commit 6317aa9), and current main pm-stack/deploy.sh line 104 reads python3 "$STACK_DIR/kaneo-sync-guard.py". No further work exists for this packet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.