Skip to content

Triage ESPHome-Config's Hand-Modified GOVERNANCE.md Workflow YAML Conventions Section #1572

Closed

Description

@ptr727

The regeneration in #1569 surfaced a verbatim section hand-modified downstream, with no entry in spec/divergences.json covering it, so it renders under reports/divergences.md "Untriaged".

  • GOVERNANCE.md > Workflow YAML Conventions - hand-modified in ESPHome-Config (verbatim canonical)

Untriaged here means something narrower than drift. The same section is stale in eight other repositories, and those render under "Mechanical re-vendor" instead, where the fix is to copy the current canonical down and no judgment is owed. ESPHome-Config's copy is neither the canonical nor a past hub revision, so a re-vendor would silently discard whatever was written into it, which is the case the ledger exists to make someone look at first.

Settling this takes reading ESPHome-Config's copy against the hub's canonical and deciding which the difference is:

  • re-vendor, if the edit is an accident or a stale local patch, the disposition eight of its siblings already carry by being stale.
  • upstream-candidate, if the downstream text is an improvement, in which case the hub adopts it and the copy is re-vendored afterward.
  • accepted, if the section legitimately varies for an operational repository, which would also mean the unit's verbatim fidelity in spec/files.json is the wrong label for it and intent is the right one.

A verbatim unit's whole point is that a stale-but-present copy is invisible under intent and caught here, so leaving this untriaged costs the section the drift detection it was classified for.

Closing this takes a ledger edit plus a regeneration, per the report's own generated-file header, never a hand-edit of the report.

Activity

  1. ptr727 commented on Sep 14, 2026

    @ptr727
    OwnerAuthor

    Triaged from the ESPHome-Config side. The disposition is re-vendor.

    The difference was not a downstream improvement. ESPHome-Config's copy of "Workflow YAML Conventions" was an older revision of the bullets plus ### Running the Linters Locally (Known-Working Invocations) nested inside it as a subsection. That nested text is hub-authored, not repo-authored: every distinctive phrase in it is present in the hub's own top-level ## Running the Linters Locally section today, which is why the section matched no past hub revision. The extent differed, not the words.

    That nesting was deliberate at the time, and #1075 is why. Until that issue was settled, AGENTS.md and CODESTYLE.md linked the section as if it were carried while spec/files.json declared it nowhere, so a literal ##-to-## extraction dropped the content and downstream repos nested it to keep the anchors resolving. #1075 closed the other way, declaring it hub-only in spec/section-model.md, so the nesting had no reason to survive.

    Re-vendored in ptr727/ESPHome-Config#145, against hub 4dedf84, via scripts/carry.py apply-sections. The nested copy is gone and all five surviving references name the section as hub-only. carry.py's post-apply assertion confirms the preamble, the heading sequence, and every non-declared region came through byte-identical.

    Worth noting for whoever settles the ledger entry: the note I was working from predicted this would recur on every future resync, because a correct re-nest makes spec/audit.py report DRIFT verbatim: matches no past hub revision on that section forever. Settling #1075 as hub-only removes that, so the recurrence should stop rather than just move.

    Measured at audit run 2026-09-14T00:52:07Z | hub 4dedf84.

  2. ptr727 commented on Nov 2, 2026

    @ptr727
    OwnerAuthor

    Closed by decision triage (2026-11-02), at the maintainer's go-ahead: the re-vendor disposition was done in ESPHome-Config#145, and reports/divergences.md lists ESPHome-Config under the mechanical re-vendor group for this section. No ledger entry or hub fix remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions