Skip to content

chore(source-control): name the standards repository - #305

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/standards-repository-key
Nov 25, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/standards-repository-key

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related.

Summary

Names melodic-software/standards as this repository's standards repository, so the claude-code-plugins readers read standards main instead of this repository's synced copies.

Fix

Adds the top-level standards_repository: melodic-software/standards key to docs/conventions/source-control.yaml (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step.

Verification

  • The file validates against claude-code-plugins plugins/source-control/schemas/source-control.schema.json (check-jsonschema: ok).
  • The commit passed this repository's pre-commit and commit-msg hooks locally.

Related

🤖 Generated with Claude Code

Set standards_repository: melodic-software/standards in
docs/conventions/source-control.yaml, so the claude-code-plugins readers
(babysit Dependabot policy, the aggregate lefthook remote's lint-config
fallback) read standards main instead of this repository's synced copies.
Owner decision A3 in melodic-software/architecture docs/owner-decisions.md.

Refs: melodic-software/claude-code-plugins#18988
Refs: melodic-software/claude-code-plugins#18972

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton enabled auto-merge (squash) November 25, 2026 04:04
@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-25T04:05:52.880950Z d0bc090 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 f74fedd into main Nov 25, 2026
27 checks passed
@kyle-sexton
kyle-sexton deleted the chore/standards-repository-key branch November 25, 2026 04:05
@github-actions

Copy link
Copy Markdown

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

Security review: PR #305

I found no security issues.

What changed: one line in docs/conventions/source-control.yaml adds standards_repository: melodic-software/standards (L17).

What I checked:

  • Nothing in this repository reads the new key. I searched the whole tree for standards_repository and found only this line. The only in-repository reader of source-control.yaml is .github/scripts/pr-section-drift.mjs, and it reads pr_body_required_sections only.
  • The local Dependabot policy is unchanged. This repository's own Dependabot workflows (.github/workflows/pr-automerge-dependabot-hosted.yml, .github/dependabot.yml) still read .github/standards/dependabot-policy/policy.json locally.
  • No new actor is trusted. The key's readers are claude-code-plugins tooling outside this repository: the babysit lane, the pr-merge gate's Dependabot policy read and the lefthook fallback. The key points them at a repository owned by the same organization. That admits no new login or outside party, grows no token scope, and lets no untrusted text into a lane. Under the owner threat model (actors are only the owner, its bots, agents and Apps), moving where an org-owned policy is read from widens no trust control.
  • No other controls are touched. The diff changes none of the hold paths, trust controls, workflows, permissions: blocks or plugin manifests listed in the criteria.
  • The PR description holds no embedded instructions aimed at this lane.

Note, not a finding: with the key set, the downstream readers take the Dependabot policy and lint configs from melodic-software/standards main. From then on that repository's branch protection governs those inputs.

This was a full review of the head (blocking only: no).

critical-findings: 0

@github-actions

Copy link
Copy Markdown

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

Code review: no findings

This PR adds one top-level key to the source-control settings file, standards_repository: melodic-software/standards, at docs/conventions/source-control.yaml#L17. The key sits at the top level with the other keys and uses the owner/repo form. It does not touch the pr_body_required_sections list that .github/scripts/pr-section-drift.mjs watches, and it leaves every other key as it was.

  • Closing issue: there isn't one. The PR body says No related issue: and gives a reason (owner decision A3), so there are no acceptance criteria to check. The body has the Summary, Fix, Verification and Related sections that .claude/rules/pr-body-contract.md asks for.
  • Verification: the body says the file passes check-jsonschema against the source-control schema and that the local hooks passed. The author ran those checks and I couldn't run them, so I haven't confirmed them.
  • Loosened checks: the diff doesn't loosen a check. It changes where the Dependabot policy and lint configs are read from: the canonical standards repository instead of this repository's synced copies. It removes no check, threshold or rule, and the synced copies stay in place.
  • Loosened checks would be marked: fail (default; the prompt had no loosened_check_verdict: or loosened_check_patterns: lines); patterns: 0. The prompt had no loosened_check_decision_record: line, so I didn't check the citation requirement.
  • Plugin manifests: the diff changes none, so there are no manifest lines.
  • Embedded instructions: I found none in the PR context, the prior findings, REVIEW.md, CLAUDE.md or the rule file.

Verifier dropped 0 of 0 candidates.

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