Skip to content

Decide: Do the Promoted Human-Comment and Out-of-Flow-Main Rules Stop at the Decided Wording? #4470

Done

Description

@ptr727

Decision needed (away-mode backlog burndown, 2026-11-25, group E2)

Question: Do the two rules promoted from #1116 (decided on #3749, option 1) stop at the decided wording, or does either need mechanical detail on how to apply it?

The rules as they stand on #4468's head:

  • comment-and-doc-style "Comments": leave a human-authored comment exactly as written. Never reword, trim, reflow, or clean one, even where another rule would shape it differently. A comment the agent's own change makes false, one whose code the change deletes included, is the agent's to correct or remove.
  • branching-and-release-model "Branching (release model)": a change that lands on main outside the feature -> develop -> main flow reaches develop by a feature pull request of its own. The pre-work check is git diff origin/develop origin/main, whose + lines are candidates, and which ones to mirror is judgment. git log origin/develop..origin/main is no substitute.

Five local review passes on #4468 each raised new edge cases. Each time the review loop added a qualifier, the qualifier drew the next finding: an add-only-hunk filter, a git log --no-merges filter, a three-dot-diff filter, a bot-twin exception, and an unknown-authorship default. The orchestrator ruled them out and narrowed both rules back to the decided wording. The pass on the narrowed text still raises these three:

  1. "Human-authored" has no test. Agent commits carry the maintainer's identity, with only a Co-Authored-By trailer, so git blame cannot separate the two.
  2. "Exactly as written" and "reflow" do not say whether a comment may be re-indented with its code, for example when a change wraps a block in a new if.
  3. The Rule B text names develop's own unpromoted edits as one source of false candidates. A bot bump merged on main before its develop twin, or per-branch codegen output, is another one, and the text does not name it.

Options, recommended first:

  1. Ship the decided wording, and name every false-candidate source or none (recommended). Edge cases are left to the agent's judgment, which is what the decision chose. For finding 3, delete the explanatory clause so the text implies nothing false: "Its + lines are candidates, and which ones to mirror is judgment." Findings 1 and 2 are declined as judgment the rule leaves to the reader. Effect on Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468: one small edit and a fresh pass, then the drive continues to a develop merge.
  2. Add the mechanical detail. State an authorship test or default, an indentation allowance, and a classifier for the diff's candidates. Every such qualifier tried so far drew a new finding, so expect more rounds. Effect on Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468: it stays open for further rounds.
  3. Promote Rule A only, and leave Rule B's check to each repository's own runbook, as ESPHome-NonRoot and NxWitness hold it today. Effect on Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468: the branching-and-release-model edit is reverted, and the drive continues with the comment rule alone.

Blocks: #4468 (group issue #1116).

Activity

  1. added
    decision
    on Nov 26, 2026
  2. ptr727 commented on Nov 26, 2026

    @ptr727
    OwnerAuthor

    Triage question, 2026-11-26.

    PR #4468 promotes two #1116 candidates you chose on #3749 (option 1). Candidate 9 goes into comment-and-doc-style "Comments": leave a human-authored comment exactly as written, except a comment the agent's own change makes false. Candidate 4 goes into branching-and-release-model: a change that lands on main outside the normal flow reaches develop by its own feature pull request, found with git diff origin/develop origin/main. Five local passes each raised new edge cases, and every qualifier added for one drew the next finding. The orchestrator narrowed both rules back to the decided wording. The pass on that text still raises three findings. The question is whether the rules stop at the decided wording or need mechanical detail, which only you can say.

    1. "Human-authored" has no test. Agent commits carry your identity with only a Co-Authored-By trailer, so git blame cannot separate the two.
    2. "Exactly as written" and "reflow" do not say whether a comment may be re-indented with its code, for example when a block is wrapped in a new if.
    3. Rule B names develop's own unpromoted edits as a source of false candidates and names no other. Per-branch codegen output is another. A Dependabot security bump is not one: WORKFLOW.md D8.2 sends security pull requests to the default branch only, so that bump is a real candidate to mirror. Copilot raised the same point on an earlier head.

    Options:

    1. Ship the decided wording, and name every false-candidate source or none (recommended). For finding 3, delete the explanatory clause so the text implies no closed list: "Its + lines are candidates, and which ones to mirror is judgment." Findings 1 and 2 are declined as judgment the rule leaves to the reader. comment-and-doc-style "Character set" already protects "Unicode a developer deliberately typed" on main with no authorship test, so the fleet already works this way. For Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468, one small edit and a fresh pass, then the drive continues to a develop merge. The drive still owes outcomes on its 3 open Copilot threads. One asks how an allowed correction meets the comment-added gate, and the existing comments label rule in comment-and-doc-style answers it.
    2. Add the mechanical detail. State an authorship test or default, an indentation allowance, and a classifier for the diff's candidates. Every such qualifier tried so far drew a new finding, so expect more rounds. For Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468, it stays open for further rounds.
    3. Promote Rule A only. Leave Rule B's check to each repository's own runbook, as ESPHome-NonRoot and NxWitness hold it today. This reverses half of your Decide: Which of the NxWitness promotion candidates become fleet rules: 9, "leave human-authored comments exactly as written" (comment-and-doc-style), 10, "sweep stale review threads after the final push" (pr? #3749 answer. For Leave Human-Authored Comments as Written and Mirror an Out-of-Flow Main Change to Develop #4468, the branching-and-release-model edit is reverted, and the drive continues with the comment rule alone.

    Evidence: #3749 (answered 2026-11-01, option 1), #1116 candidates 9 and 4, PR #4468 body, its parking comment and its Copilot threads, WORKFLOW.md D8.2 on main, comment-and-doc-style "Character set" and the comment-added paragraph on main.

  3. ptr727 commented on Nov 26, 2026

    @ptr727
    OwnerAuthor

    Maintainer's answer, 2026-11-26 triage: option 1. Ship the decided wording and delete the false-candidate clause, so the text does not imply a closed list. No further mechanical detail. #4468 can resume.

  4. removed
    decision
    on Nov 26, 2026
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