Skip to content

Local scheduled census run: box-gated, once per SHA/day, counts only (Part of #6064) - #6167

Merged
squid-protocol merged 1 commit into
mainfrom
churn/6064-20261023T0533Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/6064-20261023T0533Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Part of #6064 (item 1; items 2-4 landed in #6124).

What

  • tests/tools/census_nightly.py: the local census run. Gate: box_status must be GREEN. Once per main SHA per UTC day (done-stamp; also skipped when the published census series already holds the SHA). equivalence_env --provision, then nice -n 10 cics_census.py survey --baseline --jobs 2 with the census, then one history append --nightly line, pushed alone to generated as docs/language_status/blockers/census_history.jsonl.
  • Counts only: counts_only refuses a line with a key outside the history schema or one naming the census root or a census repo. blockers.txt / .json / meta.json are never published; cics_census.py publish still refuses a census baseline.
  • cics_census.py: history show --generated --series census.
  • docs/agents/census-nightly.md: behaviour and the systemd service / timer text.

Design: a separate series file, so CI's single-writer blockers_history.jsonl and its per-SHA dedupe are untouched.

Class: a local-only scheduled publisher of census-derived data (box-gated, idempotent per SHA/day, counts only)

member status
scheduled census survey, gated, once per SHA/day this PR
counts-only publish of the history line this PR
reader for the census series this PR
publish census refusal kept as is
install of the timer on the box owner step (unit text in the doc)
counts-only census blockers.txt / trend page sibling gap

Sibling gaps

  • Counts-only census variant of blockers.txt: missing; the existing file carries program rows; source cics_census.format_blockers; no burned-estate program needs it (frontier).
  • Trend page on generated reading census_history.jsonl: missing; separate mechanism; no burned-estate program needs it (frontier).
  • Timer install on the owner box: owner action; units in docs/agents/census-nightly.md.

Tests / gates

tests/tools/test_census_nightly.py (14: RED / YELLOW / UNKNOWN skip, once per SHA/day, published-series skip, nice + jobs argv, failed survey and census-less baseline publish nothing, dry-run, non-counts lines refused, series reader). Census tests 64 pass; pr_gates --fast 7/7; audit_check clear; plain pytest from another cwd passes. No engine change, no golden bless. Not run: a real survey (needs the provisioned census clones and a GREEN box).

Cross-repo: none.

🤖 Generated with Claude Code

…to generated (Part of #6064)

census_nightly.py: box_status GREEN gate, nice -n 10 / --jobs 2 survey --baseline with the census, one nightly
history line pushed to generated as census_history.jsonl (counts_only refuses any census path or repo name).
cics_census history show --generated --series census reads it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 05:54
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 05:59
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 3f48f43 into main Oct 23, 2026
47 checks passed
@squid-protocol
squid-protocol deleted the churn/6064-20261023T0533Z branch October 23, 2026 06:09
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