Route receipt-bound internal cognition continuations

This commit is contained in:
Meta Vens 2026-08-11 01:10:59 +02:00
commit 4d6d269f7b
7 changed files with 496 additions and 5 deletions

View file

@ -98,6 +98,7 @@ struct Args {
resident_state_store: Option<PathBuf>,
resident_preparation_id: Option<String>,
runtime_id: Option<String>,
required_action: Option<String>,
}
impl Args {
@ -139,6 +140,7 @@ impl Args {
resident_state_store: None,
resident_preparation_id: None,
runtime_id: None,
required_action: None,
};
while let Some(arg) = args.next() {
match arg.as_str() {
@ -194,6 +196,9 @@ impl Args {
Some(take_string(&mut args, "--resident-preparation-id")?)
}
"--runtime-id" => parsed.runtime_id = Some(take_string(&mut args, "--runtime-id")?),
"--required-action" => {
parsed.required_action = Some(take_string(&mut args, "--required-action")?)
}
"--cwd" => parsed.cwd = take_path(&mut args, "--cwd")?,
"--codex-home" => parsed.codex_home = take_path(&mut args, "--codex-home")?,
"--mcp-config" => parsed.mcp_config = take_path(&mut args, "--mcp-config")?,
@ -242,6 +247,13 @@ impl Args {
"coordinator requires exact --runtime-id for local Verse authority"
));
}
if parsed.required_action.is_some()
&& (parsed.mode != "execute" || parsed.max_steps != 1)
{
return Err(anyhow!(
"--required-action requires execute mode with exactly one step"
));
}
Ok(parsed)
}
}
@ -548,6 +560,23 @@ fn run_coordinator(args: &Args) -> Result<Value> {
final_status = status.clone();
final_action = coordinator.clone();
if let Some(required_action) = args.required_action.as_deref()
&& action != required_action
{
push_event(
&mut step,
json!({
"type": "requiredActionRefusal",
"requiredAction": required_action,
"derivedAction": action,
"consequence": "none"
}),
);
append_operator_step_jsonl(&steps_path, &step)?;
steps.push(step);
break;
}
if args.mode == "plan" {
append_operator_step_jsonl(&steps_path, &step)?;
steps.push(step);
@ -2390,6 +2419,21 @@ fn home_dir() -> PathBuf {
mod tests {
use super::*;
#[test]
fn resident_required_action_refusal_precedes_the_action_match() {
let source = include_str!("epiphany-mvp-coordinator.rs");
let refusal = source
.find("requiredActionRefusal")
.expect("required-action refusal");
let action_match = source
.find("match action.as_str()")
.expect("coordinator action match");
assert!(refusal < action_match);
let refusal_body = &source[refusal..action_match];
assert!(refusal_body.contains("consequence\": \"none"));
assert!(refusal_body.contains("break;"));
}
#[test]
fn proposal_cli_argument_is_only_an_assertion_over_self_derived_authority() {
let request = "repo-frontier-proposal-modeling-request";
@ -2456,6 +2500,7 @@ mod tests {
resident_state_store: None,
resident_preparation_id: None,
runtime_id: Some("epiphany-error-terminalization".to_string()),
required_action: None,
};
let error = run_coordinator(&args)

View file

@ -9,6 +9,7 @@ use epiphany_core::{
bridge_admitted_persona_feedback_to_heartbeat, capture_process_instance,
coordinator_run_receipts, derive_resident_cognition_readiness,
enqueue_resident_self_pressure, import_bifrost_persona_feedback_deliveries,
ingest_resident_self_coordinator_continuation_pressure,
ingest_resident_self_domain_pressure, load_epiphany_cultmesh_swarm_brake,
live_resident_self_typed_request_ids, load_resident_self_state, observe_process_instance,
pending_resident_self_acks,
@ -309,6 +310,11 @@ fn cycle(
&args.policy.workspace.display().to_string(),
now,
)?;
ingest_resident_self_coordinator_continuation_pressure(
&args.state_store,
&args.policy.runtime_store,
now,
)?;
Ok(())
})?;
*state = load_resident_self_state(&args.state_store)?;

View file

@ -12,6 +12,10 @@ pub const RESIDENT_SELF_STATE_SCHEMA_VERSION: &str = "epiphany.resident_self.sta
pub const RESIDENT_SELF_RUNTIME_RECEIPT_SCHEMA_VERSION: &str =
"epiphany.resident_self.runtime_receipt.v0";
pub const RESIDENT_SELF_PRESSURE_SCHEMA_VERSION: &str = "epiphany.resident_self.pressure.v0";
pub const RESIDENT_SELF_COORDINATOR_CONTINUATION_PRESSURE_KIND: &str =
"coordinator-internal-continuation";
const RESIDENT_SELF_COORDINATOR_CONTINUATION_PROVENANCE_PREFIX: &str =
"cultcache://coordinator-run-receipt/";
pub const RESIDENT_SELF_GRANT_SCHEMA_VERSION: &str = "epiphany.resident_self.heartbeat_grant.v1";
pub const RESIDENT_SELF_ACK_SCHEMA_VERSION: &str = "epiphany.resident_self.terminal_ack.v0";
pub const RESIDENT_SELF_CHILD_CLAIM_SCHEMA_VERSION: &str = "epiphany.resident_self.child_claim.v0";
@ -56,6 +60,7 @@ impl ResidentSelfPressure {
| "imagination-consideration"
| "imagination-proposal"
| "repo-frontier-proposal-modeling"
| RESIDENT_SELF_COORDINATOR_CONTINUATION_PRESSURE_KIND
)
|| self.pressure_id.trim().is_empty()
|| self.provenance_ref.trim().is_empty()
@ -610,6 +615,7 @@ struct ResidentCoordinatorBinding {
runtime_id: String,
thread_id: String,
typed_request: Option<(String, String)>,
required_action: Option<String>,
}
pub fn resident_cognitive_runtime_id(runtime_store: &Path) -> Result<String> {
@ -630,6 +636,30 @@ fn resident_coordinator_binding_for_grant(
let runtime_identity = cache
.get::<crate::EpiphanyRuntimeIdentity>(crate::RUNTIME_IDENTITY_KEY)?
.ok_or_else(|| anyhow!("resident typed request runtime store lost its identity"))?;
if grant.pressure_kind == RESIDENT_SELF_COORDINATOR_CONTINUATION_PRESSURE_KIND {
let receipt_id = grant
.provenance_ref
.strip_prefix(RESIDENT_SELF_COORDINATOR_CONTINUATION_PROVENANCE_PREFIX)
.filter(|value| !value.trim().is_empty())
.ok_or_else(|| anyhow!("coordinator continuation lost exact receipt provenance"))?;
let receipt = cache
.get::<crate::EpiphanyCoordinatorRunReceipt>(receipt_id)?
.ok_or_else(|| anyhow!("coordinator continuation receipt is missing"))?;
if !matches!(receipt.status.as_str(), "planned" | "needsReview" | "completed") {
return Err(anyhow!("coordinator continuation receipt is not successful"));
}
let required_action = resident_self_safe_continuation_action(
&policy.runtime_store,
&receipt,
)?
.ok_or_else(|| anyhow!("coordinator receipt no longer owns a safe continuation"))?;
return Ok(ResidentCoordinatorBinding {
runtime_id: runtime_identity.runtime_id,
thread_id: receipt.thread_id,
typed_request: None,
required_action: Some(required_action),
});
}
let (prefix, request_flag) = match grant.pressure_kind.as_str() {
"imagination-consideration" => (
"cultcache://imagination-consideration/",
@ -648,6 +678,7 @@ fn resident_coordinator_binding_for_grant(
thread_id: resident_coordinator_thread_id(&runtime_identity.runtime_id)?,
runtime_id: runtime_identity.runtime_id,
typed_request: None,
required_action: None,
});
}
};
@ -688,6 +719,7 @@ fn resident_coordinator_binding_for_grant(
runtime_id: runtime_identity.runtime_id,
thread_id,
typed_request: Some((request_flag.into(), request_id.into())),
required_action: None,
})
}
@ -1087,6 +1119,157 @@ pub fn ingest_resident_self_domain_pressure(
Ok(inserted)
}
fn role_result_is_terminal_for_continuation(
runtime_store: &Path,
thread_id: &str,
role: crate::EpiphanyRoleResultRoleId,
binding_id: &str,
) -> Result<bool> {
let entry = crate::load_thread_state_entry(runtime_store)?;
let state = entry
.as_ref()
.filter(|entry| entry.thread_id == thread_id)
.map(crate::EpiphanyThreadStateEntry::state)
.transpose()?;
let snapshot = crate::read_role_result_snapshot(
state.as_ref(),
Some(runtime_store),
role,
binding_id,
);
Ok(matches!(
snapshot.status,
crate::EpiphanyCoordinatorRoleResultStatus::Completed
| crate::EpiphanyCoordinatorRoleResultStatus::Failed
| crate::EpiphanyCoordinatorRoleResultStatus::Cancelled
))
}
fn resident_self_safe_continuation_action(
runtime_store: &Path,
receipt: &crate::EpiphanyCoordinatorRunReceipt,
) -> Result<Option<String>> {
let direct = matches!(
receipt.final_action.as_str(),
"reviewResearchResult"
| "reviewModelingResult"
| "reviewVerificationResult"
| "launchResearch"
| "launchModeling"
| "launchVerification"
| "startFrontierPlanning"
| "launchImagination"
| "requestMindPlanReview"
| "launchMindPlanReview"
| "commitFrontierPlanDecision"
);
if direct {
return Ok(Some(receipt.final_action.clone()));
}
let action = match receipt.final_action.as_str() {
"waitForResearchResult"
if role_result_is_terminal_for_continuation(
runtime_store,
&receipt.thread_id,
crate::EpiphanyRoleResultRoleId::Research,
crate::EPIPHANY_RESEARCH_ROLE_BINDING_ID,
)? =>
{
Some("reviewResearchResult")
}
"waitForModelingResult"
if role_result_is_terminal_for_continuation(
runtime_store,
&receipt.thread_id,
crate::EpiphanyRoleResultRoleId::Modeling,
crate::EPIPHANY_MODELING_ROLE_BINDING_ID,
)? =>
{
Some("reviewModelingResult")
}
"waitForVerificationResult"
if role_result_is_terminal_for_continuation(
runtime_store,
&receipt.thread_id,
crate::EpiphanyRoleResultRoleId::Verification,
crate::EPIPHANY_VERIFICATION_ROLE_BINDING_ID,
)? =>
{
Some("reviewVerificationResult")
}
"waitForImaginationResult" => match crate::runtime_repo_frontier_planning_lifecycle(
runtime_store,
)?
.stage
{
crate::RepoFrontierPlanningLifecycleStage::ImaginationResultReady => {
Some("requestMindPlanReview")
}
_ => None,
},
"waitForMindPlanResult" => match crate::runtime_repo_frontier_planning_lifecycle(
runtime_store,
)?
.stage
{
crate::RepoFrontierPlanningLifecycleStage::MindResultReady => {
Some("commitFrontierPlanDecision")
}
_ => None,
},
_ => None,
};
Ok(action.map(str::to_string))
}
pub fn ingest_resident_self_coordinator_continuation_pressure(
resident_store: &Path,
runtime_store: &Path,
now_millis: u64,
) -> Result<bool> {
let state = state_cache(resident_store)?
.get::<ResidentSelfState>(RESIDENT_SELF_STATE_KEY)?
.unwrap_or_default();
if state.active_turn.is_some() || state.prepared_launch.is_some() {
return Ok(false);
}
let Some(receipt_id) = state.last_coordinator_receipt_id else {
return Ok(false);
};
let mut runtime = crate::runtime_spine_cache(runtime_store)?;
runtime.pull_all_backing_stores()?;
let Some(receipt) = runtime.get::<crate::EpiphanyCoordinatorRunReceipt>(&receipt_id)? else {
return Err(anyhow!(
"resident continuation lost its last exact coordinator receipt"
));
};
if !matches!(receipt.status.as_str(), "planned" | "needsReview" | "completed") {
return Ok(false);
}
let Some(action) = resident_self_safe_continuation_action(runtime_store, &receipt)? else {
return Ok(false);
};
let pressure_id = format!("resident-self-continuation-{receipt_id}-{action}");
enqueue_resident_self_pressure_idempotent(
resident_store,
&ResidentSelfPressure {
schema_version: RESIDENT_SELF_PRESSURE_SCHEMA_VERSION.into(),
pressure_id,
kind: RESIDENT_SELF_COORDINATOR_CONTINUATION_PRESSURE_KIND.into(),
provenance_ref: format!(
"{RESIDENT_SELF_COORDINATOR_CONTINUATION_PROVENANCE_PREFIX}{receipt_id}"
),
objective: format!(
"Continue exact internal cognition action {action}; no Hands, Persona, deployment, or external consequence."
),
created_at_millis: now_millis,
status: "pending".into(),
consumed_by_grant_id: None,
private_state_exposed: false,
},
)
}
pub fn heartbeat_issue_resident_self_grant(
path: &Path,
schedule_id: &str,
@ -1843,16 +2026,36 @@ pub fn prepare_resident_self_launch(
Some(&grant.grant_id),
&wake,
);
if let Some((request_flag, request_id)) = binding.typed_request {
if binding.typed_request.is_some() || binding.required_action.is_some() {
let objective = argv.pop();
let flag = argv.pop();
if objective.is_none() || flag.as_deref() != Some("--objective") {
return Err(anyhow!(
"consideration launch could not remove objective carrier"
"objective-free resident launch could not remove objective carrier"
));
}
}
if let Some((request_flag, request_id)) = binding.typed_request {
argv.extend([request_flag, request_id]);
}
if let Some(required_action) = binding.required_action {
if policy.max_steps != 1 {
return Err(anyhow!(
"resident coordinator continuation requires exactly one coordinator step"
));
}
let mode_index = argv
.iter()
.position(|value| value == "--mode")
.and_then(|index| argv.get_mut(index + 1))
.ok_or_else(|| anyhow!("resident continuation lost coordinator mode"))?;
*mode_index = "execute".into();
argv.extend([
"--auto-review".into(),
"--required-action".into(),
required_action,
]);
}
let executable = std::fs::read(&policy.coordinator_bin)
.with_context(|| format!("failed to hash {}", policy.coordinator_bin.display()))?;
let argv_digest = digest_parts(argv.iter().map(String::as_bytes));
@ -4797,6 +5000,128 @@ mod tests {
Ok(())
}
#[test]
fn exact_coordinator_receipt_owns_one_internal_continuation_launch() -> Result<()> {
let temp = tempfile::tempdir()?;
let resident_store = temp.path().join("resident-continuation.cc");
let runtime_store = temp.path().join("runtime-continuation.cc");
seed_runtime_identity(&runtime_store, "cognitive-runtime")?;
let receipt = crate::EpiphanyCoordinatorRunReceipt {
schema_version: crate::COORDINATOR_RUN_RECEIPT_SCHEMA_VERSION.into(),
receipt_id: "receipt-review-modeling".into(),
session_id: "coordinator-thread-1-resident-deadbeef".into(),
thread_id: "thread-1".into(),
mode: "plan".into(),
status: "needsReview".into(),
final_action: "reviewModelingResult".into(),
final_reason: Some("typed Modeling result is ready".into()),
step_count: 1,
created_at: "2026-08-11T00:00:00Z".into(),
model_provider: Some("test".into()),
runtime_store: runtime_store.display().to_string(),
artifact_refs: Vec::new(),
sealed_artifact_refs: Vec::new(),
metadata: BTreeMap::new(),
resident_grant_id: Some("prior-grant".into()),
resident_launch_digest: Some("prior-launch".into()),
resident_policy_digest: Some("prior-policy".into()),
resident_argv_digest: Some("prior-argv".into()),
resident_objective_digest: Some("prior-objective".into()),
resident_release_commit: Some("prior-commit".into()),
resident_release_manifest_digest: Some("prior-manifest".into()),
resident_executable_digest: Some("prior-executable".into()),
};
crate::runtime_spine_cache(&runtime_store)?.put(&receipt.receipt_id, &receipt)?;
let mut state = ResidentSelfState::default();
state.last_coordinator_receipt_id = Some(receipt.receipt_id.clone());
let cache = state_cache(&resident_store)?;
let (entry, _) = cache.prepare_entry(RESIDENT_SELF_STATE_KEY, &state)?;
SingleFileMessagePackBackingStore::new(&resident_store).push(&entry)?;
assert!(ingest_resident_self_coordinator_continuation_pressure(
&resident_store,
&runtime_store,
1,
)?);
assert!(!ingest_resident_self_coordinator_continuation_pressure(
&resident_store,
&runtime_store,
2,
)?);
let pressure = resident_self_pressures(&resident_store)?
.into_iter()
.next()
.expect("one continuation pressure");
assert_eq!(
pressure.kind,
RESIDENT_SELF_COORDINATOR_CONTINUATION_PRESSURE_KIND
);
heartbeat_issue_resident_self_grant(&resident_store, "schedule", "action", 3)?
.expect("one continuation grant");
let coordinator = temp.path().join("epiphany-mvp-coordinator");
std::fs::write(&coordinator, b"witnessed executable")?;
let mut policy = policy();
policy.coordinator_bin = coordinator;
policy.runtime_store = runtime_store;
policy.max_steps = 1;
let prepared = prepare_resident_self_launch(&resident_store, &policy, 4)?
.expect("continuation preparation");
assert_eq!(resident_prepared_launch_thread_id(&prepared)?, "thread-1");
assert!(prepared.argv.windows(2).any(|pair| pair == ["--mode", "execute"]));
assert!(prepared.argv.iter().any(|arg| arg == "--auto-review"));
assert!(prepared.argv.windows(2).any(|pair| {
pair == ["--required-action", "reviewModelingResult"]
}));
assert!(!prepared.argv.iter().any(|arg| arg == "--objective"));
Ok(())
}
#[test]
fn coordinator_receipt_cannot_autonomously_continue_into_hands() -> Result<()> {
let temp = tempfile::tempdir()?;
let resident_store = temp.path().join("resident-hands-refusal.cc");
let runtime_store = temp.path().join("runtime-hands-refusal.cc");
seed_runtime_identity(&runtime_store, "cognitive-runtime")?;
let receipt = crate::EpiphanyCoordinatorRunReceipt {
schema_version: crate::COORDINATOR_RUN_RECEIPT_SCHEMA_VERSION.into(),
receipt_id: "receipt-hands-refusal".into(),
session_id: "coordinator-thread-hands-resident-deadbeef".into(),
thread_id: "thread-hands".into(),
mode: "plan".into(),
status: "needsReview".into(),
final_action: "continueImplementation".into(),
final_reason: None,
step_count: 1,
created_at: "2026-08-11T00:00:00Z".into(),
model_provider: Some("test".into()),
runtime_store: runtime_store.display().to_string(),
artifact_refs: Vec::new(),
sealed_artifact_refs: Vec::new(),
metadata: BTreeMap::new(),
resident_grant_id: Some("grant-hands".into()),
resident_launch_digest: Some("launch-hands".into()),
resident_policy_digest: Some("policy-hands".into()),
resident_argv_digest: Some("argv-hands".into()),
resident_objective_digest: Some("objective-hands".into()),
resident_release_commit: Some("commit-hands".into()),
resident_release_manifest_digest: Some("manifest-hands".into()),
resident_executable_digest: Some("executable-hands".into()),
};
crate::runtime_spine_cache(&runtime_store)?.put(&receipt.receipt_id, &receipt)?;
let mut state = ResidentSelfState::default();
state.last_coordinator_receipt_id = Some(receipt.receipt_id);
let cache = state_cache(&resident_store)?;
let (entry, _) = cache.prepare_entry(RESIDENT_SELF_STATE_KEY, &state)?;
SingleFileMessagePackBackingStore::new(&resident_store).push(&entry)?;
assert!(!ingest_resident_self_coordinator_continuation_pressure(
&resident_store,
&runtime_store,
2,
)?);
assert!(resident_self_pressures(&resident_store)?.is_empty());
Ok(())
}
#[test]
fn ingestion_exposes_only_the_runtime_owned_proposal_modeling_queue_head() -> Result<()> {
let temp = tempfile::tempdir()?;

View file

@ -3589,3 +3589,45 @@ Receipts live under `.epiphany-run/c006-endurance-16407f7e`. The next broad
gate is autonomous frontier turnover across Self, Eyes, Modeling, Imagination,
and Mind; it must first run on copied exact state and must not acquire Hands or
Persona consequence authority.
## Receipt-bound internal cognition continuation
The first live frontier audit found a scheduling silence, not a permission
failure. A proposal-Modeling worker fulfilled its typed request and resident
Self correctly closed that grant, but the exact coordinator receipt ended at
`reviewModelingResult`. No domain-pressure owner converted that already-derived
Mind review into another grant, so a brake release could not advance c006.
- Owner: the exact fully resident-bound coordinator receipt owns one proposed
internal continuation. The coordinator remains the owner of live action
derivation; Heartbeat owns delivery order only.
- Inputs: the last settled receipt ID in resident state, the matching runtime
receipt, its authenticated thread and final action, terminal typed role state
for wait-to-review transitions, and the current planning lifecycle.
- Outputs: at most one idempotent
`coordinator-internal-continuation` pressure. Its launch is objective-free,
uses the receipt thread and mounted cognitive runtime, executes exactly one
step with auto-review, and carries the receipt-derived required action.
- Derived state: receipt reason prose, rendered status, pulse artifacts,
readiness rows, timers, and operator projections are observations. They do
not create continuation authority.
- Forbidden writers: idle polling, retention, old role lanes, Hands, Persona,
deployment, and external consequence paths cannot create these pressures.
The safe action vocabulary excludes `continueImplementation`, Persona,
deployment, waiting states, and failure-review actions.
- Shared paths: proposal Modeling review, Research/Modeling/Verification launch
and review, and successful Imagination-to-Mind planning stages use the same
receipt-to-pressure primitive. Wait receipts become review pressure only
after their exact typed result is terminal.
- Cut line: there is no generic coordinator retry loop. A continuation starts
execute mode only when its exact action is safe. Before any action match, the
coordinator rederives live status; disagreement emits a no-consequence
required-action refusal, closes the stale pressure, and publishes the newly
derived action without executing it.
- Verification: 30 resident tests and all 18 coordinator tests pass. Exact
receipt replay creates one pressure and one objective-free execution argv;
repeated ingestion is idempotent; a Hands final action creates no pressure;
and source order proves required-action refusal precedes every action effect.
Packaging and copied-c006 turnover remain required before this source cut is
accepted live. Actual c006 remains on exact `16407f7e`, braked and unchanged.

View file

@ -1,5 +1,30 @@
# Fresh workspace handoff
## Internal cognition continuation implemented; live proof pending - 2026-08-11
The post-endurance audit found actual c006 coherently asleep but unable to turn
over its next frontier. Exact packaged status says `reviewModelingResult` for
proposal Modeling job `5ff2704b-64eb-42f1-9ca4-ca7144e33ae4`; runtime has no
actionable Hands or Eyes frontier, Imagination eligibility is empty, planning
is terminal, and resident pressure is empty. Releasing the brake would do
nothing.
The source cut makes the last exact resident-bound coordinator receipt own one
possible internal-cognition continuation. Only safe Research, Modeling,
Verification, Imagination-planning, and Mind-planning actions can become an
idempotent pressure. Its coordinator launch is objective-free, execute-mode,
auto-review, exactly one step, and fenced by `--required-action`. Live routing
drift records a no-consequence refusal before the action match; it does not fail
and requeue the stale pressure. Hands, Persona, deployment, external
consequence, waits without terminal results, and failure review cannot create a
continuation. Thirty resident tests and all 18 coordinator tests pass.
Next: commit and package this exact source with the persistent Starfire cache,
then run copied c006 under its brake. Require one pressure from the stranded
receipt, exact Modeling review/admission, a genuinely newer causal receipt and
grant, no Hands/Persona authority, bounded resource behavior, and clean
re-engagement. Actual c006 remains exact `16407f7e`, braked and unchanged.
## Actual c006 braked endurance accepted - 2026-08-10
Exact `16407f7e` remained alive in separate Heartbeat and resident Self

View file

@ -70,7 +70,7 @@ current_status:
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
resident_physiology: c006_exact_16407f7e_alive_braked_revision_26_after_one_fulfilled_proposal_modeling_grant_and_923_pulse_endurance
unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, and Docker named-volume atomic snapshot visibility are accepted live. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential.
next_action: Map the live frontier owner and run a bounded autonomous frontier-turnover circuit across Self, Eyes, Modeling, Imagination, and Mind. Prove several consecutive causal grants on copied exact 16407f7e state first, with no Hands or Persona consequence; then replay the accepted circuit on actual c006 under an explicit brake window. Preserve exact grant/request/job/result/admission chains, resource samples, and final re-engaged-brake readiness. Yggdrasil never builds.
next_action: Commit and package the receipt-bound internal cognition continuation cut using the persistent Starfire cache. On copied c006 require the stranded reviewModelingResult receipt to create exactly one objective-free continuation grant, admit or refuse the exact Modeling result through Mind, advance to a genuinely newer causal receipt/grant, and preserve zero Hands/Persona/deployment consequence. Only after copied acceptance replay a bounded actual-c006 brake window and re-engage the brake. Yggdrasil never builds.
active_subgoals:
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.

View file

@ -4,5 +4,53 @@ Disposable working memory for one bounded rite.
## Current Subgoal
No active scratch subgoal. The Persona conversation authority map and accepted
source state are distilled into the canonical algorithmic map and handoff.
Autonomous frontier turnover after exact `16407f7e` c006 endurance.
## Current mechanism
1. `ingest_resident_self_domain_pressure` creates pressure only for an admitted
model-direction consideration request, the oldest unlaunched proposal
Modeling request, or admitted Persona feedback consideration.
2. Heartbeat owns oldest-pending pressure selection and atomically consumes it
into one exact grant.
3. Resident Self launches the coordinator against the typed request. Typed
worker output is sufficient to settle that grant.
4. The coordinator's own status derivation then owns the next internal action,
but no nervous-system owner currently converts that exact safe continuation
into another pressure.
Actual c006 proves the seam: proposal Modeling job
`5ff2704b-64eb-42f1-9ca4-ca7144e33ae4` fulfilled and Self closed the grant at
revision 26. Exact packaged coordinator status now says
`reviewModelingResult`; runtime has no actionable Hands or Eyes frontier,
Imagination eligibility is empty, planning is terminal, and resident pressure
is empty. Releasing the brake cannot advance the machine.
## Authority map before implementation
- Owner: Self's source-grounded coordinator decision owns which internal
cognition transition is next. The exact runtime result/request/state revision
own the decision's identity. Heartbeat owns only delivery order.
- Inputs: authenticated runtime identity/thread, exact current RepoModel and
admission receipt, typed worker results and launch bindings, acceptance or
supersession receipts, current coordinator state revision, and brake.
- Outputs: at most one idempotent internal-cognition continuation pressure
naming the exact decision basis. It may launch only the already-derived safe
coordinator action.
- Derived state: rendered status, role-board prose, Heartbeat pulse artifacts,
and provider rows are observations and cannot create continuation authority.
- Forbidden writers: timers, generic idle polling, old lane status, operator
projections, and resident lifecycle retention cannot invent or retry work.
Hands, Persona, deployment, and external consequence actions are excluded
from autonomous continuation.
- Shared paths: proposal Modeling review/admission, Eyes gathering, causal
Modeling, Imagination planning, Mind review, and typed decision commit must
use the same decision identity and single-consumption pressure primitive.
- Cut line: do not add a blind coordinator wake loop or treat every completed
worker as a generic retry. If coordinator decision derivation cannot be made
a narrow core-owned typed projection, stop and move the owner rather than
copying binary status logic into resident Self.
- Verification: actual c006 remains braked. First prove on copied exact state
that the stranded result creates one continuation, settles once, advances to
a genuinely new causal decision, never emits Hands/Persona authority, and
cannot resurrect after retention or restart.