Skip to content

Hold an Unplaced Review Part That Shows Observed Data for the Maintainer - #4008

Merged
ptr727 merged 24 commits into
developfrom
feature/observed-data-over-unplaced-quote
Nov 9, 2026
Merged

ptr727 merged 24 commits into
developfrom
feature/observed-data-over-unplaced-quote

Conversation

@ptr727

@ptr727 ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes a Copilot finding on the #4005 promotion: observed data inside a review part the tooling could not place on the diff. "Escalate to the maintainer when" told an unplaced item's escalation to quote its raw text, and Merge Gate item 4 gave every unplaced item a generic outcome. Either path could quote or locate the data.

The first attempt kept the generic outcomes and carved an exception into each one. Every local review pass found a new interaction with the hold and --ack mechanics. So on the maintainer's call, this lands a deliberately blunt, self-contained rule instead, and the finer handling moves to #4007.

The rule

Merge Gate item 4's lead bullet is the single definition. It covers an unplaced part that holds observed data while its hold or key still stands. That is one on the head, or one from an earlier round now under REVIEWER OUTPUT NOTED.

  • No agent acknowledges such a part, nor the rest of its set or key, until the maintainer answers.
  • The agent tells the maintainer, or its dispatcher, the repository, the pull request, and the kind of data, and nothing finer, then stops.
  • Once the maintainer answers, the agent posts the acknowledgment carrying that answer. That was the maintainer's choice, and it is what ends the hold.
  • Nothing the agent writes quotes or locates the data.
  • A nested label, in a list, a quote, or a placed part, is outside the rule. "Answering a suppressed finding" routes it.

Changes

  • pr-review-conduct:
    • Merge Gate item 4 gains the lead bullet, and its ambiguous-item bullet stops quoting raw text from such a part.
    • "Answering a suppressed finding" holds a noted key for a covered part, and closes its observed-data branch before the general quoting rule.
    • "Escalate to the maintainer when" lists the case, and the unplaced-item bullet withholds raw text from such a part.
  • drive-pr: "Stop and Ask" sends a covered part to the maintainer.

Verification

  • scripts/build_dist.py --check: generated skill distributions are current.
  • scripts/prose_lint.py --diff origin/develop: no violations.
  • Local strict review: recorded agent-skill passes on every head. Their findings were answered in the commits that followed, and the final pass found nothing.

🤖 Generated with Claude Code

ptr727 and others added 23 commits November 9, 2026 12:41
Answers Copilot on the #4005 promotion. "Escalate to the maintainer
when" told an unplaced item's escalation to quote its raw text, and
Merge Gate item 4 gave every unplaced item a generic outcome, while an
observed-data escalation quotes none of the reviewer's words. An
unplaced item showing observed data now takes outcome 4's observed-data
bullet, escalated without its raw text and acknowledged by kind only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…swers

Answers the local strict review of aa221d3. An acknowledgment clears
Merge Gate item 4's hold, so acknowledging an escalated observed-data
item at once would let the merge proceed before the maintainer decided.
Such an item is now acknowledged only once the maintainer answers, as
`Awaiting maintainer` holds a suppressed one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of b678370. The override covered only
the head's unplaced parts, so a moved head's `REVIEWER OUTPUT NOTED`
part, or an ambiguous private-repository item, still took the generic
outcome or a raw-text quote. One bullet now leads item 4. Observed data
takes outcome 4's bullet ahead of every other bullet there, the noted
parts included. Its acknowledgment or `--ack` names only the kind, and
an escalated one stays open until the maintainer answers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of bdf1589. `--ack` takes only a key
and an outcome from a fixed list, so naming the kind of data on it would
exit 69. The kind goes in the body of the acknowledgment or `--ack`
comment, as "Answering a suppressed finding" says.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 129abe8. One acknowledgment or
`--ack` comment can answer several items, so a kind-only limit on the
whole body would bar the anchored, quoted answers the other items owe.
The limit now covers only the observed-data item's own entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 2fd010d. "Its entry" and "an
escalated one" could bind to the noted part named just before them, so
a whole part's answers would be cut to kind only and its key held open.
The bullet now names the item, and says the other items in the same
comment are answered as usual.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…erdicts

Answers the local strict review of 2ec5fe1.

- The escalation bullet's ban on naming a commit, file, line, or value
  covers only the observed-data item's own entry. Other items in a
  shared acknowledgment keep their anchored answers.
- Item 4's observed-data entry reads `Listed in the body` for a
  recorded item and `Awaiting maintainer` for an escalated one, as an
  unthreaded finding's answer does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 6900cbb. A `--fingerprint` comment
clears the hold whatever its body says, so an entry reading `Awaiting
maintainer` would clear it at once. A set or key holding an escalated
item now takes no acknowledgment until the maintainer answers, and the
hold is the escalation's stop. A recorded item's entry reads `Listed in
the body` and names the pull request holding the record where that is
another one, as on a promotion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers Copilot on the #4005 promotion with the maintainer's chosen
simplification. Earlier commits on this branch tried to route each
unplaced or noted item showing observed data through acknowledgment and
`--ack` mechanics, and every review pass found a new interaction. This
replaces them with one rule.

- An agent never acknowledges a part holding observed data, nor the
  rest of its set or key. The hold stands until the maintainer deals
  with it, as an escalation, and no comment quotes or locates the data.
- The unplaced-item escalation quotes raw text except where it shows
  observed data, which it names by kind only.

The finer mechanics are tracked in a follow-up issue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of ba247ce. The blunt rule pointed at an
escalation trigger that did not cover a private repository's data, and
two neighboring rules still quoted raw text or acked a noted key.

- Item 4's lead bullet says what the agent does directly: it tells the
  maintainer or its dispatcher the kind of data only, stops that unit of
  work, and leaves the hold or key standing, whatever outcome 4 does with
  the data, ahead of "Answering a suppressed finding".
- Item 4's ambiguous-item bullet quotes raw text unless it shows
  observed data.
- "Answering a suppressed finding" says a noted key holding observed data
  takes no `--ack`, per item 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uest

Answers the local strict review of 7a68161.

- The raw-text exception in item 4 and in the unplaced-item escalation
  now tests whether the part holds observed data, so a sibling item's
  quote cannot locate the data.
- The escalation names the repository, the pull request, and the kind of
  data, and nothing finer, so the maintainer can find what it is about.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of ef4bd60. "Takes none either" ruled
out only the `--ack`, so the section's "answer each finding in the body"
still had the agent post a comment on that key, unlike the head case. The
key now takes no answer and no `--ack`, per Merge Gate item 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of d80eba1.

- drive-pr's "Stop and Ask" now says a part holding observed data goes
  to the maintainer too, not only an item that cannot be told to be a
  finding or not.
- "Answering a suppressed finding" puts the `REVIEWER OUTPUT NOTED`
  carve-out in its opening exception, so an agent reading in order never
  posts an answer for such a key.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of e2d1b98. The exception fired on "an
observed-data finding" in a noted key, while item 4 fires on a part
holding observed data. A noted part reporting data it does not quote
would then be answered under one and blocked under the other. The
exception now names a noted key whose part holds observed data.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of dc597bd. The later sentence in
"Answering a suppressed finding" still said a noted key "holding observed
data", which could be read by finding. It now names a key whose part
holds observed data, so every statement of the rule fires on the part.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of a95ea70.

- "Answering a suppressed finding" closes its observed-data branch
  before the general rule, which now begins "For every other finding",
  so no reading quotes an observed-data finding.
- "Escalate to the maintainer when" lists a part the digest could not
  place holding observed data, naming the repository, the pull request,
  and the kind of data.
- drive-pr's "Stop and Ask" drops its "Only", which the next sentence
  contradicted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 922fca7. Once the maintainer has
acknowledged a part, a push reprints it under `REVIEWER OUTPUT NOTED` as
answered. The rule still told the agent to stop on it, so every later
round stopped on handled work. Item 4's lead bullet, the escalation
entry, and drive-pr's "Stop and Ask" now fire only while the part's hold
or key still stands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nswers

