Merge remote-tracking branch 'origin/main' into release-review-0.16.0
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-11-27 14:48:13 +01:00
+12 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 552`
`Next ID = 553`
## Items
@@ -16,6 +16,7 @@
| 478 | 0.17.0 | | question | **Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`.** | 1 | 1 | 2 | 2 | 1 | | 0.0 |
| 548 | 0.17.0 | | defect | **Treat a chunk whose recorded base is origin's default branch as merging into that branch, so `chunk-pr merge` honours `merge = "human"` and `wait-for-approval` there.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 3 | 1.3 |
| 546 | 0.17.0 | | | **Have stability-reviewer check a change's setup steps for an outside service against the service's current documentation, and each command against the service against every state the service may be in.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 3 | 1.2 |
| 552 | 0.17.0 | | defect | **Ask for a review on `chunk-pr push` once the forge shows the pushed head on the pull request, and fail where no open pull request takes it, so a push never skips the review request without saying so.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 3 | 1.2 |
| 542 | 0.17.0 | | | **Make chunk-preflight report a project whose code is space-indented with no `.editorconfig` or formatter setting that says so, and narrow the tabs principle to explicit overrides.** | 2 | 2 | 3 | 5 | 4 | 1.1 by 4 | 1.2 |
| 523 | 0.17.0 | | | **Make the security pass and stability-reviewer check that a new secret's docs name its scope and its reach, such as the other repositories its account can use.** | 1 | 1 | 2 | 2 | 1 | 1.1 by 2 | 0.9 |
| 537 | 0.17.0 | | | **Flag regexes that use `$` to validate a whole input, since `$` also matches before a final newline.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 |
@@ -148,6 +149,16 @@ Touches:
- `agents/stability-reviewer.md`: `(top)` (small), `### 4. Error Handling & Resilience` (small)
### 552. Ask for a review on `chunk-pr push` once the forge shows the pushed head on the pull request, and fail where no open pull request takes it, so a push never skips the review request without saying so.
`pushed` finds the pull request by the head it just pushed, through `open_pull`. Right after the push, GitHub may still list the pull request's old head. Then `open_pull` returns None, and `push` prints only `Pushed <branch>.` with no review request and no warning. That happened on a pull request into an epic's working branch: the external auto-reviewer reviewed only once someone posted the configured comment by hand, about twenty minutes later.
Fix: after the push, wait a bounded time for an open pull request whose head is the pushed commit, polling as `forge.pulls` already does for checks. Where a pull request from the branch is open but never shows the new head, fail and name it. Where none is open at all, keep printing `Pushed <branch>.`, since `push` before `open` is normal.
Touches:
- `bin/chunk_pr/main.py`: `pushed`
- `bin/chunk_pr/test_chunk_pr.py`
### 542. Make chunk-preflight report a project whose code is space-indented with no `.editorconfig` or formatter setting that says so, and narrow the tabs principle to explicit overrides.
`principles/technical-principles.md` says "Indent with hard tabs by default. A project's own settings win: `.editorconfig`, linter/formatter config, or the surrounding file's existing indentation." The last clause lets a first session set spaces and every later session follow it, and nothing checks that anyone chose it. adf-codec's `AGENTS.md` has said "Two-space indent" since its first commit, with no reason, and 177 code files, 14,500 indented lines, followed it. A survey of the projects on this machine on 2026-11-26 found the same in plainpages, scheduler (`rustfmt.toml` doesn't set `hard_tabs`), oss-opportunity-research, secondhand-watch and playwright-for-agents. Only plainpages-plugin-fastjira says so in an `.editorconfig`.