Repository navigation
Route an Observed-Data Finding by Repository Visibility - #3953
Conversation
Closes #3952 on promotion. A review finding that committed text holds observed data had no outcome of its own, so it was listed and forgotten or rewritten without the maintainer hearing of it. The maintainer's scheme routes it by where the data sits and who can read it: - Not yet committed: replace it with constructed data before the commit. - In a private repository's history: replace it in the current text, note location and kind in the pull request, and label it `history-data`. - In a public repository's history: stop and alert the maintainer, naming only the repository and the kind of data. - In text the hub authors: file a hub issue, and the carrying repository moves on. Before a repository becomes public, its `history-data` pull requests are listed so the maintainer can decide on a history rewrite or a delete-and-recreate. GOVERNANCE.md, the host-wide block, outcome 4, Merge Gate item 3, and the fleet label set carry it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 36d42ab. - The cases are ordered, hub-authored text first, so carried hub text is never edited locally inside a byte-locked section. - The hub is public, so its `decision` issue withholds file, line, and value. The carrying repository still moves on. - The line between "fix quietly" and "already exposed" is the push. Data in unpushed commits is removed from those commits. - The outcome 4 bullet takes a finding of either class, sends a promotion pull request's replacement through a feature pull request, and parks an away run behind an ordinary `decision` issue that names no location. - The carrying-repository tracker route defers to it. - GOVERNANCE.md and the host block keep the general rule that landed text is reported rather than quietly rewritten. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the second local strict review. - The outcome list opens by sending an observed-data finding to its bullet whatever its class, so an `introduced` one is not fixed forward past the routing. - Unpushed commits come first in the order. The hub-text case is a carrying repository's, so the hub's own pushed data is the public case. - A public-case alert names no file or pull request. An away run stops the group and names it only in its final report. - A repository without the `history-data` label keeps the body note as the record. The host block hands the hub issue to the maintainer where the session's scope does not allow the write. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…Going Public Answers the third local strict review, listed on the pull request, with the maintainer's two calls: - Observed data in hub-authored text is alerted privately, like any public repository's, with no hub issue. The carrying repository moves on. A public repository's work stops. - Before a repository goes public, its history is rewritten and the maintainer asks GitHub Support to purge the cached pull request refs. A rewrite alone leaves each pull request's commits readable. Also: - The unpushed case is keyed on whether any pushed commit holds the data. - backlog-burndown parks such a group with no public pointer. - The three surfaces agree on naming the repository in the alert and on telling the maintainer when the label is missing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The review identifies unresolved routing, fallback-record, and public-exposure contradictions that could suppress required history records or disclose sensitive findings across the governing procedures.
13 open issues
Prioritize pushed-history routing over unpushed copies · New Avoid public issues for hub findings · New Specify the hub-fallback heading and required fields · New Add a fallback record when the history-data label is unavailable · New Name the repository in public-history alerts · New Exclude public-history findings from generic parking · New Avoid public issues for hub findings · New Define a maintainer handoff for hub findings · New Route pushed occurrences independently of unpushed copies · New Review pull request records before publication · New Prioritize pushed-history routing in the host rule · New Avoid public issues for hub findings · New Add a body-note fallback when the label is unavailable · New
What changed in this PR
This pull request routes observed-data findings according to commit state and repository visibility, adds the history-data label, and synchronizes the related governance and agent-skill guidance.
Changes:
- Defines handling for unpushed data, private history, hub-authored content, and public repository history.
- Adds and documents the
history-datarepository label. - Updates governance, host safety guidance, review-conduct procedures, drive workflows, generated distributions, and source digests.
| File | Description |
|---|---|
repo-config/README.md |
Documents the history-data label and its pre-publication purpose. |
repo-config/labels.json |
Declares the fleet-wide history-data label. |
host-setup/agent-safety/claude/claude-md-safety.md |
Mirrors observed-data routing rules for host-wide sessions. |
GOVERNANCE.md |
Defines observed-data routing and pre-publication history handling. |
.github/skills/pr-review-conduct/SKILL.md |
Packages updated review-conduct guidance for GitHub Copilot. |
.github/skills/drive-pr/SKILL.md |
Packages updated drive guidance for GitHub Copilot. |
.claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md |
Packages updated review-conduct guidance for Claude Code. |
.claude-plugin/fleet-skills/skills/drive-pr/SKILL.md |
Packages updated drive guidance for Claude Code. |
.claude-plugin/fleet-skills/.source-digests/pr-review-conduct |
Updates the generated review-conduct source digest. |
.claude-plugin/fleet-skills/.source-digests/drive-pr |
Updates the generated drive source digest. |
.agents/skills/pr-review-conduct/SKILL.md |
Defines the authoritative observed-data review procedure. |
.agents/skills/drive-pr/SKILL.md |
Includes the authoritative review procedure in the PR-driving workflow. |
This pull request is too complex or risky for automated approval.
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3953 +/- ##
===========================================
- Coverage 81.60% 78.66% -2.95%
===========================================
Files 26 37 +11
Lines 9070 12620 +3550
===========================================
+ Hits 7402 9928 +2526
- Misses 1668 2692 +1024
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Answers the fourth local strict review on the maintainer's call to stop special-casing. Observed data in a public repository's pushed history or in hub-authored text is now an item of "Escalate to the maintainer when", so every procedure that already reads that list stops the work, keeps the thread open, and tells the maintainer. That covers the review loop, unthreaded findings, local-strict-review's budget, and burndown raising, parking, ranking, and reporting. The one public trace allowed is the neutral sentence "a history question about this repository awaits the maintainer", quoting no anchor, file, pull request, or value. backlog-burndown's park names no option or pull request for it and skips commenting it onto pull requests. A spent edit budget no longer lets unpushed observed data reach a push. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of daba7be. Allowing only one neutral sentence in every record broke the ordinary park, decision-triage, and promotion-hold steps that the escalation now runs through. The review thread already sits on the pull request, so naming that pull request adds no exposure. - The rule is narrowed: no record names the commit, file, line, or value, or quotes the reviewer's words. backlog-burndown's carve-out is removed, so a park names its decision issue and holds a promotion as any other does. - local-strict-review's budget stop no longer pushes unpushed observed data. - A thread-less observed-data finding is answered by kind only, with `Fixed in <SHA>` for a replacement and `Awaiting maintainer` for an escalation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ublic Answers the local strict review of ebb1182, listed on the pull request. - The go-public listing also finds pull requests carrying an `Observed data replaced` heading, since a repository without the label keeps only that. - Review comments showing the data are deleted before the toggle, since neither a rewrite nor a ref purge removes them. - The pull request whose review raised the finding takes the label too, so a promotion's thread is listed. - The host block bans the same names and quotes GOVERNANCE.md and the escalation item do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of e702fb0. GOVERNANCE.md, the host block, and outcome 4 now all record a private replacement under an `Observed data replaced` heading that names the location, the kind, and any other pull request whose review raised it. Both pull requests carry `history-data` where the label exists. The go-public listing takes each pull request a heading names, so a promotion's review comment is found even in a repository without the label. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of e9bdc3c, listed on the pull request. - The README "Labels" entry and the label description put `history-data` on the raising pull request as well as the replacing one, and list heading-named pull requests every time. - Merge Gate item 3 sends observed data on an intent unit, as well as a verbatim one, to outcome 4's observed-data bullet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of ed63eab. - GOVERNANCE.md and the host block limit the route to committed text, as outcome 4 does. Observed data in a posted comment stays under the general rule that landed text is reported rather than quietly rewritten. - A submitted review body cannot be deleted, so the go-public GitHub Support request names any that shows the data. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of ea8ad04. - The outcome-list preamble applies once the data is confirmed as observed, so a constructed fixture value is disproved under outcome 2 rather than stalling the pull request as an escalation. - The go-public step's "all three" becomes "all of these", since four actions precede the toggle. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of a69474e. - In a private repository, data still in pushed history but no longer in the current text replaces nothing, and its `Observed data replaced` record and label are still owed, so the go-public listing finds it. - The README no longer claims the listing holds every exposure. It holds the ones this record caught, and the maintainer's notes hold the escalated or reported ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 21d6dfc. Data already gone from the current text replaces nothing, so wording keyed on a replacement left that case without a label, a promotion record, or an answer. - The heading becomes `Observed data recorded`, and the label goes on the pull request holding the record and the one whose review raised it, on every surface and in the label description. - A thread-less recorded finding is answered `Listed in the body`. - local-strict-review's spent budget lists an escalated observed-data finding by kind only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 1767a72. On a promotion pull request the record sits in a separate feature pull request, so a thread-less `Listed in the body` answer names that pull request. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 61e0f7e. A feature pull request with no change cannot be opened, so on a promotion pull request only a replacement goes through a feature pull request. A record with nothing to replace goes in the promotion's own body. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 19f128c. A spent edit budget could leave a private repository's replacement unmade while its record was written, so the data stayed in the current text with a record implying otherwise. The replacement is now made whatever the budget, beside the unpushed-data removal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of ae8b1d5. The observed-data route runs ahead of outcome 1, so it skipped outcome 1's class sweep and left siblings in the same text unreplaced, unrecorded, or unreported. It now sweeps as outcome 1 does and routes each sibling by its own case, on every surface. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answers the local strict review of 2a6bf25. GOVERNANCE.md and the host block now say the sibling sweep is owed and reaches as far as any real finding's class sweep, files the change does not touch included, as pr-review-conduct already requires. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
## Summary Fixes a CodeRabbit finding on the #4005 promotion. `backlog-burndown`'s worker brief said a `pre-existing` sibling in a file another group holds "needs no edit, so it needs none of the adjudication". That stopped being true with #3953. A private repository's observed-data replacement is an edit that `pr-review-conduct` outcome 4 requires even in a file the change does not otherwise touch. So the worker either left the data in place or edited another group's file. ## Changes - **"Dispatching a Worker":** where outcome 4 requires an edit in another group's file, the worker reports it for adjudication under "Grouping and File Claims". - **"Grouping and File Claims":** a loser that needs the file for an edit outcome 4 owes parks rather than narrowing, beside the existing doc and manifest disagreement case. Narrowing would drop the replacement outcome 4 owes. ## Verification - `scripts/build_dist.py --check`: generated skill distributions are current. - `scripts/prose_lint.py --diff origin/develop`: no violations. - Local strict review: three recorded `agent-skill` passes. The first two raised the narrowing gap and where the rule had to live, both answered in the commits that followed. The final pass found nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…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)

