Repository navigation
Conversation
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]>
|
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. |
There was a problem hiding this comment.
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.pyto skip baselinerequireschecks for operational repos (while still applying baselineforbidseverywhere).
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. |
| } | ||
| { | ||
| "$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.", |
| # 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. |
Owner-confirmed after the runner flagged HomeAutomation-Config: all four operational repos carry
dependabot.ymlbut 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.pyskips baseline requires (forbids still apply) forworkflowModel: operational. Verified: HomeAutomation-Config's four false DEFECTs clear; its real repo-config LETTER findings remain.🤖 Generated with Claude Code