Skip to content

docs: cut restated upstream behavior left by the stamp sweep (docs/) #15511

Closed
5 of 5 issues completed
Closed

Description

@kyle-sexton

Problem

The stamp sweep in #15463 (docs: drop stamps from pointer records (docs)) found these passages restating upstream behavior. Under contract 6.0.0 (#15468) restated behavior is not stamped; it is cut to a pointer or rewritten as this repository's own rule. The sweep left them unchanged because cutting them changes what a skill tells the agent.

Items

The stamp is removed and the prose stays. Each passage restates upstream behavior and should be cut
later. Line numbers are approximate.

  • docs/cloud-sessions.md:286: what the reloadSkills section names.
  • docs/contracts/authoring-formats/README.md:78-86: mermaid C4 is not stable and has no landscape type.
  • docs/contracts/execution-target/README.md:232: the routine connector default.
  • docs/contracts/hook-input-rewriting/README.md:58: auto mode refuses rewritten input.
  • docs/contracts/hook-telemetry/README.md:55: settings env values get no shell expansion.
  • docs/contracts/permission-rule-hygiene/README.md:30: the auto-mode start default.
  • docs/contracts/permission-rule-hygiene/README.md:260: bash is not a stripped wrapper.
  • docs/conventions/gather-block/README.md:22-30: the worktree isolation checks.
  • docs/migration-playbook.md:689-694: the trust rule, and cloud sessions not loading repo plugins.
  • docs/out-of-scope/agent-run-artifact-attestation.md:20: actions/attest predicates.
  • hook-observability:
    • :70: no file-change surface.
    • :88: exit-2 delivers the reason.
    • :138: fork inheritance.
    • :145: stderr on an exit-0 skip.
    • :191: classifierContext.
    • :212: no OTEL_* reaches hooks.
  • loop-lane:
    • :721: an unlisted header variable becomes empty.
    • :836: classifier fallback.
    • :1114: no session-total token field.
    • :1196: fork context.
    • :1222: /loop is bundled.
    • :1230: jittered cron.
    • :1245: a fixed loop runs until stopped.
    • :1293: --permission-prompts none.
  • mod-authoring:
    • :99: a mod overrides settings hooks.
    • :114: the mod switches and plugin test policy.
    • :147: $.process and session.start after /clear.
    • :176: troubleshooting behavior.
  • plugin-philosophy (line numbers before the D26 pass):
    • 243-253: the bare alias.
    • 258: no collisions.
    • 455-470: pluginConfigs and value storage.
    • 1009: local settings in a worktree.
    • 1097: fork inheritance.
    • 1166: the test-writer option.
    • 1203: a non-fork subagent starts fresh.
    • 1330: CLAUDE_CODE_SUBAGENT_MODEL ranking.
    • 1341: the force switch.
    • 1352: agent.spawn.
    • 1440-1450: blocked pins.
    • 1460-1464: the effort ladder.
    • 1477: adaptive thinking.
    • 1494: per-call effort.
    • 1540: effort trade-offs.
    • 1740: thinking vs max_tokens.
    • 1762: skill pin scope.
  • docs/upstream/claude-code-mods/experiments.md:537-539: /clear resets state.
  • docs/upstream/claude-code.md:157: /advisor in -p.
  • docs/upstream/opus-5-5-task-cost.md:221: most coding goes to Sonnet.

Do

Per item: cut to the anchored pointer, keep as our own rule with its reason, or record why it stays. A cut that changes agent behavior needs an eval or a stated basis.

Related

