Skip to content

feat(session-flow,implementation): keep skipped steps with a reason and answer a question with one skill - #13514

Merged
melodic-automation-lanes[bot] merged 5 commits into
mainfrom
feat/skip-reason-and-question-router
Nov 5, 2026
Merged

melodic-automation-lanes[bot] merged 5 commits into
mainfrom
feat/skip-reason-and-question-router

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

No related issue: owner-accepted Topic 9 item (no new issues while issues are driven to zero)

Summary

Two owner-accepted Topic 9 items, quoted from .work/poteto-review/topic9/topic9.md ("Aligned, accept"):

  • K52 (skipped steps keep a reason): where a skill seeds a task list (/session-flow:orchestrate,
    /implementation:implement, /session-flow:workflow step 5), a step not done stays listed as skip: <reason>, as
    her task router does (poteto-mode SKILL.md:123); no such rule exists in ours today.
  • K70 (prompt shape and question mode): /session-flow:show-options accepts a free-text question and answers with one
    skill, its arguments and one example prompt (goal, pass/fail check, proof wanted, known facts, constraints; no method
    and no cause hunch), as her help router and Matt's router both do (poteto-help SKILL.md:59-61,154; ask-matt
    SKILL.md:9-11).

show-options has since been renamed /session-flow:recommend-skills, so K70 lands there. Neither item had shipped on main: no skip: rule existed in the three task-list passages, and recommend-skills took only a [topic-slug] argument.

Fix

  • K52: one line in each of the three places that seed a task list.
    • plugins/session-flow/skills/workflow/SKILL.md step 5: a stage that will not run stays listed as skip: <reason>, never deleted.
    • plugins/session-flow/skills/orchestrate/SKILL.md (top-of-tree task list): an item it will not do stays listed as skip: <reason>.
    • plugins/implementation/skills/implement/SKILL.md Step 4: a block not done stays listed as skip: <reason>, never removed.
  • K70: plugins/session-flow/skills/recommend-skills/SKILL.md gains a "Question mode" section. A free-text question argument gets one skill from the resolved catalog, its arguments and one example prompt (goal, pass/fail check, proof wanted, known facts, constraints; no method, no guessed cause). No argument, or a request for the options themselves, still renders the full menu. The argument hint becomes [topic-slug|question], and the description, "Does not decide" and workflow boundary lines name the mode.
  • One change fragment each for session-flow (minor) and implementation (patch).

Verification

  • plugins/skill-quality/scripts/check-skill.sh over plugins/session-flow/skills and plugins/implementation/skills: 21 passed, 0 failed. The warnings that come up for the touched skills are about body size or growth, and one says the recommend-skills description grew from 245 to 304 characters.
  • scripts/validate-plugins.sh --only "implementation session-flow": all manifests and the catalog validated, 152 mod tests passed. It also caught a spaced pipe in the argument hint, which is now fixed.
  • scripts/check-affected.sh --tests: passed in the pre-push hook. scripts/test_check_vocabulary.py: 23 passed. scripts/check-vocabulary.py: clean.
  • Eval coverage for question mode:
    • Legacy case 10 ("Which skill fits here? I need to write tests for the invoice exporter I just added.") asks which skill fits a stated task, so it now expects question mode: one index skill, its arguments, a labeled example prompt, and no menu.
    • New plugin-eval cases: plugins/session-flow/evals/rs-question-gets-one-skill (a question gets one skill and the five labeled lines, with no bucket menu) and rs-options-request-gets-menu ("what are my options" still gets the five buckets).
    • validate-cases.py over plugins/session-flow/evals: 0 FAIL, exit 0. The warnings are only the usual allowed-tools ones that existing cases also get. check-evals-quality.sh on the legacy file: PASS, 0 warnings.
  • The mode test now covers the question whether it arrives as the argument or as the request that invoked the skill. A request for the options themselves, or one that states no task, gets the menu.

Related

  • Source: Topic 9 review, items K52 and K70.

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 5, 2026 10:05
…nd answer a question with one skill

/session-flow:workflow step 5, /session-flow:orchestrate and
/implementation:implement now keep a task-list entry that will not be
done listed as `skip: <reason>` instead of dropping it.

/session-flow:recommend-skills takes a free-text question and answers
with one catalog skill, its arguments and one example prompt (goal,
pass/fail check, proof wanted, known facts, constraints; no method and
no guessed cause). No argument, or a request for the options, still
renders the full menu.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ced pipe

The argument-hint contract rejects a spaced pipe.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 5, 2026 15:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T15:10:39.938668Z 42f247f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 809d0cac8bb9eb89f20c9ec7be48b3c8a8a7f2a6: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #13514, incremental (75d6a23 → 809d0ca)

No security issues found. This lane already reviewed an earlier head, so this pass reports only blocking findings (CRITICAL and IMPORTANT).

Scope. I read the one hunk in the only file changed since the last review, plugins/session-flow/skills/recommend-skills/SKILL.md. It does not match any trusted-path glob. The push changes no plugin manifest, workflow, action, hook or trust control.

What I checked

  • The SKILL.md "Slug selection" line, under the instruction-surface lens. The change narrows which argument is treated as an explicit topic slug: a question argument no longer counts as one. Paths still resolve from the configurable memory root. Nothing protective is deleted or softened. This change makes it less likely that free-text question input gets used as a path component. I did not consult the protected-class register because nothing protective was removed.

Embedded text. The PR context has no directive aimed at the review lane.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 42f247fc9079679aac52fb76193a80b5e529a34c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 809d0cac8bb9eb89f20c9ec7be48b3c8a8a7f2a6: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #13514 (incremental, blocking only)

This lane has already reviewed earlier heads of this PR, so this round reports only blocking findings. I read the whole incremental change, which is one hunk in one file, plugins/session-flow/skills/recommend-skills/SKILL.md.

No blocking findings.

What changed: the Slug selection rule (SKILL.md#L127-L128) now reads "an explicit topic-slug argument wins (a question argument is not one)". This fits the Question-mode wording at L43 ("an argument holding a space is never a topic slug") and the [topic-slug|question] argument hint. It fixes what remained of the earlier thread: in the no-skill-fits fallback, the menu no longer takes the free-text question as its topic slug. Last round raised that same wording as advisory and left it unposted. This edit makes exactly that change.

Path rules: skill-bodies-state-current-rules.md and cost-claims.md apply to this SKILL.md edit. It breaks neither, because it states a current rule and makes no cost claim.

Closing issue: none is linked, so there were no acceptance criteria to check.

Manifests: no plugin.json or marketplace.json changed.

Verification: I ran nothing. This lane has no shell, and any check results the PR author reports are unverified.

kyle-sexton and others added 3 commits November 5, 2026 10:12
… boundary

Question mode now applies to a which-skill-fits question whether it is
the argument or the request that invoked the skill, and the example
prompt carries one labeled line per field. A request for the options
themselves, or one that states no task, gets the menu.

Legacy case 10 asks which skill fits a stated task, so it now expects
question mode. Two plugin-eval cases are added: one proves a question
gets one skill and a labeled example prompt with no menu, and one
proves "what are my options" still gets the five buckets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
When question mode falls back to the menu, the free-text question was
the explicit argument and would be read as a topic slug. Only a
topic-slug argument now wins slug selection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 5, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

The unattended merge path enqueued this pull request at head 809d0cac8bb9eb89f20c9ec7be48b3c8a8a7f2a6.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 90c202b Nov 5, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the feat/skip-reason-and-question-router branch November 5, 2026 16:08
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

The post-merge check verified merge commit 90c202b8c6a10404e250ec96563375489712cb76; later checks count it verified from this comment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant