Skip to content

chore(standards): delete copies standards no longer syncs - #195

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/retire-synced-copies
Nov 25, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/retire-synced-copies

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: owner decisions Q295-Q298 authorize deleting the copies standards stopped syncing.

Summary

standards#1135 and standards#1136 stopped syncing REVIEW.md, the filing guide and the lint configs. The copies here would never update again and would shadow the standards files, so this deletes them and points the local readers at standards' own files.

Fix

  • Deletes 6 synced copies, each byte-identical to its standards source (REVIEW.md and the filing guide at #1135's parent, the lint configs at standards main): REVIEW.md, docs/standards/filing-prs-and-issues.md, _typos.toml, .markdownlint-cli2.jsonc, .gitleaks.toml, .editorconfig-checker.json.
  • AGENTS.md: the org-wide criteria line links the standards REVIEW.md in the canonical form from standards' components/code-review-rules/README.md.
  • docs/conventions/ecosystems/cross-cutting.yaml: the local gitleaks scan reads .gitleaks.toml from the standards checkout (STANDARDS_DIR, else under the ghq root), the pattern the lychee line already used; opt-in and notes say so.
  • docs/conventions/ecosystems/markdown.yaml and .cursor/install.sh: comments no longer name the deleted files as local.

Verification

  • Each deleted file's blob matched its standards source blob (git rev-parse on both sides).
  • git grep for each deleted path on the branch finds only the standards-checkout references above.
  • lefthook validate: All good; the pre-commit hooks passed. shellcheck .cursor/install.sh: clean. yq parses the edited records.

Related

  • Owner decisions Q295-Q298, melodic-software/architecture docs/owner-decisions.md L423-426, owner words "OK go w/ recommendations".
  • standards#1135, standards#1136.

🤖 Generated with Claude Code

standards#1135 and standards#1136 stopped syncing the docs/standards
files, REVIEW.md, the lint configs and the lefthook fragments. Delete the
copies here and point the local readers that named them at standards'
own files, the ones CI's composites already read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton enabled auto-merge (squash) November 25, 2026 07:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 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-25T07:43:42.894665Z c52ab6f PR opened
ℹ️ 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.

@kyle-sexton
kyle-sexton merged commit 09578f6 into main Nov 25, 2026
18 checks passed
@kyle-sexton
kyle-sexton deleted the chore/retire-synced-copies branch November 25, 2026 07:43
@github-actions

Copy link
Copy Markdown

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

Security review: PR #195, no security issues found

This PR deletes six files that melodic-software/standards no longer syncs: REVIEW.md, docs/standards/filing-prs-and-issues.md, _typos.toml, .markdownlint-cli2.jsonc, .gitleaks.toml and .editorconfig-checker.json. It also repoints the files that referenced them (AGENTS.md, .cursor/install.sh, and the two ecosystem records). I read every hunk of all four listed files and of the six deleted files.

What I checked:

  • .gitleaks.toml deletion and the local gitleaks line (cross-cutting.yaml#L24). No CI job in this repository runs gitleaks (the record's own notes say so), so no CI secret scan is switched off.
    • The local scan now loads standards' .gitleaks.toml from the standards checkout: STANDARDS_DIR, else under the ghq root. That is the same pattern the lychee line on L22 already uses.
    • If the file is missing, gitleaks errors and the line sets rc=1, so the scan fails closed rather than passing.
    • The PR says the standards copy is byte-identical, which would keep the custom ghs_ App-installation-token rule. I could not check that from here.
    • STANDARDS_DIR comes from the local developer's own environment and is not attacker-reachable.
  • REVIEW.md deletion (instruction-surface lens). The security-scope "Always check" rules that were removed (object-level authorization, tenant scoping, no committed secrets, parameterized queries and process calls) are still enforced. This lane gets them from standards' REVIEW.md through the wrapper's criteria file (its "Security lane scope" section, L98–L116). No security guardrail is lost for the CI lanes.
    • The protected-class register (docs/contracts/instruction-exception-register/README.md) is not in this checkout, so I judged by consequence only.
    • Possible coverage gap, not a finding: Managed Code Review in this repository no longer gets a repo-root REVIEW.md, unless its configuration supplies one some other way.
  • Lint-config deletions (_typos.toml, .markdownlint-cli2.jsonc, .editorconfig-checker.json) and the filing guide: these have no security surface.
  • .cursor/install.sh: only comments changed. Pins, URLs and install logic are untouched.
  • AGENTS.md: the criteria link now points at standards' REVIEW.md on GitHub. That is a documentation pointer only.

Trust controls: none touched. The diff changes no file under .github/, no trusted-actor list, CODEOWNERS, .gitmodules, token broker, kill switch or merge-hold path. No plugin manifests changed.

Spend: none.

critical-findings: 0

@github-actions github-actions 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.

claude-review: 1 inline finding(s) on c52ab6fe767f1be623fe8426f4066fadad2c2039; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown

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

Code review: PR #195, chore(standards): delete copies standards no longer syncs

The PR deletes six copies that standards no longer syncs: REVIEW.md, docs/standards/filing-prs-and-issues.md, _typos.toml, .markdownlint-cli2.jsonc, .gitleaks.toml and .editorconfig-checker.json. It also updates the four local files that pointed at them.

What I checked:

  • No dangling references. A repository-wide search for each deleted path finds only the new standards-checkout references in .cursor/install.sh, AGENTS.md and docs/conventions/ecosystems/cross-cutting.yaml.
  • .cursor/install.sh. It only names those configs in comments. No script line reads them.
  • The local gitleaks line. It now reads .gitleaks.toml from the standards checkout. It resolves the path the same way the existing lychee line does, and opt-in documents the new dependency.
  • Review criteria. The criteria for this lane come from the organization's composed REVIEW.md, so deleting the local copy loses nothing here.
  • Security lane. .github/workflows/pr-review-security-hosted.yml exists, so security findings are out of scope for this lane.

Finding (Suggestion, inline): the notes field of docs/conventions/ecosystems/cross-cutting.yaml still says the bundled default would run gitleaks without this file. That opt-in was met by the root .gitleaks.toml, which this PR deletes. The same notes now say the opposite for typos and editorconfig-checker.

Closing issue: none. The PR body says No related issue and cites owner decisions Q295-Q298, which I could not read. There are no acceptance criteria to check.

Loosened checks: none found. The local gitleaks scan still runs with the standards config. The PR says that config is byte-identical to the deleted copy, including the custom github-app-installation-token rule; that is the author's claim, which I have not verified. CI runs none of the linters whose configs were deleted (pr-require-checks.yml:6-10). The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It had no loosened_check_decision_record: line either, so I did not check the citation requirement. Loosened checks would be marked: fail (plugin default); patterns: 0.

Author-claimed, not verified: the blob-identity check, the git grep result, lefthook validate, shellcheck and yq parsing come from the PR body. I did not run them.

Plugin manifests: this PR changes none.

Verifier dropped 0 of 1 candidates. No subagent verifier ran; I checked the one finding myself against the head file.

kyle-sexton added a commit that referenced this pull request Nov 25, 2026
No related issue: follow-up to a review finding on merged PR #195. No
linked issue.

## Summary

The gitleaks note in the cross-cutting record said the record "keeps"
the scan the bundled cross-cutting default would run without it. PR #195
deleted `.gitleaks.toml`, so that default's opt-in (`:18`) is unmet and
gitleaks would not run locally without this record.

## Fix

Rewrite the sentence in `docs/conventions/ecosystems/cross-cutting.yaml`
`notes` to say the record adds the local secret scan because the
repository holds no `.gitleaks.toml` and the bundled default's opt-in is
unmet, matching how the same notes phrase typos and
editorconfig-checker. The now-redundant "since this repository holds no
copy" clause is dropped.

## Verification

`git show origin/main:.gitleaks.toml` fails: the file is absent on main
after #195.

## Related

- Merged PR: #195
- Review thread:
#195 (thread
`PRRT_kwDOT7ovw867yAkN`)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
…197)

No related issue: follow-up to merged PR #196, whose citation of
claude-code-plugins' bundled cross-cutting default points at a deleted
file. No linked issue.

## Summary

The `notes` of `docs/conventions/ecosystems/cross-cutting.yaml` cited
`claude-code-plugins
plugins/toolchain/reference/ecosystems/cross-cutting.yaml` twice
(gitleaks sentence and typos/editorconfig-checker sentence).
claude-code-plugins deleted every bundled ecosystem file in
[melodic-software/claude-code-plugins#17926](melodic-software/claude-code-plugins#17926)
(commit 1cdb035669ec).

## Fix

- Gitleaks sentence: states that this record is what runs gitleaks
locally. The plugin ships no ecosystem file
(`plugins/toolchain/reference/resolution-ladder.md:53-54` at
claude-code-plugins bb7bebbdf2a), and `/toolchain:lint`'s own secret
scan runs only with a `.gitleaks.toml` at the repository root
(`plugins/toolchain/skills/lint/SKILL.md:158`, `:166`), which this
repository does not hold.
- Typos/editorconfig-checker sentence: no CI job runs them, and with no
record the plugin runs neither, since it ships no ecosystem file
(`resolution-ladder.md:53-54`).

## Verification

- `git show
origin/main:plugins/toolchain/reference/resolution-ladder.md` in
claude-code-plugins: L53-54 "The plugin ships no ecosystem file, so no
id is covered unless it is recorded, stated or inferred."
- Same commit, `plugins/toolchain/skills/lint/SKILL.md` L158 "when a
`.gitleaks.toml` sits at the repository root, run the secret scan"; L166
the `skip (opt-in unmet: no .gitleaks.toml at the repo root)` row.
- `git cat-file -e origin/main:.gitleaks.toml` in this repository fails:
no copy here.
- `grep` of the file finds no remaining `reference/ecosystems` or
"bundled" reference.

## Related

- [#196](#196),
[#195](#195)
-
[melodic-software/claude-code-plugins#17926](melodic-software/claude-code-plugins#17926)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

1 participant