Skip to content

feat(discipline): add hold-my-hand standing session posture skill - #3812

Merged
kyle-sexton merged 4 commits into
mainfrom
feat/discipline-hold-my-hand
Sep 6, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
feat/discipline-hold-my-hand

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Sep 6, 2026 •

Copy link
Copy Markdown
Member

No related issue: requested directly as a new skill for the discipline plugin.

Summary

Adds discipline:hold-my-hand, a third declared further species in the plugin
alongside the sweep-all runbook and the wait-what repair. It is neither a
corrector nor a one-shot: invoking it sets a standing posture over how the rest of
the session's work is delivered.

Once invoked, the remaining work is partitioned into phases cut at points the user
can confirm, and only the current phase is ever presented. A one-line count
(Phase 3 of 8) gives the shape of the job without showing what is in the later
phases. Each phase names where to be (machine, terminal kind, elevation, working
directory), its numbered steps with exact commands in fenced blocks, the expected
output or observable result, the common failure and its repair, who performs each
step, and the literal reply that advances.

Behaviours the body makes load-bearing:

  • The assistant performs everything it can perform before presenting, so the
    user's steps are only the ones it cannot do: elevation, another machine, a
    vendor console, credentials, an approval that is theirs.
  • On the advancing reply the assistant checks what is mechanically checkable, and
    a failed check produces a repair sub-phase (Phase 3a) rather than the next
    phase.
  • Step text stays in full sentences even when a compression mode is active,
    because a dropped conjunction in an ordered step changes whether clauses are
    sequential, conditional, or alternative.
  • A plain cancellation ("stop phasing", "normal output") ends the posture, with a
    one-line acknowledgement and the phase in progress finished or handed back.

The skill carries no discipline-batch tier, so a sweep never imposes a delivery
posture the user did not ask for.

Fix

Not a defect fix. The description's boundary clause routes the four neighbouring
capabilities that this skill is repeatedly confused with, so the listing does not
misroute them:

  • adhd:shape sets action-first formatting for every response and shows the whole list.
  • adhd:clarify reshapes one dense message already on screen.
  • wizard:generate writes a bash script the human runs with no assistant in the loop.
  • session-flow:workflow routes to the next stage without scripting its steps.

Commits after the initial one address review findings: e4fb504c1 operationalizes
cancellation, permits a no-command step to name its control instead of inventing a
command, tightens the no-task-tools ledger fallback, and makes the repair-sub-phase
eval self-contained; 7fb6f93d0 reconciles that fallback so it still shows progress
(completed / current / bare-numbered) rather than dropping the list entirely.

Verification

Re-run at 7fb6f93d0 unless noted:

  • plugins/skill-quality/scripts/check-skill.sh hold-my-hand: PASS, 0 errors, 0
    warnings
    (description 964/1536 listing chars and 964/1024 field codepoints,
    SKILL.md 173/500 lines, markdownlint clean, metadata.summary within the
    100-codepoint contract, disable-model-invocation explicit, verb-contract
    polarity consistent). Same verdict before and after the review fixes.
  • plugins/skill-quality/scripts/check-evals-quality.sh: PASS, 0 warnings over
    the seven-case eval set, which includes a refusal/anti-pattern case.
  • evals.json validates against the bundled evals.schema.json (ajv, draft 2020-12).
  • scripts/check-purged-em-dashes.sh: clean; the new skill and the README addition
    carry no em dashes.
  • markdownlint-cli2 over plugins/discipline/**/*.md plus both regenerated docs:
    0 issues.
  • typos --config _typos.toml plugins/discipline docs: clean.
  • docs/CATALOG.md and docs/SKILL-CHEAT-SHEET.md regenerated with
    scripts/generate-catalog.mjs and scripts/generate-cheatsheet.mjs; both re-run
    clean after the rebase onto origin/main.
  • CI is the authority for the suite. A local scripts/affected-tests.sh --run
    on this Windows host is not a usable signal and is not being reported as one: the
    run was disturbed partway through (its working directory was removed by one of
    the worktree-manipulating suites it had selected), and many of the remaining
    failures are Linux-targeted expectations that do not hold under Git Bash on
    Windows. The test-linux (0-3) and lint lanes on this PR pass on every pushed
    commit, and ci-lanes reports all lanes passed.

