Skip to content

docs: cut restated upstream behavior left by the stamp sweep (batch 5) #15513

Closed
5 of 5 issues completed
Closed

Description

@kyle-sexton

Problem

The stamp sweep in #15473 (docs: drop stamps from pointer records (batch 5)) 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

  • session-flow reference/observer.md:116-118: paraphrases the precedence between CLAUDE_CODE_EFFORT_LEVEL, --effort and --settings.
  • source-control README.md:357: says subagent and workflow worktrees are kept. README.md:385: says the native binary neither ships nor uses Node.
  • source-control reference/providers/github/README.md:152-156: says the proxy serves no GraphQL (403). Same file, :177: says a draft cannot merge.
  • source-control reference/providers/github/pull-request/create.md:56-60: the proxy 403 and the REST fallback.
  • source-control reference/providers/github/babysit-prs/safety.md:47-55: gh pr merge queue behavior.
  • source-control reference/providers/github/pull-request/merge.md:169-172: what a 409 means, plus the status list. Same file, :308-311: how a PR joins the queue.
  • source-control reference/stacked-prs.md:79,85-87: stack merge semantics.
  • source-control reference/worktree-root-convention.md:83-86: where EnterWorktree(name:) lands.
  • source-control hooks/worktree-create-gate.sh:183-187: substitution-token rejection. hooks/worktree-remove-gate.sh:45-48: the WorktreeRemove contract. scripts/worktree-create.sh:1312-1320: the .worktreeinclude rules.
  • source-control skills:
    • the "files arrive through the Read tool as plain bytes" block, repeated in the babysit-loop, babysit-prs, commit, pull-request and setup SKILL.md
    • babysit-loop/reference/promotion-evidence-bootstrap.md:57-61
    • babysit-prs/reference/orchestration.md:~530
    • pull-request/reference/monitor.md:~158 and :~566
    • the claim cells of babysit-prs/reference/native-autofix-pr.md:10 and pull-request/reference/native-surfaces.md:15-19
  • planning:
    • draft-goal-condition/SKILL.md:~44: the "research preview" label
    • interview/SKILL.md:~431: Read and CLAUDE_PLUGIN_ROOT behavior
    • interview/context/loop.md:416: what the cli-reference and env-vars pages cover
  • evals:
    • design/SKILL.md:~200-205: how the arms run
    • methodology/reference/eval-design.md:~61-66: effort guidance
    • plugin-eval/reference/reading-results.md:~211-214 and the usage-limit Gotchas bullet in plugin-eval/SKILL.md: errored-run grading
    • methodology/reference/local-decisions.md:74-75: the blog's rubric position

Kept, unsure

  • planning skills/draft-goal-condition/reference/workflow-row.md:19,35,47: kept, as ruled. The skill names this record's date when it cannot fetch the docs, and the dg-standing-setting-xhigh eval samples cite it.
  • evals "distilled 2026-08-08" stamps in methodology/SKILL.md:19, eval-design.md:10, grading.md:10, recipes.md:9 and success-criteria.md:9: kept, as ruled. The update action reads and refreshes them.
  • source-control skills/babysit-loop/reference/promotion-evidence-bootstrap.md (~428, ~444) and promotion-evidence-implementation-plan.md:36: verification records of our own code, not of an upstream.
  • source-control skills/worktree/reference/gather-block.md:42-47: an owner record that mixes a probe, the 2.1.257 note and pointers.
  • planning lib/html-escape.mjs:21: a generated copy. Its "Recheck:" pointer comment belongs to the canonical lib/html-escape.mjs, which batch 7 owns.

