Lower repo work queue into Eve
This commit is contained in:
parent
00fcbda792
commit
a317644eab
6 changed files with 155 additions and 34 deletions
|
|
@ -713,7 +713,9 @@ fn run_cli() -> Result<()> {
|
|||
)?;
|
||||
let directory =
|
||||
load_epiphany_cultmesh_eve_surface_directory(&args.store, args.runtime_id.clone())?;
|
||||
let report = eve_surface_report(&directory);
|
||||
let (_latest_repo_work_overview, repo_work_overviews) =
|
||||
load_repo_work_overview_queue(&args)?;
|
||||
let report = eve_surface_report(&directory, &repo_work_overviews);
|
||||
println!(
|
||||
"{}",
|
||||
serde_json::to_string_pretty(&json!({
|
||||
|
|
@ -723,6 +725,9 @@ fn run_cli() -> Result<()> {
|
|||
"runtimeId": args.runtime_id,
|
||||
"surfaceCount": report.rows.len(),
|
||||
"publicDiscussionSurfaceCount": report.public_discussion_count,
|
||||
"repoWorkQueueCount": report.repo_work_queue_count,
|
||||
"repoWorkQueueRows": report.repo_work_queue_rows,
|
||||
"repoWorkQueueTuiRows": report.repo_work_queue_tui_rows,
|
||||
"connectionCommand": "epiphany-verse-query connect-eve --target-cluster-id <cluster>",
|
||||
"privateStateExposed": false,
|
||||
"rows": report.rows,
|
||||
|
|
@ -1235,7 +1240,7 @@ fn run_cli() -> Result<()> {
|
|||
)?;
|
||||
let directory =
|
||||
load_epiphany_cultmesh_eve_surface_directory(&args.store, args.runtime_id.clone())?;
|
||||
let (_target_cluster, target, _target_surface) = if let Some(advertisement_id) =
|
||||
let (target_cluster, target, _target_surface) = if let Some(advertisement_id) =
|
||||
args.advertisement_id.as_deref()
|
||||
{
|
||||
directory
|
||||
|
|
@ -1329,6 +1334,14 @@ fn run_cli() -> Result<()> {
|
|||
{
|
||||
anyhow::bail!("local Verse query lost Eve connection intent/receipt after write");
|
||||
}
|
||||
let (_latest_repo_work_overview, repo_work_overviews) =
|
||||
load_repo_work_overview_queue(&args)?;
|
||||
let (repo_work_queue_rows, _) = repo_work_overview_rows(&repo_work_overviews);
|
||||
let repo_work_queue_tui_rows = if target_cluster.public_persona_discussion_allowed {
|
||||
repo_work_peer_tui_rows(&repo_work_queue_rows)
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
println!(
|
||||
"{}",
|
||||
serde_json::to_string_pretty(&json!({
|
||||
|
|
@ -1342,6 +1355,9 @@ fn run_cli() -> Result<()> {
|
|||
"targetEveSurfaceId": written_intent.target_eve_surface_id,
|
||||
"requestedAction": written_intent.requested_action,
|
||||
"feedbackRoute": written_intent.feedback_route,
|
||||
"repoWorkQueueCount": repo_work_queue_tui_rows.len(),
|
||||
"repoWorkQueueRows": if target_cluster.public_persona_discussion_allowed { repo_work_queue_rows } else { Vec::new() },
|
||||
"repoWorkQueueTuiRows": repo_work_queue_tui_rows,
|
||||
"privateStateRequested": written_intent.private_state_requested,
|
||||
"privateStateExposed": written_receipt.private_state_exposed,
|
||||
}))?
|
||||
|
|
@ -1387,7 +1403,9 @@ fn run_cli() -> Result<()> {
|
|||
}
|
||||
let eve_directory =
|
||||
load_epiphany_cultmesh_eve_surface_directory(&args.store, args.runtime_id.clone())?;
|
||||
let eve_report = eve_surface_report(&eve_directory);
|
||||
let (_latest_repo_work_overview, repo_work_overviews) =
|
||||
load_repo_work_overview_queue(&args)?;
|
||||
let eve_report = eve_surface_report(&eve_directory, &repo_work_overviews);
|
||||
if eve_report.rows.len() != 7 || eve_report.public_discussion_count != 1 {
|
||||
anyhow::bail!(
|
||||
"local Verse query smoke expected seven Eve surfaces and one public discussion surface"
|
||||
|
|
@ -1588,7 +1606,10 @@ fn run_cli() -> Result<()> {
|
|||
let overview_daemon_report = daemon_liveness_report(&overview_liveness);
|
||||
let overview_directory =
|
||||
load_epiphany_cultmesh_eve_surface_directory(&args.store, args.runtime_id.clone())?;
|
||||
let overview_surface_report = eve_surface_report(&overview_directory);
|
||||
let (_latest_repo_work_overview, repo_work_overviews) =
|
||||
load_repo_work_overview_queue(&args)?;
|
||||
let overview_surface_report =
|
||||
eve_surface_report(&overview_directory, &repo_work_overviews);
|
||||
let overview_tool_directory =
|
||||
load_epiphany_cultmesh_daemon_tool_directory(&args.store, args.runtime_id.clone())?;
|
||||
let overview_tool_report = daemon_tool_directory_report(&overview_tool_directory);
|
||||
|
|
@ -2121,6 +2142,7 @@ fn run_cli() -> Result<()> {
|
|||
persona_advertisement,
|
||||
persona_surface,
|
||||
persona_eve_connect,
|
||||
&[],
|
||||
);
|
||||
let supported_actions = eve_connection_readback["supportedActions"]
|
||||
.as_array()
|
||||
|
|
@ -3747,6 +3769,9 @@ struct EveSurfaceReport {
|
|||
rows: Vec<EveSurfaceRow>,
|
||||
tui_rows: Vec<String>,
|
||||
public_discussion_count: usize,
|
||||
repo_work_queue_count: usize,
|
||||
repo_work_queue_rows: Vec<RepoWorkOverviewRow>,
|
||||
repo_work_queue_tui_rows: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
|
|
@ -3763,6 +3788,8 @@ struct EveSurfaceRow {
|
|||
public_persona_discussion_allowed: bool,
|
||||
supported_actions: Vec<String>,
|
||||
exposed_document_types: Vec<String>,
|
||||
repo_work_queue_count: usize,
|
||||
repo_work_queue_tui_rows: Vec<String>,
|
||||
private_state_exposed: bool,
|
||||
}
|
||||
|
||||
|
|
@ -3772,7 +3799,11 @@ fn eve_surface_report(
|
|||
EpiphanyCultMeshOdinAdvertisementEntry,
|
||||
EpiphanyCultMeshEveSurfaceStateEntry,
|
||||
)],
|
||||
repo_work_overviews: &[EpiphanyCultMeshRepoWorkOverviewEntry],
|
||||
) -> EveSurfaceReport {
|
||||
let (repo_work_queue_rows, repo_work_queue_tui_rows) =
|
||||
repo_work_overview_rows(repo_work_overviews);
|
||||
let repo_work_queue_count = repo_work_queue_rows.len();
|
||||
let mut rows = Vec::new();
|
||||
let mut tui_rows = Vec::new();
|
||||
let mut public_discussion_count = 0_usize;
|
||||
|
|
@ -3789,8 +3820,23 @@ fn eve_surface_report(
|
|||
let private_state_exposed =
|
||||
advertisement.private_state_exposed || surface.private_state_exposed;
|
||||
let supported_actions = compact_tui_list(&surface.supported_actions);
|
||||
let surface_repo_work_queue_tui_rows = if public_persona_discussion_allowed {
|
||||
repo_work_peer_tui_rows(&repo_work_queue_rows)
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
let surface_repo_work_queue_count = surface_repo_work_queue_tui_rows.len();
|
||||
let repo_work_gates = if surface_repo_work_queue_tui_rows.is_empty() {
|
||||
"none".to_string()
|
||||
} else {
|
||||
repo_work_queue_rows
|
||||
.iter()
|
||||
.map(|row| format!("{}:{}", row.item, row.current_gate))
|
||||
.collect::<Vec<_>>()
|
||||
.join(",")
|
||||
};
|
||||
tui_rows.push(format!(
|
||||
"{visibility} | {} | cluster={} | surface={} | daemon={} | body={} | privateVerse={} | publicDiscussion={} | actions={} | docs={} | advertisement={} | private={private_state_exposed}",
|
||||
"{visibility} | {} | cluster={} | surface={} | daemon={} | body={} | privateVerse={} | publicDiscussion={} | actions={} | docs={} | repoWorkQueue={} | repoWorkGates={} | advertisement={} | private={private_state_exposed}",
|
||||
cluster.display_name,
|
||||
cluster.cluster_id,
|
||||
surface.surface_id,
|
||||
|
|
@ -3800,6 +3846,8 @@ fn eve_surface_report(
|
|||
public_persona_discussion_allowed,
|
||||
supported_actions,
|
||||
compact_tui_list(&surface.exposed_document_types),
|
||||
surface_repo_work_queue_count,
|
||||
repo_work_gates,
|
||||
advertisement.advertisement_id
|
||||
));
|
||||
rows.push(EveSurfaceRow {
|
||||
|
|
@ -3814,6 +3862,8 @@ fn eve_surface_report(
|
|||
public_persona_discussion_allowed,
|
||||
supported_actions: surface.supported_actions.clone(),
|
||||
exposed_document_types: surface.exposed_document_types.clone(),
|
||||
repo_work_queue_count: surface_repo_work_queue_count,
|
||||
repo_work_queue_tui_rows: surface_repo_work_queue_tui_rows,
|
||||
private_state_exposed,
|
||||
});
|
||||
}
|
||||
|
|
@ -3821,6 +3871,9 @@ fn eve_surface_report(
|
|||
rows,
|
||||
tui_rows,
|
||||
public_discussion_count,
|
||||
repo_work_queue_count,
|
||||
repo_work_queue_rows,
|
||||
repo_work_queue_tui_rows,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4730,6 +4783,24 @@ fn repo_work_overview_tui_row(row: &RepoWorkOverviewRow) -> String {
|
|||
)
|
||||
}
|
||||
|
||||
fn repo_work_peer_tui_rows(rows: &[RepoWorkOverviewRow]) -> Vec<String> {
|
||||
rows.iter()
|
||||
.map(|row| {
|
||||
format!(
|
||||
"REPO-WORK-PEER | item={} | gate={} | blocker={} | next={} | branch={} | publication={} | sync={} | private={}",
|
||||
row.item,
|
||||
row.current_gate,
|
||||
row.blocker,
|
||||
row.next_safe_move,
|
||||
row.branch,
|
||||
row.publication_status,
|
||||
row.sync_status,
|
||||
row.private_state_exposed
|
||||
)
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
fn repo_work_overview_action_row(
|
||||
overview: &EpiphanyCultMeshRepoWorkOverviewEntry,
|
||||
priority: u32,
|
||||
|
|
@ -5133,14 +5204,41 @@ fn daemon_restart_policy_directory_report_from_rows(
|
|||
}
|
||||
}
|
||||
|
||||
fn load_repo_work_overview_queue(
|
||||
args: &Args,
|
||||
) -> Result<(
|
||||
Option<EpiphanyCultMeshRepoWorkOverviewEntry>,
|
||||
Vec<EpiphanyCultMeshRepoWorkOverviewEntry>,
|
||||
)> {
|
||||
let latest_repo_work_overview =
|
||||
load_latest_epiphany_cultmesh_repo_work_overview(&args.store, args.runtime_id.clone())?;
|
||||
let mut repo_work_overviews =
|
||||
load_epiphany_cultmesh_repo_work_overviews(&args.store, args.runtime_id.clone())?;
|
||||
if let Some(latest) = latest_repo_work_overview.as_ref() {
|
||||
if !repo_work_overviews
|
||||
.iter()
|
||||
.any(|overview| overview.overview_id == latest.overview_id)
|
||||
{
|
||||
repo_work_overviews.push(latest.clone());
|
||||
repo_work_overviews.sort_by(|a, b| {
|
||||
b.generated_at
|
||||
.cmp(&a.generated_at)
|
||||
.then_with(|| a.overview_id.cmp(&b.overview_id))
|
||||
});
|
||||
}
|
||||
}
|
||||
Ok((latest_repo_work_overview, repo_work_overviews))
|
||||
}
|
||||
|
||||
fn load_swarm_overview_report(args: &Args) -> Result<SwarmOverviewReport> {
|
||||
let topology = load_epiphany_cultmesh_cluster_topology(&args.store, args.runtime_id.clone())?;
|
||||
let topology_report = cluster_topology_report(&topology);
|
||||
let liveness = load_epiphany_cultmesh_daemon_liveness(&args.store, args.runtime_id.clone())?;
|
||||
let daemon_report = daemon_liveness_report(&liveness);
|
||||
let (latest_repo_work_overview, repo_work_overviews) = load_repo_work_overview_queue(args)?;
|
||||
let directory =
|
||||
load_epiphany_cultmesh_eve_surface_directory(&args.store, args.runtime_id.clone())?;
|
||||
let surface_report = eve_surface_report(&directory);
|
||||
let surface_report = eve_surface_report(&directory, &repo_work_overviews);
|
||||
let tool_directory =
|
||||
load_epiphany_cultmesh_daemon_tool_directory(&args.store, args.runtime_id.clone())?;
|
||||
let tool_report = daemon_tool_directory_report(&tool_directory);
|
||||
|
|
@ -5348,23 +5446,6 @@ fn load_swarm_overview_report(args: &Args) -> Result<SwarmOverviewReport> {
|
|||
.iter()
|
||||
.map(daemon_tool_directory_tui_row)
|
||||
.collect::<Vec<_>>();
|
||||
let latest_repo_work_overview =
|
||||
load_latest_epiphany_cultmesh_repo_work_overview(&args.store, args.runtime_id.clone())?;
|
||||
let mut repo_work_overviews =
|
||||
load_epiphany_cultmesh_repo_work_overviews(&args.store, args.runtime_id.clone())?;
|
||||
if let Some(latest) = latest_repo_work_overview.as_ref() {
|
||||
if !repo_work_overviews
|
||||
.iter()
|
||||
.any(|overview| overview.overview_id == latest.overview_id)
|
||||
{
|
||||
repo_work_overviews.push(latest.clone());
|
||||
repo_work_overviews.sort_by(|a, b| {
|
||||
b.generated_at
|
||||
.cmp(&a.generated_at)
|
||||
.then_with(|| a.overview_id.cmp(&b.overview_id))
|
||||
});
|
||||
}
|
||||
}
|
||||
let (repo_work_overview_rows, repo_work_overview_tui_rows) =
|
||||
repo_work_overview_rows(&repo_work_overviews);
|
||||
let (swarm_action_rows, swarm_action_tui_rows) = swarm_action_rows(
|
||||
|
|
@ -6795,11 +6876,14 @@ fn run_invoke_tool_command(args: &Args) -> Result<()> {
|
|||
cluster.cluster_id == capability.host_cluster_id
|
||||
})
|
||||
.context("local Verse lost Eve surface for eve-connect capability host")?;
|
||||
let (_latest_repo_work_overview, repo_work_overviews) =
|
||||
load_repo_work_overview_queue(args)?;
|
||||
eve_connection_readback_from_host(
|
||||
target_cluster,
|
||||
target_advertisement,
|
||||
target_surface,
|
||||
capability,
|
||||
&repo_work_overviews,
|
||||
)
|
||||
} else {
|
||||
(serde_json::Value::Null, false)
|
||||
|
|
@ -6981,10 +7065,22 @@ fn eve_connection_readback_from_host(
|
|||
target_advertisement: &EpiphanyCultMeshOdinAdvertisementEntry,
|
||||
target_surface: &EpiphanyCultMeshEveSurfaceStateEntry,
|
||||
capability: &EpiphanyCultMeshDaemonToolCapabilityEntry,
|
||||
repo_work_overviews: &[EpiphanyCultMeshRepoWorkOverviewEntry],
|
||||
) -> (serde_json::Value, bool) {
|
||||
let private_state_exposed = target_advertisement.private_state_exposed
|
||||
|| target_surface.private_state_exposed
|
||||
|| capability.private_state_exposed;
|
||||
let (repo_work_queue_rows, _) = repo_work_overview_rows(repo_work_overviews);
|
||||
let repo_work_queue_tui_rows = if target_cluster.public_persona_discussion_allowed {
|
||||
repo_work_peer_tui_rows(&repo_work_queue_rows)
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
let repo_work_queue_rows = if target_cluster.public_persona_discussion_allowed {
|
||||
repo_work_queue_rows
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
(
|
||||
json!({
|
||||
"targetAdvertisementId": target_advertisement.advertisement_id,
|
||||
|
|
@ -6998,6 +7094,9 @@ fn eve_connection_readback_from_host(
|
|||
"publicPersonaDiscussionAllowed": target_cluster.public_persona_discussion_allowed,
|
||||
"supportedActions": target_surface.supported_actions,
|
||||
"exposedDocumentTypes": target_surface.exposed_document_types,
|
||||
"repoWorkQueueCount": repo_work_queue_tui_rows.len(),
|
||||
"repoWorkQueueRows": repo_work_queue_rows,
|
||||
"repoWorkQueueTuiRows": repo_work_queue_tui_rows,
|
||||
"connectionCommand": format!(
|
||||
"epiphany-verse-query connect-eve --target-cluster-id {}",
|
||||
target_cluster.cluster_id
|
||||
|
|
|
|||
|
|
@ -669,6 +669,15 @@ priority 35-39 non-mutating `repo-work-overview` action rows. Proof artifact:
|
|||
`latestRepoWorkOverview=repo-work-overview-second`, and
|
||||
`privateStateExposed=false`.
|
||||
|
||||
The first Eve/Persona lowering smoke proved peer-readable repo-work queue
|
||||
projection: Persona's public Eve surface now includes queue counts and compact
|
||||
`REPO-WORK-PEER` rows, direct `connect-eve` returns the same queue, and the
|
||||
globally invokable Persona `eve-connect` daemon tool embeds the queue in its
|
||||
`eveConnectionReadback`. Proof artifact:
|
||||
`.epiphany-smoke\eve-repo-work-queue-20260620-013322`, which saw two queued
|
||||
items through `eve-surfaces`, `connect-eve`, and `invoke-tool`, with no
|
||||
mutation, elevation, or private-state exposure.
|
||||
|
||||
## Migration Implication
|
||||
|
||||
The next migration plan must treat autonomous branch-local work as a required
|
||||
|
|
@ -748,7 +757,7 @@ temptation wearing clean robes.
|
|||
| Self scheduling | `tick` and `serve` prove one-step branch-local advancement, brake refusal, active-turn refusal, cooldown, and stale-turn recovery. | Wire the same pulse into a usable repo-swarm run surface and optional Idunn-hosted lifecycle without taking Idunn's authority. |
|
||||
| Branch-local Hands work | `adopt` and `execute` create approved Hands gates, run planned commands, stage declared paths, commit on `epiphany/*`, and write receipts. | Keep mutation branch-contained and receipt-backed; broaden only through typed plan families, not ad hoc shell freedom. |
|
||||
| Soul/Modeling/Mind closure | `close` verifies the Hands commit and writes deterministic Soul, Modeling, and Mind receipts. | Add richer model-authored closure where useful, while preserving deterministic local closure for simple mechanical work. |
|
||||
| Repo work sight | `overview` emits compact proof rows and mirrors typed `epiphany.cultmesh.repo_work_overview.v0` event documents plus a latest key; Gjallar now enumerates the history as queue rows and non-mutating action rows. | Lower the queue into Eve/Persona surfaces so Persona and peers can see current gate, blocker, and next safe action. |
|
||||
| Repo work sight | `overview` emits compact proof rows and mirrors typed `epiphany.cultmesh.repo_work_overview.v0` event documents plus a latest key; Gjallar enumerates the history as queue rows and non-mutating action rows; Persona's Eve surface and Eve connection readbacks expose peer-readable gate/blocker/next-action rows. | Wire the queue into a usable repo-swarm run surface and richer Persona-to-plan loop without moving action authority out of Hands/Self/Bifrost. |
|
||||
| Publication | `publish` routes Bifrost/GitHub receipts from closure or explicit Soul/Mind refs. | Keep publication Bifrost-owned; do not let scheduler publish. |
|
||||
| Upstream main sync | `sync` proves the published commit is contained by upstream main after explicit merge/sync authority. | Treat upstream-main sync as a required final proof for published work. |
|
||||
| Daemon survival | Idunn service lifecycle receipts and runbooks exist outside repo-work tick authority. | Preserve Idunn as lifecycle owner; repo swarm may request or inspect service state, not impersonate daemon keeping. |
|
||||
|
|
@ -908,8 +917,9 @@ Required organs before MVP:
|
|||
- Repo work projection: local `epiphany-work overview` proof bundles, typed
|
||||
`epiphany.cultmesh.repo_work_overview.v0` event history plus latest-key
|
||||
projection, and Gjallar multi-item `repo-work-overview` action/readback rows
|
||||
exist. Remaining work is richer Eve presentation of multiple work items for
|
||||
Personas and peer bodies.
|
||||
exist. Persona's Eve surface, direct Eve connection, and globally invokable
|
||||
Persona Eve tool readback now expose peer-readable queue rows. Remaining work
|
||||
is a usable repo-swarm run surface and richer Persona-to-plan depth.
|
||||
- Proof bundle depth: maintainers and future agents can inspect local
|
||||
operator-safe receipt chains, commit refs, verification verdicts, map
|
||||
admission, Bifrost/GitHub refs, credit refs, and sync state; remaining work is
|
||||
|
|
|
|||
|
|
@ -103,9 +103,9 @@ remembers doctrine; the branch remembers the blade.
|
|||
- Edge JSON is allowed for schema description, hostile ingress before immediate typed parsing, sealed forensic artifacts, or named quarantine experiments. When both subsystems are ours, runtime data must remain typed CultCache documents and move over CultNet typed contracts. Generic `serde_json::Value` in worker launch/result/selfPatch/runtime flow is contamination until classified and replaced.
|
||||
- Hands now has a first executable action receipt spine. `epiphany-core::hands_gateway` owns `HandsActionIntent`, `HandsActionReview`, `HandsPatchReceipt`, `HandsCommandReceipt`, and `HandsCommitReceipt`; runtime-spine can persist/reread them; `runtime_spine_persists_mind_gateway_review_receipts` includes the Hands chain beside Mind/Eyes/Substrate/Soul/Continuity proofs and proves the post-timestamp Hands receipt-chain detector; `epiphany-hands-action-smoke` emits intent/review/patch/command/commit receipt ids from `.epiphany-smoke\runtime-spine\hands-action-smoke.msgpack`; and the repo-action launch proof profile now requires action intent, action review, and patch receipt together. `epiphany-mvp-coordinator` now turns `continueImplementation` into a persisted Substrate Gate grant plus Hands intent/review gate and includes the receipt ids in the operator step. `epiphany-hands-action` is the native consequence recorder for that gate: `record-patch`, `record-command`, `record-commit`, and turn-level `record-pass` load the stored intent/review or `finalAction.handsActionGate` from `coordinator-summary.json`, require an approved matching review, enforce allowed operations, and keep patch/commit changed paths inside the requested scope. `epiphany-mvp-coordinator-smoke` includes the deterministic Hands pass proof. The coordinator now treats a complete Hands receipt chain after an accepted Soul result as new implementation evidence, launches Soul again, and routes a passing accepted Soul result to Modeling/modeling before another Hands turn. Work-loop telemetry is now typed internal CultMesh state: Verification role launches write `epiphany.cultmesh.work_loop_telemetry.v0` beside runtime-spine, render that packet for Soul with resolved receipt bodies, commit diff preview, source proof notes, verification assertions, and stdout/stderr previews, and Modeling launches read/enrich the latest packet with Soul acceptance receipt ids before Modeling updates the map. Local Verse prompt context now exposes only a sealed `latest_work_loop_summary` digest with telemetry id, Hands receipt ids, path/source/assertion counts, and Soul receipt ids; receipt payload previews, artifact previews, and commit diff previews remain internal telemetry and are leak-guarded by tests plus `epiphany-verse-query -- smoke`.
|
||||
- `notes/epiphany-swarm-readiness-plan.md` is the current live-fire direction gate. The local runner proves startup/status/coordinator wiring; it does not authorize unattended swarm operation. Carry VoidBot's lessons forward: one CTB-style initiative scheduler, typed pause/brake, active-turn freeze, cooldown after completion, stale active-turn recovery receipts, parent-side speech eligibility, memory lifecycle phases, and typed operation proposals instead of prompt-owned governance. `epiphany-verse-query swarm-brake --brake-status engaged|released` can now write the local Verse brake document, and `tools/epiphany_local_run.ps1` refuses live `plan`/`run`/`mvp` modes when that brake is engaged while keeping `status` readable. `epiphany-mvp-coordinator` also checks `--local-verse-store` before app-server startup, and `epiphany-heartbeat-store` guards tick/pump/heat/queue-mention/routine when passed `--local-verse-store`. Daemon tool invocation, daemon lifecycle poke, and `epiphany-daemon-supervisor` restart/tick/serve/service-plan/service-launch/service-runbook/windows-service-install/windows-service-status/windows-service-reconcile/windows-service-execution-readiness/start/stop attempts now fail closed under a matching engaged brake; supervisor restart now has durable per-daemon policy with cooldown/backoff, explicit scheduled tick pulses, latest scheduler receipts, typed service lifecycle plan/launch/runbook/install/status/reconcile/readiness/start/stop receipts, and local operator wrapper modes that write runbook/install/status/reconcile/readiness/control-plan/execution artifacts plus operator run receipts. The installed-service read path, read-only service-policy reconciliation path, execution-readiness path, non-mutating start/stop control-plan path, and non-elevated execution refusal path have been proved against real Windows `EventLog` service-manager state or safe missing-service targets through local Verse receipts, including explicit wrapper install/start/stop execution modes. The next cut is actual elevated install/start/stop execution proof under operator authority.
|
||||
- `notes/epiphany-repo-swarm-mvp-contract.md` is the repo-swarm MVP authority map and migration plan. It states the live thirteen-front-door chain from `epiphany-repo init` through `epiphany-work derive-plan`, `close`, `overview`, `tick`, `publish`, and `sync`, documents the operator-safe proof receipts already proved with `privateStateExposed=false`, and names the remaining MVP organs: model-authored Persona-to-plan depth, richer Gjallar/Eve presentation over repo work overview rows, optional execute-to-close handoff, richer published proof bundles, and richer model-authored closure. Autonomous branch-local work inside the owned repo Body is in scope and desired; Bifrost gates publication/merge/escalation, Idunn owns daemon lifecycle, and `epiphany-work tick` may only advance one safe receipt-backed branch-local step per pulse before stopping at closure or publication gates. `epiphany-work derive-plan` now consumes accepted Persona/Bifrost pressure and writes an Imagination/Self action plan in deterministic `append-worklog` quarantine mode with `operatorAuthoredShellDetails=false`; disposable smoke proved accept -> derive-plan -> run -> adopt -> execute -> close, changed only `EPIPHANY_WORKLOG.md`, ended `closed:passed`, and reported no private-state exposure. `epiphany-work overview` now reads the repo work receipt chain and writes an Eyes/Gjallar-owned sight/proof bundle with current gate, blocker, next safe action, branch, changed paths, commit SHA, Soul verdict, compact rows, and private-state seal; it also mirrors a typed `epiphany.cultmesh.repo_work_overview.v0` document into the repo-local Verse when a local Verse store is known. Disposable smokes proved pre-plan `awaiting-plan`/`plan-receipt-missing`, post-close `awaiting-publication`/`bifrost-publication-missing`, and latest-key CultMesh readback through `epiphany-verse-query smoke` as `latestRepoWorkOverview=repo-work-overview-verse-overview-request`, `latestRepoWorkGate=awaiting-publication`, `latestRepoWorkBlocker=bifrost-publication-missing`, with no private-state exposure. The tick pulse reads the repo-local CultMesh swarm brake and writes `refused-by-swarm-brake` without creating run/adopt/execute receipts when the brake is engaged. It also writes active-turn and last-completed scheduler receipts, refuses live duplicate pulses as `refused-active-turn`, refuses explicit completion-anchored cooldown as `refused-by-cooldown`, clears stale active markers after `--active-timeout-seconds`, and records `physiology.recoveredActiveTurn.recovered=true` when recovery proceeds. `epiphany-work serve` wraps that tick artery in Self-owned cadence: bounded `--max-iterations` proof mode writes `work-scheduler-serve-<item>.json`, unbounded service mode relies on per-pulse tick receipts, and unbounded zero-second polling is refused. `epiphany-work close` consumes branch-local execute receipts, verifies the Hands commit, writes Soul verdict plus Modeling summary plus Mind gateway/state-commit receipts, and seals `work-close-<item>.json` without granting publication, merge, service lifecycle, cross-repo mutation, or private-state exposure. `epiphany-work publish --closure-receipt` can consume the closure's Soul/Mind ids, while tick no-ops once closure exists before Bifrost publication authority.
|
||||
- `notes/epiphany-repo-swarm-mvp-contract.md` is the repo-swarm MVP authority map and migration plan. It states the live thirteen-front-door chain from `epiphany-repo init` through `epiphany-work derive-plan`, `close`, `overview`, `tick`, `publish`, and `sync`, documents the operator-safe proof receipts already proved with `privateStateExposed=false`, and names the remaining MVP organs: model-authored Persona-to-plan depth, a usable repo-swarm run surface over the now-visible work queue, optional execute-to-close handoff, richer published proof bundles, and richer model-authored closure. Autonomous branch-local work inside the owned repo Body is in scope and desired; Bifrost gates publication/merge/escalation, Idunn owns daemon lifecycle, and `epiphany-work tick` may only advance one safe receipt-backed branch-local step per pulse before stopping at closure or publication gates. `epiphany-work derive-plan` now consumes accepted Persona/Bifrost pressure and writes an Imagination/Self action plan in deterministic `append-worklog` quarantine mode with `operatorAuthoredShellDetails=false`; disposable smoke proved accept -> derive-plan -> run -> adopt -> execute -> close, changed only `EPIPHANY_WORKLOG.md`, ended `closed:passed`, and reported no private-state exposure. `epiphany-work overview` now reads the repo work receipt chain and writes an Eyes/Gjallar-owned sight/proof bundle with current gate, blocker, next safe action, branch, changed paths, commit SHA, Soul verdict, compact rows, and private-state seal; it also mirrors a typed `epiphany.cultmesh.repo_work_overview.v0` document into the repo-local Verse when a local Verse store is known. Disposable smokes proved pre-plan `awaiting-plan`/`plan-receipt-missing`, post-close `awaiting-publication`/`bifrost-publication-missing`, and latest-key CultMesh readback through `epiphany-verse-query smoke` as `latestRepoWorkOverview=repo-work-overview-verse-overview-request`, `latestRepoWorkGate=awaiting-publication`, `latestRepoWorkBlocker=bifrost-publication-missing`, with no private-state exposure. The tick pulse reads the repo-local CultMesh swarm brake and writes `refused-by-swarm-brake` without creating run/adopt/execute receipts when the brake is engaged. It also writes active-turn and last-completed scheduler receipts, refuses live duplicate pulses as `refused-active-turn`, refuses explicit completion-anchored cooldown as `refused-by-cooldown`, clears stale active markers after `--active-timeout-seconds`, and records `physiology.recoveredActiveTurn.recovered=true` when recovery proceeds. `epiphany-work serve` wraps that tick artery in Self-owned cadence: bounded `--max-iterations` proof mode writes `work-scheduler-serve-<item>.json`, unbounded service mode relies on per-pulse tick receipts, and unbounded zero-second polling is refused. `epiphany-work close` consumes branch-local execute receipts, verifies the Hands commit, writes Soul verdict plus Modeling summary plus Mind gateway/state-commit receipts, and seals `work-close-<item>.json` without granting publication, merge, service lifecycle, cross-repo mutation, or private-state exposure. `epiphany-work publish --closure-receipt` can consume the closure's Soul/Mind ids, while tick no-ops once closure exists before Bifrost publication authority.
|
||||
- 2026-06-20: The same repo-swarm note now carries the explicit migration thesis, MVP status board, authority matrix, local CultMesh tool availability doctrine, and upstream-main sync doctrine. Use that note when answering "are we headed toward a functional swarm?" The answer is yes, but only if the remaining cuts preserve the typed organ ownership: Persona is the mouth, Imagination plans, Self schedules, Hands acts, Soul verifies, Modeling maps, Mind admits, Gjallar sees, Odin discovers, Idunn keeps daemon physiology alive, Bifrost publishes and credits, and Eve/CultUI renders without becoming truth.
|
||||
- 2026-06-20: Gjallar/swarm-overview now exposes the latest repo-work overview as first-class compact sight. `SwarmOverviewOutput` and `SwarmTriageOutput` include `repoWorkOverviewCount`, `repoWorkOverviewRows`, `repoWorkOverviewTuiRows`, `latestRepoWorkOverview`, `latestRepoWorkGate`, `latestRepoWorkBlocker`, and `latestRepoWorkNextSafeMove`. The shared `swarmActionRows` queue also gets priority 35 `repo-work-overview` rows owned by Gjallar, hosted body `repo-work`, authority gate `repo.work.overview`, effect class `repo-work-readback`, no mutation, no elevation, proof-bundle ref, and private-state seal. Disposable proof `.epiphany-smoke\gjallar-repo-work-overview-20260620-011119` created a fresh repo, ran `init -> online -> accept -> overview -> gjallar`, and read `latestRepoWorkOverview=repo-work-overview-gjallar-request`, gate `awaiting-plan`, blocker `plan-receipt-missing`, one compact `REPO-WORK` row, non-mutating/non-elevated action row, and `privateStateExposed=false`. This completes latest-key presentation, not multiple-work-item queue enumeration; build a typed history/queue loader next.
|
||||
- 2026-06-20: Gjallar/swarm-overview now exposes repo-work overview history as first-class compact sight, and Persona's public Eve surface lowers the same queue for peer-readable collaboration. `SwarmOverviewOutput` and `SwarmTriageOutput` include `repoWorkOverviewCount`, `repoWorkOverviewRows`, `repoWorkOverviewTuiRows`, `latestRepoWorkOverview`, `latestRepoWorkGate`, `latestRepoWorkBlocker`, and `latestRepoWorkNextSafeMove`; the shared `swarmActionRows` queue gets priority 35 `repo-work-overview` rows owned by Gjallar, hosted body `repo-work`, authority gate `repo.work.overview`, effect class `repo-work-readback`, no mutation, no elevation, proof-bundle ref, and private-state seal. `eve-surfaces`, direct `connect-eve`, and the globally invokable Persona `eve-connect` daemon tool readback now expose public `REPO-WORK-PEER` rows with item, gate, blocker, next safe move, branch, publication, sync, and `private=false`. Disposable proof `.epiphany-smoke\gjallar-repo-work-queue-20260620-012027` proved typed event-history queue enumeration; disposable proof `.epiphany-smoke\eve-repo-work-queue-20260620-013322` proved two accepted items through Persona Eve surface, direct Eve connection, and Persona tool invocation readback with queue count 2 and no private-state exposure. The next cut is not another sight surface: wire this queue into a usable repo-swarm run surface and deepen Persona-to-Imagination plan derivation.
|
||||
- `service-execution-runbook` makes that next cut repeatable: it generates the exact elevated wrapper command sequence without mutating the service manager, continues after per-step failure to preserve more receipts, runs `service-execution-audit` in `finally`, exits nonzero if any step failed, and seals a typed runbook lifecycle receipt. Run the generated artifact only with explicit operator authority.
|
||||
- `service-execution-audit` is the non-mutating acceptance proof after the elevated rite: it reports `complete` only when typed lifecycle receipts prove the runbook witness plus expected elevated chain, and otherwise reports the missing/failed sealed checks.
|
||||
- `service-tick` is the non-elevated scheduler pulse proof: it writes the latest daemon scheduler receipt through durable policy ownership and local wrapper receipts.
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -88,8 +88,8 @@ active_subgoals:
|
|||
- Keep the landed Phase 6 coordinator, limited safe-boundary CRRC automation, and pre-compaction checkpoint intervention ready for the next bridge-equipped dogfood run.
|
||||
- Preserve the Ghostlight-derived heartbeat initiative seam: every lane, including coordinator/Self and Persona, has a organ-state record and competes for heartbeat slots through readiness/reaction timing; initiative heat can raise or cool global, group, arena, role, and agent tempo through typed heartbeat policy; active thinking freezes initiative until completion, so heat never queues a lane already mid-turn; idle winners ruminate instead of inventing project work, and sleep windows distill the accumulated thought pressure into reviewed self-memory or doctrine.
|
||||
- Use `notes/epiphany-swarm-readiness-plan.md` as the live-fire direction gate. The local run path is a compass, not launch clearance: before unattended swarm operation, Epiphany needs typed pause/brake enforcement, one initiative scheduler, completion-gated cooldown, stale active-turn recovery receipts, parent-side Persona speech eligibility, memory lifecycle operations, and CultNet-first operator snapshots/intents/receipts. The local Verse brake document exists, `epiphany-verse-query swarm-brake` can engage/release it, `tools/epiphany_local_run.ps1` refuses live `plan`/`run`/`mvp` modes when the brake is engaged while leaving `status` readable, `epiphany-mvp-coordinator` checks the local Verse brake before app-server startup, and `epiphany-heartbeat-store` guards tick/pump/heat/queue-mention/routine when given `--local-verse-store`. Daemon liveness is now a typed local Verse authority: `epiphany-verse-query daemon-status` writes one daemon status without repainting the table, local Verse seeding preserves existing daemon statuses and swarm brakes, `invoke-tool` refuses when the host daemon is not ready or lacks `submitTypedToolIntent`, and both daemon tool invocation and lifecycle poke fail closed under an engaged matching brake. `epiphany-daemon-supervisor policy` writes durable per-daemon restart policy with command/args/cwd/cooldown/backoff/attempt state plus reconcile cadence and stale-heartbeat threshold; `epiphany-daemon-supervisor reconcile` loads that policy when no override command is supplied, refuses under a matching lifecycle brake, refuses during cooldown/backoff, writes daemon poke intent/receipt, updates daemon status, and updates policy attempt state; `epiphany-daemon-supervisor tick` is an explicit scheduler pulse that scans durable policies, records ready/noop pulses, skips before the configured reconcile interval, marks stale heartbeat status degraded, routes restarts through the same brake/cooldown/poke receipt path, and writes a latest `epiphany.cultmesh.daemon_scheduler_receipt.v0`; `epiphany-daemon-supervisor serve` runs that same pulse on a configurable cadence with bounded `--max-iterations` proof mode or unbounded service mode. `epiphany-daemon-supervisor service-plan`/`install-service` now writes a planned `epiphany.cultmesh.daemon_service_lifecycle_receipt.v0` for the `serve` command, while `service-launch`/`start-service` spawns that `serve` loop through the current executable or `--service-command`, can `--wait-child` for bounded proof, and records command/args/cwd, scheduler id, daemon selector, pid/exit/status, artifact ref, and private-state guard. `service-runbook`, `windows-service-install`/`service-install-plan`, `windows-service-status`, `windows-service-reconcile`, `windows-service-execution-readiness`, and `windows-service-start`/`stop` now record service lifecycle receipts through the same local Verse; the read-only status path has been proved against the real Windows `EventLog` service with receipt `daemon-service-lifecycle-receipt-windows-eventlog-proof-windows-service-status`, status `running`, exit code `0`, and `privateStateExposed=false`; the read-only service-policy reconciliation path has been proved for missing service, real-service drift against `EventLog`, lifecycle-brake refusal, and wrapper/local-Verse receipt `daemon-service-lifecycle-receipt-windows-eventlog-reconcile-proof-windows-service-reconcile`; execution readiness has been proved as a non-mutating `not-elevated` receipt through direct and wrapper paths; start/stop now produce non-mutating `start-planned`/`stop-planned` receipts unless `--execute-control`/`--execute-service-control` is passed, and wrapper `service-start-plan`/`service-stop-plan` proves those receipts against `EventLog`; explicit install/control execution now refuses as `execution-refused-not-elevated` with `executed=false` when the shell lacks Windows administrator authority, and wrapper `service-install-execute`, `service-start-execute`, and `service-stop-execute` prove those refusal receipts without mutation. Service lifecycle actions check the local Verse swarm brake before process launch, artifact writes, service-manager queries, service-policy reconciliation, execution-readiness checks, control planning, elevation-gated execution, or start/stop execution. The local wrapper builds/checks this binary.
|
||||
- Use `notes/epiphany-repo-swarm-mvp-contract.md` as the authority correction and migration plan for repo-swarm autonomy. Autonomous branch-local work inside an Epiphany-owned repo Body is in scope and desired; the safety boundary is typed authority, branch containment, interruptibility, receipts, private-state sealing, and Bifrost-gated publication/merge/escalation, not asking a human before every local edit. Thirteen native repo-swarm front doors are live and documented there: `epiphany-repo init`, `epiphany-swarm online`, `epiphany-work accept`, `epiphany-work derive-plan`, `epiphany-work plan`, `epiphany-work run`, `epiphany-work adopt --from-plan`, `epiphany-work execute --from-plan`, `epiphany-work close`, `epiphany-work overview`, `epiphany-work tick`, `epiphany-work publish`, and `epiphany-work sync`. Fresh-repo smokes proved the chain with `privateStateExposed=false`, including deterministic Persona/Bifrost pressure-to-plan derivation (`append-worklog`, `operatorAuthoredShellDetails=false`) into `EPIPHANY_WORKLOG.md`, plan-backed branch-local commit creation, a Self-owned tick pulse that advances `run-from-plan -> adopt-from-plan -> execute-from-plan` then no-ops before closure/publication gates, local CultMesh swarm-brake refusal that writes `refused-by-swarm-brake` without creating a run/adopt/execute receipt, active-turn refusal through `work-tick-active-<item>.json`, explicit completion-anchored cooldown refusal through `work-tick-last-<item>.json`, stale active-turn recovery that records `physiology.recoveredActiveTurn.recovered=true`, Self-owned `epiphany-work serve` cadence that writes `work-scheduler-serve-<item>.json`, bounded serve proof `advanced:run-from-plan -> refused-by-cooldown:none` without adoption, unbounded zero-interval refusal, deterministic `epiphany-work close` proof that consumes execute receipts, verifies the Hands commit, writes Soul verdict plus Modeling summary plus Mind gateway/state-commit receipts, local `epiphany-work overview` proof bundle that reports pre-plan `awaiting-plan`/`plan-receipt-missing` and post-close `awaiting-publication`/`bifrost-publication-missing` with branch, commit, changed paths, Soul verdict, compact rows, and private seal, typed local Verse projection as `epiphany.cultmesh.repo_work_overview.v0` with latest-key and event-history readback through Gjallar, `publish --closure-receipt` consumption of the close receipt's Soul/Mind refs, post-publication tick `noop:none`, and upstream-main ancestry proof after explicit merge receipt. Remaining MVP organs are model-authored Persona-to-plan depth for richer actions, richer Eve/Persona presentation of repo work queues and multiple work items, optional execute-to-close scheduler handoff, richer published proof bundles, and richer model-authored closure; the scheduler may advance only one safe receipt-backed branch-local step per pulse and must not publish, merge, mutate services, cross repo boundaries, expose private state, or impersonate Idunn.
|
||||
- Gjallar/swarm-overview now projects typed repo-work overview history into the compact global sight report. `epiphany-verse-query gjallar` reads all `epiphany.cultmesh.repo_work_overview.v0` event documents from local Verse, excludes the `latest` mirror, preserves latest scalar fields, emits multi-item `repoWorkOverviewRows`/TUI rows, and publishes bounded priority 35-39 non-mutating `repo-work-overview` action rows with `owner=Gjallar`, `hostedBody=repo-work`, `authorityGate=repo.work.overview`, `mutatesState=false`, `requiresElevatedAuthority=false`, proof-bundle refs, current gate/blocker/next-safe-move, and `privateStateExposed=false`. Disposable proofs `.epiphany-smoke\gjallar-repo-work-overview-20260620-011119` and `.epiphany-smoke\gjallar-repo-work-queue-20260620-012027` showed the latest-key row first, then a two-item queue (`second,first`) with `repoWorkOverviewCount=2`, two compact `REPO-WORK` rows, two action rows, latest `repo-work-overview-second`, and no private-state exposure. This is sight/readback only; Eve/Persona lowering still needs to present the queue for peers without opening raw worker thought.
|
||||
- Use `notes/epiphany-repo-swarm-mvp-contract.md` as the authority correction and migration plan for repo-swarm autonomy. Autonomous branch-local work inside an Epiphany-owned repo Body is in scope and desired; the safety boundary is typed authority, branch containment, interruptibility, receipts, private-state sealing, and Bifrost-gated publication/merge/escalation, not asking a human before every local edit. Thirteen native repo-swarm front doors are live and documented there: `epiphany-repo init`, `epiphany-swarm online`, `epiphany-work accept`, `epiphany-work derive-plan`, `epiphany-work plan`, `epiphany-work run`, `epiphany-work adopt --from-plan`, `epiphany-work execute --from-plan`, `epiphany-work close`, `epiphany-work overview`, `epiphany-work tick`, `epiphany-work publish`, and `epiphany-work sync`. Fresh-repo smokes proved the chain with `privateStateExposed=false`, including deterministic Persona/Bifrost pressure-to-plan derivation (`append-worklog`, `operatorAuthoredShellDetails=false`) into `EPIPHANY_WORKLOG.md`, plan-backed branch-local commit creation, a Self-owned tick pulse that advances `run-from-plan -> adopt-from-plan -> execute-from-plan` then no-ops before closure/publication gates, local CultMesh swarm-brake refusal that writes `refused-by-swarm-brake` without creating a run/adopt/execute receipt, active-turn refusal through `work-tick-active-<item>.json`, explicit completion-anchored cooldown refusal through `work-tick-last-<item>.json`, stale active-turn recovery that records `physiology.recoveredActiveTurn.recovered=true`, Self-owned `epiphany-work serve` cadence that writes `work-scheduler-serve-<item>.json`, bounded serve proof `advanced:run-from-plan -> refused-by-cooldown:none` without adoption, unbounded zero-interval refusal, deterministic `epiphany-work close` proof that consumes execute receipts, verifies the Hands commit, writes Soul verdict plus Modeling summary plus Mind gateway/state-commit receipts, local `epiphany-work overview` proof bundle that reports pre-plan `awaiting-plan`/`plan-receipt-missing` and post-close `awaiting-publication`/`bifrost-publication-missing` with branch, commit, changed paths, Soul verdict, compact rows, and private seal, typed local Verse projection as `epiphany.cultmesh.repo_work_overview.v0` with latest-key/event-history readback through Gjallar plus peer-readable Persona Eve lowering, `publish --closure-receipt` consumption of the close receipt's Soul/Mind refs, post-publication tick `noop:none`, and upstream-main ancestry proof after explicit merge receipt. Remaining MVP organs are model-authored Persona-to-plan depth for richer actions, a usable repo-swarm run surface over the queue, optional execute-to-close scheduler handoff, richer published proof bundles, and richer model-authored closure; the scheduler may advance only one safe receipt-backed branch-local step per pulse and must not publish, merge, mutate services, cross repo boundaries, expose private state, or impersonate Idunn.
|
||||
- Gjallar/swarm-overview now projects typed repo-work overview history into the compact global sight report, and Persona's public Eve surface lowers the same queue for peers. `epiphany-verse-query gjallar` reads all `epiphany.cultmesh.repo_work_overview.v0` event documents from local Verse, excludes the `latest` mirror, preserves latest scalar fields, emits multi-item `repoWorkOverviewRows`/TUI rows, and publishes bounded priority 35-39 non-mutating `repo-work-overview` action rows with `owner=Gjallar`, `hostedBody=repo-work`, `authorityGate=repo.work.overview`, `mutatesState=false`, `requiresElevatedAuthority=false`, proof-bundle refs, current gate/blocker/next-safe-move, and `privateStateExposed=false`. `epiphany-verse-query eve-surfaces`, `connect-eve`, and globally invokable Persona `eve-connect` tool readbacks now expose compact `REPO-WORK-PEER` rows with item, gate, blocker, next safe move, branch, publication/sync state, and private seal for the public Persona surface only. Disposable proofs `.epiphany-smoke\gjallar-repo-work-queue-20260620-012027` and `.epiphany-smoke\eve-repo-work-queue-20260620-013322` showed two-item queues through Gjallar, Persona Eve surface, direct Eve connection, and daemon tool invocation, all without mutation, elevation, or private-state exposure.
|
||||
- Agent memory lifecycle now has a first typed v0 operation surface in `epiphany-core::agent_memory`: `AgentMemoryLifecycleOperation` can revise, retire, crystallize, prune, and merge bounded memory records after role/agent review, and `epiphany-agent-memory-store review-lifecycle|apply-lifecycle` exposes the path at the operator edge. This closes the first explicit lifecycle-operation slice from the swarm-readiness gate; it does not yet make sleep silently mutate identity or project truth.
|
||||
- Persona public speech now has a parent-side eligibility receipt at the Discord/Aquarium mouth edge. `epiphany.persona_speech_audit.v0` records action kind, content fingerprint, opening/topic keys, recent-window counts, repeated opening/topic counts, channel saturation, and allow/block reasons. `epiphany-persona-discord post` blocks repeated public openings before token/webhook work; draft and bubble still emit audit receipts for operator inspection. The compatibility JSON artifact remains for display, but the durable witness is now `epiphany.cultmesh.persona_speech_audit.v0` in CultMesh with latest-key projection through local Verse context. Local MVP Persona bubbles now write that durable witness to `.epiphany-run/cultmesh/local-verse.ccmp`, not a separate mouth-side store. This is posting-edge policy, not a Persona prompt wish.
|
||||
- Grow the VoidBot repo-Persona pattern into Epiphany's product direction: each Epiphany owns one or more repos, has one or more Personas, and exposes project-native conversation through Aquarium, Discord, voice/WebRTC, stream surfaces, CLI, and CultNet clients so humans can talk to projects instead of pre-authoring complete implementation briefs. Persona is special because Imagination acts as Projector, turning typed state into narrative context before the Persona thinks, and Mind acts as Interpreter, turning natural Persona output into reviewed state/side-effect intents after the Persona thinks.
|
||||
|
|
@ -634,4 +634,4 @@ current_status:
|
|||
- `tools/epiphany_local_run.ps1 -Mode swarm-online-runbook` now emits an explicit Idunn preflight summary before the operator elevation boundary. Its JSON and one-line summary report `preflightStatus`, child artifact present/hash-verified/mismatch/missing counts, aggregate service execution failed/missing check counts, child preflight rows with expected/actual SHA-256s, and private-state exposure. Live proof `local-20260619-025627-410-9724e2f6` generated the non-mutating parent artifact with `preflightStatus=ready-for-elevated-operator`, two child runbooks present, two hashes verified, zero mismatches, zero missing artifacts, eleven failed sealed service checks, zero missing checks, explicit aftercare audits, and `privateStateExposed=false`. The remaining scar is still explicit elevated operator execution followed by complete Idunn audits, not missing parent/child artifact readiness.
|
||||
- Service lifecycle receipt history is now event-only: `load_epiphany_cultmesh_daemon_service_lifecycle_receipts` filters out the `epiphany-local/daemon-service-lifecycle-receipt/latest` mirror, while `load_latest_epiphany_cultmesh_daemon_service_lifecycle_receipt` remains the latest-state reader. Focused unit test `service_lifecycle_receipt_history_excludes_latest_mirror` proves two per-receipt writes return exactly two history records and latest points at the second. Fresh smoke `verse-query-lifecycle-history-filter-smoke` and live overview/triage `local-20260618-145632-497-efac6f0d` / `local-20260618-145632-321-867947af` prove compact swarm sights still expose service lifecycle attention plus the present elevated runbook artifact without daemon pokes or service mutation. Do not use a broad unscoped cargo test filter for this check on Windows; it fans out across bin harnesses and hit a broken pipe during this pass.
|
||||
- `epiphany-verse-query seed-compact` is the compact seed receipt for wrappers and read-only rites. The older `seed` command still prints the full local Verse context for explicit debugging, but compact wrapper modes now avoid full `seed`/final `query` readback after the combined overview proof exposed Windows debug stack overflow from full-context serialization pressure.
|
||||
next_action: Continue repo-swarm MVP work from the documented thirteen-front-door chain. Typed Gjallar repo-work history/queue sight is live over `epiphany.cultmesh.repo_work_overview.v0`; next lower that queue into Eve/Persona and peer-readable current gate/blocker/next-action summaries without opening raw worker thought, then wire the sight into a usable repo-swarm run surface. Preserve Idunn service lifecycle surfaces and existing CultMesh/Odin/Eve tool directories; service install/start execution still requires explicit elevated operator authority.
|
||||
next_action: Continue repo-swarm MVP work from the documented thirteen-front-door chain. Typed Gjallar repo-work history/queue sight and peer-readable Persona Eve lowering are live over `epiphany.cultmesh.repo_work_overview.v0`; next wire that queue into a usable repo-swarm run surface and deepen Persona-to-Imagination plan derivation without opening raw worker thought. Preserve Idunn service lifecycle surfaces and existing CultMesh/Odin/Eve tool directories; service install/start execution still requires explicit elevated operator authority.
|
||||
|
|
|
|||
|
|
@ -2054,9 +2054,17 @@ if ($resultPath -ne "" -and (Test-Path -LiteralPath $resultPath)) {
|
|||
$publicSurfaces = ($publicSurfaceRows -join ",")
|
||||
}
|
||||
}
|
||||
Write-Host "Eve surfaces: status=$($result.status), surfaces=$($result.surfaceCount), publicDiscussion=$($result.publicDiscussionSurfaceCount), surfaceRows=$surfaceRows, publicSurfaces=$publicSurfaces, connectCommand=$($result.connectionCommand), privateStateExposed=$($result.privateStateExposed)"
|
||||
$repoWorkQueueRows = "none"
|
||||
if ($null -ne $result.repoWorkQueueTuiRows -and $result.repoWorkQueueTuiRows.Count -gt 0) {
|
||||
$repoWorkQueueRows = ($result.repoWorkQueueTuiRows -join "; ")
|
||||
}
|
||||
Write-Host "Eve surfaces: status=$($result.status), surfaces=$($result.surfaceCount), publicDiscussion=$($result.publicDiscussionSurfaceCount), repoWorkQueue=$($result.repoWorkQueueCount), repoWorkRows=$repoWorkQueueRows, surfaceRows=$surfaceRows, publicSurfaces=$publicSurfaces, connectCommand=$($result.connectionCommand), privateStateExposed=$($result.privateStateExposed)"
|
||||
} elseif ($Mode -eq "eve-connect") {
|
||||
Write-Host "Eve connect: status=$($result.status), target=$($result.targetClusterId), surface=$($result.targetEveSurfaceId), receipt=$($result.receiptId), privateStateExposed=$($result.privateStateExposed)"
|
||||
$repoWorkQueueRows = "none"
|
||||
if ($null -ne $result.repoWorkQueueTuiRows -and $result.repoWorkQueueTuiRows.Count -gt 0) {
|
||||
$repoWorkQueueRows = ($result.repoWorkQueueTuiRows -join "; ")
|
||||
}
|
||||
Write-Host "Eve connect: status=$($result.status), target=$($result.targetClusterId), surface=$($result.targetEveSurfaceId), receipt=$($result.receiptId), repoWorkQueue=$($result.repoWorkQueueCount), repoWorkRows=$repoWorkQueueRows, privateStateExposed=$($result.privateStateExposed)"
|
||||
} elseif ($Mode -eq "collaboration-feedback") {
|
||||
$feedbackRows = "none"
|
||||
if ($null -ne $result.tuiRows -and $result.tuiRows.Count -gt 0) {
|
||||
|
|
@ -2142,7 +2150,11 @@ if ($resultPath -ne "" -and (Test-Path -LiteralPath $resultPath)) {
|
|||
}
|
||||
$eveConnection = "none"
|
||||
if ($null -ne $result.eveConnectionReadback -and $null -ne $result.eveConnectionReadback.targetClusterId) {
|
||||
$eveConnection = "target=$($result.eveConnectionReadback.targetClusterId):surface=$($result.eveConnectionReadback.targetEveSurfaceId):publicDiscussion=$($result.eveConnectionReadback.publicPersonaDiscussionAllowed):actions=$(@($result.eveConnectionReadback.supportedActions).Count):private=$($result.eveConnectionReadback.privateStateExposed)"
|
||||
$repoWorkQueueRows = "none"
|
||||
if ($null -ne $result.eveConnectionReadback.repoWorkQueueTuiRows -and $result.eveConnectionReadback.repoWorkQueueTuiRows.Count -gt 0) {
|
||||
$repoWorkQueueRows = ($result.eveConnectionReadback.repoWorkQueueTuiRows -join "; ")
|
||||
}
|
||||
$eveConnection = "target=$($result.eveConnectionReadback.targetClusterId):surface=$($result.eveConnectionReadback.targetEveSurfaceId):publicDiscussion=$($result.eveConnectionReadback.publicPersonaDiscussionAllowed):actions=$(@($result.eveConnectionReadback.supportedActions).Count):repoWorkQueue=$($result.eveConnectionReadback.repoWorkQueueCount):repoWorkRows=$repoWorkQueueRows:private=$($result.eveConnectionReadback.privateStateExposed)"
|
||||
}
|
||||
$authorityTool = "none"
|
||||
if ($null -ne $result.authorityToolReadback -and $null -ne $result.authorityToolReadback.authorityGate) {
|
||||
|
|
|
|||
Reference in a new issue