Launch proposal Modeling from typed startup
This commit is contained in:
parent
58f42b6a1f
commit
5f09d35aa5
5 changed files with 80 additions and 4 deletions
|
|
@ -478,6 +478,55 @@ fn run_coordinator(args: &Args) -> Result<Value> {
|
|||
}));
|
||||
}
|
||||
|
||||
if let Some(request_id) = args.proposal_modeling_request_id.as_deref() {
|
||||
if args.objective.is_some()
|
||||
|| args.imagination_consideration_request_id.is_some()
|
||||
|| args
|
||||
.admitted_model_direction_consideration_request_id
|
||||
.is_some()
|
||||
{
|
||||
return Err(anyhow!(
|
||||
"typed proposal Modeling requires exclusive objective-free intake"
|
||||
));
|
||||
}
|
||||
let state = epiphany_core::EpiphanyCoordinatorService::new(&runtime_store)
|
||||
.state()?
|
||||
.ok_or_else(|| anyhow!("proposal Modeling launch requires coordinator state"))?;
|
||||
let launched = launch_role(
|
||||
&runtime_store,
|
||||
&local_verse_store,
|
||||
&thread_id,
|
||||
"modeling",
|
||||
Some(state.revision as i64),
|
||||
args.max_runtime_seconds,
|
||||
Some(request_id),
|
||||
)?;
|
||||
let worker_job_id = worker_job_id_from_launch(&launched)?;
|
||||
let worker_run = launch_worker_runtime_detached(
|
||||
&model_runtime_bin,
|
||||
&tool_adapter_bin,
|
||||
&args.model_provider,
|
||||
&runtime_store,
|
||||
&codex_home,
|
||||
&mcp_config,
|
||||
&cwd,
|
||||
&worker_job_id,
|
||||
"modeling",
|
||||
0,
|
||||
&artifact_dir,
|
||||
args.max_runtime_seconds,
|
||||
args.auto_tools,
|
||||
)?;
|
||||
startup_events.push(json!({
|
||||
"type": "proposalModelingLaunch",
|
||||
"requestId": request_id,
|
||||
"runtimeJobId": worker_job_id,
|
||||
"launch": status_cli::sanitize_for_operator(launched),
|
||||
"worker": worker_run,
|
||||
"authority": "proposal-modeling-only"
|
||||
}));
|
||||
}
|
||||
|
||||
let mut manual_regather_approval = args.approve_manual_regather;
|
||||
for index in 0..args.max_steps {
|
||||
let status = collect_coordinator_status(&runtime_store, &thread_id)?;
|
||||
|
|
|
|||
|
|
@ -1291,6 +1291,17 @@ class and the cancellation contract must evolve together; otherwise the
|
|||
runtime errors before the requeue CAS and leaves physiology split across an
|
||||
active resident lease and an uncompleted heartbeat turn.
|
||||
|
||||
Typed resident launches run the bounded coordinator in planning mode so an
|
||||
ordinary operator objective cannot silently become actuation. Request-owned
|
||||
lanes that already carry their own authority therefore act through exclusive
|
||||
startup handlers before the generic planning loop: Imagination consideration,
|
||||
admitted model-direction consideration, and proposal-bound Modeling each load
|
||||
their exact request and launch only that request's worker. Proposal Modeling
|
||||
must not depend on the later generic `launchModeling` action loop; planning mode
|
||||
intentionally stops before that loop actuates. Its startup handler creates the
|
||||
exact `RepoFrontierProposalModelingLaunchBinding` that resident fulfillment
|
||||
then verifies.
|
||||
|
||||
## Exact release build cache ownership
|
||||
|
||||
Release construction has two serialized cache authorities. The graph cache is
|
||||
|
|
|
|||
|
|
@ -1,5 +1,21 @@
|
|||
# Fresh Workspace Handoff
|
||||
|
||||
Exact `58f42b6a` packages as
|
||||
`sha256-562aeb2bf246e27f2b63ed094633b63daff7ca07d5eb5f14dfcb12d47fca6daf`
|
||||
with witness
|
||||
`sha256-8d5ad5e2b734679c8b788445f6ad91d31468cc56d001f3d975fa34f373faf0c2`;
|
||||
its stable-cache core build took 6m50s. Fresh v39 proved `unfulfilled`
|
||||
cancellation and heartbeat retry repeatedly preserve the exact proposal
|
||||
pressure. It also exposed why no retry could succeed: resident coordinators run
|
||||
in safe `plan` mode, and proposal Modeling alone lacked a typed startup launch
|
||||
handler. Operator-safe coordinator evidence showed `launchModeling`,
|
||||
`canAutoRun=true`, one planning step, and zero launch events. Raising the step
|
||||
budget from four to eight did not change the result and is rejected as a fix.
|
||||
The current worktree gives proposal Modeling the same exclusive objective-free
|
||||
startup ownership already used by typed Imagination and direction requests.
|
||||
All 15 coordinator binary tests pass. v39 is sealed at this missing-actuator
|
||||
boundary.
|
||||
|
||||
Exact pushed `88a38987` packages as
|
||||
`sha256-76ed147f0ce86f26bab210534e623ed0a67030c2d8a03a7ad7e5226ffa934059`
|
||||
with witness
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -34,15 +34,15 @@ invariants:
|
|||
- Evidence and git retain history; this map retains only state that changes future decisions.
|
||||
|
||||
current_status:
|
||||
summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact 88a38987 packages as sha256-76ed147f0ce86f26bab210534e623ed0a67030c2d8a03a7ad7e5226ffa934059 with witness sha256-d7f6551dda188dbd3abe4ccbd73ce97825bc3d77f1467968f8d56c1fdd40437f. v38 crossed autonomous Imagination into proposal Modeling, then proved the new `unfulfilled` terminal class was rejected by the older cancellation contract before atomic requeue. The current worktree admits that class at the sole cancellation authority; its exact atomic requeue test passes. Persona consequence, retention, endurance, and Linux/Yggdrasil cognition remain open.
|
||||
summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact 58f42b6a packages as sha256-562aeb2bf246e27f2b63ed094633b63daff7ca07d5eb5f14dfcb12d47fca6daf with witness sha256-8d5ad5e2b734679c8b788445f6ad91d31468cc56d001f3d975fa34f373faf0c2. v39 proved unfulfilled proposal turns atomically requeue and receive fresh heartbeat grants, but no retry could bind Modeling because resident coordinators intentionally run in plan mode and proposal Modeling lacked the exclusive typed startup actuator used by the other request-owned lanes. The current worktree adds that actuator; all 15 coordinator tests pass. Persona consequence, retention, endurance, and Linux/Yggdrasil cognition remain open.
|
||||
operational_state:
|
||||
local_worktree: unfulfilled_cancellation_contract_verified_pending_commit
|
||||
local_worktree: proposal_modeling_startup_actuator_verified_pending_commit
|
||||
operator_wireguard: restored
|
||||
yggdrasil: canonical_small_public_crossing_body
|
||||
starfire: temporary_epiphany_cognition_body
|
||||
starfire_runtime_identity: epiphany-starfire
|
||||
starfire_swarm_brake: released
|
||||
starfire_release: authenticated_88a38987_fulfillment_check; cancellation_contract_successor_pending
|
||||
starfire_release: authenticated_58f42b6a_unfulfilled_retry; startup_actuator_successor_pending
|
||||
starfire_repository_body: bound_and_observed
|
||||
starfire_verse_topology: bound_to_current_repository_body
|
||||
starfire_native_status: supervised_shakedown_active
|
||||
|
|
@ -53,7 +53,7 @@ current_status:
|
|||
yggdrasil_epiphany_services: absent
|
||||
resident_physiology: heartbeat_and_self_running
|
||||
unresolved_authority: v31's generic user proposal produced a lawful direct Hands gate, but the active objective requires the autonomous Imagination-origin path and dedicated Mind adoption, so that gate remains inert. v37 proved single-owner pressure ordering but exposed that generic coordinator completion could consume a typed pressure without its requested launch consequence. The fulfillment repair is locally verified but not packaged/live. Canonical proposal Modeling, dedicated Mind adoption, exact Hands binding, bounded-worker failure/restart/closure, Persona consequence, retention, endurance, and Linux/Yggdrasil cognition remain open.
|
||||
next_action: Commit, package, and authenticate the unfulfilled cancellation-contract repair; replay from the pre-proposal v31 boundary and prove zero-exit without binding requeues, heartbeat retries, the exact Modeling launch binding appears before success, and only then the next request becomes pressure. Then continue canonical Imagination planning, dedicated Mind, Hands, and bounded-worker failure/restart/Soul closure.
|
||||
next_action: Commit, package, and authenticate the proposal Modeling startup actuator; replay the sealed v39 boundary and prove the exact launch binding appears before resident success and only then the next selected proposal becomes pressure. Then continue canonical Imagination planning, dedicated Mind, Hands, and bounded-worker failure/restart/Soul closure.
|
||||
|
||||
active_subgoals:
|
||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||
|
|
|
|||
Reference in a new issue