Related

N/A

🤖 Generated with Claude Code

https://claude.ai/code/session_01Dfs121gYcjeqyPvdpEV3UL

A third declared further species in the discipline plugin, alongside the
sweep-all runbook and the wait-what repair: neither a corrector nor a
one-shot, but a standing posture over how the rest of the session's work
is delivered.

Once invoked, the remaining work is partitioned into phases cut at points
the user can confirm, and only the current phase is ever presented. A
one-line count gives the shape of the job without showing what is in the
later phases. Each phase names where to be, its numbered steps with the
exact commands, the expected output, the common failure and its repair,
who performs each step, and the exact reply that advances. The assistant
performs everything it can perform before presenting, so the user's steps
are only what it cannot do. On the advancing reply the assistant checks
what is mechanically checkable, and a failed check produces a repair
sub-phase rather than the next phase.

The skill carries no discipline-batch tier, so a sweep never imposes a
delivery posture the user did not ask for.

Also regenerates docs/CATALOG.md and docs/SKILL-CHEAT-SHEET.md from the
manifests and frontmatter, and bumps the plugin to 0.14.0.

Co-authored-by: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dfs121gYcjeqyPvdpEV3UL
@kyle-sexton
kyle-sexton marked this pull request as ready for review September 6, 2026 07:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 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-09-06T07:31:49.203972Z b40290e 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.

@claude

claude Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 3m 9s —— View job


/review:code-review — findings posted

  • Gather context (PR diff, body, changed files)
  • Understand request (invoke /review:code-review per custom instructions)
  • Run the code-review skill against this PR
  • Post inline findings
  • Final summary update

Skip gate: none applied — PR is open, not a draft, and the change (a new SKILL.md plus supporting docs/catalog updates) has a meaningful review surface.

Scope: All 7 changed files reviewed (plugins/discipline/skills/hold-my-hand/SKILL.md, its evals/evals.json, plugins/discipline/README.md, CHANGELOG.md, plugin.json, docs/CATALOG.md, docs/SKILL-CHEAT-SHEET.md). Security is out of scope for this lane per REVIEW.md's split; there's nothing security-relevant here regardless (prose-only skill, no code execution paths).

1 finding posted inline:

  • SKILL.md:130 — the skill claims the standing posture holds "until the session ends or the user cancels it" (also at line 22), but no trigger phrase, acknowledgment, or reversion behavior is documented anywhere in the body for that cancellation, unlike the closest analog in this repo, plugins/adhd/skills/shape/SKILL.md:32-33, which spells out exactly how its own standing posture is turned off. The eval set doesn't exercise this path either. A model mid-phase has nothing to go on when the user says "stop"/"cancel this."

Checks I could independently confirm:

  • Cross-referenced skills (adhd:shape, adhd:clarify, wizard:generate, session-flow:workflow) all exist at the paths implied by the boundary clause.
  • evals.json matches the required shape in plugins/skill-quality/reference/evals.schema.json (required id/prompt, expectations present per case).
  • discipline-batch opt-out follows the same pattern as the existing wait-what exclusion (no discipline-batch key in frontmatter/metadata), so sweep-all won't pick it up.
  • README/CHANGELOG/CATALOG/cheat-sheet prose updates are internally consistent (species count bumped 2→3, alphabetical placement correct, anchor link matches heading slug, version bump 0.13.3→0.14.0 is a correct minor bump for an additive change).

Not independently verified (environment didn't allow running arbitrary shell scripts in this session — only git diff/find/grep-style read-only commands went through without an approval prompt): the author-claimed check-skill.sh, check-evals-quality.sh, markdownlint-cli2, typos, and scripts/affected-tests.sh results in the PR description. These are author-claimed and unverified by me; I did do a manual sanity check of the description field length (980 chars including the YAML key/quotes), which is consistent with the claimed count.

No other correctness or maintainability issues found.

@claude

claude Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 0s —— View job


Security review — /review:security-review

  • Gather context (PR diff, changed files)
  • Apply skip gate
  • Review changed files for security-relevant surface
  • Adversarial validation of any candidate findings
  • Post final results

No security issues found.

All 7 changed files (diff) are documentation/prompt content, not executable surface:

  • plugins/discipline/skills/hold-my-hand/SKILL.md — new skill body, plain prose instructions for phasing a session's delivery. No shell execution, no credential handling, no network calls, no user-input parsing.
  • plugins/discipline/skills/hold-my-hand/evals/evals.json — static eval fixture (prompts/expectations), no executable content.
  • plugins/discipline/README.md, plugins/discipline/CHANGELOG.md, plugins/discipline/.claude-plugin/plugin.json, docs/CATALOG.md, docs/SKILL-CHEAT-SHEET.md — generated/hand-written doc and manifest text (description string, version bump, catalog entries).

No CI workflow changes, no scripts, no dependency or permission changes, no trust-boundary or injection surface. This falls under the skip gate ("change has no security-relevant surface after reading the diff"), so no findings are reported here per this lane's scope (security only, no style/quality commentary).

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Last security-reviewed head: b40290e1bd682dd7a171e3a98f9ed7061ebad49e. On the next push, the relevance gate compares only the commits since this SHA; delete this comment to force a full re-review.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b40290e1bd

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

kyle-sexton and others added 2 commits September 6, 2026 03:42
Four findings from the automated review lanes, all confirmed against the
skill body and applied.

Cancellation is now operationalized. The body claimed the posture holds
"until the session ends or the user cancels it" without saying what a
cancellation looks like or what happens to the phase in progress, so a
model had no documented way to recognize a plain "stop phasing". A new
section names the phrases, requires a one-line acknowledgement, and says
the phase in progress is finished or handed back rather than abandoned.

A step with no command is now first-class. Requiring an exact command in
every phase forced a fabricated command for the browser, dashboard, and
physical-console steps the skill itself delegates to the user; such a
step now names the exact control and where to find it in the command's
place, and part 4 accepts an observable result alongside command output.

The no-task-tools fallback no longer leaks the plan. "Keep the same
numbered list in your replies" contradicted the rule that the count is
the only forward information; the fallback now carries the current phase
and the count and nothing else about the shape of the work.

The repair-sub-phase eval is self-contained. Its prompt was a bare
"phase 2 done" with no prior phase and no failing state, which no grader
could settle; it now carries the preceding phase, the probe that was
promised, and the state that makes that probe fail.

Two eval cases added for the newly stated behaviours: cancellation ends
the posture, and a no-command step names its control instead of inventing
a command.

Co-authored-by: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dfs121gYcjeqyPvdpEV3UL
The previous fix over-corrected. Cutting the fallback down to the current
phase and the count removed the progress record the task-tool ledger
provides, so a session without task tools lost the ability to show how
far the work had come.

The fallback now keeps the same numbered list the ledger would hold,
under the rule that section already states for the ledger: completed
phases marked done, the current phase marked current, and every
unpresented phase a bare number with no title and no steps. That shows
progress without showing the plan, which is what the leak the earlier
edit was closing actually required.

Co-authored-by: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dfs121gYcjeqyPvdpEV3UL
@claude claude Bot mentioned this pull request Sep 6, 2026
…my-hand

Resolved plugins/discipline/.claude-plugin/plugin.json by keeping the branch
version 0.14.0 and its hold-my-hand description; main only bumped 0.13.3 to
0.13.4 with no description change. Resolved plugins/discipline/CHANGELOG.md by
keeping both entries with 0.14.0 above 0.13.4. Regenerated docs/CATALOG.md and
docs/SKILL-CHEAT-SHEET.md; both generators reported already in sync.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dfs121gYcjeqyPvdpEV3UL
@kyle-sexton
kyle-sexton merged commit a34a96b into main Sep 6, 2026
3 checks passed
@kyle-sexton
kyle-sexton deleted the feat/discipline-hold-my-hand branch September 6, 2026 16:23
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