From 6b09aa2f0d4d84384e918954ac2d01bebc31321f Mon Sep 17 00:00:00 2001 From: Renato <229318195+SignalLayerLabs@users.noreply.github.com> Date: Fri, 9 Oct 2026 15:23:47 +0200 Subject: [PATCH] Fix mature citizen deliberation and expose GitHub avatars --- MANIFEST.sha256 | 14 +-- progress.md | 9 ++ site/index.html | 7 +- site/sovereign-world.css | 20 ++++ site/sovereign-world.js | 18 +++- tests/browser-sovereign.mjs | 32 +++++- tests/test_sovereign_routine_starvation.mjs | 106 ++++++++++++++++++++ world/affordances.js | 35 ++++++- world/cognition.js | 6 +- 9 files changed, 230 insertions(+), 17 deletions(-) create mode 100644 progress.md create mode 100644 tests/test_sovereign_routine_starvation.mjs diff --git a/MANIFEST.sha256 b/MANIFEST.sha256 index f1b9f97..31306a2 100644 --- a/MANIFEST.sha256 +++ b/MANIFEST.sha256 @@ -46,6 +46,7 @@ b04ee5d5fd478ac6b37de485dae8f826fdd854706a5d2d5323114614ef617773 functions/_lib bf407a093caf22903d96c3eaa4ed7dbe5fcebdb16273527efa552681cf27d4ff functions/api/auth/[[path]].js 5eafb513d50a902f785940fd601076daf60ca0eee21c1306b21807b90c431f8a functions/api/v2/[[path]].js 0f1859c6cc1c232919c4e79372b169d1beef3900181e553c188de63d0d1f1f50 migrations/0001_identity.sql +e3c486cc322f8c4c44ede51fceb18a1846269e88125cdedc74e202ec1d46ad74 progress.md 6505c9037dfc0299347148da4e59cc367b80abbe9f4fb9c2c5bb163f19c2206d scripts/build_citizen_animations.py 7a2e3055d95dfc251ffad07f0f2b9bf9f90ace5092654fb8fa92fa261d56a29c scripts/build_sovereign_genesis.mjs 2b2bf8698b2951203307e384e441e43645b345ff5dd84b32d1183d8121473db5 scripts/patch_current_v2.mjs @@ -98,7 +99,7 @@ b76219dc27ad51c9e059ef088fe1ab526a7ff8d79c1767a2c042eb84247c6c1e site/assets/me b4d6911a85b740d049ec45774d1b076fe756f59e09bf61a44c469af086452e66 site/citizen-sprite-frames.js cdf16e9165c1a6584b7c49dfac1402921ac07646c1798dedf62e9455fe6cac59 site/data/sovereign-genesis.json 0670d7be3b270c8e627c5f0089e25ba065c3326f6bcf0f06ce9ae5cf3c5cf64b site/icon.svg -5d2073350b1501418aa9022542db59f76ba002d0cdc3921c31c30c21d7592f34 site/index.html +3425d698acf65839c39329a8d939a6bbfe0d0da07ea20b019a510923c590beb1 site/index.html 6124baf31ada16d7c1fc7bd140615bb9bbc2a1611fcd9c574083048a4fc38999 site/llms.txt 7c4bd63ac9a49f97a57028c60ed195797eb6793e16a987101b18fc0e4722b965 site/medieval-art.js f67a21911453c9ce01aa2663db59ac916ff35f57046bf5523250945084f6ff03 site/medieval-world.css @@ -110,8 +111,8 @@ e538e481a2becfc95290e5be0b69f621828da06eac09d1f704fe9fd1045d04c9 site/preview.p 428ef6c2f7fa545c5b3a507d6f849605ad00b8bb2e9da06eb70a028ea80106bb site/robots.txt 13eccdc18577967656d9406c0d92eeb9de17f72d114c5c9a73a061839481e957 site/sitemap.xml b0b3bca460a0c84da98d7f7f43a8d7199fb9d30accb6da9300bf01d7de0b1a0f site/sovereign-renderer.js -c8105ba2df6bd87161fe2f3572868ef805d0711f790a2889b4b551d7986a620c site/sovereign-world.css -ccb13dba16a8f5494d0ae22a3b401ba94abc93d118a7f56b3f68ed825f2e2ac9 site/sovereign-world.js +68fae4414dbac586826c97757e377b3f87903082a649147f8c7cfd856c5be917 site/sovereign-world.css +755f6712416c8c1d2505d140d81a45077b84872a67367a5becd2fca024f073ef site/sovereign-world.js dab555575cd5a79e1e1be63a155033788d40995f6b5c69b3b82fe87132233009 site/spine-citizen-adapter.js ced393dd485fabc3e234cb94e6266169d7156dad74bdf8f578093581f53cf350 site/terrain-model.js c98fca62534d141f285a6c92bfd6257c26d462a3daff72672a4d76f2399d1f21 site/transient-physics.js @@ -122,7 +123,7 @@ ed182087be5b26734aa6d4789743de3a97417950e8c1e3ff2e3d19c6462720d3 site/vendor/ma d179b80fb34aae0db437dfa72c1a6e6704209a8119b8d991ad49321d8584da8f tests/browser-art.mjs 9ae901f97e370fc0cf920c8da4a6a89d507c04eb4d4fae2269a61b4d6bd3dc74 tests/browser-graphics2.mjs 14b119379565532c30bac0c79bd6857e523bd3ad4d3bc623261d5e206fc329e4 tests/browser-replay.mjs -aedea39f1fd9b8a08d1946991c1e6f582080cd7ad648ace984a8079e354836e7 tests/browser-sovereign.mjs +3c01ee5f52611b5a62ae867495fb11172f08c4094911fd864be4f88d4a50fd54 tests/browser-sovereign.mjs 1b7e2f917d4be8ef954c11198b2a95c9159441b5eb5e3202ec32357cda362d47 tests/browser-state-sprites.mjs 0762e743ae26887afdb842d21cc6eea716a69958f04701dbaea35844e2ed76a9 tests/helpers/sovereign-sqlite.mjs cece43487e1cd420bba8d44016e6f8cd00cbb05a0ba66ac479cfad42eac95d78 tests/test_sovereign_action_effects.mjs @@ -209,6 +210,7 @@ aaf5ed92f4354f1a382e6f135ef25284b1d0f5a95a2af368631a796900aee93e tests/test_sov 1a5b7048b736543c2582f33e76b5610e423a1378b6a9643ac7bb780b0b0a0b57 tests/test_sovereign_repository_presentation.mjs 3f63626f40bebc0746521643f1fff6bc522e402218965ee327b8725b6e50dc94 tests/test_sovereign_reproduction.mjs bb39e23022a0a10ea340e9088d7e8b23a3d99ec839568c78667ea27bf3e690ed tests/test_sovereign_river_render_regression.mjs +18de28200ff04b5313f89c050fc1f68bbe568c359598269419a5a16bd0e1401b tests/test_sovereign_routine_starvation.mjs 4744ae934005dc442d07bca433681facde841079d27db1e2cc37b1b188a57c2f tests/test_sovereign_runtime_contract.mjs e173d95a42d691a85bb630b1d57da7f416b5c23fe198fbef8affb6e7e25abd89 tests/test_sovereign_runtime_timer.mjs 98c1f6c7202b835b0ad13bb3147a7b91262c1d7701b4efd35837aa45ebdb33c1 tests/test_sovereign_scheduled_heartbeat.mjs @@ -233,14 +235,14 @@ fc04a3a07f08b4aa4ca1b2588ae8ee72daf790ea1b3e72c03796a204d820c1aa worker/src/ind 46f493a8b4d3423148cde736bbe4d9df8364cbebd188443a493f2a65ad38f638 worker/src/vendor/fflate.NOTICE.md df84fc7ebc819be965d184d0ceeb0b115e46b8d356c5eb6bf315da614c21766b worker/src/vendor/fflate.js e1a48cccc93134741a14d42cf812f9f15697bd2f200a7747eac26068afd69b74 world/actions.js -15533d55089cceae0c79dbbf3ee98c08f903549a22c7363f0d99b4ee07cde565 world/affordances.js +e9a0af46193272479f4db19adba107edf9e44a3cc6ac31d465f33874bbe19db8 world/affordances.js bf4a04ed4f3d519bf263d2a1450b192bc668c1ffc72397958ee772dd1e137629 world/artifacts.js 251ef01a7616cef68bba68b1bc81ac62d30b0bd1685a8beb9784c4ba55fa469b world/beliefs.js c5ce7c1f20314fdb3ee302545401010fd1800d62739a77519684068e135c22cd world/biology.js 395a7995698994e5ed007f50a5e625ceef117f5506ba1c1421d31d60bf63fc5a world/clock.js cd7a7faa5ea4f4e790d76d89b7d0a1e0783eeb1a81ed0e0248d7ec090787cc1a world/cognition-queue.js f9697932e6e6728f0374858b2f19e27275204a449d2c1f7268e94dfedffecaed world/cognition-state.js -cfc8bcbcbcd47b2e9b4a52b838a1bb7837947d98077bf7f45a5d8536725c2446 world/cognition.js +4c46a37931a36970b15ae67d8d3d22c34a5ccbcdd4a645d60a45d168b3e84166 world/cognition.js 8f5f49b4fa80dc4ecc2011b963128db8afc7943a903bf5a79f3ca82ffb35217d world/compact-string-index.js f652161b6761b77228a0a6abae5527e5e19fc2481aba0aeaa2ed5934bf68f3ff world/constants.js d89131a70e43eddbb1cc0f4a699e48766b90eca3b7f56edeba92d8bd22ebaf3e world/designs.js diff --git a/progress.md b/progress.md new file mode 100644 index 0000000..0490712 --- /dev/null +++ b/progress.md @@ -0,0 +1,9 @@ +Original prompt: Tutto bello ma i cittadini sono fermi al centro e non ci sono le persone degli account GitHub. + +2026-10-09: Production contains eight living HUMAN_LINKED citizens; the UI has no public roster. Mature citizens have up to 24 remembered procedures, which unconditionally preempt affordances and overwrite persistent strategies. Four regression tests reproduced this starvation and strategy loss. Fix: score remembered procedures alongside existing physical opportunities with the shared experiment/teach cooldowns; preserve strategies; expose a read-only GitHub citizen roster and locate controls in the existing avatar panel. Preserve world identity, history, animations, authentication and runtime budgets. + +Validation in progress: targeted physics tests, complete invariant suite, browser roster/mobile checks, independent review, CI and production behavior. Local headless Chromium previously failed on macOS sandbox Mach port permissions; use the required client to confirm availability, the in-app browser for visual verification, and existing GitHub browser CI for automated coverage. + +Review correction: reliable recall is weighted by personal confidence and competes with fresh experiments; persisted practice descriptions no longer masquerade as strategies. Real sensory evidence and seven red/green regressions verify both recall and exploration. Guest roster and mobile locate were visually verified with all eight actual public avatars; no browser console errors. Bundled Playwright client cannot launch Chromium here (macOS Mach permission denied); GitHub browser smoke remains required. + +Local complete validation: 503 tests and package checks pass. Independent review cleared all blockers. Indexed deliberation with 100 citizens / 928,000 archived knowledge records took 289 ms locally and read zero private archive pages; this is a Node measurement, not a Cloudflare CPU guarantee. Final source/PR browser CI and deployment verification pending. diff --git a/site/index.html b/site/index.html index f6b8c37..48427cb 100644 --- a/site/index.html +++ b/site/index.html @@ -94,7 +94,7 @@ - + -