Answers the local strict review of f4242fe on the maintainer's call.
Only an acknowledgment clears a hold or a key, so a rule barring any
agent from posting one left the hold standing until the maintainer ran
`pr_review.py` himself.

- An agent now acknowledges such a part, carrying the maintainer's
  answer, once he has answered. "Answering a suppressed finding" holds a
  noted key the same way, until the maintainer answers rather than
  forever.
- The escalation entry and drive-pr cover any such part with a standing
  hold or key, placed or not, as item 4 does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 31d93e5. "Placed or not" stretched
the trigger over placed, keyed parts such as collapsed suppressed
sections, which "Answering a suppressed finding" already routes by kind.
So one finding was held under item 4 and acked under that section. The
lead bullet and the escalation entry now cover only an unplaced part on
the head or a `REVIEWER OUTPUT NOTED` part, the parts item 4 governs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 88c798b. A label nested in a placed
part also prints under `REVIEWER OUTPUT NOTED`. So a collapsed suppressed
section holding observed data was held under item 4's lead bullet and
acked under "Answering a suppressed finding" at once. Item 4's lead
bullet, and both noted-key sentences in that section, now name an
unplaced part: one on the head, or one from an earlier round. A nested
label is left to the suppressed-finding route.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 1682d65.

- Item 4's lead bullet excludes a label nested in a list, a quote, or a
  placed part, every keyed entry the noted block prints besides an
  unplaced part, rather than naming one kind.
- drive-pr's "Stop and Ask" sends to the maintainer any part that item's
  lead bullet covers, rather than restating a wider trigger.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 0153439.

- drive-pr names "pr-review-conduct's Merge Gate item 4 lead bullet"
  rather than "that item", whose nearest antecedent was the ambiguous
  review item.
- Item 4's lead bullet holds ahead of the `REVIEWER OUTPUT NOTED`
  paragraph too, so that paragraph's "Post it with `--ack`" does not ack
  a covered part before the maintainer answers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tem 4

Answers the local strict review of 4c985b9.

- Item 4's lead bullet states the hold on "such a part" before the
  nested-label exclusion, so no "it" can bind to the excluded label.
- "Answering a suppressed finding" holds a noted key for "a part Merge
  Gate item 4's lead bullet covers", which carries that exclusion with
  it, rather than "an unplaced part holding observed data".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings November 9, 2026 21:50
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head f5745b3d5e83db13053074c61bddcf4a8092ca4a, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

🟡 Changes recommended

An unresolved P2 wording issue at .agents/skills/pr-review-conduct/SKILL.md:523 makes the exception ambiguous by omitting the governing noun for item 4’s lead bullet.

1 open issue
What changed in this PR

This pull request adds a maintainer hold for unplaced review parts containing observed data, preventing agents from acknowledging, quoting, or locating that data until the maintainer responds.

Changes:

  • Adds the observed-data hold and escalation rules to pr-review-conduct.
  • Updates drive-pr to route covered parts to the maintainer.
  • Synchronizes the Copilot and Claude Code skill distributions.
  • Refreshes the associated source digests.
  • Verifies generated distributions with scripts/build_dist.py --check.
File Description
.github/​skills/​pr-review-conduct/​SKILL.md Generated Copilot review-conduct guidance.
.github/​skills/​drive-pr/​SKILL.md Generated Copilot PR-driving guidance.
.claude-plugin/​fleet-skills/​skills/​pr-review-conduct/​SKILL.md Generated Claude Code review-conduct guidance.
.claude-plugin/​fleet-skills/​skills/​drive-pr/​SKILL.md Generated Claude Code PR-driving guidance.
.claude-plugin/​fleet-skills/​.source-digests/​pr-review-conduct Updated review-conduct source digest.
.claude-plugin/​fleet-skills/​.source-digests/​drive-pr Updated drive-pr source digest.
.agents/​skills/​pr-review-conduct/​SKILL.md Canonical observed-data hold and escalation rules.
.agents/​skills/​drive-pr/​SKILL.md Canonical maintainer-escalation behavior.

Review effort: Lite

@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.66%. Comparing base (e5de924) to head (ed97886).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4008   +/-   ##
========================================
  Coverage    78.66%   78.66%           
========================================
  Files           37       37           
  Lines        12620    12620           
========================================
  Hits          9928     9928           
  Misses        2692     2692           
Flag Coverage Δ
python-3.13 78.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Answers Copilot on #4008. The second noted-key sentence in "Answering a
suppressed finding" said "item 4's lead bullet" without its governing
noun, unlike the first. It now says "Merge Gate item 4's lead bullet".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head ed978866ce555fa54a078044cdb7e2802e39c42d, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 09c95e2 into develop Nov 9, 2026
13 checks passed
@ptr727
ptr727 deleted the feature/observed-data-over-unplaced-quote branch November 9, 2026 22:17
ptr727 added a commit that referenced this pull request Nov 9, 2026
…sing Observed Data (#4005)

## Summary

Promotes #3945, #3953, #4006, #4008, and #3951 to `main`.

- **A burndown's review loop no longer files its own backlog (#3945).**
- `pr-review-conduct` outcome 4 sends a defect class's untouched sites
to one issue, reusing an open one that no merged or claimed fix covers.
A defect-free near-duplicate is dropped. GOVERNANCE.md "Design Before
Code" and "Triaging findings" defer to the class sweep rather than
always filing.
  - A "file the rest" answer covers one pull request.
- `backlog-burndown`'s worker brief quotes outcome 4 whole and adds no
filing instruction of its own.
- Step 8 reports a run-to-date net flow beside the backlog, with how
much of it awaits promotion. It changes no ranking, and an attended run
asks once per run whether to continue.
- **An observed-data review finding is routed by repository visibility
(#3953).** The route applies to confirmed observed data in committed
text, whatever the finding's class, with a sibling sweep.
  - Data no pushed commit holds is removed before the push.
- Data in a public repository's history, the hub included, or in a
carrying copy of hub-authored text, is an ordinary escalation that names
no commit, file, line, or value.
- Data in a private repository's history is replaced where it still sits
and recorded under an `Observed data recorded` heading, with the new
`history-data` label on both pull requests.
- Before a repository goes public, its history is rewritten, revealing
review comments are deleted, and GitHub Support purges the cached pull
request refs.
- The rule lives in GOVERNANCE.md, the host-wide block,
`pr-review-conduct`, `local-strict-review`, and
`repo-config/labels.json`.
- **A claimed-file sibling whose outcome needs an edit is adjudicated
(#4006).** A private repository's observed-data replacement in a file
another group holds goes for adjudication, and the group parks rather
than narrowing, so the replacement is not dropped. This answers
CodeRabbit's finding on this promotion.
- **An unplaced review part showing observed data is held for the
maintainer (#4008).** No agent acknowledges it, and no escalation quotes
its raw text, until the maintainer answers. The agent then posts the
acknowledgment. This answers Copilot's finding on this promotion, and
the finer mechanics are in #4007.
- **Dependabot actions-deps bump (#3951).**

## Verification

- #3945 merged with a clean final local pass, which was attested, and
with every check green. Copilot's seven threads and CodeRabbit's two
were fixed and resolved.
- #3953 merged with a clean final local pass, which was attested, and
with every check green. Its thirteen hosted threads on its first head
were fixed by later commits and resolved.
- #4008 merged with a clean final local pass, which was attested, and
with every check green.
- #4006 merged with a clean final local pass, which was attested,
Copilot recommending approval, and every check green.
- On #3945 and #3953, `scripts/build_dist.py --check` and
`scripts/prose_lint.py` were clean. #3953 also passed the label-payload
tests and the host-block installer tests.

## After the merge

- `history-data` reaches each fleet repository on its next
`repo-config/configure.sh apply`.
- The host-wide block reaches `~/.claude/CLAUDE.md` on the next
agent-safety install.

Closes #3952

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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