Add repo work intake consensus readback
This commit is contained in:
parent
011d1bdf53
commit
d16e0b4165
6 changed files with 206 additions and 2 deletions
|
|
@ -184,6 +184,18 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
.join("work")
|
||||
.join(format!("work-close-{item}.json"));
|
||||
let close = read_json(&close_path)?;
|
||||
let overview = cargo_json(
|
||||
&manifest,
|
||||
"epiphany-work",
|
||||
&[
|
||||
"overview",
|
||||
"--workspace",
|
||||
path_str(&repo)?,
|
||||
"--item",
|
||||
item,
|
||||
],
|
||||
&root,
|
||||
)?;
|
||||
let brief_text = fs::read_to_string(repo.join(target_path))
|
||||
.with_context(|| format!("failed to read {}", repo.join(target_path).display()))?;
|
||||
|
||||
|
|
@ -239,6 +251,76 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
require_text(&brief_text, "mind_adoption_required = true")?;
|
||||
require_text(&brief_text, "bifrost_publication_required = true")?;
|
||||
require_text(&brief_text, "private_state_exposed = false")?;
|
||||
require_eq(
|
||||
&overview,
|
||||
&["intakeConsensus", "schemaVersion"],
|
||||
"epiphany.repo_work_intake_consensus_readback.v0",
|
||||
)?;
|
||||
require_eq(
|
||||
&overview,
|
||||
&["intakeConsensus", "owner"],
|
||||
"Persona->Imagination",
|
||||
)?;
|
||||
require_eq(
|
||||
&overview,
|
||||
&["intakeConsensus", "requestedConsensusRoute"],
|
||||
"imagination.consensus_discovery",
|
||||
)?;
|
||||
require_eq(
|
||||
&overview,
|
||||
&["intakeConsensus", "planSafeActionFamily"],
|
||||
"repo.consensus_brief",
|
||||
)?;
|
||||
require_bool(
|
||||
&overview,
|
||||
&["intakeConsensus", "planModelAuthored"],
|
||||
true,
|
||||
)?;
|
||||
require_bool(
|
||||
&overview,
|
||||
&["intakeConsensus", "handsAuthorityGranted"],
|
||||
false,
|
||||
)?;
|
||||
require_bool(
|
||||
&overview,
|
||||
&["intakeConsensus", "durableStateAdmitted"],
|
||||
false,
|
||||
)?;
|
||||
require_bool(
|
||||
&overview,
|
||||
&["intakeConsensus", "publicationAuthorized"],
|
||||
false,
|
||||
)?;
|
||||
require_bool(
|
||||
&overview,
|
||||
&["intakeConsensus", "privateStateExposed"],
|
||||
false,
|
||||
)?;
|
||||
require_u64(
|
||||
&overview,
|
||||
&["intakeConsensus", "publicDiscussionRefCount"],
|
||||
1,
|
||||
)?;
|
||||
require_u64(
|
||||
&overview,
|
||||
&["intakeConsensus", "candidateActionRefCount"],
|
||||
2,
|
||||
)?;
|
||||
require_eq(
|
||||
&overview,
|
||||
&["proofBundle", "intakeConsensus", "planSafeActionFamily"],
|
||||
"repo.consensus_brief",
|
||||
)?;
|
||||
require_array_text_contains(
|
||||
&overview,
|
||||
&["verseProjection", "tuiRows"],
|
||||
"CONSENSUS |",
|
||||
)?;
|
||||
require_array_text_contains(
|
||||
&overview,
|
||||
&["verseProjection", "tuiRows"],
|
||||
"route=imagination.consensus_discovery",
|
||||
)?;
|
||||
|
||||
let summary = json!({
|
||||
"schemaVersion": "epiphany.repo_work_consensus_brief_family_smoke.v0",
|
||||
|
|
@ -254,6 +336,10 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
"familyAssertionsStatus": close["closureReview"]["familyAssertions"]["status"],
|
||||
"pathScopeMatched": close["closureReview"]["sourceGrounding"]["pathScopeMatched"],
|
||||
"briefIsDraft": true,
|
||||
"intakeConsensusSchema": overview["intakeConsensus"]["schemaVersion"],
|
||||
"intakeConsensusRoute": overview["intakeConsensus"]["requestedConsensusRoute"],
|
||||
"intakeConsensusCandidateActionRefCount": overview["intakeConsensus"]["candidateActionRefCount"],
|
||||
"intakeConsensusPlanSafeActionFamily": overview["intakeConsensus"]["planSafeActionFamily"],
|
||||
"candidateActionsNonAuthoritative": true,
|
||||
"mindAdoptionRequired": true,
|
||||
"bifrostPublicationRequired": true,
|
||||
|
|
@ -376,6 +462,44 @@ fn require_bool(value: &Value, path: &[&str], expected: bool) -> Result<()> {
|
|||
}
|
||||
}
|
||||
|
||||
fn require_u64(value: &Value, path: &[&str], expected: u64) -> Result<()> {
|
||||
let actual = path
|
||||
.iter()
|
||||
.try_fold(value, |current, key| current.get(*key))
|
||||
.and_then(Value::as_u64);
|
||||
if actual == Some(expected) {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(anyhow!(
|
||||
"expected {} to be {expected}, got {:?}",
|
||||
path.join("."),
|
||||
actual
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn require_array_text_contains(value: &Value, path: &[&str], needle: &str) -> Result<()> {
|
||||
let values = path
|
||||
.iter()
|
||||
.try_fold(value, |current, key| current.get(*key))
|
||||
.and_then(Value::as_array)
|
||||
.cloned()
|
||||
.unwrap_or_default();
|
||||
if values
|
||||
.iter()
|
||||
.filter_map(Value::as_str)
|
||||
.any(|row| row.contains(needle))
|
||||
{
|
||||
Ok(())
|
||||
} else {
|
||||
Err(anyhow!(
|
||||
"expected {} to contain {needle:?}, got {:?}",
|
||||
path.join("."),
|
||||
values
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
fn require_text(haystack: &str, needle: &str) -> Result<()> {
|
||||
if haystack.contains(needle) {
|
||||
Ok(())
|
||||
|
|
|
|||
|
|
@ -10617,12 +10617,78 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
publish_receipt.as_ref(),
|
||||
sync_receipt.as_ref(),
|
||||
);
|
||||
let public_discussion_refs =
|
||||
string_array_from_json(&accept_receipt, &["feedback", "publicDiscussionRefs"]);
|
||||
let candidate_action_refs =
|
||||
string_array_from_json(&accept_receipt, &["feedback", "candidateActionRefs"]);
|
||||
let feedback_id = string_from_json(&accept_receipt, &["feedback", "feedbackId"])
|
||||
.unwrap_or_else(|| "missing".to_string());
|
||||
let consensus_receipt_id =
|
||||
string_from_json(&accept_receipt, &["feedback", "consensusReceiptId"])
|
||||
.unwrap_or_else(|| "missing".to_string());
|
||||
let consensus_route =
|
||||
string_from_json(&accept_receipt, &["feedback", "requestedConsensusRoute"])
|
||||
.unwrap_or_else(|| "missing".to_string());
|
||||
let consensus_packet_ref =
|
||||
string_from_json(&accept_receipt, &["feedback", "consensusPacketRef"])
|
||||
.unwrap_or_else(|| "missing".to_string());
|
||||
let adoption_gate = string_from_json(&accept_receipt, &["feedback", "adoptionGate"])
|
||||
.unwrap_or_else(|| "missing".to_string());
|
||||
let plan_action_item = plan_receipt
|
||||
.as_ref()
|
||||
.and_then(|receipt| receipt.get("derivation"))
|
||||
.and_then(|value| value.get("actionItemReceipt"));
|
||||
let plan_action_item_receipt_id = plan_action_item
|
||||
.and_then(|value| value.get("receiptId"))
|
||||
.and_then(Value::as_str)
|
||||
.unwrap_or("missing")
|
||||
.to_string();
|
||||
let plan_safe_action_family = plan_action_item
|
||||
.and_then(|value| value.get("safeActionFamily"))
|
||||
.and_then(Value::as_str)
|
||||
.unwrap_or("missing")
|
||||
.to_string();
|
||||
let plan_model_authored = plan_action_item
|
||||
.and_then(|value| value.get("modelAuthored"))
|
||||
.and_then(Value::as_bool)
|
||||
.unwrap_or(false);
|
||||
let intake_consensus_readback = json!({
|
||||
"schemaVersion": "epiphany.repo_work_intake_consensus_readback.v0",
|
||||
"owner": "Persona->Imagination",
|
||||
"item": item,
|
||||
"feedbackId": feedback_id,
|
||||
"consensusReceiptId": consensus_receipt_id,
|
||||
"requestedConsensusRoute": consensus_route,
|
||||
"consensusPacketRef": consensus_packet_ref,
|
||||
"adoptionGate": adoption_gate,
|
||||
"publicDiscussionRefs": public_discussion_refs,
|
||||
"publicDiscussionRefCount": public_discussion_refs.len(),
|
||||
"candidateActionRefs": candidate_action_refs,
|
||||
"candidateActionRefCount": candidate_action_refs.len(),
|
||||
"planActionItemsReceiptId": plan_action_item_receipt_id,
|
||||
"planSafeActionFamily": plan_safe_action_family,
|
||||
"planModelAuthored": plan_model_authored,
|
||||
"handsAuthorityGranted": false,
|
||||
"durableStateAdmitted": false,
|
||||
"publicationAuthorized": false,
|
||||
"privateStateExposed": false
|
||||
});
|
||||
let tui_rows = vec![
|
||||
format!("item {item}"),
|
||||
format!("branch {branch}"),
|
||||
format!("gate {gate}"),
|
||||
format!("blocker {blocker}"),
|
||||
format!("next {next_safe_move}"),
|
||||
format!(
|
||||
"CONSENSUS | feedback={} | receipt={} | route={} | publicRefs={} | candidates={} | planFamily={} | modelAuthored={} | private=false",
|
||||
intake_consensus_readback["feedbackId"].as_str().unwrap_or("missing"),
|
||||
intake_consensus_readback["consensusReceiptId"].as_str().unwrap_or("missing"),
|
||||
intake_consensus_readback["requestedConsensusRoute"].as_str().unwrap_or("missing"),
|
||||
intake_consensus_readback["publicDiscussionRefCount"].as_u64().unwrap_or(0),
|
||||
intake_consensus_readback["candidateActionRefCount"].as_u64().unwrap_or(0),
|
||||
intake_consensus_readback["planSafeActionFamily"].as_str().unwrap_or("missing"),
|
||||
intake_consensus_readback["planModelAuthored"].as_bool().unwrap_or(false),
|
||||
),
|
||||
format!("closure {closure_status} soul {soul_verdict}"),
|
||||
format!("publication {publication_status} sync {sync_status}"),
|
||||
"private false".to_string(),
|
||||
|
|
@ -10700,6 +10766,7 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
"syncReceiptPath": existing_path_value(&sync_receipt_path),
|
||||
"changedPaths": changed_paths,
|
||||
"commitSha": commit_sha,
|
||||
"intakeConsensus": intake_consensus_readback,
|
||||
"soulVerdict": soul_verdict,
|
||||
"mindStateCommitReceiptId": close_receipt.as_ref().and_then(|receipt| string_from_json(receipt, &["mind", "stateCommitReceiptId"])),
|
||||
"bifrostPublicationReceiptId": publish_receipt.as_ref().and_then(|receipt| string_from_json(receipt, &["bifrost", "publicationReceiptId"])),
|
||||
|
|
@ -10715,6 +10782,7 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
{"key": "branch", "value": branch, "status": "current"},
|
||||
{"key": "gate", "value": gate, "status": if blocker == "none" { "ready" } else { "blocked" }},
|
||||
{"key": "blocker", "value": blocker, "status": if blocker == "none" { "clear" } else { "attention" }},
|
||||
{"key": "consensus", "value": proof_bundle["intakeConsensus"]["consensusReceiptId"], "status": proof_bundle["intakeConsensus"]["requestedConsensusRoute"]},
|
||||
{"key": "closure", "value": closure_status, "status": closure_status},
|
||||
{"key": "publication", "value": publication_status, "status": publication_status},
|
||||
{"key": "sync", "value": sync_status, "status": sync_status},
|
||||
|
|
@ -10731,6 +10799,7 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
"nextSafeMove": next_safe_move,
|
||||
"receiptChain": receipt_chain,
|
||||
"proofBundle": proof_bundle,
|
||||
"intakeConsensus": proof_bundle["intakeConsensus"],
|
||||
"rows": rows,
|
||||
"authority": {
|
||||
"owner": "Eyes/Gjallar",
|
||||
|
|
@ -10773,6 +10842,7 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
private_state_exposed: false,
|
||||
notes: vec![
|
||||
"Repo work overview is compact local Verse sight; raw worker thoughts and receipt payload bodies remain sealed.".to_string(),
|
||||
"Persona/public feedback and candidate-action refs are shown only as compact Imagination consensus readback; adoption still requires Mind and Bifrost gates.".to_string(),
|
||||
"Gjallar/Eve may project these rows, but they do not own scheduling, publication, merge, service lifecycle, or cross-repo mutation.".to_string(),
|
||||
],
|
||||
};
|
||||
|
|
@ -10798,6 +10868,7 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
|
|||
"nextSafeMove": receipt["nextSafeMove"],
|
||||
"receiptPath": if args.write_receipt { Value::String(overview_receipt_path.display().to_string()) } else { Value::Null },
|
||||
"proofBundle": receipt["proofBundle"],
|
||||
"intakeConsensus": receipt["intakeConsensus"],
|
||||
"rows": receipt["rows"],
|
||||
"verseProjection": verse_projection,
|
||||
"authority": receipt["authority"],
|
||||
|
|
|
|||
|
|
@ -530,6 +530,14 @@ consensus state, public discussion refs, candidate action refs,
|
|||
`candidate_actions_non_authoritative=true`, Mind/Bifrost gates, denied
|
||||
adoption/action/publication/cross-body authority, and
|
||||
`privateStateExposed=false`.
|
||||
The 2026-06-21 follow-up smoke
|
||||
`.epiphany-smoke\repo-consensus-brief-family-20260621-005433` now also proves
|
||||
that `epiphany-work overview` emits
|
||||
`epiphany.repo_work_intake_consensus_readback.v0` and lowers it into the
|
||||
repo-local CultMesh overview TUI rows as `CONSENSUS | ...`. The readback shows
|
||||
route `imagination.consensus_discovery`, two candidate action refs, model-authored
|
||||
safe family `repo.consensus_brief`, no Hands/durable-state/publication
|
||||
authority, and `privateStateExposed=false`.
|
||||
|
||||
The next family-friendly Imagination planning smoke proved safe-family
|
||||
decomposition cargo, and its closure readback now exposes the planning family
|
||||
|
|
@ -1733,7 +1741,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; `tick` now routes executed branch-local work through the existing Soul/Modeling/Mind `close` gate; `queue-run` selects tick-actionable rows from the typed repo-work queue and delegates to `tick`; `epiphany-swarm run` is the bounded operator mouth over that queue/tick physiology; `repo-work-service-plan`, `repo-work-service-runbook`, `repo-work-service-launch`, and `repo-work-service-audit` write Idunn lifecycle receipts/artifacts for the same queue-run command and prove non-mutating launch/readiness closure. | Keep any future queue-run service install/start mutation behind Idunn and explicit elevated operator 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, writes `epiphany.repo_work_closure_review.v0`, refuses path-scope mismatches, refuses missing/tampered/non-affirmative Mind adoption proof, runs known safe-family content assertions, optionally gates on model-authored closure verdicts, can require verification output to cite declared changed paths with `--require-source-grounding`, writes Soul/Modeling/Mind receipts, admits a compact typed repo map entry into `.epiphany/state/repo-work-map.msgpack`, and mirrors that admitted fact into local Verse as `epiphany.cultmesh.repo_work_map_entry.v0`. | Keep extending closure toward source-grounded semantic review and richer semantic map lenses, 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; `close` mirrors Mind-admitted map facts as `epiphany.cultmesh.repo_work_map_entry.v0`; Gjallar enumerates overview history, map rows, family lens rows, path lens rows, branch lens rows, and public-proof rows without private-state exposure; Persona's Eve surface and Eve connection readbacks expose peer-readable gate/blocker/next-action rows; `queue-run` consumes the same overview queue for branch-local scheduler pulses. | Deepen the Persona-to-plan loop and semantic map readback without moving action authority out of Hands/Self/Bifrost. |
|
||||
| Repo work sight | `overview` emits compact proof rows, an `epiphany.repo_work_intake_consensus_readback.v0` from the accept/plan chain, and typed `epiphany.cultmesh.repo_work_overview.v0` event documents plus a latest key; the CultMesh TUI rows now include a compact `CONSENSUS` readback showing Persona/public feedback ids, Imagination consensus route, public/candidate ref counts, safe family, and authority denials without private payloads; `close` mirrors Mind-admitted map facts as `epiphany.cultmesh.repo_work_map_entry.v0`; Gjallar enumerates overview history, map rows, family lens rows, path lens rows, branch lens rows, and public-proof rows without private-state exposure; Persona's Eve surface and Eve connection readbacks expose peer-readable gate/blocker/next-action rows; `queue-run` consumes the same overview queue for branch-local scheduler pulses. | Deepen the Persona-to-plan loop and semantic map readback 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. |
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ remembers doctrine; the branch remembers the blade.
|
|||
- 2026-06-20: `repo-tool-request` is now live as daemon-hosted tool request cargo. `epiphany-work derive-plan --action-family repo-tool-request` writes `.epiphany/tool-requests/<item>.toml` with safe family `repo.tool_request`, local CultMesh/Odin daemon tool directory, selected-by-review target capability, typed daemon tool invocation intent/receipt contracts, host-daemon execution ownership, host liveness/readiness requirements, Odin provider ownership, and seals denying direct tool execution, arbitrary shell, Hands action, state commit, publication, service lifecycle, cross-body mutation, private Verse rummaging, and private-state exposure. Focused smoke `.epiphany-smoke\repo-tool-request-family-20260620-174500` ran init -> online -> accept -> repo-tool-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/tool-requests/repo-tool-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `hostDaemonOwnsExecution=true`, `odinPreservesProviderOwnership=true`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-20: `repo-collaboration-topic` is now live as public collaboration planning cargo. `epiphany-work derive-plan --action-family repo-collaboration-topic` writes `.epiphany/collaboration-topics/<item>.toml` with safe family `repo.collaboration_topic`, public Persona collaboration room, Eve surface, Imagination consensus route, non-authoritative candidate action semantics, Mind/Bifrost gates, and seals against adoption/action/publication/cross-body/private-rummaging authority. Soul closure assertions inspect schema, family, summary, topic surface, Imagination route, authority seals, and private-state seal. Focused smoke `.epiphany-smoke\repo-collaboration-topic-family-20260620-143342` ran init -> online -> accept -> repo-collaboration-topic derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/collaboration-topics/repo-collaboration-topic-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `candidateActionsNonAuthoritative=true`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter/adoption semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-20: `repo-consensus-brief` is now live as draft Imagination consensus cargo. `epiphany-work derive-plan --action-family repo-consensus-brief` writes `.epiphany/consensus-briefs/<item>.toml` with safe family `repo.consensus_brief`, draft consensus state, public discussion refs, candidate action refs, non-authoritative candidate action semantics, review requirement, Mind/Bifrost gates, and seals against objective adoption, Hands action, publication, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, draft state, Imagination route, public/candidate inputs, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-consensus-brief-family-20260620-144212` ran init -> online -> accept -> repo-consensus-brief derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/consensus-briefs/repo-consensus-brief-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `candidateActionsNonAuthoritative=true`, `mindAdoptionRequired=true`, `bifrostPublicationRequired=true`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter/adoption semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-21: Repo-work overview now carries compact Persona-to-Imagination consensus readback. `epiphany-work overview` emits `epiphany.repo_work_intake_consensus_readback.v0` under `intakeConsensus`, mirrors it into the proof bundle, and adds a `CONSENSUS` TUI row to the CultMesh `repo_work_overview` projection. It reports feedback id, Imagination consensus receipt id, route `imagination.consensus_discovery`, public/candidate ref counts, model-authored plan safe family, and explicit denials for Hands, durable state, publication, and private-state exposure. Focused smoke `.epiphany-smoke\repo-consensus-brief-family-20260621-005433` proves the readback for `repo.consensus_brief` with two candidate action refs, model-authored plan, CultMesh TUI `CONSENSUS` row, Soul close passed, and `privateStateExposed=false`.
|
||||
- 2026-06-20: `repo-objective-draft` is now live as review-required Objective Draft cargo. `epiphany-work derive-plan --action-family repo-objective-draft` writes `.epiphany/objective-drafts/<item>.toml` with safe family `repo.objective_draft`, draft status `review-required`, `objective_adopted=false`, objective statement, acceptance criteria, public/candidate refs, and Mind/Self/Bifrost gates before adoption, scheduling, or publication. Soul closure assertions inspect schema, family, summary, draft review state, acceptance criteria, inputs, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-objective-draft-family-20260620-145012` ran init -> online -> accept -> repo-objective-draft derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/objective-drafts/repo-objective-draft-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `draftReviewRequired=true`, `objectiveAdopted=false`, `mindAdoptionRequired=true`, `selfSchedulingAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter/adoption semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-20: `repo-adoption-request` is now live as Mind-facing adoption request cargo. `epiphany-work derive-plan --action-family repo-adoption-request` writes `.epiphany/adoption-requests/<item>.toml` with safe family `repo.adoption_request`, status `awaiting-mind-review`, allowed verdicts `adopted|refused|needs-more-consensus`, Mind review/state-commit receipt requirements, objective/consensus antecedents, and seals against objective adoption, state commit, Self scheduling, Hands action, publication, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, decision contract, inputs, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-adoption-request-family-20260620-145823` ran init -> online -> accept -> repo-adoption-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/adoption-requests/repo-adoption-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingMindReview=true`, `doesNotModifyState=true`, `stateCommitAuthorized=false`, `selfSchedulingAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter/adoption semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-20: `repo-scheduling-request` is now live as Self-facing scheduling request cargo. `epiphany-work derive-plan --action-family repo-scheduling-request` writes `.epiphany/scheduling-requests/<item>.toml` with safe family `repo.scheduling_request`, status `awaiting-mind-adoption`, Objective Draft/adoption request refs, Mind review/state-commit receipt requirements, a bounded one-item queue pulse contract, and seals against Self scheduling, queue mutation, Hands action, publication, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, queue contract, receipt contract, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-scheduling-request-family-20260620-150758` ran init -> online -> accept -> repo-scheduling-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/scheduling-requests/repo-scheduling-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingMindAdoption=true`, `queueMutationAuthorized=false`, `selfSchedulingAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter/adoption semantics, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -98,7 +98,7 @@ active_subgoals:
|
|||
- Gjallar now derives a changed-path repo-work map lens from the same Mind-admitted local Verse rows. `repoWorkMapPathLensRows` / `REPO-WORK-MAP-PATH` group accepted consequences by changed repo path, with item count, safe-family list, latest item/commit/Mind commit, Bifrost gate, and `privateStateExposed=false`; proof `.epiphany-smoke\repo-close-mind-adoption-guard-20260620-205740` passed with `gjallarRepoWorkMapPathLensCount=1` beside the family lens. This lets agents see which Body paths have accepted work without opening private receipts or granting Gjallar actuation authority.
|
||||
- Gjallar now derives a branch-workbench repo-work map lens from the same Mind-admitted local Verse rows. `repoWorkMapBranchLensRows` / `REPO-WORK-MAP-BRANCH` group accepted consequences by branch, with item count, changed-path count, safe-family list, latest item/commit/Mind commit, Bifrost gate, and `privateStateExposed=false`; proof `.epiphany-smoke\repo-close-mind-adoption-guard-20260620-210747` passed with `gjallarRepoWorkMapBranchLensCount=1` beside the family/path lenses. This lets agents see which branch owns accepted consequences without opening private receipts or granting Gjallar scheduling, publication, deployment, lifecycle, or Mind admission authority.
|
||||
- The local wrapper now has an explicit repo-local Verse readback target for Gjallar/swarm-triage. `tools/epiphany_local_run.ps1` accepts `-LocalVerseStore` and `-LocalVerseRuntimeId`; operator intent/receipt documents still write to the operator store, while `gjallar` and `swarm-triage` read compact repo-work map rows from the requested store/runtime. Wrapper proofs `local-20260621-011151-541-70056545` and `local-20260621-011207-755-d65e5c7e` aimed at `.epiphany-smoke\repo-planning-brief-family-20260620-235939\repo-body\.epiphany\local-verse.ccmp` with runtime `repo-planning-brief-family-smoke` and printed real `REPO-WORK-MAP`, `REPO-WORK-MAP-SEMANTIC`, family/path/branch/stage/gate rows with `privateStateExposed=false`. This is sight targeting only; the wrapper does not register repo-work schemas, reinterpret rows, or gain operator, Mind, Bifrost, Idunn, scheduler, publication, deployment, or service authority.
|
||||
- Gjallar/swarm-overview now projects typed repo-work overview history into the compact global sight report, Persona's public Eve surface lowers the same queue for peers, and Self has a first runnable queue surface over it. `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 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. `epiphany-work queue-run` selects current-repo rows at `ready-to-run`, `ready-to-adopt`, or `ready-to-execute`, delegates action to `tick`, refreshes overview after real advancement, and writes `epiphany.repo_work_queue_run_receipt.v0`; wrapper mode `tools/epiphany_local_run.ps1 -Mode repo-work-queue-run` exposes the same surface. Disposable proofs `.epiphany-smoke\gjallar-repo-work-queue-20260620-012027`, `.epiphany-smoke\eve-repo-work-queue-20260620-013322`, `.epiphany-smoke\queue-run-20260620-014314`, and wrapper artifact `local-20260620-014627-174-aada0241` showed two-item queues through sight, public Eve, direct queue-run, and wrapper dry-run without publication, merge, service lifecycle mutation, elevation, cross-repo mutation, or private-state exposure.
|
||||
- Gjallar/swarm-overview now projects typed repo-work overview history into the compact global sight report, Persona's public Eve surface lowers the same queue for peers, and Self has a first runnable queue surface over it. `epiphany-work overview` now also emits `epiphany.repo_work_intake_consensus_readback.v0` plus a compact `CONSENSUS` TUI row from the accept/plan receipt chain, so agents can see Persona/public feedback ids, Imagination consensus receipt route, public/candidate ref counts, model-authored safe family, and authority denials without opening private payloads. `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 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. `epiphany-work queue-run` selects current-repo rows at `ready-to-run`, `ready-to-adopt`, or `ready-to-execute`, delegates action to `tick`, refreshes overview after real advancement, and writes `epiphany.repo_work_queue_run_receipt.v0`; wrapper mode `tools/epiphany_local_run.ps1 -Mode repo-work-queue-run` exposes the same surface. Disposable proofs `.epiphany-smoke\gjallar-repo-work-queue-20260620-012027`, `.epiphany-smoke\eve-repo-work-queue-20260620-013322`, `.epiphany-smoke\queue-run-20260620-014314`, wrapper artifact `local-20260620-014627-174-aada0241`, and consensus readback smoke `.epiphany-smoke\repo-consensus-brief-family-20260621-005433` show queue sight, public Eve lowering, direct queue-run advancement, wrapper dry-run, and Persona-to-Imagination consensus readback without publication, merge, service lifecycle mutation, elevation, cross-repo mutation, 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.
|
||||
|
|
|
|||
Reference in a new issue