Skip to content

Session Handoff [auto-1512]: Give the session-handoff Chain Commands the Hub-Checkout Reach per #1512 #2131

Closed

Description

@ptr727

Next steps, in priority order

  1. Fix session-handoff's command block uses a bare scripts/handoff.py, which resolves to a carrier's own scripts/ directory #1512. The session-handoff Skill's "Running the Chain" command block writes each command as a bare python3 scripts/handoff.py ..., which in a carrier holding its own scripts/ directory resolves to a real directory that does not hold the tool. Give every command in that block the hub-checkout reach written into the command itself, following the precedent local-strict-review already sets (its engine="<hub-checkout>/scripts/local_review.py" line, quoted so the placeholder is not read as a redirect, with a note that in the hub itself the path is the plain scripts/handoff.py). Edit the source under .agents/skills/session-handoff/ and regenerate the distributed trees with scripts/build_dist.py, per skill-lifecycle. Done looks like: no command in that block names a bare scripts/handoff.py, the placeholder form is the one the tree already settled for copy-and-run commands (quoted, per Quote the Placeholders a Reader Pastes, and Stop the Ground Comment Contradicting Section 1 #1616, Sweep the Carried-Content Read Weekly Instead of Gating Every Push #1649 and Bare shell placeholders still break a paste in three blocks outside #1649 #1652), build_dist.py --check passes, and the pull request to develop carries Closes on promotion: #1512.
  2. Search the other carried Skills for the same bare scripts/handoff.py command shape in a copy-and-run block, and fix any found in the same pull request, since the defect is the command shape rather than the one file. Prose that names the hub's tool, as opposed to a pasteable command, is not this defect and stays.

External blockers

None known at creation.

Internal dependencies

Step 2 follows step 1, since step 1 settles the command shape step 2 then applies.

State

The parked decision queue

Count: 0.

What the last round did

Created by the unattended-handoff picker from the open backlog. No work done yet.

What not to repeat

Nothing yet.

New learnings

None yet.

Activity

  1. added
    handoff
    on Sep 30, 2026
  2. ptr727 commented on Sep 30, 2026

    @ptr727
    OwnerAuthor

    Lane closed out, scope develop.

  3. coderabbitai commented on Sep 30, 2026

    @coderabbitai
    🧩 Analysis chain

    🏁 Script executed:

    #!/bin/bash
    set -euo pipefail
    fd -t f '^handoff\.py$' --exec sh -c 'ast-grep outline "$1"; sed -n "1,100p" "$1"' sh {}
    rg -n -C 8 'Running the Chain|handoff="<hub-checkout>/scripts/handoff.py"|python3 "\$handoff"' .

    Length of output: 9923


    🏁 Script executed:

    #!/bin/bash
    set -euo pipefail
    ast-grep outline .agents/skills/session-handoff/SKILL.md
    cat .agents/skills/session-handoff/SKILL.md
    rg --hidden -g '!.git/**' -n -C 2 'handoff="<hub-checkout>/scripts/handoff.py"|python3 "\$handoff"' .

    Length of output: 32018


    🏁 Script executed:

    #!/bin/bash
    set -euo pipefail
    gh pr view 2132 --repo ptr727/ProjectTemplate --json state,baseRefName,mergeCommit,body
    gh api 'repos/ptr727/ProjectTemplate/contents/.agents/skills/session-handoff/SKILL.md?ref=develop' --jq '.content' | python -c 'import sys,base64; text=base64.b64decode(sys.stdin.read()).decode(); print(text[text.index("## Running the Chain"):])'

    Length of output: 7040


    @ptr727, thanks for the closeout and scope clarification.

    Verified: #2132 merged into develop as 80900f93. The session-handoff block on develop assigns the hub path once and uses python3 "$handoff" for all six commands.

    The closeout is complete for develop. #1512 remains open until promotion, as specified by Closes on promotion: #1512.


    ✏️ Learnings added
    Learnt from: ptr727
    URL: https://github.com/ptr727/ProjectTemplate/issues/2131
    
    Timestamp: 2026-09-30T07:26:39.289Z
    Learning: In ptr727/ProjectTemplate, a develop-scoped closeout does not imply promotion. An issue referenced by “Closes on promotion: #1512” remains open after the associated PR merges into develop and closes only on promotion.
    

    Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

    You are interacting with an AI system.

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

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions