Skip to content

docs: say the gitleaks record adds the local secret scan - #196

Merged
kyle-sexton merged 1 commit into
mainfrom
docs/cross-cutting-gitleaks-note
Nov 25, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
docs/cross-cutting-gitleaks-note

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

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

🤖 Generated with Claude Code

With no .gitleaks.toml in the repository, the bundled cross-cutting
default's opt-in is unmet, so without this record gitleaks would not run
locally.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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-25T12:21:45.606169Z 4f8c11c 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 enabled auto-merge (squash) November 25, 2026 12:21
@kyle-sexton
kyle-sexton merged commit 9eb2927 into main Nov 25, 2026
18 checks passed
@kyle-sexton
kyle-sexton deleted the docs/cross-cutting-gitleaks-note branch November 25, 2026 12:21
@github-actions

Copy link
Copy Markdown

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

Code review: PR #196, docs: say the gitleaks record adds the local secret scan

No findings.

The PR changes one sentence in the notes string of docs/conventions/ecosystems/cross-cutting.yaml. The old text said the gitleaks line "keeps" the scan the bundled cross-cutting default would run anyway. The new text says the line "adds" that scan, because this repository has no .gitleaks.toml and so the bundled default's opt-in (cross-cutting.yaml:18) is unmet.

What I checked:

  • The new wording is accurate at this head. A Glob for **/.gitleaks.toml found no such file in this checkout, so the corrected sentence holds. The PR's own check (git show origin/main:.gitleaks.toml fails) is the author's claim; I did not run it.
  • It agrees with the rest of the file. The later typos/editorconfig-checker sentence ("this repository holds neither config, so the bundled default's opt-in (cross-cutting.yaml:18) is unmet too") now reads consistently. So does the header comment at cross-cutting.yaml#L8-L9, which calls gitleaks "the local secret scan".
  • The dropped text was redundant. The PR removes the clause "since this repository holds no copy" and the :12 citation. The new sentence already says the repository has no .gitleaks.toml.
  • No check is loosened. check-cmd and opt-in are unchanged, so the gitleaks, lychee and jq commands run exactly as before. Only the explanatory notes text changes.
  • No closing issue. The PR is a follow-up to a review thread on chore(standards): delete copies standards no longer syncs #195, so there are no acceptance criteria to check against.
  • Inputs. The prior-findings file lists no earlier reviews by this lane, so this is a full review, not a blocking-only one. No settled-threads file was supplied.
  • Loosened-check settings. The prompt had no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: lines. I used fail with no consumer patterns, and did not check the citation requirement.

Loosened checks would be marked: fail (plugin default; no wrapper settings supplied); patterns: 0

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown

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

Security review: no security issues found

I read the whole diff: one hunk in docs/conventions/ecosystems/cross-cutting.yaml. It rewords one sentence in the record's notes string, the prose description of the gitleaks deviation. The record used to say it "keeps" the local secret scan that the bundled default would run without it. It now says it "adds" that scan, because the repository has no .gitleaks.toml and the bundled default's opt-in (cross-cutting.yaml:18) is not met. The redundant clause "since this repository holds no copy" is removed.

  • Commands unchanged: the change touches only the free-text notes value. It does not touch check-cmd, tool pins, versions, checksums, install-hint or gates, so what the local lint runs is the same.
  • No guardrail removed: the rewrite does not delete, narrow or soften a standing instruction. It still says the scan runs and still reads standards' .gitleaks.toml from the standards checkout. The instruction-surface lens therefore finds nothing.
  • No trust-control or manifest surface: the file is not a trusted path, a merge-hold path, a token or kill-switch action, or a plugin manifest.
  • PR context: the description matches the diff and contains no embedded instructions to the lane.

No prior findings on this pull request; this was a full review, not blocking only.

critical-findings: 0

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]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
…aml notes (#198)

No related issue: follow-up to merged PR #197; the same deleted-default
citation remained in three more records. No linked issue.

## Summary

`docs/conventions/ecosystems/{bash,markdown,yaml}.yaml` still cited
claude-code-plugins' bundled ecosystem defaults
(`plugins/toolchain/reference/ecosystems/*.yaml`), which
[melodic-software/claude-code-plugins#17926](melodic-software/claude-code-plugins#17926)
deleted.

## Fix

- `bash.yaml` notes: "No shfmt" now says CI runs no shfmt and the plugin
ships no ecosystem file, so this record is the whole local surface and
fix-cmd is null.
- `markdown.yaml` notes: the bundled markdownlint-cli2 default sentence
becomes "the plugin ships no ecosystem file, so this record is the whole
local surface".
- `yaml.yaml` notes: same rewrite for the bundled actionlint default;
"These globs, the bundled default's," becomes "These globs".
- Each cites `claude-code-plugins
plugins/toolchain/reference/resolution-ladder.md:53-54 at bb7bebbdf2a`.

## Verification

- claude-code-plugins `resolution-ladder.md` L53-54 at bb7bebbdf2a: "The
plugin ships no ecosystem file, so no id is covered unless it is
recorded, stated or inferred."
- `git grep -n -E 'reference/ecosystems|bundled'` in this repository
returns nothing.

## Related

- [#197](#197),
[#196](#196)
-
[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