Visitar URL original
Correct the Host Setup Tree Lifetime Text for the Agent Setup by ptr727 · Pull Request #4090 · ptr727/ProjectTemplate · GitHub
Skip to content

Correct the Host Setup Tree Lifetime Text for the Agent Setup - #4090

Merged
ptr727 merged 2 commits into
developfrom
feature/readme-dry-run-count
Nov 12, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/readme-dry-run-count

Conversation

@ptr727

@ptr727 ptr727 commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

Answers a finding from Copilot's "previously missed" section on promotion PR #4088: host-setup/README.md:126 still said "a dry run of these three" after --agent-setup became a fourth tree-keeping action.

  • The sentence now reads "a dry run of any of these", which no count can outdate.
  • A local review pass also found that the paragraph's claims about keeping, extracting and locking a tree hold only for a run that fetches one. So it now opens by scoping itself that way, and says a --from-tree run takes no lock and keeps, extracts or removes nothing. Both loaders return before any lock, download or cleanup on that path.

Prose gate clean. Two recorded local passes, the second finding nothing open.

🤖 Generated with Claude Code

ptr727 and others added 2 commits November 11, 2026 21:03
The paragraph now names four tree-keeping actions, so "a dry run of these three" no longer
described --agent-setup --dry-run. It now reads "any of these", which no count can outdate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A --from-tree run returns before any lock, download, extract or cleanup, so the paragraph's
claims about keeping, extracting and locking a tree hold only for a run that fetches one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings November 12, 2026 05:05
@ptr727

ptr727 commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

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

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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.

🟢 Approval recommended

No active review issues are reported, and the change is limited to clarifying fetched-tree versus supplied-tree lifetime behavior in the host setup README.

No open issues 🎉

What changed in this PR

Updates the host setup README to accurately describe tree lifetime behavior for fetched runs and --from-tree runs.

Changes:

  • Replaces the outdated “these three” wording with count-independent language.
  • Scopes tree-lifetime claims to runs that fetch a tree.
  • Documents that --from-tree runs use the supplied tree without locking, extraction, or cleanup.
File Description
host-setup/​README.md Clarifies fetched-tree and supplied-tree lifetime behavior, including the updated dry-run wording.

Review effort: Lite

@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.85%. Comparing base (f524ffd) to head (8995486).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4090   +/-   ##
========================================
  Coverage    76.85%   76.85%           
========================================
  Files           40       40           
  Lines        14070    14070           
========================================
  Hits         10813    10813           
  Misses        3257     3257           
Flag Coverage Δ
python-3.13 76.85% <ø> (ø)

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 12, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Action not completed

Pull request is closed.

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 395cd87 into develop Nov 12, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/readme-dry-run-count branch November 12, 2026 05:20
ptr727 added a commit that referenced this pull request Nov 12, 2026
…kill (#4088)

## Summary

Promotes one change and its review follow-ups from `develop` to `main`.

- #4087: one action brings a host fully current for every coding agent,
and both host menus run it from a single line.
- `bootstrap.sh --agent-setup` / `bootstrap.ps1 -AgentSetup` runs four
steps in order. It upgrades the coding-agent CLIs already installed,
installs the fleet skills, and installs the Claude Code safety kit. It
then writes the host-wide rule blocks into Codex's and opencode's global
`AGENTS.md`, for each agent present.
- `--agent-status` reports all four read-only, and `--host` and `--dev`
now end with the agent setup.
  - A new `update-host` skill runs the setup from any session.
- The kit's stamp names the resolved commit when installed from a
bootstrap tree, which fixes items 2 and 3 of #2553. Item 1 of #2553,
installing the Claude Code CLI itself, stays open. Hooks for Codex and
opencode stay on #781.

- #4089: answers CodeRabbit's review of this promotion. The Windows
skill commands run the loader only after its download succeeds. The
status summary reports the agent-tools inventory as listed, failed or
not checked rather than current. `bootstrap.ps1` restores the
source-commit variables after a run, and `--agent-status --from-tree` no
longer needs curl, tar or flock. The rules wrappers prefer Python 3.11+.
Two findings were declined with evidence on their threads.

- #4090: the host-setup README's tree-lifetime paragraph no longer
counts the tree-keeping actions, and scopes itself to a run that fetches
its tree.
- #4091: the fleet map's G1 entry and cold-start flowchart describe the
agent setup. The README and the flowchart say the Claude Code plugin
registration, the safety kit and the host-wide rules act only on agents
already installed. So a fresh machine re-runs the agent setup after
installing a coding agent, before its first session. The
`install-skills` and `install-safety-kit` headers state where each
wrapper reaches.

- #4092: answers this promotion's attested local review. The Codex and
opencode rules files carry a digest of the rules written below their
header and note. A hand edit there now reads EDITED and is backed up
before the next rewrite. A non-blank Codex `AGENTS.override.md` makes
the status report SHADOWED and not current, and the setup never touches
it. Two findings from that review were declined with evidence: sharing
the skills installer's commit lookup, and the Python-less report.

- #4093: the Codex host-safety README says a non-blank
`AGENTS.override.md` keeps the host-wide rules from reaching Codex, and
takes their place as its instruction layer.

## Not Verified

- Native Windows end to end, a `verification` gap. Native Windows CI ran
the unit suite, including the new `global_rules.py` tests, and passed.
`bootstrap.ps1 -AgentSetup` / `-AgentStatus`, the Windows wrappers, tar
extraction and the user-profile writes have not run on a real Windows
host. Their PowerShell logic was exercised only through the
lifted-function tests under `pwsh`.

Refs #2553

🤖 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