Weksa/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens d16cff519f Remove dead currentSnapshot, sendJson, readJsonBody helpers
REC-122:

- `currentSnapshot()` had no caller (the `cachedSnapshot` variable it
  wrapped is still legitimately read directly by
  `refreshWitnesses`'s overlap-skip branch, so only the unused wrapper
  function was removed, not the variable).
- `sendJson` and `readJsonBody` are remnants of a removed HTTP
  ingress; neither has a caller. `httpError`, which `readJsonBody`
  called internally, is kept — it is used by 13 other call sites
  throughout the file.

Kill attempts that failed: none.
- `rg -n '\bcurrentSnapshot\b' scripts/weksa-daemon.mjs` -> only its
  now-removed declaration (repeated the census command against
  current HEAD before editing).
- `rg -n '\bsendJson\b|\breadJsonBody\b' scripts/weksa-daemon.mjs` ->
  only the two now-removed definitions.
- Not exported from the file and no other file requires/imports
  scripts/weksa-daemon.mjs as a module, so no cross-repo consumer is
  possible for these unexported local functions.

Checks run: `node --check scripts/weksa-daemon.mjs` -> syntax OK. No
package.json/test suite exists in this repo to run beyond that.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 14:18:01 +02:00
..
health-weksa-daemon.cmd Expose MiMo VoiceDesign on Weksa daemon 2026-06-11 21:07:48 +01:00
idunn-rudp-health.cjs Publish Weksa health over Idunn RUDP 2026-06-16 05:18:26 +01:00
profile-metame-finetune-dataset.mjs Profile Metame fine-tuning dataset 2026-06-10 21:25:29 +01:00
restart-weksa-daemon.cmd Expose MiMo VoiceDesign on Weksa daemon 2026-06-11 21:07:48 +01:00
restart-weksa-daemon.ps1 Move Weksa command ingress to RUDP 2026-06-23 22:54:54 +01:00
run-metame-affect-tuning-loop.mjs Add Metame affect tuning loop 2026-06-11 16:51:08 +01:00
run-metame-persona-golf.mjs Add Persona culture stack golf harness 2026-06-10 20:45:25 +01:00
run-metame-swarm-explorer.mjs Add incongruent affect harness mode 2026-06-11 16:34:59 +01:00
start-weksa-daemon.ps1 Move Weksa command ingress to RUDP 2026-06-23 22:54:54 +01:00
weksa-daemon.mjs Remove dead currentSnapshot, sendJson, readJsonBody helpers 2026-09-13 14:18:01 +02:00
weksa-rudp-command.cjs Move Weksa command ingress to RUDP 2026-06-23 22:54:54 +01:00