Skip to content

fix(plugins): drop four organization repository names from shipped content - #17587

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/17208-runtime-org-values
Nov 20, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/17208-runtime-org-values

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #17208

Summary

Reviews every scripts/org-repo-tokens-allow.tsv entry that names another repository of the publishing organization (not this marketplace). Four entries were not reader citations. This PR rewords or retargets each of those four and drops its allow entry. The rest are reader citations and stay listed. #17208 stays open on one held item (see Remaining).

Fix

  • plugins/work-items/skills/triage/scripts/check-body.mjs: the header now links the bundled issue-body contract and no longer names the repository it is synced from. Nothing reads that comment.
  • plugins/source-control/hooks/pr-linkage-validator.sh: the header calls the source "the upstream CI pr-issue-linkage validator" and links this repository's PR-body contract. Gating stays behind linkage_gate_uses_pattern (refactor(source-control): make the linkage-gate scope and babysit routing targets configurable #17437).
  • plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py: the workflow_display_name docstring describes the naming rule without naming a repository. The code is unchanged.
  • plugins/harness-ops/skills/behavior-probes/cases/lib/bot-thread-repo.sh: the scratch repository's origin is now probe-owner/probe-repo. The other auto-mode cases already use that owner (probe-owner.invalid/probe-repo). The three cases that source this scaffold set GH_HOST=probe.invalid, and none of them matches on the origin URL.
  • scripts/org-repo-tokens-allow.tsv: the four entries are removed. The miro server entries now give their real reason: the token is the bundled server's npm package name.
  • Changelog fragments for source-control, work-items and harness-ops.

Kept, with reasons: the detector-findings tier citations (6 plugins), pinned ci-workflows links, Pointer:/Basis:/As of records whose token sits on a continuation line, decision citations (github-iac#179, #734), and the dotfiles links. Each one names a source for a reader to consult, which docs/plugin-philosophy.md "Design boundary" allows.

Verification

  • bash scripts/check-org-repo-tokens.sh: no unexcused organization repository token in shipped plugin content, with the four entries removed.
  • The pre-commit comment lint and the pre-push check-affected checks passed.
  • grep of the three bot-thread cases (expect.json, prompt.md, scaffold.sh) found no expectation that uses the old origin.

Remaining

  • plugins/work-items/reference/permission-preflight.md:70-77 names this organization's permission-floor component as an agent instruction. The Remove organization-specific dependencies from shipped plugins #17208 classification marks the proposed setting as trust-related, and no owner decision covers its unset behavior. It is held for the owner, and its allow entry stays until the owner decides.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd

kyle-sexton and others added 2 commits November 19, 2026 22:16
…ntent

Reword three comments that named another repository of the publishing
organization (work-items check-body.mjs, source-control
pr-linkage-validator.sh and babysit_review_evidence.py) and give the
behavior-probes review-bot scaffold a neutral origin. Their entries leave
scripts/org-repo-tokens-allow.tsv; the miro entries now say they are the
bundled server's npm package name.

Refs: #17208

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 20, 2026 03:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 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-20T03:25:36.418556Z 7cc1c84 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

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read all 8 changed files in full. The pull request rewords or retargets four shipped references that named other repositories of the publishing organization, removes their four allow entries from scripts/org-repo-tokens-allow.tsv, and adds three changelog fragments, each a bump: patch.

What I checked:

  • The token gate. I read scripts/check-org-repo-tokens.sh. It strips github.com/melodic-software/claude-code-plugins/(blob|tree|…)/ links before counting tokens. So the new own-repository links in pr-linkage-validator.sh and check-body.mjs need no allow entry, and removing the four entries leaves no file/token pair over its count. I worked this out by reading the script; I did not run it. The author's report of running it passing is unverified.
  • Link targets. Both new links resolve at head: docs/contracts/pr-body-convention/README.md and plugins/work-items/reference/issue-body-contract.json. The PR-body contract describes pr-linkage-validator.sh's checks, so the new header pointer fits.
  • Behavior. babysit_review_evidence.py changes only a docstring, and check-body.mjs only a header comment. bot-thread-repo.sh changes only the scratch remote URL. I did not independently check the author's statement that none of the three cases sourcing it matches on the origin.
  • Allow file. Removing entries makes the gate stricter. The two miro entries change only their reason text, with the same counts. Neither is a loosening.
  • Closing issue. The PR only refers to Remove organization-specific dependencies from shipped plugins #17208 (Refs:) and closes no issue, so there are no acceptance criteria to check.
  • Trust. The PR context has no embedded instructions aimed at the lane.

Loosened-check verdict: fail (default; the prompt has no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The prompt has no loosened_check_decision_record: line, so the citation requirement was not checked. None of the changes is a loosening.

No plugin manifest changed.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: PR #17587

I found no security issues in this change.

I read the whole diff, all 8 files:

  • babysit_review_evidence.py (trusted path). Only the docstring of workflow_display_name changes. The function body, WORKFLOW_NAME_WORDS and every gate this module feeds are the same. Nothing about the babysit merge-hold or review-evidence logic widens.
  • pr-linkage-validator.sh and check-body.mjs. Only header comments change: the repository the code came from is replaced by a link into this repository's own docs. No executable line changes, and the linkage gate stays behind linkage_gate_uses_pattern.
  • bot-thread-repo.sh. The scratch repository's origin moves from melodic-software/probe-repo to probe-owner/probe-repo on github.com, a namespace the owner does not control.
    • I checked whether a probe session could now reach a third-party repository with the owner's gh credentials. The three cases that source this scaffold set GH_HOST to a .invalid host (the scaffold says so at bot-thread-repo.sh#L4).
    • With GH_HOST set, as I understand gh's documented behaviour, gh api sends its request to that host. Repository resolution from a remote also keeps only remotes on that host, so the github.com origin is ignored and resolution fails closed. This rests on gh itself, which is not code in this diff.
    • The scaffold makes no git fetch or git push against the origin.
    • Not a finding.
  • scripts/org-repo-tokens-allow.tsv. Four allow entries are removed, which tightens the token lint. The two miro server entries change only their reason text; path, token and count are unchanged. Nothing new gets through.
  • Three changelog fragments: prose only.

The diff changes no trust control, plugin manifest, workflow or token request. No standing instruction is deleted or softened. The PR context contains no embedded instructions to this lane.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 46b28b9 Nov 20, 2026
69 of 81 checks passed
@kyle-sexton
kyle-sexton deleted the fix/17208-runtime-org-values branch November 20, 2026 03:42
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 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