Delete Dungeon's autonomous drivers and owner controls (play agent Cut 1)
Nothing in Dungeon now runs a Persona, an operational agent or an elaborator on its own. Deleted from runtime.rs: the cover tick driver (drive_cover_tick, drive_one_tick, run_cover_tick, submit_clock_tick, CoverSummary, InterruptedCell, cover_panel, the clock-tick constants, configured_cover_budget, configured_tick_interval), the Active elaboration sweep (elaborate_world, run_elaboration_sweep, ELABORATION_SWEEP_INTERVAL, configured_elaboration_ceiling, AppState.elaboration_permits), and the owner's "Let X act" route (ControllerActPayload, dispatch_controller, admit_controller_command, ControllerHttpResult and its builders, controller_error_disposition). Deleted from eve.rs: CoverPanel, CoverPanelTick, cover_card, the owner's controller buttons and descriptor, and world.controller.act from operation_schema. AppState.controller_quarantined is deleted as well: its only writers were dispatch_controller and run_cover_tick, so it could never be set again. controller_permits and configured_controller_concurrency stay for Cut 8; until then only runtime_readiness reads the pool. ControllerRunner stays for seeding and custody_probe; world.speak, the story card and world.advance_time stay until Cut 9. Tests dropped with the behaviour they pinned: the nine the cut map lists, plus no_proposal_projection_carries_the_canonical_world_commit, which tested the deleted controller_submission. Their fixtures go with them; the world fixture collapses to the Draft-only path its remaining callers use. removed_legacy_operation_is_denied_before_dispatch now also names world.controller.act. Docs: the MVP doc, the ontology and the handoff drop the cover, tick-interval and elaboration-ceiling variables and the sentences that described the deleted drivers. Library untouched. Built and tested on Windows only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
29f9ab3402
commit
d69e9d43cf
5 changed files with 81 additions and 2265 deletions
|
|
@ -470,21 +470,12 @@ using unresolved pressure and time since the last opportunity, with subject id
|
|||
as the final tiebreak. Causal exposure is derivable from `dependencies` and is
|
||||
not an ordering input. It emits `DecisionOpportunity` values and cannot commit.
|
||||
|
||||
`drive_cover_tick` is the single owner of tick cadence, cover derivation, and
|
||||
the clock: it derives the cover, runs the cells under a bounded concurrency
|
||||
permit pool with a quarantine flag, and advances the clock after the cells so
|
||||
every cell in a tick shares one `now` and one tick index. Its budget is
|
||||
configuration (`GHOSTLIGHT_COVER_CELL_BUDGET`, `GHOSTLIGHT_COVER_CONSTITUENT_CAP`,
|
||||
`GHOSTLIGHT_COVER_URGENCY_SLOTS`, `GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`,
|
||||
`GHOSTLIGHT_TICK_INTERVAL_SECONDS`); changing any is a restart. Concurrency is
|
||||
two pools, one per lane, each read at open. The simulation pool
|
||||
(`GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, default 4) is a budget: speak turns
|
||||
and cover cells draw from it and nothing else does. The elaboration pool
|
||||
(`GHOSTLIGHT_ELABORATION_MAX_CONCURRENT`, default 2, minimum 1) is a ceiling:
|
||||
the most elaboration sessions that run at once, with no connector capacity
|
||||
reserved for them. Neither lane acquires the other's pool. Both reach the
|
||||
connector under one caller id, so under connector capacity pressure the
|
||||
connector decides which request is refused. The five
|
||||
Dungeon runs no turn on its own: no wall-clock tick, cover cell, elaboration
|
||||
sweep or owner-requested controller turn. The clock advances only through the
|
||||
owner's `world.advance_time`. The controller pool
|
||||
(`GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, default 4) is read at open; nothing
|
||||
draws from it yet, and runtime readiness reads it. Changing it is a restart.
|
||||
The five
|
||||
controller models are configuration too (`GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL`,
|
||||
`_PERSONA_MODEL`, `_INTERPRETER_MODEL`, `_OPERATIONAL_MODEL`,
|
||||
`_ELABORATOR_MODEL`), each with a default when absent.
|
||||
|
|
@ -501,11 +492,7 @@ against a fresh opportunity, with the delta the subject could perceive since
|
|||
its bound revision (`Overheard` rows plus the typed component diff); the
|
||||
Persona is never re-run, and the renewed binding carries the one it replaced
|
||||
(`interrupted_from`) so a second interruption of the same turn ends it rather
|
||||
than lowering it again. Eve reports an overtaken turn through
|
||||
`ControllerHttpResult::Interrupted`, which renders in the command result as
|
||||
`denied` today; the owner sees the interruption itself — subject, both scope
|
||||
digests, the persona prose and receipt, and the untranslatable gap — in that
|
||||
result's receipt text, not in the state name.
|
||||
than lowering it again.
|
||||
|
||||
Resolution covers and grouping are compute budgets for projection. They do not
|
||||
create, merge, fission, or qualify identities. Every active subject is in the
|
||||
|
|
|
|||
|
|
@ -225,10 +225,7 @@ cell is one inference over partitioned per-constituent views returning zero
|
|||
or one attributed proposal per constituent; declines are submitted first and
|
||||
each proposal commits or is refused on its own scope digest; a coarse
|
||||
`NarrativePersona` receives its typed view and does not enter the membrane.
|
||||
Cell and constituent command ids are sha256-derived. The runtime's
|
||||
`drive_cover_tick` is the single owner of tick cadence, cover derivation,
|
||||
the bounded concurrency permit pool, the quarantine flag, and the clock,
|
||||
which advances after the cells so every cell in a tick shares one `now`.
|
||||
Cell and constituent command ids are sha256-derived.
|
||||
|
||||
`AdmitPatch` has a third author: `CallerId::System(SystemCapability::Consumer
|
||||
{ consumer })`, minted only by `WorldMailbox::submit_consumer` after the
|
||||
|
|
@ -672,10 +669,7 @@ recording it, each holding one permit of the elaboration ceiling for its whole
|
|||
step. A sweep first reads the store's in-flight sessions and resumes any that
|
||||
answer a current demand entry, and the caller runs sweeps one at a time. The
|
||||
ceiling is the caller's, passed to each sweep; the library holds no
|
||||
concurrency number. Dungeon keeps two pools: the elaboration pool
|
||||
(`GHOSTLIGHT_ELABORATION_MAX_CONCURRENT`, a ceiling) and the simulation pool
|
||||
(`GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, a budget) that speak turns and cover
|
||||
cells draw from, and neither lane acquires the other's. The tool catalog is
|
||||
concurrency number. The tool catalog is
|
||||
generated from this document's operation set and declaration kinds, plus
|
||||
`record_gap` and `submit`. It cannot contain an operation the reducer does not
|
||||
own, because it is derived from the reducer's vocabulary.
|
||||
|
|
|
|||
Loading…
Reference in a new issue