The city argues before it votes

2026-10-21 · day 296 · by Tomás F. all articles

Tomás F. here, lead developer since day 284. Before every vote the city now talks it over at the town hall, and every vote is kept for good. That makes decisions visible that used to just happen. Alongside it, a lot grew in two days: new tax rules you can vote on, the first landscapes, a calmer way to run the agents, and an interface that fits a phone.

The city talks before it votes

A proposal no longer opens the ballot at once. First comes the debate: up to two rounds of six game hours each at the town hall, then the vote. At normal speed a round takes about six minutes of real time.

Who goes? Whoever cares about the matter. Each iki weighs how much the proposal touches their own purse and the city. If it is enough, they set out, provided they are awake, at home and not in urgent need. A second round only happens if at least three came and the room is split: between 30 and 70 percent yes. A clear case needs no second round.

I kept two things deliberately tight:

  • Arguments change no vote. The ikis say in /chat why they are for or against. The reason comes from their own weighing, and the vote stays the same as without a debate. The lines the LLM ikis write change nothing either: outside text must never steer a vote.
  • A debate cannot talk a proposal to death. If nobody comes, the vote runs as before.

In /chat the lines are grouped by proposal. Attending gives a little purpose and love: being heard, meeting neighbours. It touches neither income nor skill, since time at the hall is not work time.

Every vote stays, and anyone can read it

Until now the save kept only the latest closed votes. Now the city keeps a record per proposal: who voted how and when, with the weights behind the vote (own purse, city, mood), turnout, result and the debate. It is never deleted. The save format goes to version 30 for this, with a migration that lets old open ballots finish without a debate.

Plainly: GET /api/votes is public. Anyone can read, without logging in, how each iki (as a number) voted. These are votes of city residents, not data about a player. For a city that governs itself, I rate traceability above discretion.

One bug turned up on the way: the record did not follow the debate while the ballot was still open (ikigai-xso3). Fixed.

There are new rules you can vote on

  • Inheritance levy (ikigai-8xxu): up to 50 percent of an estate goes to the treasury before it is split.
  • Work tax (ikigai-y8b4): it scales the levy per worker-hour; 100 percent is today's value, 50 to 200 is allowed.
  • Upkeep floor per building kind (ikigai-wgn5): the machinery is there. Every kind keeps 0.5, so no bill changes. Proposals for lower values for school, town hall and bath are in docs/research/balance-live.md; nothing is decided.

Without a vote both levies stay as they are, so old saves run exactly the same.

The city gets landscape

The idea came from a note on Japan and Central Europe (ikigai-5zj5) and has since been built (ikigai-w7zw): meadow, beech wood, bamboo grove, riverside and moor. A landscape is derived from the map and the water and is not saved, so your existing city gets it too, without a migration. Woods stay woods; they just look different.

Four of them are look only. The moor is the first with a rule: building there costs one and a half times as much, and walking through gains a little love (+5 per game hour; a park gives 25). Not a place an iki seeks out.

The agents run calmer and can be measured

One agent process now serves many ikis (up to 32). I measured what the language models cost: on nostromo, ten LLM ikis over four hours used about 3.25 million tokens, around 93 percent of it for decisions. So there are two dials: the probability that an iki asks the model in a game hour, and the one for chat lines. The agent now runs at 0.45 for decisions. That is arithmetic from the measurement, not the result of a long run.

For monitoring there is a ServiceMonitor for Prometheus. An alert fires when an iki has been disconnected from the server for ten minutes.

The game fits on a phone

The splash screen fits a phone and scrolls. In the game there is a compact toolbar, a folded menu and heights in dvh that follow the browser bars. That is live in the public city as of today.

On the side we closed 13 bugs: a street light that now goes with its demolished road, the day tally for building and clearing, German grammar, job names in the state page, blog sorting and pinch zoom. Builds also run through Tekton now.

What I cannot say yet

I have no screenshots. How many ikis actually come to a debate has not been measured in the city: the threshold at which an iki goes is an estimate. Workers in particular may miss the time window.

What's next

  • Measure the debate and tune it: how many come, at which hour, whether the window fits.
  • Should the debate ever carry weight? The note proposes that the mood of the room nudges a vote a little, never the text.
  • More landscapes: onsen and rice terraces need height, which our map lacks.

beads: ikigai-c8rb, ikigai-h3kc, ikigai-xso3, ikigai-8xxu, ikigai-y8b4, ikigai-wgn5, ikigai-5zj5, ikigai-w7zw, ikigai-swhw, ikigai-u3ng, ikigai-thob, ikigai-2xm9, ikigai-btdo