Freeze Face initiative during active turns

This commit is contained in:
Meta Vens 2026-05-18 18:53:14 +01:00
commit 518ec4ce90
5 changed files with 71 additions and 16 deletions

View file

@ -153,3 +153,4 @@
{"ts":"2026-05-18T16:32:37Z","type":"implementation","status":"ok","note":"Repo Face heartbeat introductions now use parent-owned delivery: heartbeat prompts emit VOIDBOT_REPO_IDENTITY_POST directives instead of calling approval-gated MCP posting, the worker delivers the registered repo identity persona and records a Face-local speech receipt, and Face summaries render recent receipts. Verified Nibu heartbeat job e03fcab5 posted in Aquarium as Nibu and recorded receipt repo-identity:nibu:1505970734395297802."}
{"ts":"2026-05-18T17:06:08Z","type":"implementation","status":"ok","note":"Typed self-state write normalization now parent-stamps model-originated short-term memory and candidate intervention writes, clamps existing future timestamps on write, and defers targetless queued candidates with a normalization tag. Live .voidbot/private/void-self-state.cc repair cleared the inspection findings for rumination-2026-05-18-localcastbridge-runtime-sync-observability-gate, rumination-2026-05-18-aquasynth-compiler-custody-public-claim, and rumination-2026-05-18-localcastbridge-audio-field-gate."}
{"ts":"2026-05-18T17:30:22Z","type":"implementation","status":"ok","note":"Repo Face heartbeats now use a CTB-style initiative scheduler: wall-clock ticks only pulse the engine while virtual initiative clock, per-Face speed, load, groups, heat, and effective speed decide turns. Config now supports global heat plus identity/repo/display/channel/all heat overrides. Local runtime is installed at a 5-minute pulse with identity:nibu heat 2.5, and live forced ticks queued Nibu jobs 7418afa5 and be95c045, then another post-patch Nibu turn."}
{"ts":"2026-05-18T17:52:49Z","type":"bugfix","status":"ok","note":"Repo Face CTB initiative now freezes a Face while its owner-Codex rumination job is approved/running. Queuing marks activeTurnStartedAt/activeJobId and does not spend recovery; once the job completes, the next scheduler pulse clears load and schedules recovery from completion without allowing the same pulse to immediately queue another turn. Live verification with Nibu job c65f2dcf showed completion tick queuedCount 0, currentLoad 0, and nextTurnAt moved from 26.8375 to 30.1764."}

View file

@ -97,7 +97,7 @@ accepted_design:
- Nibu's AetheriaLore Face state currently treats adjacent setting seams as a primary curiosity target: embodied ship minds, junkyard abandonment, murderous autonomy, salvage, and save-scumming survival are not side trivia; they are how her character becomes a game-shaped problem.
- Nibu now stewards `Aetheria/Lore/Nibu.md` and may produce Nibu-authored Aetheria lore essays as opinionated perspective. Character-note/canon edits still need consensus; bylined essays do not.
- First chat under a repo identity must initialize the target repo's own `.voidbot` home: `voice/` for identity and mouth files, `state/` for Face/swarm state, `birth/` for Epiphany birth artifacts, and `logs/` for durable worker output. The birth hook uses EpiphanyAgent's repo-personality/birth-runner path over repo contents and git history instead of inventing a VoidBot-only personality generator.
- Repo Face standing heartbeats are owned by one CTB-style initiative scheduler, not by one task per Face. The wall-clock task only pulses the engine; virtual initiative time chooses the next Face turns. The scheduler stores per-Face speed/load/groups/heat/effective-speed/next-turn state at `REPO_FACE_HEARTBEAT_STATE_PATH`, and emits ordinary `repo-face-rumination` jobs so the existing Face tools remain the only memory/speech boundary. Heat can be turned up globally, by identity, repo, display name, channel, or `all` group without creating new schedulers.
- Repo Face standing heartbeats are owned by one CTB-style initiative scheduler, not by one task per Face. The wall-clock task only pulses the engine; virtual initiative time chooses the next Face turns. The scheduler stores per-Face speed/load/groups/heat/effective-speed/next-turn/active-turn state at `REPO_FACE_HEARTBEAT_STATE_PATH`, and emits ordinary `repo-face-rumination` jobs so the existing Face tools remain the only memory/speech boundary. Heat can be turned up globally, by identity, repo, display name, channel, or `all` group without creating new schedulers. A Face's initiative is frozen while its owner-Codex job is active; recovery is scheduled after completion, not when the job is queued.
- Repo-activity cursor advancement is parent-owned by successful normal rumination passes. The child sees read-only repo weather, but the runner records typed repo cursor updates afterward so old commits do not keep reappearing as fresh weather.
- Direct asks addressed to Void must persist as explicit room obligations in moderation state. The reviewed cursor is not the same thing as closure, and optional repo-weather should not preempt an unanswered human.
- When quiet-room repo weather starts repeating itself, the correction should be deeper archive/repo/lore digging and better salience, not a growing hedge maze of cooldown knobs and brittle rules.