Skip to content

census: rows from the generated series, census_nightly --after-merge, nightly from a fresh worktree (Part of #7962) - #7970

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7962-20261107T0015Z
Nov 7, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7962-20261107T0015Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7962.

Census rows now come from the generated census series; no PR appends a history or register line. Adds census_nightly.py --after-merge SHA and fixes the documented unit to run from a fresh detached worktree.

Class / Sibling gaps

Class: census ledger rows and register lines landing as history-only PRs on main (the history append --pr N instruction) instead of coming from the generated census series, plus a nightly census unit documented against a stale checkout.
Members handled here: blocker-slice section 4 (nightly-by-CI claim was true only for the burned series; now names both series, forbids history/register-only PRs, trial ledgers cite the generated line per SHA); cics-command-slice "After merge" history append --pr N; --after-merge; census-nightly.md worktree unit.
Sibling gaps: churn must trigger --after-merge after a census-linked merge (promoter-bot side; no burned-estate program needs it).

Changes (5 hand-written files)

  • tests/tools/census_nightly.py: --after-merge SHA (full or short). Same box gate, stamp, published-series skip, counts_only. Fetches origin main, then refuses an unknown SHA or one not an ancestor of origin/main (nothing surveyed, exit 1).
  • tests/tools/test_census_nightly.py: full/short/unknown/off-main SHA, gates and stamp preserved, force/dry-run, counts-only, default run never checks ancestry.
  • docs/agents/census-nightly.md: unit runs from gitgalaxy-worktrees/census-nightly, ExecStartPre fetch + checkout --detach -f origin/main, one-time worktree add, on-demand section.
  • .claude/skills/blocker-slice/SKILL.md, .claude/skills/cics-command-slice/SKILL.md.

Verification

24 tests in the census_nightly file pass via plain pytest from /tmp; audit_check.py all clear; tools tests matching skill/census, shepherd-markers, change-classifier, generated-branch pass. No golden bless (nothing under gitgalaxy/).

Cross-repo: none.

🤖 Generated with Claude Code

…erge SHA, nightly from a detached worktree (Part of #7962)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 7, 2026 01:19
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 01:23
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit dc78e72 into main Nov 7, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7962-20261107T0015Z branch November 7, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant