Skip to content

fix(native-references): write the 21 unchecked suggest offers as suggest sentences so the self-check traces them #9103

Closed
3 of 3 issues completed

Description

@kyle-sexton

This was generated by AI during attend-queue.

Refs: #4047

Problem

The intent of #4047 is that a native surface the model cannot invoke gets surfaced to the person. The store (docs/native-surfaces/records.json) has 32 rows with integration: suggest:

  • 11 rows set baked.suggest_sentence: true and use the shape the convention defines: If /<name> is available in your session (<basis>), run it for <job>. (native-references README:305-320).
  • The other 21 rows set the flag to false. Their skills still offer the surface to the person, but in a different shape that the convention does not record: a **Routing.** ... offer it to the person: you can run / ... paragraph. For example: confirm:235-239, debug:321-324, orient:143-147.

The self-check misses these offers in both directions:

So any of the 21 offers can be deleted or reworded and no check fails. The 21 rows:

Native surface Component Current offer
autofix-pr source-control:pull-request SKILL.md:274
autofix-pr source-control:babysit-prs SKILL.md:433
auto-mode-setup harness-config:draft-auto-mode-rules SKILL.md:56
doctor harness-config:audit-instructions SKILL.md:123
permissions harness-config:audit-permission-state SKILL.md:58
permissions harness-config:audit-permission-grants SKILL.md:160
verify verification:confirm SKILL.md:235
batch implementation:implement-dispatch SKILL.md:60
deep-research discovery:research SKILL.md:310
recap session-flow:orient SKILL.md:143
subtask, fork, background (3 rows) session-flow:continue-in-background SKILL.md:395
insights session-flow:retro SKILL.md:163
insights session-flow:audit-sessions SKILL.md:212-214 (Boundary prose, no Routing paragraph)
goal planning:draft-goal-condition SKILL.md:218
plan planning:plan SKILL.md:314
debug debugging:debug SKILL.md:321
bug bugs:write SKILL.md:188-192 (prose, no Routing paragraph)
install-github-app github:advise SKILL.md:86
memory harness-memory:stateless SKILL.md:100

Desired outcome

Each of the 21 offers uses the existing suggest-sentence shape, and its row sets baked.suggest_sentence: true. From then on the self-check fails if one goes missing. The shape already exists and is already enforced, so this change adds no second shape and no new tooling.

Acceptance criteria

  • For each of the 21 rows above, the component's SKILL.md contains If /<name> is available in your session (<basis>), .... <basis> names the surface's gate and links the verification record the skill already carries.
  • Each sentence keeps its current placement (start or end of the run, per README:316-317), its "instead of or alongside" wording, and its existing rule that an unattended run records the offer in its output instead of asking.
  • Every one of the 21 rows sets baked.suggest_sentence: true, and docs/native-surfaces.md is regenerated from the store.
  • No **Routing.** paragraph is left offering the same surface a second time. A paragraph that also routes something else (for example audit-instructions:99 for claude-api, plan:327 for the Plan agent) keeps that other part.
  • Every touched plugin carries a changelog fragment made with scripts/new-changelog-fragment.sh, and scripts/check-changelog-fragments.sh --check passes.
  • scripts/check-affected.sh --uncommitted passes.
  • The PR's CI runs scripts/validate-plugins.sh, which runs the native-overlap self-check and generate --check, and it passes.

Out of scope

  • Changing any row's verdict or integration. Verdicts are human-gated.
  • Description phrases. A suggest row carries none (README:263-265).
  • Teaching the self-check to accept the **Routing.** shape as a second grammar.

Related

  • #4047
  • #4049 (the integration axis and the suggest grammar)

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added
    status: confirmed
    on Oct 22, 2026
  2. added theissue type on Oct 22, 2026
  3. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The gap is unchanged on origin/main: docs/native-surfaces/records.json still has 32 integration: suggest rows, 21 of them with baked.suggest_sentence false, and 19 of the 21 still use the **Routing.** shape; session-flow:audit-sessions and bugs:write use prose, as the body's table says. The 21 rows are the ones this issue's body lists. Agents decided this on evidence under standing direction §1.

    Done when

    • For each of the 21 rows the body lists, the component's SKILL.md contains If /<name> is available in your session (<basis>), ..., where <basis> names the surface's gate and links the verification record the skill already carries.
    • Each sentence keeps its current placement, its "instead of or alongside" wording, and its existing rule that an unattended run records the offer in its output instead of asking. The other sentences of a paragraph it replaces stay word for word.
    • Every one of the 21 rows sets baked.suggest_sentence: true, and docs/native-surfaces.md matches the store (overlap.py generate, or a hand edit that matches it byte for byte).
    • No **Routing.** paragraph is left offering the same surface a second time. A paragraph that also routes something else keeps that other part.
    • Every touched plugin carries a changelog fragment made with scripts/new-changelog-fragment.sh, and scripts/check-changelog-fragments.sh --check passes.
    • scripts/check-affected.sh --uncommitted passes.
    • The PR's CI runs scripts/validate-plugins.sh, which runs the native-overlap self-check and generate --check, and it passes.
  4. removed
    status: confirmed
    on Oct 31, 2026
  5. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: rewrite the 21 unchecked suggest offers as the convention's If /<name> is available in your session (<basis>), ... sentence, set baked.suggest_sentence: true on those rows, regenerate the docs, and add changelog fragments. That way the self-check fails when an offer goes missing.

    Decision recorded.

    The gap is unchanged on origin/main: docs/native-surfaces/records.json still has 32 integration: suggest rows, 21 of them with baked.suggest_sentence false, and 19 of the 21 still use the **Routing.** shape; session-flow:audit-sessions and bugs:write use prose, as the body's table says. The 21 rows are the ones this issue's body lists. Agents decided this on evidence under standing direction §1.

    [quote truncated; the full decision is at the link]

    #9103 (comment)

    The decision and the done-when list settle the open questions. Nothing else is missing, and I found no duplicates.

    Automated triage, applied by the lanes App.

  6. added
    status: ready
    on Oct 31, 2026
  7. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: sub-issue #11485 is open.

  8. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 3 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed by a merge or a listed human.

  9. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor

    Intake triage did not triage this issue after 2 dispatches, so the sweep no longer dispatches it and labeled it needs-triage for a maintainer. Triage it by hand, and read the runs for why intake did not:

  10. added
    needs-triage
    on Oct 31, 2026
  11. added
    agent-ready
    on Oct 31, 2026
  12. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  13. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  14. added
    needs-human
    on Oct 31, 2026
  15. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Reason: security

    Why, in the run's own words:

    already-done: the work merged to main in pull request #11518 (merge commit 18a2b37, 'fix(native-references): write the 21 unchecked suggest offers as suggest sentences'), which closed split part #11485, the part that took over #9103's whole scope. On the checkout (HEAD 9d661ea) all 32 integration: suggest rows in docs/native-surfaces/records.json set baked.suggest_sentence: true, and every one of the 21 listed components carries an If /&lt;name&gt; is available in your session ( sentence.

    What the run says it did not do:

    • Did not run the native-overlap self-check (scripts/validate-plugins.sh). This lane runs no interpreter, and this run changed nothing. Its result on main belongs to #11518's merge-queue CI
    • Skipped tidy, review, verify and checks: there is no diff to work on

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41198457007

    To retry, remove needs-human and add agent-ready again.

  16. removed
    agent-ready
    on Oct 31, 2026
  17. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Closing as done: #11518 (18a2b37) wrote the suggest sentences for all 21 listed rows, all 32 suggest rows set baked.suggest_sentence true, docs/native-surfaces.md was regenerated with the store, all 11 touched plugins carry a fragment, and ci-status passed on the merge commit, which runs the native-overlap self-check.

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

    needs-humanneeds-triagestatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions