Skip to content

docs: replace restated upstream facts with pointers in fleet, harness-memory, repo-hygiene - #12871

Merged
kyle-sexton merged 12 commits into
mainfrom
fix/12813-replacement
Nov 3, 2026
Merged

kyle-sexton merged 12 commits into
mainfrom
fix/12813-replacement

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Closes #12696

Supersedes #12813

Summary

Owner-login replacement for #12813, which the lanes App opened and pr-unblock left as needs-session. This branch merges #12813's head (ce2553fe27c4a20508b719f3daa76a44e482aa9e) onto current main and fixes its open review threads.

#12813 rewrites the 28 passages #12696 lists (rows r189-r194, r254-r257, r259-r260, r396-r402, r409-r418, r469-r473) so the restated upstream value is gone, our own rule stays in our words, and a pointer names the upstream section with an as-of date and a recheck trigger, across fleet, harness-memory, repo-hygiene, rate-limit-guard and visualization, with a changelog fragment for each.

Fix

#12813's changes, plus these for its review threads:

  • r402, plugins/rate-limit-guard/reference/reader-contract.md:28-35 (two claude-review threads and a pr-verify note): VALID, fixed. The local observation is now dated: .oauthAccount.emailAddress observed in ~/.claude.json on 2026-11-03 with Claude Code 2.1.317, by jq -e '.oauthAccount | has("emailAddress")', which prints true and no value. The Settings and Authentication search stays the recheck trigger, and line 127's "internal CLI state" back-reference still matches the top of the file.
  • r260, plugins/harness-memory/skills/stateless/context/status.md:38 (pr-verify): VALID, fixed. The enabled-state step no longer leans on SKILL.md's Precedence section: it points at Enable or disable auto memory (read this session; the section documents CLAUDE_CODE_DISABLE_AUTO_MEMORY=1) with an as-of date and a recheck trigger, and keeps the decision that a set env var is checked first and is authoritative.
  • r256, plugins/harness-memory/skills/stateless/SKILL.md:110 (pr-verify, drop the gate-basis note): no change. The routing convention requires it: every offer sentence for a native surface carries a (gate basis: …) clause naming its records (docs/native-surfaces.md:174, :465, :720), and this one now names only reference/native-memory.md and restates nothing about /memory.
  • r469, plugins/visualization/skills/visualize/SKILL.md (pr-verify, first span not rewritten): the passage is no longer on main. At 3bd42cabfe lines 116-121 described how Claude Code substitutes ${user_config.medium} and what an unresolved token looks like. On current main, step 3's rung 2 is a call to lib/view-settings.mjs resolve (SKILL.md:117-128) with no substitution description, so only the second span (SKILL.md:239-243) needed the pointer, which docs: replace restated upstream facts with pointers in fleet, harness-memory, repo-hygiene #12813 added.
  • check-stamps.sh --trigger-less not run (pr-verify): now run, below.
  • r191, plugins/fleet/skills/reach/SKILL.md:236 (pr-verify, pointer goes to basic-commands#help-command): no change. No learn.microsoft.com section documents wsl.exe --exec (docs: replace restated upstream facts with pointers in fleet, harness-memory, repo-hygiene #12813's body records the search), so the help-command section plus wsl.exe --help is the closest live source.
  • scripts/spoke-plugin-root-baseline.txt:36 (pr-verify): informational, the count drop from 5 to 3 matches the two removed tokens.

Verification

  • bash plugins/attribution/skills/audit/scripts/check-stamps.sh --trigger-less on the 13 touched markdown files: 76 candidates, 76 parsed, 0 declined, 0 findings.
  • The pre-push check-affected hook passed on the fix commits; a later commit re-wraps the two edited paragraphs to the files' width.

Related

🤖 Generated with Claude Code

melodic-automation-lanes Bot and others added 6 commits November 3, 2026 11:08
Lane-Activity: work-resolve-issue/resolve-issue
…eam section

reader-contract.md (r402) now dates the local observation that
`.oauthAccount.emailAddress` holds the account: seen in ~/.claude.json
on 2026-11-03 with Claude Code 2.1.317, through a jq key test that
prints no value. The Settings and Authentication search stays the
recheck trigger.

stateless status.md (r260) no longer leans on SKILL.md's Precedence
section for the env var: it points at the memory page's Enable or
disable auto memory section, with an as-of date and a recheck trigger,
and keeps the decision that a set env var is checked first and is
authoritative.

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

chatgpt-codex-connector Bot commented Nov 3, 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-03T16:59:35.597181Z 93e737d 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 3, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 8d852a994a5eda32f9bce246fd5966a9d8d30e7b: read 19 of 19 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12871 (head 8d852a9)

No security issues found. I read every hunk of all 19 changed files in .claude-lane/pr.diff.

What the PR changes

The PR changes only documentation and skill text. In the fleet, harness-memory, rate-limit-guard, repo-hygiene and visualization plugins, it replaces restated upstream facts with pointers that carry an as-of date and a recheck trigger. It also adds five changelog fragments under .changes/ and lowers one count in scripts/spoke-plugin-root-baseline.txt from 5 to 3, which matches the two ${…} tokens removed from invocation-forms.md. Since the last reviewed head (93e737d), the substantive change is the rewording of the dated observation in reader-contract.md.

Checks

  • Trusted paths: none of the changed files match a TRUSTED PATHS: glob. The PR touches no workflow, action, merge-hold script, token broker, kill switch or trusted-actor list, so no trust control is widened.
  • Plugin manifests: no plugin.json or marketplace.json is changed, so there are no manifest lines.
  • Removed or reworded instructions: I judged these by consequence. I did not open the instruction exception register, so the protected-class list was not consulted. Each guardrail still holds:
    • harness-memory/stateless/context/purge.md: before purging, the skill still resolves autoMemoryDirectory from every settings scope present. The confirmation gate is unchanged.
    • harness-memory/stateless/context/status.md: the env var is still checked first and still treated as authoritative. This step only reads and reports.
    • repo-hygiene/clean/reference/cleanup-config.md: node_modules/ is still excluded by default, and the post-clean restore guard is still there.
    • repo-hygiene/clean/reference/invocation-forms.md: the ban on ${…} tokens in context files stays ("We never put a ${…} token in them").
    • repo-hygiene/clean/context/git-branch-cleanup.md: the protected-branch patterns and the LIKELY-SAFE/REVIEW tiers are unchanged. The PR adds a rule that CLEAN_PR_LIST_LIMIT must be a positive count, never 0.
    • visualization/visualize/SKILL.md: the rule against loading a mermaid renderer from the network stays, with the same reason (offline use and exposure to a third party). An unset or unsubstituted ${user_config…} value still falls back to auto.
    • fleet/reach: each operational rule stays: < /dev/null, --exec, probing interop by absolute path, and extracting the JSON object from stdout.
    • rate-limit-guard: the README still says "Never uninstall to reconfigure". The reader contract still treats a missing or unrecognized .oauthAccount.emailAddress as "cannot attribute", and a reader that cannot read it still keeps its latch. The recorded probe prints true, not the email address, so no personal data is logged.
  • Settled threads: one thread (the reader-contract.md probe wording) is resolved with no line changes since resolution. I raise nothing new on it.
  • Prior findings: none (0 rounds with findings, cap 3, not past the cap).
  • PR context: it contains no embedded instructions aimed at this 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 93e737d25acf3681633d9d3ce31c46e1c34afc0c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 8d852a994a5eda32f9bce246fd5966a9d8d30e7b: read 19 of 19 changed file(s); 0 finding(s), 0 as inline comments.

Code review: docs-only pointer rewrite (#12696), round 2

I read every hunk of all 19 changed files at 8d852a99. There are no new findings.

This pull request changes only documentation. It rewrites the 28 passages that #12696 lists across fleet, harness-memory, repo-hygiene, rate-limit-guard and visualization. In each one the upstream fact is gone, the local rule stays in this repository's words, and a pointer names the upstream section with an as-of date and a recheck trigger. No plugin manifest changes, so no manifest lines apply.

Last round's finding: the advisory on plugins/rate-limit-guard/reference/reader-contract.md:29-30 is fixed. The paragraph now says the jq -e '.oauthAccount | has("emailAddress")' probe "prints true, without printing the address", which matches what the command outputs. The thread is resolved and I'm not raising it again.

Things I checked this round:

  • Fleet probe record: the new text at plugins/fleet/skills/reach/SKILL.md says "in our probe it never reached the sender". The relay.md "Verified behavior" table records exactly that result (relay.md:248).
  • Back-reference in invocation-forms.md: the "Available string substitutions pointer above" exists at invocation-forms.md:18-22.
  • Baseline count: the drop from 5 to 3 in scripts/spoke-plugin-root-baseline.txt matches the two ${CLAUDE_SKILL_DIR} / ${CLAUDE_PLUGIN_ROOT} tokens removed from invocation-forms.md.

Closing issue #12696, "Done when" criteria:

  • Rows rewritten: every listed row is rewritten. For r402 the dated local observation replaces the old claim about upstream, which is what the row asked for. The PR body explains why r469's first span is no longer on main.
  • check-stamps.sh --trigger-less: the PR body reports a clean result (76 candidates, 0 findings). That is the author's claim; I had no shell in this run and did not verify it.
  • Changelog fragments: each of the five touched plugins has a bump: patch fragment.

These are prose and pointer changes, so no test could fail for these criteria. That's expected, and I'm not flagging it.

I found no embedded instructions in the PR context, the settled threads or the prior findings.

kyle-sexton and others added 6 commits November 3, 2026 13:00
Resolve the plugins/fleet/skills/reach/SKILL.md stdin gotcha: keep this
branch's pointer form; main only re-worded the restated fact it replaces.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The probe prints `true` when the key is present; "prints no value" could
be read as the key missing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane-Activity: pr-refine/fix-docs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 4338584 Nov 3, 2026
45 checks passed
@kyle-sexton
kyle-sexton deleted the fix/12813-replacement branch November 3, 2026 19:55
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.

docs: replace restated upstream facts with pointers in fleet, harness-memory, repo-hygiene, rate-limit-guard and 1 more

1 participant