Skip to content

docs: replace restated upstream facts with pointers in harness-config (part 2 of 2), autonomy - #12825

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12688-41625615641-1
Nov 3, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12688-41625615641-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12688

Summary

Opened by the work-resolve-issue lane. The run's own summary:

All 28 listed passages in harness-config and autonomy that restated a Claude Code docs fact now say only what this repository decides, with a pointer to the live docs section, an as-of date of 2026-11-03 and a recheck trigger. Before writing each pointer I fetched the page it names. Three anchors differ from the issue's candidates, based on the pages' own in-page links and headings: memory#when-claude-code-reads-agents-md (not agentsmd), auto-mode-config#generate-environment-entries, and an added hooks#common-fields beside hooks#timeouts, because the timeout unit sits in that table. Autonomy's reference/ contracts may not name vendors (scripts/validate-plugin-contracts.mjs), so the MCP enablement pointer went into a new 'Project server enablement' record in the setup slice, and the contract links to that record. That follows the existing instruction-file loading record.

Not verified

  • check-stamps.sh --trigger-less (plugins/attribution/skills/audit/scripts/check-stamps.sh) on the touched files. This lane runs only the named wrappers, so it could not run here. It is left to the PR. Every touched file states a 'Recheck trigger' or 'recheck when <condition>' clause, which is…
  • check-affected skipped these, as checks that run code from the checked tree: validate-plugins native-overlap registry, identity-prerequisites drift, claude plugin test (mods) and changed-skills. They are left to the PR's CI.
  • Tidy was not run. The change is over the tidy cutoffs: 15 files (limit 10) across 2 areas, plugins/harness-config and plugins/autonomy (limit 1).
  • Not changed: unhobble SKILL.md just after the r252 range ('Removing the CLAUDE.md names is what makes a session read an AGENTS.md' and the claude-md/managed-only mode values). It is outside the listed row, and unhobble/evals/evals.json:144 expects that explanation. Not changed for the same reason:…
  • Untracked dotfiles (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) show in git status at the checkout root. This run did not create them, and Read finds no .bashrc there, so they look like artifacts of the command sandbox. They are not part…
  • Build and tests: this is a docs-only change, so no build or test suite applies beyond the lane checks above. Test suites are left to the PR's CI.

Fix

  • plugins/harness-config/skills/audit-permission-state/reference/gotchas.md: r230-r232. Removed the worktree, SDK-helper, two-copy and cloud-session behavior. Kept the reader's decisions, each with a pointer record to settings#where-claude-code-keeps-the-local-file-in-a-git-repository or…
  • plugins/harness-config/skills/audit-prompting-postures/SKILL.md: r233. Removed the claude-md-and-agents-md loading and displacement explanation and the stale mode count. The set now follows the effective mode, with a pointer record to memory#choose-which-instruction-files-load.
  • plugins/harness-config/skills/audit/context/procedures.md: r235-r239. Removed the claims about which commands a Read deny covers, the sandbox merge, the classifier category names, the list of hook-switch-off settings and the hook-versus-rule evaluation. Kept the counts-not-values decision, the…
  • plugins/harness-config/skills/audit/context/validation-categories.md: r240-r244. Removed the timeout unit and maximum, the budget mechanics, what /doctor and /context report, the TTY claim, the home-local scope quote and the schema enum and startup discrepancy. Kept the firing rules, with pointers…
  • plugins/harness-config/skills/audit/reference/audit-checklist.md: r245. The B.4 row now says to put deny rules in settings.json and points at upstream issue #8961, which is still open, with a recheck when it closes.
  • plugins/harness-config/skills/audit/reference/native-update-config.md: r246. Removed the list of settings that hide bundled skills. Kept the 'when it resolves in this session' routing, with a pointer record to settings-reference#disablebundledskills.
  • plugins/harness-config/skills/draft-auto-mode-rules/SKILL.md: r247, r248, r250. Removed what /auto-mode-setup drafts and saves, the hidden/plan/version/platform gate basis and what reset strips. Kept 'offer it when it resolves', the mutation gate in our own words and the chezmoi reason, with…
  • plugins/harness-config/skills/unhobble/SKILL.md: r251, r252. Removed the enumerated component types and the AGENTS.md read and shim behavior. Kept the inventory-by-every-component-type rule, the non-derivable classification and both AGENTS.md names as strip candidates, with pointers to the manifest…
  • plugins/autonomy/README.md: r013-r015. Removed how the /goal evaluator runs, the inline pluginConfigs JSON and the env-mirror description. Kept the sentinel and marker signals, the /goal-versus-gate choice, the arm-via-settings instruction, the not-honored rule and the visible notice, with pointers…
  • plugins/autonomy/reference/prerequisite-resolution.md: r019. Removed the three enablement setting names and the settings-gated claim. Presence and enablement are still reported separately and owned by config-audit. Added a vendor-free pointer record to the setup slice's new record.
  • plugins/autonomy/skills/setup/context/prerequisite-resolution-slice.md: new 'Project server enablement' record holding the pointer to mcp#project-server-approvals-and-workspace-trust, with an as-of date and a recheck trigger.
  • plugins/autonomy/skills/setup/SKILL.md: r021. Removed the telemetry-enable and exporter variable names. Kept the autonomy.work_item.url attribute, optional spans and the join, with a pointer to monitoring-usage#common-configuration-variables.
  • plugins/autonomy/skills/setup/templates/ci-otlp-artifact.md: r025, r026. Removed the network-only export claim and the telemetry variable list. Kept the per-job collector decision, the export-so-the-child-inherits instruction and the OTEL_RESOURCE_ATTRIBUTES line, with pointers to…
  • .changes/harness-config/work-resolve-issue-issue-12688-41625615641-1-5c5f2fa2.md: new patch fragment, Changed.
  • .changes/autonomy/work-resolve-issue-issue-12688-41625615641-1-924fe78e.md: new patch fragment, Changed.

