Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.474
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.477
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 4 files changed
- 1 contributor
Commits on Aug 25, 2026
-
Name configure.sh's Hub Path in Every repo-config README Invocation (#…
…1006) Fixes #747 `repo-config/README.md` named `configure.sh` bare in several invocations, contradicting `GOVERNANCE.md` "Hub-Hosted Tooling", which requires naming a hub-hosted tool by its path in the checkout and naming the target explicitly. Every invocation that runs `apply` or `check` now reads `repo-config/configure.sh <command> owner/repo release|operational`, matching the convention already used in `OPERATIONS.md`, `AUDIT.md`, `STANDUP.md`, and `RESYNC.md`. The one bare `` `configure.sh`: `` mention left unchanged is the bullet's defining term rather than an invocation, immediately followed by "run from a hub checkout at `main`", matching the leniency the issue itself calls out for a mention that names the file rather than invokes it. Re-verified against the current hub tip rather than the older commit the issue was filed against: the deliberate hazard example the issue also asked to fix (a bare `check operational` with no target) is no longer present in the current file, so no separate fix was needed there. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Clarified commands by requiring an explicit configuration script path and target repository. - Documented hub-relative payload resolution and registry-based model defaults. - Expanded repository settings guidance, including validation, Dependabot features, and rulesets. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 64547f7 - Browse repository at this point
Copy the full SHA 64547f7View commit details -
Fail Closed on Swallowed Host-Setup Precondition-Check Failures (#1007)
## Summary Five `host-setup/` sites converted a precondition-check failure into an empty or apparently-safe result with `|| true` or `2>/dev/null`, then proceeded into a download, package install, sudoers-file write, or release upgrade as if the check had passed. This is a recurring CodeRabbit finding, raised across PR #951 and PR #952 and correctly declined both times as pre-existing and out of scope for those PRs. Per `pr-review-conduct`'s outcome 5 ("keeps recurring, so fix the class, not the instance"), this PR fixes the class. ## Per-site disposition Four sites now distinguish "the check ran and legitimately found nothing" from "the check itself failed to run," and fail closed before the mutation they guard: - `host-setup/linux/install-tools.sh` `apt_install_displacing()`: a failed `apt-get -s install` simulation now aborts instead of reading as "no removals" before the real install runs. - `host-setup/linux/install-tools.sh` sudoers scan: `grep` exit 1 (no matches, the ordinary case) still proceeds; any higher exit now aborts before writing or deleting sudoers files. - `host-setup/linux/upgrade-host.sh` `release_preconditions()`: a `dpkg --audit` that fails to run now aborts instead of reading as "no half-configured packages" before the release upgrade. - `host-setup/linux/upgrade-host.sh` `upgradable_count()`: this one only ever backs a `--status` report line, nothing downstream mutates on the strength of it, so a failed `apt list` now reports "unknown" rather than a misleading `0`. `host-setup/bootstrap.sh` `resolve_ref()` stays lenient, now with an inline comment explaining why: it gates no mutation. `download_tree` falls back to fetching `$REF` by name when resolution fails, exactly as it would if `resolve_ref` did not exist, and it has its own `die` on a real download failure. ## Verification - Docker-based `shellcheck` (`koalaman/shellcheck:stable`) and `shfmt -d`: both clean on the three changed files, and via `scripts/docker_lint.py --linter shellcheck --linter shfmt --linter cspell` across the whole repo. - `python3 -m unittest scripts.tests.test_bootstrap scripts.tests.test_host_gate`: 104 tests, all pass. - Live-exercised each fixed function's logic on this Linux host (real run plus a simulated-failure case for each), confirming the real case is unaffected and the simulated failure now fails closed rather than silently proceeding. Fixes #954 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved host setup reliability by detecting and reporting package simulation failures instead of continuing with incomplete results. * Prevented potentially unsafe configuration changes when system scans encounter errors. * Improved upgrade status reporting by distinguishing failed checks from systems with no available updates. * Preserved and reported package audit failures during release readiness checks. * Clarified behavior when requested revisions cannot be resolved, while allowing download errors to be reported separately. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for fc1ac32 - Browse repository at this point
Copy the full SHA fc1ac32View commit details -
Surface apt's Failure Diagnostics in upgradable_count() (#1009)
Follow-up to #954/#1007, surfaced by CodeRabbit on the develop -> main promotion PR #1008. ## What `upgrade-host.sh`'s `upgradable_count()` discarded stderr on a failed `apt list --upgradable`, reporting only an exit code. A user couldn't tell an expired repository key, a network failure, or an apt lock conflict apart from any other failure. Captures stderr to a file under the script's existing `TMP_DIR` and includes a bounded (200-char) excerpt in the "unknown" status line. This only ever backs a status report; nothing downstream mutates on its result. Verified live against a success case and a simulated failure-with-stderr case. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved host upgrade diagnostics with concise, sanitized error details when checking for available upgrades fails. * Upgrade checks now retain the original failure status while reporting an unknown upgrade count. * Successful upgrade checks and existing behavior remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for e74068f - Browse repository at this point
Copy the full SHA e74068fView commit details -
Promote Develop to Main (#1008)
Promotes #1006 (issue #747) and #1007 (issue #954) to `main`. ## What - `repo-config/README.md`: every `configure.sh` invocation now names its hub path and target explicitly, matching `OPERATIONS.md`/`STANDUP.md`/`RESYNC.md`/ `AUDIT.md`'s existing convention, per `GOVERNANCE.md` "Hub-Hosted Tooling" (#747). - `host-setup/bootstrap.sh`, `host-setup/linux/install-tools.sh`, `host-setup/linux/upgrade-host.sh`: four of the five sites named in #954 now fail closed when their precondition check itself fails to run (apt-get install simulation, sudoers scan, `dpkg --audit`, `apt list --upgradable`), instead of silently proceeding into a mutation as though the check had passed. The fifth (`bootstrap.sh`'s `resolve_ref()`) is kept deliberately lenient with an inline comment explaining why, since it gates no mutation. ## Review PR #1006 review loop: CodeRabbit's shell-quoting suggestion on `release|operational` declined with cross-file precedent (used unmodified in 4 other docs); qodo's PR-title-case finding fixed. PR #1007 review loop: CodeRabbit caught a real bug in the sudoers-scan fix (the initial fix still conflated `sudo` itself failing with grep's ordinary no-match), fixed by folding the exit-1 remap inside the privileged sub-shell so the outer status can only mean "sudo couldn't run this" or "grep hit a real error", verified live against three cases plus a simulated sudo failure. qodo raised 7 comment-quality findings (task-specific issue-number citations, overlong prose), all fixed. Copilot's review account is in the fleet's known repo-wide quota-exhausted state throughout both PRs, so both proceeded on CodeRabbit's and qodo's coverage per standing precedent. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved host setup reliability by correctly detecting package-manager simulation and repository scan failures. * Upgrade checks now distinguish command failures from systems with no available upgrades. * Release precondition checks now report package audit failures instead of suppressing them. * Improved upgrade status reporting to clearly indicate when upgrade information is unavailable. * **Documentation** * Expanded repository configuration guidance, including explicit repository arguments, payload resolution, workflow model settings, and apply/check behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 702bb7e - Browse repository at this point
Copy the full SHA 702bb7eView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.0.474...2.0.477