Refs: #15463, #15468

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    needs-triage
    on Nov 12, 2026
  2. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    Size: Large
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: about 20 files under docs/ (contracts, conventions, upstream records, plugin-philosophy), read by maintainers and by agents that follow those docs.
    Reversible: yes; revert the docs edits.
    Open questions: none
    The newest decision comment is #15511 (comment) by kyle-sexton:

    Decision recorded. Each restated upstream passage listed here is cut to the pointer already beside it, or rewritten as our own rule with its reason where a procedure in the same doc relies on it, with no eval (owner's Q26, option A); this issue also takes the recheck-trigger cleanup from #15521 for its files (owner's Q36, option A).

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

    That decision settles the open questions: cut to the pointer or rewrite as our own rule, no eval, and the #15521 cleanup folded in. This is a docs-only cleanup of restated upstream behavior. It is Large because it spans many files, so it may need splitting by file group when it is worked.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 12, 2026
  4. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

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

  5. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Each listed passage under docs/ is cut to an anchored upstream pointer, kept as this repository's own rule with its reason, or recorded as intentionally staying, with a stated basis for any cut that changes agent behavior.

    Related work

    Open questions

    1. Should this issue be split into per-area child issues (plugin-philosophy, loop-lane, hook-observability, mod-authoring, contracts, other docs), each with its own task list?
      RECOMMENDED: Yes. Give each child issue one checkbox per passage, so one lane run covers a reviewable batch of about 5 to 17 items. Basis: judgment: about 60 passages across roughly 15 files and no task list; sibling batch issues #​15509 to #​15515 already follow this pattern.
    2. For each passage, which outcome applies: cut to a pointer, keep as our own rule with its reason, or record why it stays?
      RECOMMENDED: Cut to a pointer by default. Keep only passages that encode a repository rule the agent acts on, and write that rule with its reason. Basis: judgment: the issue's Do section leaves the choice per item, and contract 6.0.0 (#​15468) says restated behavior is cut or rewritten as our own rule.
    3. What basis is acceptable for a cut that changes what a skill tells the agent: an eval, or a stated basis in the pull request?
      RECOMMENDED: A stated basis naming the upstream page section the pointer targets is enough for pure restatements. Require an eval only where a skill's instruction would otherwise change. Basis: judgment: the issue says an eval or a stated basis, and does not define which applies.
    4. The line numbers are approximate and some have shifted, for example docs/cloud-sessions.md names reloadSkills at line 287, not 286, and plugin-philosophy numbers predate the D26 pass. Should each child locate its passage by the described content, not the line number?
      RECOMMENDED: Yes. Locate each passage by the behavior named in the item, and skip any item whose passage no longer exists, noting that in the pull request. Basis: .base/docs/cloud-sessions.md:287

    Sources read

    • /home/runner/work/claude-code-plugins/claude-code-plugins/refine-data/context.json: issue 15511 lists about 60 passages and has no task list; triage rates it Large and expects a split
    • docs/cloud-sessions.md:287: the reloadSkills pointer is one line below the listed 286, so the numbers have drifted

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. Each restated upstream passage listed here is cut to the pointer already beside it, or rewritten as our own rule with its reason where a procedure in the same doc relies on it, with no eval (owner's Q26, option A); this issue also takes the recheck-trigger cleanup from #15521 for its files (owner's Q36, option A).

    Questions and options

    As put to the owner (Q26, for #15509 to #15515): "Stamp-sweep leftovers: what may the lane do with a passage that restates upstream behavior, and does a cut need an eval?"

    • A (recommended, chosen): cut each restated passage to the pointer already beside it, or rewrite it as our own rule with its reason where a procedure in the same skill relies on it; no eval; the pull request body names, per cut, the upstream section that now carries the behavior; to the lanes.
    • B: the same plus an eval per skill-body cut.
    • C: close all 7.

    As put to the owner (Q36, for #15521): "Remove recheck triggers left on pointer records"

    The owner's answer to both, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations." So option A applies to each.

    How the lane works it

    • Find each passage by its content on current main; the line numbers in the body are approximate and have drifted (for example the reloadSkills passage in docs/cloud-sessions.md). A passage already gone from main is listed in the pull request body as skipped.
    • Where a procedure or rule in the same doc acts on a passage, it is rewritten as our own rule with its reason, not cut.
    • The docs: remove recheck triggers the stamp sweep left on pointer records #15521 cleanup covers the files docs: remove recheck triggers the stamp sweep left on pointer records #15521 lists under the docs sweep branch, whether or not the item list below names them (for example docs/contracts/loop-lane/posting-lanes.md, the routing-as-data, standards and workspace-environment changelogs, and four docs/upstream/ records).

    Acceptance criteria

    • docs/plugin-philosophy.md (the 17 listed passages): each is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • docs/contracts/loop-lane/README.md (the 8 listed passages): each is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • docs/contracts/hook-observability/README.md (the 6 listed passages): each is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • docs/contracts/mod-authoring/README.md (the 4 listed passages): each is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • Other contracts and conventions (authoring-formats, execution-target, hook-input-rewriting, hook-telemetry, permission-rule-hygiene, docs/conventions/gather-block/README.md): each listed passage is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • Other docs (docs/cloud-sessions.md, docs/migration-playbook.md, docs/out-of-scope/agent-run-artifact-attestation.md, docs/upstream/claude-code-mods/experiments.md, docs/upstream/claude-code.md, docs/upstream/opus-5-5-task-cost.md): each listed passage is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • Remove the recheck triggers the stamp sweep left on pointer records in the files this issue covers (folded in from docs: remove recheck triggers the stamp sweep left on pointer records #15521): every docs: remove recheck triggers the stamp sweep left on pointer records #15521 candidate tagged docs is judged per hit; a pointer record drops its trigger and any "recheck when" clause, a stored number or string that lost its date gets its as-of date back, and a named trigger on one of our own decisions stays.
    • The pull request body names, for each cut, the upstream section that now carries the behavior, and lists each passage rewritten as our own rule and each passage skipped as already gone.
    • No pointer record gains an as-of date or recheck trigger.

    Posted by an agent session.

  7. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    A listed human released the issue's Work status hold, so it goes back to intake triage.

  8. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 5 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 as completed by a merge or a listed human and its done-when is covered.

  9. melodic-automation-lanes commented on Nov 20, 2026

    @melodic-automation-lanes
    Contributor

    Every sub-issue of this split is closed as completed by a listed human or a merge (#16828, #16829, #16830, #16831, #16832), so the lanes App closes it as completed.

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

    No labels
    No labels

    Type

    Fields

    Work status

    ready

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions