Skip to content

Exempt operational repos from the baseline App-secret requirement - #325

Closed
ptr727 wants to merge 1 commit into
developfrom
operational-baseline-exemption
Closed

ptr727 wants to merge 1 commit into
developfrom
operational-baseline-exemption

Conversation

@ptr727

@ptr727 ptr727 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Owner-confirmed after the runner flagged HomeAutomation-Config: all four operational repos carry dependabot.yml but run no merge-bot/codegen (Dependabot PRs are maintainer-merged) and their secret stores are empty - the App-pair baseline is a release-model requirement. spec/secrets.json's note states the exemption; spec/audit.py skips baseline requires (forbids still apply) for workflowModel: operational. Verified: HomeAutomation-Config's four false DEFECTs clear; its real repo-config LETTER findings remain.

🤖 Generated with Claude Code

Verified across all four operational repos: dependabot.yml present, no
merge-bot workflow, both secret stores empty - the merge-bot baseline is a
release-model requirement. secrets.json's note states the exemption; the
runner skips baseline requires (forbids still apply) for workflowModel
operational.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 16, 2026 15:56
@ptr727

ptr727 commented Jul 16, 2026

Copy link
Copy Markdown
Owner Author

Closing unmerged - owner clarified the fleet standard: the codegen App merges Dependabot PRs on every tier including operational/config repos (they get Actions-version bumps and the merge uses the App token), so the baseline App-pair requirement stands fleet-wide. The runner's original DEFECT findings on the config repos are true positives: those repos owe the App secrets (owner action - the key values are not agent-readable) and the merge-bot workflow. The empty stores are the drift, not the spec.

@ptr727 ptr727 closed this Jul 16, 2026
@ptr727
ptr727 deleted the operational-baseline-exemption branch July 16, 2026 15:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the secrets-spec and audit logic so workflowModel: operational repos are not incorrectly flagged for missing baseline App secrets that only apply to the release-model automation (merge-bot/codegen), while keeping baseline forbids enforced.

Changes:

  • Document the operational-repo exemption for the baseline App-secret pair in spec/secrets.json.
  • Update spec/audit.py to skip baseline requires checks for operational repos (while still applying baseline forbids everywhere).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
spec/secrets.json Clarifies baseline secret intent/exemption for operational repos.
spec/audit.py Skips baseline requires for workflowModel: operational during secrets auditing while keeping forbids enforced.

Comment thread spec/secrets.json
}
{
"$schema": "./secrets.schema.json",
"note": "Secrets the audit cross-checks. `baseline` applies to every fleet repo (the App-signed merge-bot runs everywhere). `mechanisms` are per-target/per-feature additions: a repo requires the baseline plus the mechanisms whose publish target (`targetMechanisms`) or feature workflow (`featureMechanisms`, detected by the mechanism's `workflowNeeds` action) it uses. Baseline secrets are implicit and are NOT repeated in a repo's registry `requiredSecrets`, which lists only the domain-specific additions. `typeMechanisms` are per-language requirements: a `csharp` or `python` repo must carry the mapped mechanism (codecov) regardless of opt-in. A configured secret that no applicable mechanism claims is a stale-secret finding; a present `forbids` secret is a defect.",
Comment thread spec/audit.py
Comment on lines +131 to +132
# Operational repos run no merge-bot or codegen (their Dependabot PRs are maintainer-merged), so the
# baseline App pair is N/A there; baseline forbids still apply everywhere.
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.

2 participants