Verification

The runner ran each check from the base copy against 1d9cc69:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //code.claude.com/docs/en/settings: the sections 'Where Claude Code keeps the local file in a git repository', 'Settings in cloud sessions' and 'Compare the scope of each settings file' exist and cover the worktree and root location, the two-copy combination, cloud-session reads and the…
  • read https: //code.claude.com/docs/en/memory: 'When Claude Code reads AGENTS.md' and 'Choose which instruction files load' exist. In-page links use the slug form '#when-agents-md-support-is-unavailable', so the anchor is when-claude-code-reads-agents-md.
  • read https: //code.claude.com/docs/en/permissions: 'Read and Edit' covers which Bash file commands and subprocesses a Read deny reaches. 'Precedence among rules, hooks, and mods' covers deny and ask rules being evaluated regardless of a PreToolUse result, and exit-2 blocks.
  • read https: //code.claude.com/docs/en/sandboxing: 'How sandboxing relates to permissions and permission modes' says Read and Edit deny rules merge into the sandbox configuration. The read was truncated at 100k characters, but the section was in the part read.
  • read https: //code.claude.com/docs/en/permission-modes: 'What the classifier blocks by default' exists. The read was truncated at 100k characters, so no absence claim is made.
  • read https: //code.claude.com/docs/en/settings-reference: the index lists strictPluginOnlyCustomization, skillListingBudgetFraction, disableBundledSkills, pluginConfigs and disableDeepLinkRegistration. The read was truncated at 100k characters, so the individual entries were not read. The anchors…
  • read https: //code.claude.com/docs/en/hooks: '#### Timeouts' exists, and the 'Common fields' timeout row gives the unit and defaults. The read was truncated at 100k characters.
  • read https: //code.claude.com/docs/en/skills (offset 100000): 'Skill descriptions are cut short' covers the budget, /doctor, /context and the debug-log warning.
  • read https: //code.claude.com/docs/en/auto-mode-config: 'Generate environment entries with /auto-mode-setup' covers what the command reads and saves, and its plan and version gate. In-page links use #generate-environment-entries. The page also documents what 'claude auto-mode reset' removes.
  • read https: //code.claude.com/docs/en/commands: '## All commands' exists, with rows for /auto-mode-setup and /update-config.
  • read https: //code.claude.com/docs/en/cli-reference: '## CLI commands' exists, with the claude auto-mode subcommand rows.
  • read https: //code.claude.com/docs/en/plugins/manifest-reference: 'Standard layout' lists the component types, and 'Reference a saved value' covers CLAUDE_PLUGIN_OPTION_<KEY> for hooks.
  • read https: //code.claude.com/docs/en/goal: 'How evaluation works' says /goal wraps a session-scoped prompt-based Stop hook.
  • read https: //code.claude.com/docs/en/mcp: 'Project server approvals and workspace trust' covers enableAllProjectMcpServers, enabledMcpjsonServers and disabledMcpjsonServers. The read was truncated at 100k characters, but the section was in the part read.
  • read https: //code.claude.com/docs/en/monitoring-usage: 'Quick start', 'Configuration details' and 'Common configuration variables' exist and cover the enable and exporter variables and the OTLP endpoint export. The read was truncated at 100k characters.
  • read https: //github.com/anthropics/claude-code/issues /8961: the issue is open and reports deny rules in settings.local.json not being enforced.
  • .lane/checks/bin/check-changelog-fragments: both fragments are valid, on both runs.
  • .lane/checks/bin/check-changed-skills: 6 skills checked, 0 failed. The warnings are pre-existing size and description warnings, plus body-growth warnings of 2 to 5 lines.
  • .lane/checks/bin/check-affected: the first run failed validate-plugins because autonomy reference/ named a vendor. After moving the pointer to the setup slice, the final run had 11 passed, 7 skipped and 0 failed.
  • Fresh-context review subagent over the whole diff: 11 findings. Fixed: the lost mutation-gate statement, the lost worktree anchor, the unexplained --settings refusal, two unclear references ('the container's file', 'either value'), the missing collector rationale, a stale mode count, a pointer that…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41625615641

Left out: the items under Not verified.

Related

#12688

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 1d9cc698b13206d5e2d66a42c7b0a58f4367bcb8. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (evidence-unbound:claude-review: not bound:
  rerun-not-allowed; evidence-unbound:claude-security-review: not bound: rerun-not-allowed)

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1d9cc698b13206d5e2d66a42c7b0a58f4367bcb8: read 15 of 15 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12825 (head 1d9cc69)

No security issues found.

Scope. I read every hunk of all 15 changed files in the full diff. The change touches docs and skill bodies only: two .changes/ fragments, four markdown files in plugins/autonomy, and seven in plugins/harness-config. No file matches a TRUSTED PATHS glob. It changes no workflow, action, script, hook, plugin.json or marketplace.json, so I have no manifest items to report.

Instruction-surface lens. The diff replaces restated upstream facts with live-docs pointers, so it narrows standing instructions in skill bodies. I read the instruction exception register (docs/contracts/instruction-exception-register/README.md) and checked each removed passage against its Gate 0 classes by what breaks without it. Every protective rule is still there; only the description of upstream behavior was removed:

  • secret-handling: audit/context/procedures.md still treats settings.local.json as secret-bearing. It still allows counts only, never values, and still forbids getting around a Read deny with an interpreter one-liner. The removed text only described which commands a Read deny covers.
  • irreversible-action: draft-auto-mode-rules/SKILL.md keeps "claude auto-mode reset is never run" with its chezmoi reason.
  • agent-authority: draft-auto-mode-rules/SKILL.md keeps its mutation gate (the skill writes nothing and never chains into /auto-mode-setup). procedures.md still requires the user's explicit approval for each fix and still says "never retry around the refusal". The two named refused operations are now examples instead of a closed list, which forbids nothing less.
  • data-integrity: audit-permission-state/reference/gotchas.md still requires reporting both live copies of settings.local.json and carrying the cloud-session note.
  • Autonomy lane-stop gate: the README still says a --settings-only lane_stop_gate_enabled=true is not honored. Only the stated reason changed, and the hook code enforces the rule, not this prose.
  • Deny-rule placement: audit-checklist.md B.4 still checks for deny rules in settings.local.json at error severity.

ci-otlp-artifact.md: the template no longer lists the telemetry variables, including the loopback OTEL_EXPORTER_OTLP_ENDPOINT. It now says to point the endpoint at the per-job collector, so the capture stays local by instruction. I found no exploitable path.

PR context: the description contains no embedded directives to the lane.

Spend: none. The change is documentation only. The template's existing note on metered artifact storage and collector runtime is unchanged.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 1d9cc698b13206d5e2d66a42c7b0a58f4367bcb8: read 15 of 15 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12825 (docs: restated upstream facts become pointers in harness-config and autonomy)

Result: no findings. I read every hunk of all 15 changed files. The PR only changes Markdown docs: skill bodies, reference files, a README, a template and two changelog fragments. No code, workflow or manifest changes.

Checked against closing issue #12688

  • Row-by-row fixes (r013–r026 and r230–r252): I compared each listed passage with its row. In each one the restated upstream value is gone and the local decision is still there in this repository's words. Each new pointer has an as-of date (2026-11-03) and a recheck trigger. The as-of date and trigger are inline or in a pointer record. Some rows had their shared text in other files ("Same text also at"), and those rows say a copy is covered only if it has its own row. The PR leaves those copies alone, which matches.
  • Changed anchors: three anchors differ from the issue's suggestions: memory#when-claude-code-reads-agents-md, auto-mode-config#generate-environment-entries and the added hooks#common-fields. The first and third match how the rest of the repository already links these sections, for example in plugins/instruction-placement/context/mechanics-sources.tsv and plugins/harness-config/skills/audit-automation-gaps/context/hook-timing.md. The PR author says they fetched each page; I could not check that myself.
  • Vendor-free contract: plugins/autonomy/reference/prerequisite-resolution.md now links to a new #project-server-enablement record in the setup slice instead of naming the enablement settings. The record exists in the diff and its heading matches the link.
  • Evals: I checked the touched skills' evals for anything that depended on the removed text. Examples are the unhobble agents-md-shim-stripped-with-claude-md case and the audit /doctor TTY and debug-log headless route. The behavior those evals look for still appears in the new text. The unhobble sentence "Removing the CLAUDE.md names is what makes a session read an AGENTS.md" was deliberately kept.
  • Changelog fragments: each touched plugin, harness-config and autonomy, has a bump: patch fragment. Patch is the right level for a docs-only change. No plugin manifest changed, so there are no manifest lines.

Not verified

  • The second done-when criterion of issue docs: replace restated upstream facts with pointers in harness-config (part 2 of 2), autonomy #12688, "The PR passes check-stamps.sh --trigger-less", was not checked. The PR says its lane could not run it, and this lane has no shell. Every new pointer in the diff states a recheck trigger, but I am inferring from that, not from running the script. That criterion is still open until CI or a person runs the script on the touched files.
  • The PR's other verification results, such as check-changelog-fragments and check-changed-skills passing and the upstream page reads, come from the author. I did not run them.

No embedded instructions were found in the PR context. There are no prior findings, and this is round 1 of 3.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit aa10e00 Nov 3, 2026
96 of 101 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12688-41625615641-1 branch November 3, 2026 16:35
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 harness-config (part 2 of 2), autonomy

1 participant