Summary
A review finding that committed text holds observed data had no outcome of its own. It was either listed in a PR body and forgotten, or rewritten without the maintainer hearing of it. A rewrite of the current text still leaves the data in git history. Whether that history needs a rewrite is the maintainer's call, and it matters most when a repository is or becomes public.
This implements the maintainer's scheme from #3952.
What it covers. The route applies to confirmed observed data, whatever the finding's class. A value the repository constructed is disproved under outcome 2 instead. A sweep for the finding's siblings is owed at a class sweep's reach.
The cases. For the finding and each sibling, the first case that fits decides:
Observed data recordedheading naming location, kind, and any other PR whose review raised it, never the value. Both PRs carry the newhistory-datalabel, and the maintainer is told if the label is missing.Recording details.
Listed in the bodyfor a private one, naming the PR holding the record, orAwaiting maintainerfor an escalation.Going public. Before a repository becomes public, the maintainer:
history-dataor the heading, plus each PR a heading names;A rewrite alone leaves each PR's commits readable.
Landed text in general, such as a posted comment, is still reported to the maintainer rather than quietly rewritten.
Changes
host-setup/agent-safety/claude/claude-md-safety.md: the same rule in the host-wide block, condensed. It reaches~/.claude/CLAUDE.mdon the next agent-safety install.repo-config/labels.jsonand README "Labels": thehistory-datalabel. It reaches each repository on its nextrepo-config/configure.sh apply.Closes on promotion: #3952
Verification
scripts/build_dist.py --check: generated skill distributions are current.scripts/prose_lint.py --diff origin/develop: no violations.tests/test_configure_project.py(34 tests, including the label payload) andtests/test_prose_lint.py: pass.host-setup/agent-safety/claude/test_install.py: 183 tests pass.agent-skillpasses. Midway, the maintainer chose to route the public and hub-text case through the existing escalation path rather than special-case it, which ended a run of integration gaps. The final pass found nothing.🤖 Generated with Claude Code