Skip to content

fix(session-flow): launch continue-in-background with --permission-mode auto - #8222

Merged
kyle-sexton merged 6 commits into
mainfrom
work-resolve-issue/issue-6685-39121069087-1
Oct 20, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
work-resolve-issue/issue-6685-39121069087-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #6685

Waiver: the owner waived #6685's criterion "The skill states denied actions go in the final hand-off" for this PR (decision); the probe that would settle it is follow-up #8444.

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The continue-in-background launch command and its checklist now pass --permission-mode auto, so a permission ask in the detached session no longer waits for an attach. The launch report states that auto mode may deny an action and that where a denied action is reported is unverified; it does not promise the final hand-off. The mode is the one the owner's recorded decision chose.

Not verified

  • Live deny-versus-wait probe of a --bg session: the brief puts it out of scope; the mode comes from the owner's recorded decision (AGENTS.md rule for unattended lanes), not from a probe run here
  • CI's check-skills on the PR: left to the PR's CI; the same skill checks ran locally and passed

Fix

  • plugins/session-flow/skills/continue-in-background/SKILL.md: launch command gains --permission-mode auto; new paragraph on why, stating that where a denied action is reported is unverified; step 3 and the checklist item carry the flag and the denied-action report line; the inherits section notes permission mode is set at launch
  • plugins/session-flow/skills/continue-in-background/evals/evals.json: eval 1 gains an expectation asserting the flag and the denied-action report line, failing a report that promises the final hand-off
  • .changes/session-flow/fix-continue-in-background-permission-mode-4b7e2a91.md: patch changelog fragment

Verification

The run reports:

Left out: the items under Not verified.

Related

#6685

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed e4f7e188f817831afb464530c31c325991e61333: 0 finding(s), 0 as inline comments.

No findings. Incremental review of e4f7e188 against 598a45ad, which touches only plugins/session-flow/skills/continue-in-background/SKILL.md.

The change copies the denied-action report line into step 3 of the launch procedure and into the launch checklist item. I read both edits and grepped the file and evals/evals.json. The wording matches the paragraph at SKILL.md:157-159, the checklist at :299, and the eval expectation at evals.json:14.

  • Closing issue fix(session-flow): continue-in-background launches claude --bg without --permission-mode, so asks wait for nobody #6685: the criterion "The skill states denied actions go in the final hand-off" is waived by the owner's recorded decision on 2026-10-19. The skill now says the opposite on purpose: it must not promise the final hand-off, because where a denied action is reported is unverified. The other criteria (flag on the launch command and checklist, eval assertion, changelog fragment) were covered in the earlier review and are unchanged. The eval expectation fails on omission, as the owner asked.
  • Not checked: I did not run check-skill, check-evals-quality or check-changelog-fragments myself. The PR body's claim that they pass is author-claimed and unverified here.
  • Minor, not reported: SKILL.md:175 runs longer than the surrounding wrapped lines because the edit did not rewrap the paragraph. A linter or formatter is the right place for that.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed e4f7e188f817831afb464530c31c325991e61333: 0 finding(s), 0 as inline comments.

Incremental security review of plugins/session-flow/skills/continue-in-background/SKILL.md (e4f7e18, since 598a45a): no security issues.

The change adds a caveat to the launch-result report in step 3 and in the checklist. The caveat says auto mode may deny an action and that where a denied action is reported is unverified. It deletes, narrows or softens no standing instruction, so the instruction-surface lens found nothing to flag. It adds no command, permission, token handling or input path.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on 167ab45.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of 3 on 167ab45.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 19, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.

  • Reason: feedback-uncertain
  • Resume key: 167ab45c905456f0cc0373e366465f40de381d55 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=8222 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=8222 -f activity=address-feedback

@kyle-sexton

Copy link
Copy Markdown
Member

Decision recorded.

Question: Closing issue #6685 requires "The skill states denied actions go in the final hand-off"; this PR removed that as an unprobed auto-mode claim. Options: (a) restore it as a dated, unverified statement; (b) waive that criterion on #6685 and in this PR body, and tighten the eval so it fails on omission; (c) probe a --bg --permission-mode auto run first.
Answer (owner, 2026-10-19): "Go with recommended", which is (b) now and (c) as a follow-up issue.

Next: the waiver is recorded on #6685; Attended Build tightens the eval and updates this PR body; GitHub Support files the follow-up probe issue.

kyle-sexton and others added 2 commits October 19, 2026 13:54
…ment is missing

The eval expectation passed a report that said nothing about denied
actions. Require the report to say auto mode may deny an action and that
where a denied action is reported is unverified, and have the skill and
the changelog fragment say the same instead of promising the final
hand-off, which the owner waived on #6685.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d the checklist

Step 3 and the post-launch checklist item now name what the pointer
paragraph and eval 1 already require: the report says auto mode may deny
an action and that where a denied action is reported is unverified.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit ecd6055 Oct 20, 2026
26 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-6685-39121069087-1 branch October 20, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(session-flow): continue-in-background launches claude --bg without --permission-mode, so asks wait for nobody

1 participant