Account readiness review in Bifrost ledger

This commit is contained in:
Meta Vens 2026-06-21 13:13:26 +01:00
commit 85197fe86d
7 changed files with 196 additions and 10 deletions

View file

@ -562,6 +562,33 @@ fn run_smoke(args: Args) -> Result<Value> {
)?;
require_tui_row_contains(&receipt_directory, &["tuiRows"], "artifact=present")?;
require_bool(&receipt_directory, &["privateStateExposed"], false)?;
let bifrost_ledger = cargo_json(
&manifest,
"epiphany-verse-query",
&[
"bifrost-ledger",
"--store",
path_str(&local_verse)?,
"--runtime-id",
"repo-work-readiness-smoke",
],
&root,
)?;
require_bifrost_accounting_row(
&bifrost_ledger,
"repo-work-readiness-review",
"closed",
"repo-work-readiness-review-repo-work-readiness",
4,
1,
)?;
require_tui_row_contains(
&bifrost_ledger,
&["accountingTuiRows"],
"BIFROST-ACCOUNTING | repo-work-readiness-review",
)?;
require_tui_row_contains(&bifrost_ledger, &["accountingTuiRows"], "status=closed")?;
require_bool(&bifrost_ledger, &["privateStateExposed"], false)?;
let summary = json!({
"schemaVersion": "epiphany.repo_work_readiness_smoke.v0",
@ -586,6 +613,8 @@ fn run_smoke(args: Args) -> Result<Value> {
"gjallarLatestRepoWorkReadinessReview": gjallar["latestRepoWorkReadinessReview"],
"receiptDirectoryRowCount": receipt_directory["rowCount"],
"receiptDirectoryReadinessReviewRow": receipt_directory_row_value(&receipt_directory, "repo-work-readiness-review")?,
"bifrostLedgerAccountingRowCount": bifrost_ledger["accountingRowCount"],
"bifrostReadinessReviewAccountingRow": bifrost_accounting_row_value(&bifrost_ledger, "repo-work-readiness-review")?,
"sightOnly": readiness["authority"]["sightOnly"],
"readinessApprovalAuthorized": readiness["authority"]["readinessApprovalAuthorized"],
"publicationAuthorized": readiness["authority"]["publicationAuthorized"],
@ -855,6 +884,60 @@ fn require_receipt_directory_row(
}
}
fn bifrost_accounting_row_value<'a>(value: &'a Value, lane: &str) -> Result<&'a Value> {
value
.get("accountingRows")
.and_then(Value::as_array)
.and_then(|rows| {
rows.iter()
.find(|row| row.get("lane").and_then(Value::as_str) == Some(lane))
})
.ok_or_else(|| anyhow!("missing Bifrost accounting row {lane:?}"))
}
fn require_bifrost_accounting_row(
value: &Value,
lane: &str,
status: &str,
latest_receipt_id: &str,
review_receipt_count: u64,
public_artifact_count: u64,
) -> Result<()> {
let row = bifrost_accounting_row_value(value, lane)?;
let actual_status = row
.get("status")
.and_then(Value::as_str)
.unwrap_or("<missing>");
let actual_latest_receipt_id = row
.get("latestReceiptId")
.and_then(Value::as_str)
.unwrap_or("<missing>");
let actual_review_receipt_count = row
.get("reviewReceiptCount")
.and_then(Value::as_u64)
.unwrap_or(0);
let actual_public_artifact_count = row
.get("publicArtifactCount")
.and_then(Value::as_u64)
.unwrap_or(0);
let actual_private = row
.get("privateStateExposed")
.and_then(Value::as_bool)
.unwrap_or(true);
if actual_status == status
&& actual_latest_receipt_id == latest_receipt_id
&& actual_review_receipt_count == review_receipt_count
&& actual_public_artifact_count == public_artifact_count
&& !actual_private
{
Ok(())
} else {
Err(anyhow!(
"Bifrost accounting row {lane:?} mismatch: status={actual_status:?}, latestReceiptId={actual_latest_receipt_id:?}, reviewReceiptCount={actual_review_receipt_count}, publicArtifactCount={actual_public_artifact_count}, privateStateExposed={actual_private}"
))
}
}
fn take_path(
args: &mut std::iter::Peekable<impl Iterator<Item = String>>,
flag: &str,

View file

@ -1236,6 +1236,7 @@ fn run_cli() -> Result<()> {
"latestBifrostPublicationReceipt": report.latest_publication_receipt_id,
"latestBifrostGithubReceipt": report.latest_github_receipt_id,
"latestBifrostPublicProofPublicationReceipt": report.latest_public_proof_publication_receipt_id,
"latestRepoWorkReadinessReview": report.latest_readiness_review_id,
"latestBifrostCollaborationFeedback": report.latest_feedback_id,
"latestImaginationConsensusReceipt": report.latest_consensus_receipt_id,
"accountingTuiRows": report.accounting_tui_rows,
@ -2714,7 +2715,7 @@ fn run_cli() -> Result<()> {
if bifrost_ledger_report.status != "ok"
|| bifrost_ledger_report.publication_chain_count != 3
|| bifrost_ledger_report.collaboration_chain_count != 2
|| bifrost_ledger_report.accounting_rows.len() != 3
|| bifrost_ledger_report.accounting_rows.len() != 4
|| bifrost_ledger_report.closed_accounting_row_count != 2
|| bifrost_ledger_report.attention_accounting_row_count != 0
|| bifrost_ledger_report.rows.len() != 5
@ -2749,6 +2750,13 @@ fn run_cli() -> Result<()> {
&& row.contains("proof=missing")
&& row.contains("private=false")
})
|| !bifrost_ledger_report.accounting_tui_rows.iter().any(|row| {
row.contains("BIFROST-ACCOUNTING | repo-work-readiness-review")
&& row.contains("status=missing")
&& row.contains("review=0")
&& row.contains("approval=missing")
&& row.contains("private=false")
})
|| !bifrost_ledger_report.accounting_tui_rows.iter().any(|row| {
row.contains("BIFROST-ACCOUNTING | collaboration-consensus")
&& row.contains("status=closed")
@ -4928,6 +4936,7 @@ struct BifrostLedgerReport {
latest_publication_receipt_id: Option<String>,
latest_github_receipt_id: Option<String>,
latest_public_proof_publication_receipt_id: Option<String>,
latest_readiness_review_id: Option<String>,
latest_feedback_id: Option<String>,
latest_consensus_receipt_id: Option<String>,
private_state_exposed: bool,
@ -8524,6 +8533,10 @@ fn load_bifrost_ledger_report(args: &Args) -> Result<BifrostLedgerReport> {
&args.store,
args.runtime_id.clone(),
)?;
let latest_readiness_review = load_latest_epiphany_cultmesh_repo_work_readiness_review(
&args.store,
args.runtime_id.clone(),
)?;
let latest_feedback = load_latest_epiphany_cultmesh_bifrost_collaboration_feedback(
&args.store,
args.runtime_id.clone(),
@ -8537,6 +8550,7 @@ fn load_bifrost_ledger_report(args: &Args) -> Result<BifrostLedgerReport> {
latest_publication.as_ref(),
latest_github.as_ref(),
latest_public_proof_publication.as_ref(),
latest_readiness_review.as_ref(),
latest_feedback.as_ref(),
latest_consensus.as_ref(),
))
@ -8549,6 +8563,7 @@ fn bifrost_ledger_report(
latest_public_proof_publication: Option<
&EpiphanyCultMeshBifrostPublicProofPublicationReceiptEntry,
>,
latest_readiness_review: Option<&EpiphanyCultMeshRepoWorkReadinessReviewEntry>,
latest_feedback: Option<&EpiphanyCultMeshBifrostCollaborationFeedbackEntry>,
latest_consensus: Option<&EpiphanyCultMeshImaginationConsensusReceiptEntry>,
) -> BifrostLedgerReport {
@ -8674,6 +8689,7 @@ fn bifrost_ledger_report(
latest_publication,
latest_github,
latest_public_proof_publication,
latest_readiness_review,
latest_feedback,
latest_consensus,
);
@ -8685,7 +8701,8 @@ fn bifrost_ledger_report(
.iter()
.filter(|row| row.status == "attention" || row.private_state_exposed)
.count();
let private_state_exposed = rows.iter().any(|row| row.private_state_exposed);
let private_state_exposed = rows.iter().any(|row| row.private_state_exposed)
|| accounting_rows.iter().any(|row| row.private_state_exposed);
let status = if rows.is_empty() {
"empty"
} else if private_state_exposed {
@ -8711,6 +8728,7 @@ fn bifrost_ledger_report(
latest_github_receipt_id: latest_github.map(|receipt| receipt.receipt_id.clone()),
latest_public_proof_publication_receipt_id: latest_public_proof_publication
.map(|receipt| receipt.receipt_id.clone()),
latest_readiness_review_id: latest_readiness_review.map(|review| review.review_id.clone()),
latest_feedback_id: latest_feedback.map(|feedback| feedback.feedback_id.clone()),
latest_consensus_receipt_id: latest_consensus.map(|receipt| receipt.receipt_id.clone()),
private_state_exposed,
@ -8746,6 +8764,7 @@ fn bifrost_accounting_rows(
latest_public_proof_publication: Option<
&EpiphanyCultMeshBifrostPublicProofPublicationReceiptEntry,
>,
latest_readiness_review: Option<&EpiphanyCultMeshRepoWorkReadinessReviewEntry>,
latest_feedback: Option<&EpiphanyCultMeshBifrostCollaborationFeedbackEntry>,
latest_consensus: Option<&EpiphanyCultMeshImaginationConsensusReceiptEntry>,
) -> (Vec<BifrostAccountingRow>, Vec<String>) {
@ -8862,6 +8881,75 @@ fn bifrost_accounting_rows(
},
);
let readiness_private = latest_readiness_review
.map(|review| review.private_state_exposed)
.unwrap_or(false);
let readiness_review_count = latest_readiness_review
.map(|review| {
[
&review.maintainer_review_receipt,
&review.soul_review_receipt,
&review.mind_review_receipt,
&review.bifrost_review_receipt,
]
.iter()
.filter(|receipt| !receipt.trim().is_empty() && receipt.as_str() != "none")
.count()
})
.unwrap_or(0);
let readiness_artifact_present = latest_readiness_review
.map(|review| operator_artifact_status(&review.readiness_review_receipt_ref) == "present")
.unwrap_or(false);
let readiness_closed = latest_readiness_review
.map(|review| {
review.status == "readiness-approved"
&& review.missing_required_count == 0
&& review.readiness_approval_authorized
&& !review.durable_state_commit_authorized
&& !review.publication_authorized
&& !review.merge_authorized
&& !review.upstream_sync_authorized
&& !review.deployment_authority
&& !review.service_lifecycle_authority
&& !review.hands_action_authorized
&& readiness_review_count == 4
&& readiness_artifact_present
&& !readiness_private
})
.unwrap_or(false);
push_bifrost_accounting_row(
&mut rows,
&mut tui_rows,
BifrostAccountingRow {
lane: "repo-work-readiness-review".to_string(),
owner: "Maintainer/Soul/Mind/Bifrost".to_string(),
status: bifrost_accounting_status(
readiness_closed,
latest_readiness_review.is_some(),
readiness_private,
),
closure: format!(
"review={} approval={} artifact={}",
readiness_review_count,
latest_readiness_review
.map(|review| review.status.as_str())
.unwrap_or("missing"),
present_word(readiness_artifact_present)
),
ledger_entry_id: "none".to_string(),
latest_receipt_id: latest_readiness_review
.map(|review| review.review_id.clone())
.unwrap_or_else(|| "none".to_string()),
public_ref: latest_readiness_review
.map(|review| review.readiness_review_receipt_ref.clone())
.unwrap_or_else(|| "none".to_string()),
review_receipt_count: readiness_review_count,
credit_receipt_count: 0,
public_artifact_count: usize::from(readiness_artifact_present),
private_state_exposed: readiness_private,
},
);
let collaboration_private = latest_feedback
.map(|feedback| feedback.private_state_included)
.unwrap_or(false)

View file

@ -1727,13 +1727,27 @@ published `repo-work-public-proof-checklist-request` to
Bifrost ledger readback now also emits derived external-work accounting rows
without creating a rival ledger. `epiphany-verse-query bifrost-ledger` returns
`accountingRows` and `accountingTuiRows` for `body-change-publication`,
`public-proof-publication`, and `collaboration-consensus`, carrying closure
status, ledger/receipt/public refs, review and credit receipt counts, artifact
count, and the private-state seal. Wrapper proof
`public-proof-publication`, `repo-work-readiness-review`, and
`collaboration-consensus`, carrying closure status, ledger/receipt/public refs,
review and credit receipt counts, artifact count, and the private-state seal.
The readiness-review lane closes only when latest
`epiphany.cultmesh.repo_work_readiness_review.v0` has four Maintainer/Soul/Mind/
Bifrost review refs, `status=readiness-approved`, zero missing required rows, a
present review artifact, readiness approval true, and durable-state,
publication, PR, merge, upstream-sync, deployment, service lifecycle, Hands, and
private-state authority all false. Wrapper proof
`local-20260621-091019-297-aaf2ad07` reported `accountingRows=3`,
`closedAccounting=2`, `attentionAccounting=0`, closed body-change and
collaboration rows, a visible missing public-proof-publication row, and
`privateStateExposed=False`.
Native proof `.epiphany-smoke\repo-work-readiness-20260621-120755` reported
`bifrostReadinessReviewAccountingRow.status=closed`, `reviewReceiptCount=4`,
`publicArtifactCount=1`, latest receipt
`repo-work-readiness-review-repo-work-readiness`, and `privateStateExposed=false`;
wrapper proof `local-20260621-131113-240-be2b19f2` printed the same closed
`BIFROST-ACCOUNTING | repo-work-readiness-review` row from the explicit
repo-local Verse target after the wrapper read path was corrected to use
`-LocalVerseStore` / `-LocalVerseRuntimeId`.
Wrapper mode `tools/epiphany_local_run.ps1 -Mode bifrost-public-proof` now
exposes the same Bifrost mouth for operators and agents. It reads the latest

View file

@ -57,7 +57,7 @@ remembers doctrine; the branch remembers the blade.
- `epiphany-verse-query connect-eve` and `tools/epiphany_local_run.ps1 -Mode eve-connect` are the compact Odin-to-Eve connection receipt rite. The command now selects its target from the narrow Eve surface directory and verifies latest intent/receipt keys through narrow CultMesh loaders instead of serializing the full local Verse. The wrapper defaults to `epiphany.cluster.persona`, records intent `eve-connection-intent` plus receipt `eve-connection-receipt`, targets `eve://epiphany/persona`, and keeps `privateStateExposed=false`. Verified: direct temp proof and wrapper proof both returned `status=ok`.
- `epiphany-verse-query collaboration-feedback` and `tools/epiphany_local_run.ps1 -Mode collaboration-feedback` are the compact public Persona feedback to Imagination consensus receipt rite. The command verifies latest feedback/consensus keys through narrow CultMesh loaders and emits follow-on commands for wrapper feedback, Eve connection, direct Bifrost publication, and wrapper Bifrost publication. It returns TUI rows for the feedback and Imagination consensus receipt with `owner=Persona->Imagination`, `owner=Imagination`, `public=<ref>`, candidate action refs, consensus packet ref, adoption gate, and `private=false`. The wrapper first records the prerequisite Eve connection receipt, then writes feedback `collaboration-feedback` plus consensus `imagination-consensus-receipt`; proof `local-20260618-224207-941-2ca01b41` printed both compact rows in `feedbackRows`, including Persona public discussion feedback routed to Imagination consensus discovery, with `privateStateExposed=False`.
- `epiphany-verse-query bifrost-publication` and `tools/epiphany_local_run.ps1 -Mode bifrost-publication` are the compact non-mutating body-change publication proof rite. The command verifies latest Bifrost intent/publication/GitHub receipt keys through narrow CultMesh loaders and now emits follow-on commands for swarm overview, tool directory, and wrapper Bifrost publication readback. The wrapper supplies explicit proof defaults for target repo, changed path, verification/review receipts, credit subject, ledger id, Hands PR receipt id, and publication URL, then writes Bifrost intent, Bifrost publication receipt, and GitHub publication receipt with `privateStateExposed=false`. Verified: direct proof and wrapper proof both returned `status=ok`, and wrapper artifact `local-20260618-072118-704-3c5ae3da` carried the command hints.
- `epiphany-verse-query bifrost-ledger` and `tools/epiphany_local_run.ps1 -Mode bifrost-ledger` are the compact read-only Bifrost ledger sight rite. The command reads only the latest Bifrost body-change intent, Bifrost publication receipt, GitHub publication receipt, public-proof publication receipt, collaboration feedback, and Imagination consensus receipt through narrow CultMesh loaders. It returns raw ledger rows plus three derived `BIFROST-ACCOUNTING` rows for body-change publication, public-proof publication, and collaboration consensus, with closure status, ledger/receipt/public refs, review and credit receipt counts, artifact count, and private-state seal. Wrapper proof `local-20260621-091019-297-aaf2ad07` returned `accountingRows=3`, `closedAccounting=2`, `attentionAccounting=0`, closed body-change and collaboration rows, a visible missing public-proof-publication row, and `privateStateExposed=False`.
- `epiphany-verse-query bifrost-ledger` and `tools/epiphany_local_run.ps1 -Mode bifrost-ledger` are the compact read-only Bifrost ledger sight rite. The command reads only the latest Bifrost body-change intent, Bifrost publication receipt, GitHub publication receipt, public-proof publication receipt, repo-work readiness-review receipt, collaboration feedback, and Imagination consensus receipt through narrow CultMesh loaders. It returns raw ledger rows plus four derived `BIFROST-ACCOUNTING` rows for body-change publication, public-proof publication, repo-work readiness review, and collaboration consensus, with closure status, ledger/receipt/public refs, review and credit receipt counts, artifact count, and private-state seal. The readiness-review accounting row closes only with four Maintainer/Soul/Mind/Bifrost review refs, readiness approval, zero missing required rows, present review artifact, and no durable-state/publication/merge/sync/deployment/service/Hands/private authority. Native proof `.epiphany-smoke\repo-work-readiness-20260621-120755` reported the closed row with `reviewReceiptCount=4` and `publicArtifactCount=1`; wrapper proof `local-20260621-131113-240-be2b19f2` proved `bifrost-ledger` honors explicit repo-local Verse read targets. Older wrapper proof `local-20260621-091019-297-aaf2ad07` remains provenance for the first three accounting rows.
- `epiphany-verse-query receipt-directory` and `tools/epiphany_local_run.ps1 -Mode receipt-directory` are the compact latest-witness directory over local Verse. The command indexes typed projections for operator run, daemon poke, daemon tool invocation, Eve connection, Bifrost publication, Imagination consensus, coordinator run, Hands gate, role review, work-loop, cluster service lifecycle, single-service lifecycle, cluster service execution runbook, single-service execution runbook, scheduler, Persona speech, and agent-state SoA without exposing raw payloads or private worker context. It treats sealed service lifecycle failure states such as `not-elevated`, `execution-refused-not-elevated`, and `incomplete` as operator attention instead of private-state exposure, routes cluster lifecycle wounds to `cluster-service-execution-audit`, preserves `service-execution-audit` for single-service receipts, and exposes the runbook witnesses as separate display-only `cluster-service-execution-runbook` and `service-execution-runbook` rows. The lifecycle projection now reads the typed receipt family, splits `cluster-service-lifecycle` from `service-lifecycle`, selects the latest attention receipt before falling back to latest overall, and renders service lifecycle routes as `service-id::action` so compact rows name the owning lifecycle action without exposing raw audit payloads. Compact TUI rows append `followUp=<command>`, artifact status, and SHA-256; wrapper proof `local-20260618-205920-451-383b0da7` printed all seventeen rows in `receiptRows`, including missing Hands/role/work-loop gates, Bifrost/Imagination witnesses, scheduler follow-up, runbook hashes, and service lifecycle attention. `missingRowCount` remains as a compatibility alias for absent witnesses, not a fault signal. Attention routing is now Rust-owned too: JSON includes `attentionRouteRows` derived from the same predicate as `attentionRowCount`, and the wrapper prints that field instead of matching arbitrary status strings. Live proof `local-20260618-212134-758-c7c56240` showed the stale degraded Hands daemon-poke receipt remains an `OK` historical row while `attentionRoutes` names only the active cluster/single-service lifecycle wounds. Daemon-poke rows now also resolve historical receipt status against current daemon liveness: source smoke proves degraded remains degraded before heartbeat recovery and becomes `resolved` after ready status returns, and live wrapper proof `local-20260618-212649-563-48647018` printed the old Hands poke receipt as `OK | Self | daemon-poke | resolved`.
- Public doctrine source `https://gamecult.org/Blog/purge-the-heretek-from-our-daemonic-swarm` sharpens the current swarm audit: Odin sees but must not own, Gjallar is Odin's herald for whole-Verse sight, Idunn-like ledgers must advance instead of freezing old wounds, and Bifrost is the ledger gate for cross-repo purification receipts rather than transcript archaeology.
- `tools/epiphany_local_run.ps1` now stamps local run ids as `local-YYYYMMDD-HHMMSS-fff-<guid8>` instead of second-resolution ids, so concurrent operator rites get separate artifact roots and run receipts. Verified: `collaboration-feedback` and `bifrost-publication` launched in parallel in the same second and completed as `local-20260618-064814-171-dc0b8dd9` and `local-20260618-064814-149-2946d675`.
@ -174,6 +174,7 @@ remembers doctrine; the branch remembers the blade.
- 2026-06-21: Repo-work readiness now includes the family-friendly safe-family planning depth row, receipt-shaped Idunn/tool-directory validation, Bifrost/GitHub publication receipt-chain validation, and upstream-main sync receipt/ancestry validation. `epiphany-work readiness` inspects `closureReview.familyAssertions.safeFamilyPlanning` from the close receipt and satisfies `safe-family-planning` only for Soul-owned `epiphany.repo_work_safe_family_planning_readback.v0` over `repo.planning_brief` with all expected candidate families, requirements, gates, matrix groups, matrix controls, closure proofs, authority denials, and private-state seal intact. It satisfies `idunn-lifecycle` only from `epiphany.repo_work_service_audit.v0` with complete Idunn-owned repo-work service proof, zero missing/failed checks, no service-manager mutation, no elevation requirement, and private-state seal; satisfies `tool-directory` only from `epiphany.cultmesh.daemon_tool_directory.v0` with nonempty globally available receipt-gated daemon tools, ready hosts, invoke command hints, and private-state seal; satisfies `bifrost-publication` only when the local publish artifact matches latest repo-local CultMesh Bifrost body-change and GitHub publication receipts; and satisfies `upstream-main-sync` only when `epiphany.repo_work_sync_receipt.v0` proves nonempty merge/sync authority receipts, matching publish/Bifrost/GitHub/Hands ids, private-state seal, and live git ancestry that the published commit is contained by the named upstream ref. Native smoke `.epiphany-smoke\repo-work-readiness-20260621-110524` now runs the readiness proof through `repo-planning-brief` cargo, sealed Idunn/tool artifacts, real `epiphany-work publish`, disposable upstream-main merge proof, and `epiphany-work sync`, proving all sixteen rows satisfied with `status=ready`, `missingRequiredCount=0`, `syncStatus=upstream-main-synced`, and `upstreamMainSynced=true`. Wrapper proof `local-20260621-120641-609-72d32f64` prints the same no-gap row without granting readiness, scheduling, Hands, publication, deployment, service lifecycle, durable state commit, cross-body mutation, or private-state authority.
- 2026-06-21: Repo-work readiness review/adoption now has an explicit typed gate. `epiphany-work readiness-review` consumes a ready `epiphany.repo_work_readiness_report.v0`, requires Maintainer, Soul, Mind, and Bifrost review receipt refs, refuses unless `missingRequiredCount=0` and every readiness row is satisfied, and writes `epiphany.repo_work_readiness_review_receipt.v0` with `status=readiness-approved`, `readinessApprovalAuthorized=true`, `readinessAdopted=true`, and durable-state/publication/PR/merge/upstream-sync/deployment/service/Hands/cross-body/private-state authority all false. Native smoke `.epiphany-smoke\repo-work-readiness-20260621-111411` proves the full ready chain plus review receipt with sixteen satisfied rows. Wrapper proof `local-20260621-121829-442-d011af09` proves `tools/epiphany_local_run.ps1 -Mode repo-work-readiness-review` prints the same approval boundary at the operator mouth.
- 2026-06-21: Repo-work readiness review/adoption is now indexed by receipt-directory for public/operator proof. `epiphany-verse-query receipt-directory` adds the `repo-work-readiness-review` row from latest `epiphany.cultmesh.repo_work_readiness_review.v0`, with owner `Maintainer/Soul/Mind/Bifrost`, route to the readiness receipt, review artifact status/SHA-256, follow-up `tools/epiphany_local_run.ps1 -Mode repo-work-readiness-review`, and `privateStateExposed=false`. Native proof `.epiphany-smoke\repo-work-readiness-20260621-115547` reported row `latestId=repo-work-readiness-review-repo-work-readiness`, status `readiness-approved`, artifact SHA-256 `ba50bce3aa2af320a71977bde9d47108154665802dd527dd30bf8c4ab28bba5e`; wrapper proof `local-20260621-125756-748-03710f48` proved `receipt-directory` now honors explicit `-LocalVerseStore` / `-LocalVerseRuntimeId` for repo-local readback while operator receipts still write to the operator store.
- 2026-06-21: Bifrost ledger accounting now counts approved repo-work readiness review as a sealed external-work closure lane. `epiphany-verse-query bifrost-ledger` emits `BIFROST-ACCOUNTING | repo-work-readiness-review` from latest `epiphany.cultmesh.repo_work_readiness_review.v0`, closing only when approval status, four review refs, present artifact, zero missing rows, and all dangerous authority denials hold. Native proof `.epiphany-smoke\repo-work-readiness-20260621-120755` reported `status=closed`, `latestReceiptId=repo-work-readiness-review-repo-work-readiness`, `reviewReceiptCount=4`, `publicArtifactCount=1`, and `privateStateExposed=false`; wrapper proof `local-20260621-131113-240-be2b19f2` printed the same closed accounting row from the repo-local Verse target after `bifrost-ledger` was corrected to read `$localVerseReadStore`.
- 2026-06-20: Mind now has explicit repo-work safe-family and requested-path guards before branch-local Hands authority. `adopt --from-plan` treats unsupported plan-derived safe-family labels as refused interpreter decisions, writes `epiphany.repo_work_mind_adoption_decision.v0` with `status=refused-unsupported-safe-family`, keeps `actionItemAccepted=false` and `safeFamilyRecognized=false`, grants no Hands/durable-state/service/publication/cross-body/private-state authority, and writes no normal adoption receipt. It also compares the sorted action-item `requestedPaths` against the sorted plan action `changedPaths`; mismatches write `status=refused-requested-path-mismatch`, keep `safeFamilyRecognized=true` but `requestedPathsMatchPlan=false`, point the next gate at `imagination.replan_with_matching_requested_paths`, and grant no Hands/durable-state/service/publication/cross-body/private-state authority. Focused smokes `.epiphany-smoke\repo-mind-safe-family-guard-20260620-194425` and `.epiphany-smoke\repo-mind-path-guard-20260620-194239` prove both refusal paths; earlier positive smokes `.epiphany-smoke\repo-planning-facets-20260620-190916` and `.epiphany-smoke\closure-model-gate-20260620-190916` prove recognized planning facets and closure model gates still pass. Current remaining repo-swarm MVP organs are deeper interpreter semantics beyond adoption refusal, more useful repo-owned configuration/action families, richer closure depth, and Idunn-owned queue-run service lifecycle under explicit operator authority.
- 2026-06-20: Mind now also refuses plan-derived repo work that is not evidence-ready. `derive-plan` embeds verification asks in the Imagination action-item receipt, `adopt --from-plan` records verification asks and planning evidence needs in `epiphany.repo_work_mind_interpretation.v0`, and empty verification asks or evidence needs write `status=refused-missing-evidence-needs` with next gate `imagination.replan_with_explicit_soul_evidence_needs`. The refusal grants no Hands, durable-state, service, publication, cross-body, or private-state authority and writes no adoption receipt. Focused proof `.epiphany-smoke\repo-mind-evidence-guard-20260620-224426` tampers both arrays empty and proves the refusal; regression `.epiphany-smoke\repo-planning-facets-20260620-224428` proves normal planning facets still close through Soul/Modeling/Mind.
- 2026-06-20: `repo-eve-surface` is now live as repo-owned Eve/CultUI surface contract cargo. `epiphany-work derive-plan --action-family repo-eve-surface` writes `.epiphany/eve-surfaces/<item>.toml` with safe family `repo.eve_surface`, compact agent TUI and GUI lowering contracts, local/public Verse routing, Odin discovery, provider-owned surface identity, Persona/human collaboration flags, feedback routing to Imagination, and denials for renderer ownership, rendering/state/publication/service/cross-body authority, private Verse rummaging, and private-state exposure. Soul closure assertions inspect schema, family, summary, surface routing, Verse routing, CultUI contracts, collaboration route, authority seals, and private-state seal. Focused smoke `.epiphany-smoke\repo-eve-surface-family-20260620-165927` ran init -> online -> accept -> repo-eve-surface derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/eve-surfaces/repo-eve-surface-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `hasCultUiContracts=true`, `hasVerseRouting=true`, `odinDiscoverable=true`, `feedbackRoutesToImagination=true`, `rendererOwnsTruth=false`, `renderingAuthority=false`, `stateAuthority=false`, `publicationAuthority=false`, `serviceLifecycleAuthority=false`, `crossBodyMutationAuthority=false`, `privateVerseRummaging=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.

File diff suppressed because one or more lines are too long

View file

@ -890,7 +890,7 @@ if ($Mode -eq "bifrost-ledger") {
-FilePath $verseQueryExe `
-Arguments @(
"bifrost-ledger",
"--store", $localVerseStore,
"--store", $localVerseReadStore,
"--runtime-id", $LocalVerseRuntimeId
) `
-WorkingDirectory $Root `