Skip to content

Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs - #4367

Merged
ptr727 merged 6 commits into
developfrom
feature/promotion-4356-group-a
Nov 23, 2026
Merged

ptr727 merged 6 commits into
developfrom
feature/promotion-4356-group-a

Conversation

@ptr727

@ptr727 ptr727 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Fixes six review findings raised on promotion PR #4356.

  • configure.sh: an empty successful interaction-limits read is treated as {} (no limit), so apply no longer stops on an unrestricted public repo. An offline test covers the empty body.
  • RESYNC.md step 5, STANDUP.md step 4 and the resync-a-repo skill restate the README's pre-limit checks. This is documentation only, and the mechanical gate is tracked in Gate configure.sh apply's Interaction Limit on a Recorded Bot Verification #4364.
  • RESYNC.md step 1: commit the worktree change a guard handling leaves before running the carry.
  • WORKFLOW.md lines 54 and 305, the branch.operational.lintci spec assertion and the branching-and-release-model skill: D1.6 applies wherever the repo has tests, and the validate hook is a unit-test source.
  • local-strict-review: the record command's placeholders are quoted.

A stale comment in scripts/carry.py is aligned with the commit-before-carry step. Generated skill trees are rebuilt with build_dist.py.

Pre-existing findings, not filed: none.

The PR adds comment lines in configure.sh, hence the comments label.

🤖 Generated with Claude Code

ptr727 and others added 3 commits November 23, 2026 07:45
…ngs' Docs

Treat an empty successful interaction-limits read as no limit so apply no longer stops on an unrestricted public repo, with an offline test. State the verify-first precondition in RESYNC.md and STANDUP.md, commit a preserved addition before the carry, align the operational test wording with D1.6, name the validate hook as a unit-test source, and quote the record command placeholders.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…date-Hook Test Wording

Scope the first limit apply to one repository with both README checks, reword the preserved-addition commit step so it fits the guard, and carry the validate-hook test source through WORKFLOW.md.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… the Operational Lint Spec

State the two checks without a new procedure, mirror the validate-hook test source in the project-types spec, and point resync-a-repo at the RESYNC.md step.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Nov 23, 2026
Copilot AI lite review requested due to automatic review settings November 23, 2026 15:56
@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 05e7e468aacbca53f78db0d0e173826408f35948, the content this pull request carries at that commit against develop, and it recorded 1 finding.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e40e05b and abed7f0.

