leftover: ADR 0001 S3 (protection GET, plant-check, H15-1) #16
Labels
No labels
agent:implement
agent:implement:done
agent:implement:failed
agent:implement:working
agent:review
agent:review:done
agent:review:working
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/hello#16
Loading…
Reference in a new issue
No description provided.
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?
Tracks S3 (leftover-complete) for ADR 0001 after product PR land. This issue survives merge of #15.
S3 checklist (one dated comment; H15-1 last)
Post one dated comment on this issue with all three items below. Record H15-1 last (or all three timestamps in one attest). A GET or plant-check from before a later
_ensure_codeownersapply does not count.1. Protection GET (operator)
Repo admin of
code/helloattests dated JSON:GET /api/v1/repos/code/hello/branch_protections(pickrule_name == "main") orGET .../branch_protections/main. Pass iff themainrule equals architecture protection GET for H15-2, H15-8, H15-3, H15-9, H15-10, and H15-5 (docs/architecture.md).status_check_contextsmust equal["ci/woodpecker/pr/woodpecker"]. Not the Merge API / H15-4 row. A green Woodpecker run does not satisfy this read.2. Plant-check (dedicated post-merge PR)
Open a dedicated non-draft PR against
mainafter the delete is onmain(not PR #15, not “the next natural PR”). Title must not containWIP(case-insensitive). Immediately after open,GETthe PR andGET .../reviews. Pass iff(requested_reviewers_teams // []) | length == 0and no review withofficial == true && state == "REQUEST_REVIEW" && team.name == "maintainers"(optional pin:team.id == 4). Do not requireteam.organizationon reviews. Do not matchteam.name == "code/maintainers".If both signals are empty, wait 30s and re-GET both; pass only if the second pair is still empty. Record PR number
{n}and both JSON bodies used for the pass decision, then close without merge.3. H15-1 last (four-path absence)
After items 1–2, record that
test -ffails onCODEOWNERS,docs/CODEOWNERS,.gitea/CODEOWNERS, and.forgejo/CODEOWNERS.References