Kept, no anchor checked

  • evals skills/design/SKILL.md (old 209): plugin-evals.md has no anchor.
  • planning skills/design/reference/type-discipline/typescript.md:129 (Handbook Narrowing) and interview/context/nfr-prompts.md:39 (ISO page).
  • session-flow reference/observer.md:87: the cli-reference link. It is a stored value, so its stamp stays.
  • source-control:
    • README.md:385 (/docs/en/setup)
    • reference/providers/github/README.md:65-67 and :178
    • reference/providers/github/pull-request/ready-for-review.md:~246
    • skills/babysit-loop/reference/promotion-evidence-bootstrap.md:42
    • skills/pull-request/reference/create.md:425
    • skills/babysit-prs/reference/stuck-checks.md:76
    • skills/babysit-prs/reference/native-autofix-pr.md:10

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: #15473, #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: docs, skill bodies and code comments in the source-control, planning, evals and session-flow plugins; the agents that read those skills and the maintainers who read the docs.
    Reversible: yes; each cut is a text edit that can be reverted, and the issue says no code line changes.
    Open questions: none
    Understood: cut or rewrite the passages this issue lists that restate upstream behavior, and fold in the recheck-trigger cleanup from #15521 for the same files.

    The decision comment settles every open question (cut or rewrite as our own rule, no eval, #15521 folded in):

    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, hook or script in the same plugin 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]
    #15513 (comment)

    Related open issues cover other batches of the same sweep (#15509, #15510, #15511, #15512, #15514, #15515) and overlap on some planning and session-flow rows (#15525, #15529). These are related work, not duplicates. No merged pull request was identified as a fix.

    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 #16843 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 across session-flow, source-control, planning and evals is cut to an anchored pointer, kept as this repository's own rule with its reason, or recorded as staying, with an eval or stated basis for any cut that changes agent behavior.

    Related work

    Open questions

    1. For each of the ~35 items, is the decision cut to pointer, keep as own rule, or keep and record why? The issue leaves that choice to the run.
      RECOMMENDED: Owner lists a per-item verdict, or authorizes cut-to-pointer as the default for pure upstream restatements (proxy 403, queue behavior, 409 meaning, EnterWorktree landing, effort precedence) and keep-as-own-rule where a hook or script enforces it (worktree-create-gate.sh, worktree-remove-gate.sh, worktree-create.sh). Basis: judgment
    2. Which cuts change what a skill tells the agent, and what basis is accepted for them: a new eval, or a stated rationale?
      RECOMMENDED: Accept a stated basis for pure-docs files (READMEs, reference records). Require an eval run only for SKILL.md instruction changes such as the repeated Read-tool plain-bytes block in five skills. Basis: judgment
    3. The effort-precedence paragraph in observer.md:116-118 sits beside a probed 2.1.296 finding and the dual drop-and-pin workaround at :108-114. Should the Record be cut to the three doc pointers, or kept because it justifies this repository's own rule?
      RECOMMENDED: Keep the workaround as the repository's own rule with its probe, and cut only the Claim restatement at :116-118 to the existing anchors. Basis: plugins/session-flow/reference/observer.md:108-122
    4. The "Kept, no anchor checked" items have no verified upstream anchor. Should this run verify anchors on code.claude.com, or leave them out of scope?
      RECOMMENDED: Out of scope. Record them as staying until an anchor is checked. Basis: judgment
    5. The work spans four plugins and about 35 files. Should it be split per plugin into separate issues?
      RECOMMENDED: Split into four issues (session-flow plus planning, source-control README and providers, source-control skills and hooks, evals), each with a task list of its items. Basis: judgment

    Sources read

    • /home/runner/work/claude-code-plugins/claude-code-plugins/refine-data/context.json: issue 15513 lists about 35 items with no task list, no per-item verdict and no comments from the owner.
    • plugins/session-flow/reference/observer.md:116-122: the Record restates the effort precedence and already cites env-vars#precedence, settings#settings-precedence and model-config#adjust-effort-level with an As of: 2026-10-10 stamp.

    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, hook or script in the same plugin 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; line numbers have drifted. A passage already gone from main is listed in the pull request body as skipped.
    • The hook and script items (worktree-create-gate.sh, worktree-remove-gate.sh, scripts/worktree-create.sh) are code comments beside code that enforces the behavior: keep the rule there in our own words with its reason, and point at the upstream section for the platform behavior.
    • The lists under Kept, unsure and Kept, no anchor checked are not work.
    • 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 batch5 sweep branch, whether or not the item list below names them (for example session-flow/reference/off-thread-work.md, source-control/reference/branch-update-criteria.md and babysit-loop/reference/telemetry-upsert.md).

    Overlap with #15525: both issues touch planning and session-flow files (rows planning-7, planning-19 and session-flow-4 sit in the same files as items here). This issue owns the passage cuts its own item list names; #15525 owns its listed rows. Where a #15525 row sits on a passage this issue cuts, this issue makes the cut and #15525 skips that row as already changed on main. The same holds for #15529 row evals-3 in design/SKILL.md.

    Acceptance criteria

    • session-flow reference/observer.md: the listed passage is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.
    • source-control README.md and the reference/providers/github/ docs (README.md, pull-request/create.md, babysit-prs/safety.md, pull-request/merge.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.
    • source-control reference/stacked-prs.md and reference/worktree-root-convention.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.
    • source-control hooks/worktree-create-gate.sh, hooks/worktree-remove-gate.sh and scripts/worktree-create.sh: each listed comment keeps the rule the code enforces, in our own words with its reason, and points at the upstream section for the platform behavior; no code line changes.
    • source-control skills (the "plain bytes" block in the five SKILL.md files, promotion-evidence-bootstrap.md, babysit-prs/reference/orchestration.md, pull-request/reference/monitor.md, the claim cells of native-autofix-pr.md and native-surfaces.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.
    • planning draft-goal-condition/SKILL.md, interview/SKILL.md and interview/context/loop.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.
    • evals plugin design/SKILL.md, methodology/reference/eval-design.md, plugin-eval/reference/reading-results.md with the usage-limit Gotchas bullet in plugin-eval/SKILL.md, and methodology/reference/local-decisions.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 batch5 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, and no entry under Kept, unsure or Kept, no anchor checked is edited.

    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 (#16837, #16839, #16841, #16842, #16843), 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