Files ignored due to path filters: 12

  • .claude-plugin/fleet-skills/.source-digests/branching-and-release-model is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/local-strict-review is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/resync-a-repo is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/branching-and-release-model/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/resync-a-repo/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/branching-and-release-model/SKILL.md is excluded by !.github/skills/**
  • .github/skills/local-strict-review/SKILL.md is excluded by !.github/skills/**
  • .github/skills/resync-a-repo/SKILL.md is excluded by !.github/skills/**
  • .github/skills/workflow-ci-contract/references/architecture.md is excluded by !.github/skills/**
Files selected for processing: 11

  • .agents/skills/branching-and-release-model/SKILL.md
  • .agents/skills/local-strict-review/SKILL.md
  • .agents/skills/resync-a-repo/SKILL.md
  • .agents/skills/workflow-ci-contract/references/architecture.md
  • RESYNC.md
  • STANDUP.md
  • WORKFLOW.md
  • repo-config/configure.sh
  • scripts/carry.py
  • spec/project-types.json
  • tests/test_configure_interaction.py
  • 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

Approval is blocked by an unresolved moderate procedure-order issue that instructs operators to run apply before its prerequisite checks, along with several documentation consistency nits.

5 open issues
What changed in this PR

This pull request treats empty successful interaction-limit responses as unrestricted repositories and synchronizes related workflow, resync, promotion, and review guidance across canonical and generated skill content.

Changes:

  • Adds offline coverage and converts empty interaction-limit bodies to {}.
  • Documents public-interaction checks, resync ordering, validation-hook test applicability, and quoted review-command placeholders.
  • Regenerates distributed skill files and source digests.
  • Final review comments address prerequisite ordering, incidental check counts, a resync worktree contradiction, and source-skill formatting.
File Description
WORKFLOW.md Updates operational workflow guidance to clarify test applicability and validation-hook coverage.
tests/​test_configure_interaction.py Adds offline coverage for empty interaction-limit responses.
STANDUP.md Adds guidance for public-interaction checks during repository setup.
spec/​project-types.json Aligns the operational lint and validation contract with tests run by validation hooks.
RESYNC.md Updates resync ordering, public-interaction checks, and worktree handling guidance.
repo-config/​configure.sh Treats an empty successful interaction-limits response as an unrestricted {} result.
.github/​skills/​workflow-ci-contract/​references/​architecture.md Regenerates workflow contract architecture guidance.
.github/​skills/​resync-a-repo/​SKILL.md Regenerates the resync skill with updated public-interaction and sequencing guidance.
.github/​skills/​local-strict-review/​SKILL.md Regenerates local review guidance with quoted record-command placeholders.
.github/​skills/​branching-and-release-model/​SKILL.md Regenerates branching and promotion guidance with updated operational test applicability.
.claude-plugin/​fleet-skills/​skills/​workflow-ci-contract/​references/​architecture.md Updates the Claude-distributed workflow contract architecture guidance.
.claude-plugin/​fleet-skills/​skills/​resync-a-repo/​SKILL.md Updates the Claude-distributed resync skill guidance.
.claude-plugin/​fleet-skills/​skills/​local-strict-review/​SKILL.md Updates the Claude-distributed local review command guidance.
.claude-plugin/​fleet-skills/​skills/​branching-and-release-model/​SKILL.md Updates the Claude-distributed branching and promotion guidance.
.claude-plugin/​fleet-skills/​.source-digests/​workflow-ci-contract Updates the generated workflow contract source digest.
.claude-plugin/​fleet-skills/​.source-digests/​resync-a-repo Updates the generated resync skill source digest.
.claude-plugin/​fleet-skills/​.source-digests/​local-strict-review Updates the generated local review skill source digest.
.claude-plugin/​fleet-skills/​.source-digests/​branching-and-release-model Updates the generated branching and promotion skill source digest.
.agents/​skills/​workflow-ci-contract/​references/​architecture.md Updates the canonical workflow contract architecture guidance.
.agents/​skills/​resync-a-repo/​SKILL.md Updates the canonical resync skill guidance.
.agents/​skills/​local-strict-review/​SKILL.md Updates the canonical local review command guidance.
.agents/​skills/​branching-and-release-model/​SKILL.md Updates the canonical branching and promotion guidance.

Review effort: Lite

Comment thread STANDUP.md Resolved
Comment thread .agents/skills/resync-a-repo/SKILL.md Resolved
Comment thread RESYNC.md Resolved
Comment thread RESYNC.md Resolved
Comment thread STANDUP.md Resolved
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.32%. Comparing base (e40e05b) to head (abed7f0).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4367   +/-   ##
========================================
  Coverage    79.32%   79.32%           
========================================
  Files           45       45           
  Lines        15997    15997           
========================================
  Hits         12689    12689           
  Misses        3308     3308           
Flag Coverage Δ
python-3.13 79.32% <ø> (ø)

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.

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

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

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 5f0ed05 into develop Nov 23, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/promotion-4356-group-a branch November 23, 2026 17:06
ptr727 added a commit that referenced this pull request Nov 23, 2026
…afe Commands, and Workflow Input Check (#4368)

Promotes the eleven pull requests that landed on develop since the last
promotion.

- #4348: Say where a reviewer's clean pass leaves its record.
`pr-review-conduct` "Silence is not evidence" now states that a clean
pass can leave an empty-bodied review or, for CodeRabbit, only a summary
comment line.
- #4351: Count a CodeRabbit clean pass its summary alone records.
`side_answered` and `side_rounds` read the summary comment, so `wait`
stops re-requesting a head CodeRabbit already passed.
- #4346: Detect and report a one-off rather than correct it by code, and
let a rollback carry a `Reopens on promotion:` line (operational
repositories). `add-host-tool` now reports a shadowing copy instead of
removing it.
- #4349: Declare a `publicInteraction` policy per repository in the
registry and apply and check it from `repo-config/configure.sh` (GitHub
interaction limit, Discussions off by default).
- #4352: The PowerShell install stops on a refusal, a tool with no
Microsoft feed fails alone while the run continues, and an unmanaged
`gh` or `op` in install mode says `--upgrade` moves it.
- #4353: Copy-and-run commands in Markdown are paste-safe, with a new
"Copy-and-Run Commands" rule, a generated include in
`comment-and-doc-style`, and a default `paste-safe` prose gate rule.
- #4350: Register every Claude Code hook the host-safety kit installs in
exec form on all platforms, and rewrite shell-form registrations. This
edits the agent's own guard.
- #4354: A new repo-gate check, `workflow-inputs`, compares each
reusable-workflow call's `with:` keys against the callee at the caller's
pin.
- #4357: Quote the remaining paste-safe commands in the repo-config docs
and update the stale PowerShell feed comment, the fix for the
promotion's own lint failure and Copilot thread.
- #4358: Keep the tilde outside the quotes in the base-clone
placeholders and keep the probe executable and arguments as separate
tokens, the fix for the five Copilot findings on this promotion, plus
the AUDIT.md interaction-check coverage and the repo-gate docstring
wrap.
- #4359: Keep the tilde outside the quotes in the remaining base-clone
placeholders, the sibling sweep of the same defect.

## Owed by the maintainer before rollout

From #4349:

- Run the live `repo-config/configure.sh apply` on each repository.
Until it runs, `configure.sh check` and the audit flag the public
repositories.
- Confirm that Copilot, CodeRabbit, Qodo and Dependabot still work under
the interaction limit.
- Update other repositories' README links to Discussions, since
Discussions go off by default.

From #4353: it changed carried text, so a fleet resync is owed.

## Local-pass findings

Class and disposition for the four findings the recorded local pass
raised on the earlier head:

- `host-setup/linux/install-tools.sh` removal code
(`powershell_remove_non_apt`, `remove_unowned_command`,
`op_remove_download`, docker and shadow removals) against the one-off
rule, class `introduced`: tracked by #4347, not this pull request.
- `Reopens on promotion:` exists for operational repositories only,
class `introduced`: declined under the maintainer's answer on #4175,
which places the rule in "Operational Repositories".
- `AUDIT.md` does not list the interaction-limit check, class
`introduced`: fixed in #4358.
- `repo_gate.py` `check_workflow_inputs` docstring lines over the line
length, class `introduced`: fixed in #4358.

Fixes #4170
Fixes #4175
Fixes #4329
Fixes #4172
Fixes #4124
Fixes #2596
Fixes #4040
Fixes #2822
Fixes #3896

Supersedes #4356 because of the `.github/workflows/validate-task.yml`
Dependabot conflict (the `astral-sh/setup-uv` pin bump on main beside
the `if:` condition #4354 changed on develop), resolved from develop's
side as a strict superset of main's. The merged tree equals develop's.
This also carries #4365, #4366 and #4367, the fixes for findings raised
on #4356; none of them closes an issue.

## Findings on this promotion's head

Local pass over the whole `main` diff (four findings) and the Copilot
round (two threads):

- `configure.sh` `publicInteraction` lookup matches the registry name
exactly while apply's guard matches case-insensitively, class
`introduced` (#4349): declined with evidence. A name differing only in
letter case makes `spec/resolve_description.py` exit 1 at `configure.sh`
line 331, before `cmd_apply` or any `gh api --method` call, so no limit
is written on the wrong value. Checked by running the lookup on sample
JSON, and no write is reachable.
- The ungrammatical `hook the host keeps of its own` phrase (Copilot
thread), class `introduced` (#4350): fixed in #4369 into develop.
- Copilot's README Discussions thread: declined with evidence, the
canonical-link list names a link when present and does not require it,
and #4349 turned Discussions off.
- `Reopens on promotion:` scoped to operational repositories, class
`introduced`: declined under the maintainer's answer on #4175, which
places the rule in "Operational Repositories".
- `add-host-tool` detect-and-report against the installer's removal
code, class `introduced` (#4352 and #4346): tracked by #4347, not this
pull request.
- The interaction-limit precondition is not enforced by `apply`: tracked
by #4364.

🤖 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

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants