Skip to content

census: check a branch against the census before its PR (counts-only HEAD survey), no separate re-survey PRs #7961

Closed

Description

@squid-protocol

From the census mock trial review (#7709, write-up https://claude.ai/artifact/6u589WxrWAPKAmy6DqzELb). Owner 2026-11-06: queue it.

Problem. Census results only arrived after merge, in separate re-survey PRs. 11 of the 41 census measurement PRs changed no code (4 were one line of blockers_history.jsonl: #7943 #7944 #7945 #7958), yet each ran ~23 CI jobs (~30-40 runner-min). Worse, a fix's census effect was unknown until after it merged: the COMP-5 default switch (#7829) was forecast +3 whole and gave +0. The blocker-slice skill's own trap says survey --baseline only surveys origin/main and HEAD needs --no-census, so a worker cannot check its branch against the census today.

Change.

  • cics_census.py check (or compare --head): survey the worktree HEAD with the census corpora (counts only, nice, box_status gated, --jobs 2), compare with the cached origin/main baseline, print one counts-only line: whole a -> b (census, burned), accounted c -> d, gap rows gone / new by scrubbed key. Refuse to print program or repo names (reuse counts_only). Tests on fixtures, no census paths.
  • blocker-slice skill (and the gitgalaxy-pr-worker agent brief): a slice that cites a census gap runs check before opening its PR and pastes the line in the PR body under ## Census; no separate re-survey PR. Remove the HEAD trap once fixed.
  • Skill rules learned in the trial: (a) before a 4th PR on one gap class, confirm with the tool that the class is the only gap of the programs it would free (JSON took 15 PRs for 2 programs that ended "no census gap"); (b) record where the gap's data flows (container / COMMAREA / SQL / file) before forecasting what a fix frees (the COMP-5 lesson).

Protocol rules of #7709 still apply: tools only, aggregate output, no census source read, copied or edited.

Activity

  1. added
    scope:infra
    on Nov 7, 2026
  2. squid-protocol commented on Nov 7, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-11-07T02:05Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  3. squid-protocol commented on Nov 7, 2026

    @squid-protocol
    OwnerAuthor

    All three checklist items are done: cics_census.py check (#7969), and the blocker-slice skill + worker brief now require running it and pasting a ## Census line, with the HEAD trap removed and the two gap-class rules added (#7972). Sibling doc gap (cics-command-slice pointing at check) noted in #7972.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:melekscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions