Skip to content

docs(harness-config): record v2.1.321 cp/mv deny coverage and remaining docs lag - #17793

Merged
kyle-sexton merged 4 commits into
mainfrom
docs/14843-v2-1-321-remaining
Nov 21, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
docs/14843-v2-1-321-remaining

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

No related issue: the work comes from the bot-filed Claude Code 2.1.321 changelog intake; no human-written issue holds a spec for it.

Summary

Delivers the agent-buildable rows of the Claude Code v2.1.321 handoffs that were still open in #14843: the security recheck on the audit's permission reference, the four unrecorded docs-lag pairs, and a Corrected record for the reference change. Each upstream page was fetched again on 2026-11-21 before its row was written.

Fix

  • plugins/harness-config/skills/audit/reference/required-permissions.md: before reporting a deny as covering a cp or mv, the audit reads the session's client version and fetches the 2.1.321 release and the permissions page's Read and Edit section live, and reports any spelling or file they do not name as uncovered; the file a cp or mv reads stays unverified. Before calling a sandbox a boundary, it checks the client version against the 2.1.321 sandbox escape fixes. Both are our decisions plus pointers, with no restated upstream behavior; the change narrows what the audit reports as covered and changes no rule or table row.
  • docs/upstream/claude-code.md: a Corrected row for that change, and a docs-lag block for the permissions (321-006, 321-111), tools-reference (321-112), claude-directory (321-116) and model-config (321-001, reverse direction) handoffs. claude-directory now lists plugins/data/.set-aside/, so that row is narrowed to the part the page still leaves out: the kept options and secrets and claude plugin restore-set-aside.
  • A harness-config changelog fragment.

Verification

  • Fetched on 2026-11-21: permissions ("Read and Edit" still lists cat, head, tail, sed and tee only), tools-reference ("Background commands" does not describe the shortening), claude-directory ("Cleaned up automatically" lists plugins/data/.set-aside/ and names no restore-set-aside), model-config ("Version history" lists the v2.1.321 best move, which the 2.1.321 changelog block does not).
  • scripts/check-as-of-recheck.sh --check: passed.
  • scripts/check-affected.sh: 18 passed, 2 skipped.
  • The audit engine reads only | \Tool(...)`table rows under the family headings ofrequired-permissions.md`; the edit adds prose only, so the baseline it parses is unchanged.

Remaining

The issue stays open after this merge; the orchestrator shuts it by hand once these are placed:

  • Row 1 (loop-lane best frontier binding): re-binding the frontier tier is a pending owner decision. Not touched.
  • Row 4, mods part (321-094, Claude-written mods turning on without asking in auto and bypass modes): out of scope by the 2026-11-11 owner decision recorded in docs/upstream/claude-code.md. Not added to the escape-surface list.
  • Rows 6, 7 and 10 (ADR 0052, audit-mod-posture, mods admin docs lag): out of scope by the same owner decision.
  • Row 8 (orchestrate respawn after interrupt): deferred pending a probe, skill text unchanged. The probe that settles it: in a cloud session on 2.1.321 or later, end a background agent through a service interruption rather than a user Stop, then check whether the agent is reported as stopped by the user and whether a SendMessage resume of it succeeds.
  • Row 15 (native-drift inventory broken): a runner artifact with no repository action.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 20, 2026 23:23
…ng docs lag

required-permissions.md: deny rules and protected-file prompts reach the
file a cp or mv into a directory writes, and a path-spelled cp or mv, from
Claude Code 2.1.321; the file a cp or mv reads stays unverified. A sandbox
on a client older than 2.1.321 is reported partial.

docs/upstream/claude-code.md: a Corrected row for that change, and
docs-lag rows for the permissions, tools-reference, claude-directory and
model-config handoffs of #14843.

Refs: #14843

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

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T04:48:13.103513Z 26ce887 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26ce887326

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The review found the two new required-permissions.md paragraphs restated
upstream behavior with an as-of stamp, which the skill-body rule does not
accept. Each now states only our decision (read the client version and
the linked sections before reporting coverage; report what they do not
name as uncovered) with section pointers. The changelog fragment and the
Corrected row follow.

Refs: #14843

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44867770199

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17793 (only the changes since 26ce887)

Result: no security issues found. This was a blocking-only review, so only CRITICAL and IMPORTANT findings would be reported.

The new commits change documentation only. I read every hunk of the three files in scope:

  • .changes/harness-config/docs-14843-v2-1-321-remaining-7be98497.md: the changelog fragment's bullet is reworded to match the new wording in the reference file.
  • docs/upstream/claude-code.md (trusted path docs/upstream/**, so I read its whole change): one Corrected row's description is reworded. No gate, hold, trusted-actor entry, token scope or kill switch is touched. The row is a record for the drift tooling and decides nothing about trust or merges.
  • plugins/harness-config/skills/audit/reference/required-permissions.md: I read this as an instruction surface, because two paragraphs are rewritten.
    • cp/mv paragraph.
      • Before: the paragraph stated the 2.1.321 version threshold as fixed text.
      • Now: it tells the audit to read the session's client version and fetch the 2.1.321 changelog and the permissions page live before it reports a deny as covering a cp or mv.
      • Still fails closed: any spelling or file those sources don't name is reported as uncovered. The file a cp/mv reads stays under "Unverified".
      • Effect: the audit cannot report more coverage than the sources support. The sources it fetches are first-party docs pages.
    • Sandbox paragraph.
      • Before: a sandbox on a client older than 2.1.321 was reported as partial whatever its settings.
      • Now: the audit checks the client version against the 2.1.321 sandbox escape fixes before it calls a sandbox a boundary. It reports partial on a client older than a fix that closes an escape the finding relies on, and it names the read-only Bash command case explicitly.
      • Is it narrower? On paper, slightly: partial now applies only when the finding relies on that escape. In practice, a finding that treats the sandbox as a boundary relies on the read-only Bash case, so the stricter-than-base reporting stays.
      • No exploit path: this is advisory audit prose. It gates no tool call, permission rule or merge, so there is no path to a leak, compromise or charge.
    • What the audit engine parses: the change is prose only. The Tool(...) table rows the engine reads are unchanged.

Other checks

  • Manifests: no plugin.json or marketplace.json changed, so there are no manifest lines.
  • Embedded instructions: none found that are aimed at this lane.
  • Spend: nothing in this change can bill or spend credits.
  • Earlier findings: the earlier review had no findings, so nothing is posted again.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, blocking only): no findings

This review covers only what changed since 26ce887. That change rewrites the same three documentation files the earlier review passed:

  • plugins/harness-config/skills/audit/reference/required-permissions.md
    • The cp/mv paragraph used to state a fixed rule for 2.1.321 and later. It now tells the audit to do two things before it reports that a deny covers a cp or mv:
    • Any spelling or file those sources don't name is reported as uncovered. The file a cp/mv reads still points to "Unverified" below.
    • The sandbox paragraph now checks the client version against the 2.1.321 sandbox escape fixes before it calls a sandbox a boundary.
  • docs/upstream/claude-code.md: the Corrected row for docs(harness-config): record v2.1.321 cp/mv deny coverage and remaining docs lag #17793 is reworded to match. The pointer to the owner decision "below" is unchanged.
  • .changes/harness-config/... fragment: the bullet is reworded to match. bump: patch is unchanged and still fits a prose-only change.

What I checked:

  • The new text still leaves the file a cp/mv reads unverified.
  • It still sits between "Covered" and "Not covered".
  • It adds no table row, so the audit engine's parsed baseline doesn't change.
  • The new paragraphs drop their fixed as-of dates and use a fetch-it-live pointer instead. That is a consistent, deliberate pattern, not a defect.
  • The PR description's Fix section still describes the earlier wording ("on 2.1.321 and later only"). That is advisory only, so it is not raised in this blocking-only round.

I could not fetch the upstream pages myself. What they say is author-claimed and unverified.

  • The PR refs Claude Code v2.1.321 changelog: 15 handoffs #14843 but closes no issue, so there are no acceptance criteria to check.
  • No plugin manifest changed, so there are no manifest lines.
  • No paved-path or path-scoped rule applied.
  • Loosened checks would be marked: fail (default; the prompt gave no verdict or pattern lines); patterns: 0. The prompt had no decision-record line, so the citation requirement was not checked. No loosening was found.
  • Spend: none.
  • The prior-findings file says this lane already reviewed an earlier head, so this review reports blocking findings only.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 8c90cb9f8a6e846ed00cab82869cb55515536c37. What it wrote, as data:

Summary: PR #17793 has a `Refs: #14843` line, but #14843 has no trusted spec text. A bot account
  opened it, so in spec-text.json its `body` is null and its `comments` list is empty. With no spec,
  there is nothing to judge the diff against, and the rules require a fail. On its own merits the
  diff looks low-risk. It changes only docs and prose: a harness-config changelog fragment, a new
  Corrected row and a new docs-lag block in docs/upstream/claude-code.md, and two prose paragraphs
  in plugins/harness-config/skills/audit/reference/required-permissions.md. Those paragraphs make
  the audit report less as covered, and they change no rule or table row. It adds no binary file,
  touches no file in the takeover set, and includes no credential. The CI run on the judged head
  passed, including Test Bash (0) and (1), Check Skills and Lint Repo
  (https://github.com/melodic-software/claude-code-plugins/actions/runs/44868742900). The skipped
  Node, Python and Check Tests jobs cover none of the changed files. None of this makes up for the
  missing spec.
- PR body: the `Refs: #14843` line points to an issue with no trusted spec text (a bot opened it and
  no trusted human has written its body or a comment on it). Either link an issue whose body a
  trusted human wrote, or have a trusted human add to #14843 the v2.1.321 handoff items this PR
  delivers: the cp/mv deny coverage and sandbox escape check in required-permissions.md, and the
  docs-lag rows for 321-001, 321-006, 321-111, 321-112 and 321-116. Then re-run verification.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 21, 2026
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 21, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 203b354 Nov 21, 2026
79 checks passed
@kyle-sexton
kyle-sexton deleted the docs/14843-v2-1-321-remaining branch November 21, 2026 07:23
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant