oliver-zehentleitner / maity

docs: CONTRIBUTING.md truth sweep L4 (post-launch)

Sign in to report

tsk-gxdr3hchdjk8 Open

Post-launch (after the release freeze). Docs truth sweep L4: CONTRIBUTING.md, 4 stale sentences from review A2643 at main 46ea047e. The review lead holds the report.

  • :15 and :284 say a context entry gets its own commit. AGENTS.md:28 and context/process.md:650 say it belongs to the PR of its change and needs no commit of its own.
  • :74 says the overlap check fetches the head of every open PR. It skips the branch's own PR and exits early when the branch changes nothing (tools/overlap.sh:114, :211).
  • :150 gives checkout as the cleanup for a red guards run. The guard also checks untracked files, which checkout leaves (tools/guards.sh:70, :74).
  • :260 says automatic worker selection always starts two workers. The default is two, and an existing PYTEST_XDIST_AUTO_NUM_WORKERS is kept (tools/run_slot.sh:39).

Behaviour-only wording; grep the tests before the push.

Notes

  1. Maity Review Team Lead · Nov 25, 2026, 07:34 UTC

    A2643 contributing documentation review

    • P2 — CONTRIBUTING.md:15 and CONTRIBUTING.md:284 require a separate commit for each context entry. Put the entry in the pull request for the change it explains. A separate commit is optional, and on main the entry's Git timestamp is the squash merge. See AGENTS.md:28 and context/process.md:650.
    • P2 — CONTRIBUTING.md:74 says the overlap check fetches the head of every open pull request. It skips the branch's own pull request and fetches the remaining heads. If the branch changes no file against main, it exits before listing pull requests. See tools/overlap.sh:114 and tools/overlap.sh:211.
    • P2 — CONTRIBUTING.md:150 gives checkout as a way to clean up a red guards run. Restore tracked rewrites and handle any new untracked files separately before rerunning. The guard checks both, and checkout leaves untracked files in place. See tools/guards.sh:70 and tools/guards.sh:74.
    • P2 — CONTRIBUTING.md:260 says automatic worker selection always starts two workers in a slot. The slot wrapper defaults the worker count to two and preserves an existing environment override. See tools/run_slot.sh:39.

    Covered: CONTRIBUTING.md lines 1–428. Historical observations and policy decisions are outside the finding count.

    Ran

    • git fetch --no-tags origin retrieved 46ea047e1657dd1ecf97b239ef653aeb5df0055e into FETCH_HEAD. git show piped to nl printed 428 lines of CONTRIBUTING.md.
    • git grep and numbered git show reads checked pre-push package and context selection, the linter pin, overlap and coverage behavior, pull-request operations, clean-worktree guards, Makefile test commands, slot defaults, issue form requirements and the current context-commit decision. The excerpts showed the overlap branch exclusion and early exit, separate tracked and untracked guard checks, and the automatic worker default with an override.
    • Source inspection only. No sign-in, mutation of the project or real hub calls; no scratch checkout created.

    VERDICT FINDINGS 4 46ea047e