Skip to content

Conformance: repo-config carry, self-audit, merge-bot (operational) - #47

Merged
ptr727 merged 2 commits into
developfrom
conformance/repo-config-standup
Jul 18, 2026
Merged

ptr727 merged 2 commits into
developfrom
conformance/repo-config-standup

Conversation

@ptr727

@ptr727 ptr727 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Addresses #46 - the hub conformance standup for this repo (operational variant).

What this carries (committed files only)

  • `repo-config/` operational baseline: `main.json`, `operational/develop.json`, `settings.json`, `configure.sh`, and a facts-only `README.md`.
  • Repo-scoped self-audit: `AUDIT.md` + `spec/secrets.json`.
  • `.github/workflows/merge-bot-pull-request.yml` - Dependabot-only auto-merge (App token via `client-id`, no `--delete-branch`).
  • Reworded one-line description in the root `README.md` and `HISTORY.md`.

Live rulesets, general settings, and secret stores were already in sync per the hub audit, so this is a committed-files-only carry - `configure.sh` is not run against the repo.

Facts-only README adaptation

ESPHome-Config is the first public repo to carry `repo-config/README.md`. The fleet "Downstream Carry" process section (and its link to the private Vantage-Config repo, which 404s for the public) is dropped; the carried README states current facts about this repo's config only. A matching upstream finding will be filed against ProjectTemplate.

Verification

  • JSON valid; LF endings; ASCII-only; final newlines; no trailing whitespace.
  • Self-audit dry run (settings + both rulesets) reported in sync; secret names present now that the App pair is set.
  • Advisory lint CI runs on this PR.

The merge-bot activates now that `CODEGEN_APP_CLIENT_ID` + `CODEGEN_APP_PRIVATE_KEY` are set in both stores.

ptr727 and others added 2 commits July 17, 2026 17:13
Carry the operational-variant conformance baseline from the fleet
reference: repo-config/ rulesets (main + operational/develop), settings,
and configure.sh; the repo-scoped self-audit (AUDIT.md + spec/secrets.json);
and the Dependabot-only merge-bot workflow (inert until the App secrets are
set). Addresses conformance issue #46.

The carried repo-config/README.md is trimmed to current facts for this
public repo: the fleet 'Downstream Carry' process section and its private
reference link are dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 18, 2026 00:14

Copilot AI 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.

Pull request overview

This PR carries the fleet "operational" conformance payload into this ESPHome configuration repository: committed repo-config baselines (rulesets + settings + configure helper), a repo-scoped self-audit, and a Dependabot-only merge-bot workflow, plus minor wording updates to top-level docs.

Changes:

  • Add repo-config/ operational baselines (main.json, operational/develop.json, settings.json, configure.sh, README.md) to codify expected GitHub settings and rulesets as committed artifacts.
  • Add a repo-scoped self-audit (AUDIT.md + spec/secrets.json) that diffs live repo state (settings, rulesets, secret names) against the committed baseline.
  • Add .github/workflows/merge-bot-pull-request.yml to auto-enable Dependabot PR auto-merge (and disable it on maintainer pushes) using a GitHub App token.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
spec/secrets.json Defines required/forbidden secret names for audit cross-checking and bot App token usage.
repo-config/settings.json Fleet baseline for repo-level merge/project/wiki settings applied by configure.sh.
repo-config/README.md Documents repo-config layout, ruleset models, settings, and secret baselines for this repo.
repo-config/operational/develop.json Expected develop ruleset payload for the operational workflow model (direct signed pushes).
repo-config/main.json Expected main ruleset payload (PR-gated, required check, Copilot review, signed commits).
repo-config/configure.sh Idempotent GitHub API applicator for settings + rulesets; infers/accepts workflow model.
README.md Rewords the repository one-line description.
HISTORY.md Rewords the repository one-line description.
AUDIT.md Adds documented, read-only self-audit procedures for settings/rulesets/secrets drift detection.
.github/workflows/merge-bot-pull-request.yml Adds Dependabot-only auto-merge enable/disable workflow using App token.

Comment thread spec/secrets.json Resolved
@ptr727
ptr727 merged commit af7186a into develop Jul 18, 2026
1 check passed
@ptr727
ptr727 deleted the conformance/repo-config-standup branch July 18, 2026 00:18
ptr727 added a commit that referenced this pull request Jul 22, 2026
)

* Adopt repo-config baseline, self-audit, and merge-bot (operational)

Carry the operational-variant conformance baseline from the fleet
reference: repo-config/ rulesets (main + operational/develop), settings,
and configure.sh; the repo-scoped self-audit (AUDIT.md + spec/secrets.json);
and the Dependabot-only merge-bot workflow (inert until the App secrets are
set). Addresses conformance issue #46.

The carried repo-config/README.md is trimmed to current facts for this
public repo: the fleet 'Downstream Carry' process section and its private
reference link are dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Reword one-line description in README and HISTORY

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
ptr727 added a commit that referenced this pull request Jul 22, 2026
)

* Adopt repo-config baseline, self-audit, and merge-bot (operational)

Carry the operational-variant conformance baseline from the fleet
reference: repo-config/ rulesets (main + operational/develop), settings,
and configure.sh; the repo-scoped self-audit (AUDIT.md + spec/secrets.json);
and the Dependabot-only merge-bot workflow (inert until the App secrets are
set). Addresses conformance issue #46.

The carried repo-config/README.md is trimmed to current facts for this
public repo: the fleet 'Downstream Carry' process section and its private
reference link are dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Reword one-line description in README and HISTORY

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[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.

2 participants