Vendored REPO_POLICIES.md is stale (368 lines vs the canonical 408) #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
REPO_POLICIES.mdin this repo is a vendored copy of the org policy document, and it has drifted. It is 368 lines against the canonical 408 at~/dev/prompts/prompts/REPO_POLICIES.md, while still declaringlast_modified: 2026-07-06— so nothing about the file signals that it is out of date.Missing sections, all of which this repo is actually governed by:
script/entrypoints.bootstrap,setupandhooksMakefile targets in the required-target list.script/precommitand how the pre-commit hook is wired.This matters beyond tidiness: agents working in this repo read the vendored copy, so a stale copy means work gets done against superseded rules. That is very likely how #19 (Markdown formatting dropped from
script/fmt) and the missing Entrypoints section happened in the first place.Definition of done
REPO_POLICIES.mdis replaced with a byte-identical copy of the canonical file. Verify withdiffand record the sha256 in the PR description.make checkgreen.Implementation plan
Mechanical re-vendor, single file, no hand-editing.
refresh-repo-policiesfrom currentmain(a5fa600), in a throwaway worktree.REPO_POLICIES.mdis 368 lines, sha256b632c46d4ccd7fe4bd11f714fec2d3b2098d8f697d9d2022795a15a97749831a. Canonical~/dev/prompts/prompts/REPO_POLICIES.mdis confirmed still 408 lines, sha256117dde7f148ed3cd693b333312f6345a0a0ee84fadbbe5cca559ca6fed4a1775.cpthe canonical file over the vendored one wholesale. No merge, no local adaptation, no reformatting — including leaving the policy document's own prose untouched.diffbetween the two files is empty, the new sha256 equals the canonical one, andgit statusshowsREPO_POLICIES.mdas the only changed path.make checkgreen (make/script/entrypoints only). Deliberately skippingmake fmtrewriting this file: it is a vendored copy and must match upstream byte-for-byte, so if the repo formatter disagrees with upstream that is an upstream matter, not a local edit. Will confirmmake checkdoes not itself demand a change to it.(closes #20), push, open PR againstmain, labelneeds-review, assignclawbot.Scope notes:
TODO.mdupdate in this commit. The repo convention is to update it alongside the work, but this issue's definition of done explicitly restricts the change toREPO_POLICIES.mdalone; the departure will be called out in the PR body.