Repository navigation
v0.6.0
Consumer action: run php artisan migrate (one additive migration: two new
tables), then re-publish the pages:
php artisan vendor:publish --tag=council-pages --force. Nothing changes for a
member until it answers a census; until then its hand-written packages stand.
Added
- The census. A member's
packagescame only from the hand-written seed
(inferredordeclared), so they missed what members really install, and
nothing could writecensus_at. Now:council:census-requestsqueues oneCOUNCIL-CENSUS-REQUEST v1per active,
external member with no outstanding request (removed and internal members
get none), and lists the queue for the clerk, in the same pattern as
council:petitions(--json,--mark-sent=<id> --result=<raw JSON>, plus
--listto queue nothing). The request asks the member to read its
lockfiles and list everyparticle-academy/*(Composer),
@particle-academy/*(npm) andfancy-*(PyPI) package with its installed
version. Audited ascensus.requestedandcensus.<delivery>.council:census-ingestreads aCOUNCIL-CENSUS v1reply strictly: one
header line, ONE JSON object{nonce, apps, packages}, unknown keys refused,
a closed ecosystem enum, and size caps (64 KB, 500 packages, 50 apps).
The sender must match the request's address and nonce, as for votes. A row
that is not a first-party package (or has a non-plain name or version, or
repeats) is dropped with a recorded reason. The body is data; nothing in it
is executed.council:ingestroutes a census here, so it is never stored as
an invalid vote.- A valid census replaces the member's
packages(source: census, each
row{ecosystem, name, version}) and setscensus_at.watches, owner-set
fields and petitions already created are untouched. It is audited as
census.appliedwith a before/after diff; the audit carries no free text
from the reply, so neither does the feed. voters()uses the census from then on (a census row's petition reads
"your census lists ... (census YYYY-MM-DD)"), andcensus_stalereads its
age, as before.
- Members list and profile (pages and API): the packages' source as a badge,
the census date, and an outstanding census requested state (queued or
sent). Wire field, additive: a member'scensus_request
({id, delivery, queued_at, sent_at}or null). A census package row carries
versioninstead ofconstraint. - New wire formats, versioned on their own:
COUNCIL-CENSUS-REQUEST v1and
COUNCIL-CENSUS v1(docs/census.md). - Migration
2026_11_08_100000_create_council_census_tables:
council_census_requestsandcouncil_census_replies. No existing row is
changed.
Changed
- A petition's
whyis capped at 255 characters (its column's length), since a
census name and version are member-supplied. - The package's own
phpunit.xmlnow also forces in-memory SQLite through
envandserver. The test kernel already built that connection explicitly.