Record keyed Body Modeling lifecycle
This commit is contained in:
parent
478fb923a9
commit
32c4dc5a30
5 changed files with 73 additions and 45 deletions
|
|
@ -355,11 +355,11 @@ scheduler, route, notification, or interface contract.
|
|||
|
||||
| Owner | Inputs | Outputs | Invariant |
|
||||
|---|---|---|---|
|
||||
| `epiphany-state-model` | typed state fields | `EpiphanyThreadState` and prompt projection | State is typed; rendering is not authority. |
|
||||
| `coordinator_state_transaction.rs` | expected state, next state, typed companion envelopes | one atomic canonical-state transaction | Sole production writer of `THREAD_STATE_KEY`; companions cannot impersonate state. |
|
||||
| `coordinator_state.rs` | current state plus validated ordinary update | proposed next state and transaction request | Owns update meaning, not persistence. |
|
||||
| `coordinator_launch.rs` | validated launch plan, state, runtime envelopes | state-plus-launch transaction request | Launch constructs runtime companions; the transaction owner commits them. |
|
||||
| `coordinator_acceptance.rs` | reviewed finding, Mind review, commit receipt | state-plus-Mind-witness transaction request | Acceptance owns admission meaning; the transaction owner commits its witnesses. |
|
||||
| keyed Mind documents and `mind_transaction.rs` | exact semantic documents, strong reads, and invariant-owned mutations | disjoint atomic Mind commits plus exact receipts | Decision authority lives in typed document identities; unrelated writes do not share a revision head. |
|
||||
| `current_work.rs` | sealed Mind view plus exact family requests, jobs, results, and decisions | pure family-specific scheduling/continuation projections | Events, timestamps, role lanes, and thread revisions cannot create or suppress work. |
|
||||
| Body Modeling launch/acceptance owners | exact Body obligation, runtime attempt, sealed decision context, and semantic mutation | one job-bound lifecycle and keyed Mind/RepoModel commit | Baseline Body Modeling never reads or writes `EpiphanyThreadStateEntry`; Eyes is not its gate. |
|
||||
| `coordinator_state_transaction.rs` and `EpiphanyThreadStateEntry` | legacy aggregate state and unmigrated family companions | obsolete aggregate commits for residual families only | This is a deletion target, not canonical Mind; it may not regain authority over migrated Body Modeling. |
|
||||
| `coordinator_acceptance.rs` | reviewed family result and its concrete admission owner | family-owned admission or residual legacy aggregate transaction | Baseline Body delegates to `accept_body_modeling_result`; no duplicate semantic owner survives there. |
|
||||
| `thread_state_store.rs` | typed state entry | low-level CultCache codec/read access | Substrate, not policy; it exposes no production writer. |
|
||||
| `coordinator_service.rs` | state/runtime store paths and typed commands | state update, launch, accept, interrupt results | Facade routes typed work; it contains no policy or protocol mapping. |
|
||||
| `surfaces/*` | native state, runtime snapshots, pressure/freshness inputs | scene, jobs, roles, planning, context, graph, CRRC, coordinator recommendations | Read surfaces derive; they do not mutate. |
|
||||
|
|
@ -379,25 +379,22 @@ scheduler, route, notification, or interface contract.
|
|||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
I["Typed intent or worker finding"] --> G["Mind gateway review"]
|
||||
G -->|reject| R["Typed rejection receipt"]
|
||||
G -->|admit| V["State validation"]
|
||||
V --> C["Single coordinator commit path"]
|
||||
C --> S["Native thread-state CultCache"]
|
||||
S --> P["Derived native surfaces"]
|
||||
I["Typed observation or worker decision"] --> G["Concrete invariant owner"]
|
||||
G -->|reject or conflict| R["Typed refusal or fresh work obligation"]
|
||||
G -->|admit| V["Exact strong-read validation"]
|
||||
V --> C["MindMutation batch CAS"]
|
||||
C --> S["Keyed Mind CultCache documents"]
|
||||
S --> P["Deterministic current-work and interface projections"]
|
||||
P --> O["Coordinator / operator / Eve projections"]
|
||||
```
|
||||
|
||||
`coordinator_state_transaction::{open_coordinator_state_transaction,
|
||||
commit_coordinator_state_transaction}` is the single persistence owner.
|
||||
Ordinary updates, launch transactions, and accepted findings construct their
|
||||
domain-specific next state or companion documents, then submit them to that
|
||||
owner. It rejects stale expected state, refuses companion envelopes that target
|
||||
the canonical key, and commits state plus companions in one prepared batch.
|
||||
`thread_state_store.rs` retains typed codec/read access only; its production raw
|
||||
writers and their public exports are deleted. A source guard rejects any second
|
||||
production `THREAD_STATE_KEY` writer. `EpiphanyCoordinatorService` is the narrow
|
||||
caller-facing facade.
|
||||
`mind_transaction::commit_mind_mutation` is the canonical keyed Mind commit
|
||||
primitive. Concrete invariant owners derive exact strong reads and complete
|
||||
write sets; disjoint document identities merge under one CultCache batch CAS,
|
||||
while same-identity or changed strong-read conflicts refuse without partial
|
||||
mutation. `coordinator_state_transaction` remains only because unmigrated
|
||||
families still depend on the obsolete aggregate. It is explicitly not a second
|
||||
canonical Mind and must be deleted when those families move.
|
||||
|
||||
Forbidden writers:
|
||||
|
||||
|
|
@ -4904,10 +4901,9 @@ Outputs: one typed scheduling/display projection with the Mind projection
|
|||
digest. Derived state: status JSON and coordinator recommendations. Forbidden
|
||||
writers: events, latest-result lanes, accepted-at ordering, and thread revisions
|
||||
cannot manufacture or suppress current work. Shared path: status is migrated;
|
||||
operator and Resident Self actuation must consume the same projection after the
|
||||
launch transaction is cut. Cut line: Body Modeling is observable but cannot yet
|
||||
recommend `launchModeling`, because the surviving coordinator launch still
|
||||
writes `EpiphanyThreadStateEntry`. Verification: Body work appears before its
|
||||
operator and Resident Self actuation consume the same projection. Cut line:
|
||||
Body Modeling recommends `launchModeling`, follows exact Launch/Wait/Review
|
||||
state, and never writes `EpiphanyThreadStateEntry`. Verification: Body work appears before its
|
||||
exact decision receipt, clears after that receipt, and performs zero external
|
||||
Body reads; the coordinator-runtime status binary builds.
|
||||
|
||||
|
|
@ -4927,8 +4923,7 @@ Output: one atomic runtime worker family and scoped read grant. Derived state:
|
|||
status, role boards, and eventual runtime links. Forbidden writers: unrelated
|
||||
Persona, Hands, evidence, or graph documents cannot conflict with this launch;
|
||||
thread state cannot create or repair it. Duplicate live launch refuses, while a
|
||||
failed/cancelled attempt makes the work eligible for a distinct ordinal. The
|
||||
remaining cut is to route operator and Resident Self callers through this owner.
|
||||
failed/cancelled attempt makes the work eligible for a distinct ordinal.
|
||||
|
||||
Exact `587c56d2` routes the operator half. The shared Self policy now treats
|
||||
unresolved Body Modeling work as a first-class `launchModeling` reason without
|
||||
|
|
@ -4936,5 +4931,26 @@ requiring persisted thread presence. The coordinator dispatches that specific
|
|||
baseline case through `launch_current_body_modeling_work`; proposal, repair,
|
||||
verdict, Research, and Verification launches retain their family paths. Thus a
|
||||
fresh keyed Mind can begin Modeling directly, while Eyes remains an independent
|
||||
external-evidence obligation rather than a gate on Body understanding. Resident
|
||||
Self remains the next caller to migrate.
|
||||
external-evidence obligation rather than a gate on Body understanding.
|
||||
|
||||
Exact `478fb923` completes that lifecycle through Resident Self and Mind
|
||||
admission. `EpiphanyCurrentWorkProjection.body_modeling_action` derives typed
|
||||
Launch, Wait, or Review from the exact Body work, family launch binding, runtime
|
||||
job/result, and Body decision receipt. Resident Self emits one semantically keyed
|
||||
`body-modeling` pressure only for Launch. The coordinator receipt records the
|
||||
exact runtime job ID, so continuation revalidates that family lifecycle instead
|
||||
of consulting a generic Modeling lane.
|
||||
|
||||
Owner: `accept_body_modeling_result` owns baseline Body semantic admission.
|
||||
Inputs: the exact completed job, exact baseline Modeling result, sealed decision
|
||||
context, and current keyed Mind/RepoModel strong reads. Output: one atomic
|
||||
RepoModel mutation, Body decision document, and `EpiphanyMindCommitReceipt`.
|
||||
Derived state: role boards, events, status, and legacy aggregate projections.
|
||||
Forbidden writers: proposal, repair, or verdict results cannot satisfy Body
|
||||
work; role-lane terminality and thread state cannot manufacture review or
|
||||
acceptance; the aggregate coordinator acceptance branch delegates this family
|
||||
to the same owner. Shared paths: operator and Resident review use the same
|
||||
current-work projection and admission primitive. Verification exercises Body
|
||||
work through pressure, launch, wait, terminal result, review, keyed acceptance,
|
||||
and cleared continuation with zero external Body reads; focused current-work,
|
||||
Resident, Self-policy, coordinator/status, and full core-library checks pass.
|
||||
|
|
|
|||
|
|
@ -225,13 +225,13 @@ Cut in this order:
|
|||
from explicit external-evidence obligations. Body-generation Modeling
|
||||
identity, typed Body-to-Mind admission, sealed reasoning, and atomic decision
|
||||
admission are landed. Current-work no longer reads the external Body store;
|
||||
status consumes the shared projection, but actuation remains intentionally
|
||||
withheld from the aggregate coordinator launch path.
|
||||
3. **Baseline transaction landed at `9f7b164f`; operator routing at `587c56d2`:** move Resident Self launch/review consumers to it and
|
||||
exact request/result identities. Thread ID remains immutable pass provenance
|
||||
only.
|
||||
4. Move role/reorient acceptance from aggregate state patches to family-owned
|
||||
`MindMutation` plans and exact commit receipts.
|
||||
status consumes the shared projection.
|
||||
3. **Baseline transaction landed at `9f7b164f`; operator routing at `587c56d2`; Resident continuation and keyed acceptance at `478fb923`:** baseline Body Modeling is now thread-free from unresolved Body obligation through Launch/Wait/Review and exact Mind admission. Resident and operator callers consume the same family projection and acceptance owner. Thread ID remains immutable pass provenance only.
|
||||
4. Migrate proposal, repair, verdict, Research, Verification, planning, and
|
||||
reorientation acceptance from aggregate state patches and generic role lanes
|
||||
to family-owned current-work projections, exact job identities,
|
||||
`MindMutation` plans, and exact commit receipts. Reuse pure invariant
|
||||
primitives, not a generic mutable registry.
|
||||
5. Delete `EpiphanyThreadStateEntry`, `coordinator_state_transaction`, global
|
||||
expected revisions, aggregate update APIs, and all source references from
|
||||
production. Refuse old writable stores; add no dual reader or migrator.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ effects, receipts, Mind admission, brakes, external consequence gates, and
|
|||
terminal commit. Focused core and OpenAI-runtime Persona suites pass.
|
||||
|
||||
The five-day shakedown remains paused. The active branch includes exact
|
||||
`587c56d2` on `codex/epiphany-shakedown-live`: the keyed Mind foundation, federated Model Atlas
|
||||
`478fb923` on `codex/epiphany-shakedown-live`: the keyed Mind foundation, federated Model Atlas
|
||||
vertical slice, ordinary Modeling authoring path, durable publisher identity,
|
||||
fresh seven-organ Mind bootstrap, and atomic RepoModel projection bootstrap are
|
||||
landed. Historical aggregate RepoModel and partial Gate stores are evidence
|
||||
|
|
@ -21,7 +21,10 @@ or repair path can restore their authority.
|
|||
|
||||
This is not yet the full Concurrent Mind cut. Persisted
|
||||
`EpiphanyThreadStateEntry`, its coordinator transaction, and multiple
|
||||
launch/acceptance/status readers remain live production authorities. Fresh Gate
|
||||
unmigrated launch/acceptance/status readers remain live production authorities.
|
||||
Baseline Body Modeling is no longer among them: keyed Mind owns its work
|
||||
projection, operator and Resident launch, exact job-bound continuation, review,
|
||||
and semantic admission. Fresh Gate
|
||||
preflight proved the consequence: both keyed semantic partitions reached ready,
|
||||
but status still called the organism missing because no thread aggregate
|
||||
existed. Model Atlas Gate 1 is therefore paused behind that deletion, not merely
|
||||
|
|
@ -333,9 +336,18 @@ work is visible there. Exact `9f7b164f` adds its atomic thread-free launch owner
|
|||
one exact Body strong read commits the runtime job/request/event, family launch
|
||||
binding, and read-only Substrate Gate grant without a thread-state write. Exact
|
||||
`587c56d2` routes status and operator baseline Modeling through that owner while
|
||||
preserving distinct proposal/repair/verdict families. Route Resident Self launch
|
||||
through it, migrate review and remaining family
|
||||
acceptance paths, and delete the aggregate schema/transaction. Run the source
|
||||
preserving distinct proposal/repair/verdict families. Exact `478fb923` completes
|
||||
the reference lifecycle: Resident Self derives exact Body pressure from the same
|
||||
current-work projection, coordinator receipts retain the exact runtime job,
|
||||
Launch/Wait/Review never consult a role lane, and operator/Resident acceptance
|
||||
share one `accept_body_modeling_result` MindMutation owner. The legacy aggregate
|
||||
acceptance branch delegates this exact family to that owner rather than retaining
|
||||
a second semantic opinion.
|
||||
|
||||
Inventory the remaining aggregate behavioral readers and writers, then migrate
|
||||
the other Modeling request families onto the same doctrine without turning the
|
||||
reference shape into a generic registry. Continue with Research, Verification,
|
||||
planning, and reorientation; then delete the aggregate schema/transaction. Run the source
|
||||
guards and fresh-store concurrency/decision-context suite. Only after that may
|
||||
Model Atlas Gate 1 restart from a new external root. Keep the current fresh and
|
||||
partial roots read-only; do not release scheduling, register operational
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -38,9 +38,9 @@ invariants:
|
|||
- Evidence and git retain history; this map retains only state that changes future decisions.
|
||||
|
||||
current_status:
|
||||
summary: The keyed RepoModel hard cut, decision-context foundation, and Model Atlas code slice are complete on codex/epiphany-shakedown-live, but the broader Concurrent Mind cut is not. Persisted EpiphanyThreadStateEntry and its coordinator transaction still own production presence, routing, launch, and acceptance behavior. Fresh Gate preflight proved publisher identity, fresh organ Mind, atomic RepoModel projection bootstrap, and both semantic partitions, then correctly stopped when status called a ready keyed Mind missing without the legacy aggregate. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 is paused behind deletion of that obsolete authority.
|
||||
summary: The keyed RepoModel hard cut, decision-context foundation, Model Atlas code slice, and complete baseline Body Modeling lifecycle are landed on codex/epiphany-shakedown-live, but the broader Concurrent Mind cut is not. Keyed Mind now owns Body work discovery, Resident and operator launch, exact job-bound continuation, review, and semantic admission without persisted thread state. EpiphanyThreadStateEntry and its coordinator transaction remain obsolete production authorities for other launch, acceptance, status-presence, and request-selection families. Fresh Gate preflight proved publisher identity, fresh organ Mind, atomic RepoModel projection bootstrap, and both semantic partitions, then correctly stopped when status called a ready keyed Mind missing without the legacy aggregate. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 is paused behind deletion of the remaining aggregate authority.
|
||||
public_positioning: docs/positioning.md is the current public claim owner. Epiphany is the organizational layer above frontier AI workers; global coherence collapse is the primary failure; prompts are bounded projections of governed organizational state; humans retain purpose, judgment, authority, disagreement, exceptions, and acceptance. GameCult is the forge and longitudinal evidence program for a target federation of one locally owned Epiphany project organism per living project Body. Model Atlas carries typed offers, claims, evidence, and derived technical relationships; Bifrost is the intended external work, membership, governance, attribution, and identity-linked receipt rail. Public Persona relationships and visitor surfaces are intended social infrastructure, while private Mind and consequence authority remain local. The fleet, real three-repository Gate 1, complete Bifrost attribution, sustained autonomous production, visitor experience, and external design-partner pilots remain gated alpha targets.
|
||||
latest_phase: Exact 9f7b164f adds the first thread-free actuation owner for baseline Body Modeling. Exact 587c56d2 routes status and the operator coordinator through it: unresolved admitted Body work recommends launchModeling even without thread state, and that action commits through the keyed-Mind transaction while proposal/repair/verdict Modeling retain their distinct family paths. It creates no EpiphanyThreadStateEntry and leaves unrelated Mind changes outside its conflict domain. Current-work 3/3, Self-policy routing proof, coordinator/status build, and core library check pass. Gate 1 remains paused because Resident Self launch, review, and remaining families still use the aggregate coordinator path.
|
||||
latest_phase: Exact 478fb923 completes the thread-free baseline Body Modeling lifecycle. EpiphanyCurrentWorkProjection now owns Launch, Wait, and Review from the exact Body work, launch binding, runtime job/result, and Mind decision receipt. Resident Self derives one body-modeling pressure from that projection; its coordinator receipt carries the exact runtime job so continuation cannot fall back to a role lane or thread head. Operator and Resident review share accept_body_modeling_result, which commits the keyed RepoModel mutation and Body decision receipt through one MindMutation CAS. The legacy aggregate acceptance path delegates this exact family to the same owner. No Eyes result gates Body Modeling, no EpiphanyThreadStateEntry participates, and unrelated Persona, Hands, evidence, or graph documents remain outside the launch conflict domain. Focused current-work, Resident, Self-policy, coordinator/status, and full core-library verification pass. Gate 1 remains paused because the other request and acceptance families still retain aggregate authority.
|
||||
operational_state:
|
||||
local_worktree: clean_at_latest_documentation_handoff
|
||||
operator_wireguard: restored
|
||||
|
|
@ -73,8 +73,8 @@ current_status:
|
|||
starfire_linux_modeling_peak: 109887488_bytes_resident_body_plus_modeling_circuit
|
||||
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
|
||||
resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255
|
||||
unresolved_authority: Persisted EpiphanyThreadStateEntry and coordinator_state_transaction remain live production authorities across status, launch, acceptance, resident continuation, and request selection. This contradicts the intended concurrent keyed Mind and blocks fresh organisms. Model Atlas code and isolated proofs remain accepted, but Gate 1 signed sight/brake acceptance, autonomous cascade, partition exercise, and sustained physiology remain unproven. Operational registration in gamecult-ops remains forbidden. Historical shakedown evidence remains valid; c011 and partial Gate roots remain untouched/read-only. One completed Discord consequence remains blocked by the absent Yggdrasil credential.
|
||||
next_action: Route Resident Self baseline Body Modeling launch through exact 9f7b164f, preserving its single family transaction and refusing the old coordinator transaction for that work. Then migrate review and remaining family acceptance. Delete EpiphanyThreadStateEntry, coordinator_state_transaction, global expected revisions, and every production behavioral reader/writer; refuse old writable stores and prove fresh concurrent/restart behavior. Only then restart Model Atlas Gate 1 from a new external root. Do not add a compatibility aggregate, dual reader, bootstrap thread, or migrator.
|
||||
unresolved_authority: Persisted EpiphanyThreadStateEntry and coordinator_state_transaction remain live production authorities for the unmigrated proposal, repair, verdict, Research, Verification, planning, reorientation, and generic coordinator families, including status presence and parts of request selection. They no longer own baseline Body Modeling. The residual aggregate still contradicts concurrent keyed Mind and blocks fresh organisms. Model Atlas code and isolated proofs remain accepted, but Gate 1 signed sight/brake acceptance, autonomous cascade, partition exercise, and sustained physiology remain unproven. Operational registration in gamecult-ops remains forbidden. Historical shakedown evidence remains valid; c011 and partial Gate roots remain untouched/read-only. One completed Discord consequence remains blocked by the absent Yggdrasil credential.
|
||||
next_action: Inventory every remaining production EpiphanyThreadStateEntry behavioral read/write and migrate one coherent request family at a time onto family-owned current-work, exact job-bound continuation, and MindMutation admission. Start with the remaining Modeling families because baseline Body now supplies the reference shape; collapse duplicate acceptance into their concrete invariant owners rather than extending generic role-lane logic. Then delete EpiphanyThreadStateEntry, coordinator_state_transaction, global expected revisions, and every residual behavioral reader/writer; refuse old writable stores and prove fresh concurrent/restart behavior. Only then restart Model Atlas Gate 1 from a new external root. Do not add a compatibility aggregate, dual reader, bootstrap thread, migrator, or generic work registry.
|
||||
|
||||
active_subgoals:
|
||||
- Delete persisted thread-state authority and complete the concurrent keyed Mind cut before any further operational Gate run.
|
||||
|
|
|
|||
Reference in a new issue