Add deployment aftercare to repo readiness
This commit is contained in:
parent
4086c8e217
commit
04d61d696f
7 changed files with 147 additions and 10 deletions
|
|
@ -208,6 +208,22 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
],
|
||||
&root,
|
||||
)?;
|
||||
let deployment_aftercare_fixture = repo
|
||||
.join(".epiphany")
|
||||
.join("work")
|
||||
.join("deployment-aftercare-audit.json");
|
||||
write_json(
|
||||
&deployment_aftercare_fixture,
|
||||
&json!({
|
||||
"schemaVersion": "epiphany.repo_deployment_aftercare_audit.v0",
|
||||
"status": "complete",
|
||||
"deploymentComplete": true,
|
||||
"deploymentAuthority": false,
|
||||
"gitPushAuthority": false,
|
||||
"serviceLifecycleAuthority": false,
|
||||
"privateStateExposed": false
|
||||
}),
|
||||
)?;
|
||||
let readiness = cargo_json(
|
||||
&manifest,
|
||||
"epiphany-work",
|
||||
|
|
@ -264,6 +280,7 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
require_row(&readiness, "bifrost-publication", false)?;
|
||||
require_row(&readiness, "upstream-main-sync", false)?;
|
||||
require_row(&readiness, "idunn-lifecycle", false)?;
|
||||
require_row(&readiness, "deployment-aftercare", true)?;
|
||||
require_row(&readiness, "tool-directory", false)?;
|
||||
require_row(&readiness, "private-state-redaction", true)?;
|
||||
|
||||
|
|
|
|||
|
|
@ -349,6 +349,8 @@ struct ReadinessArgs {
|
|||
public_proof: Option<PathBuf>,
|
||||
idunn_lifecycle_receipt: Option<PathBuf>,
|
||||
tool_directory_receipt: Option<PathBuf>,
|
||||
deployment_aftercare_audit_receipt: Option<PathBuf>,
|
||||
deployment_aftercare_audit_receipt_ref: Option<String>,
|
||||
write_receipt: bool,
|
||||
}
|
||||
|
||||
|
|
@ -1160,6 +1162,8 @@ fn parse_readiness_args(args: impl Iterator<Item = String>) -> Result<ReadinessA
|
|||
let mut public_proof = None;
|
||||
let mut idunn_lifecycle_receipt = None;
|
||||
let mut tool_directory_receipt = None;
|
||||
let mut deployment_aftercare_audit_receipt = None;
|
||||
let mut deployment_aftercare_audit_receipt_ref = None;
|
||||
let mut write_receipt = true;
|
||||
|
||||
let mut args = args.peekable();
|
||||
|
|
@ -1178,6 +1182,18 @@ fn parse_readiness_args(args: impl Iterator<Item = String>) -> Result<ReadinessA
|
|||
"--tool-directory-receipt" | "--tool-directory-ref" => {
|
||||
tool_directory_receipt = Some(take_path(&mut args, "--tool-directory-receipt")?);
|
||||
}
|
||||
"--deployment-aftercare-audit-receipt" | "--deployment-aftercare-receipt" => {
|
||||
deployment_aftercare_audit_receipt = Some(take_path(
|
||||
&mut args,
|
||||
"--deployment-aftercare-audit-receipt",
|
||||
)?);
|
||||
}
|
||||
"--deployment-aftercare-audit-receipt-ref" | "--deployment-aftercare-receipt-ref" => {
|
||||
deployment_aftercare_audit_receipt_ref = Some(take_string(
|
||||
&mut args,
|
||||
"--deployment-aftercare-audit-receipt-ref",
|
||||
)?);
|
||||
}
|
||||
"--no-write" | "--read-only" => write_receipt = false,
|
||||
other => return Err(anyhow!("unexpected readiness argument {other:?}")),
|
||||
}
|
||||
|
|
@ -1190,6 +1206,8 @@ fn parse_readiness_args(args: impl Iterator<Item = String>) -> Result<ReadinessA
|
|||
public_proof,
|
||||
idunn_lifecycle_receipt,
|
||||
tool_directory_receipt,
|
||||
deployment_aftercare_audit_receipt,
|
||||
deployment_aftercare_audit_receipt_ref,
|
||||
write_receipt,
|
||||
})
|
||||
}
|
||||
|
|
@ -12168,6 +12186,98 @@ fn run_readiness(args: ReadinessArgs) -> Result<Value> {
|
|||
"Supply --idunn-lifecycle-receipt after Idunn service audit/readiness proof.",
|
||||
));
|
||||
}
|
||||
let default_deployment_aftercare_audit_receipt =
|
||||
artifact_dir.join("deployment-aftercare-audit.json");
|
||||
let deployment_aftercare_audit_path =
|
||||
args.deployment_aftercare_audit_receipt
|
||||
.as_ref()
|
||||
.or_else(|| {
|
||||
if default_deployment_aftercare_audit_receipt.exists() {
|
||||
Some(&default_deployment_aftercare_audit_receipt)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
});
|
||||
if let Some(receipt_ref) = args.deployment_aftercare_audit_receipt_ref.as_ref() {
|
||||
let readiness_store = local_verse_store
|
||||
.clone()
|
||||
.unwrap_or_else(|| workspace.join(".epiphany").join("local-verse.ccmp"));
|
||||
let receipt = if receipt_ref.trim().is_empty() || receipt_ref.trim() == "latest" {
|
||||
load_latest_epiphany_cultmesh_idunn_aftercare_audit_receipt(
|
||||
&readiness_store,
|
||||
runtime_id.clone(),
|
||||
)?
|
||||
} else {
|
||||
load_epiphany_cultmesh_idunn_aftercare_audit_receipt(
|
||||
&readiness_store,
|
||||
runtime_id.clone(),
|
||||
receipt_ref,
|
||||
)?
|
||||
};
|
||||
if let Some(receipt) = receipt {
|
||||
let status_ok = matches!(receipt.status.as_str(), "ok" | "complete" | "passed");
|
||||
let satisfied = receipt.schema_version
|
||||
== "gamecult.idunn.deployment_aftercare_audit.v0"
|
||||
&& status_ok
|
||||
&& !receipt.private_state_exposed;
|
||||
rows.push(json!({
|
||||
"kind": "deployment-aftercare",
|
||||
"owner": "Idunn/Soul",
|
||||
"requiredSchema": "gamecult.idunn.deployment_aftercare_audit.v0",
|
||||
"evidenceRef": receipt_ref,
|
||||
"artifactStatus": "cultmesh",
|
||||
"schemaVersion": receipt.schema_version,
|
||||
"documentStatus": receipt.status,
|
||||
"source": "cultmesh",
|
||||
"localVerseStore": readiness_store.display().to_string(),
|
||||
"runtimeId": runtime_id.clone(),
|
||||
"receiptId": receipt.receipt_id,
|
||||
"deploymentReceiptId": receipt.deployment_receipt_id,
|
||||
"auditRef": receipt.audit_ref,
|
||||
"satisfied": satisfied,
|
||||
"status": if satisfied { "satisfied" } else { "missing" },
|
||||
"note": "Idunn deployment aftercare audit was supplied from repo-local CultMesh sight.",
|
||||
"deploymentAuthority": false,
|
||||
"gitPushAuthority": false,
|
||||
"serviceLifecycleAuthority": false,
|
||||
"privateStateExposed": receipt.private_state_exposed
|
||||
}));
|
||||
} else {
|
||||
rows.push(readiness_missing_row(
|
||||
"deployment-aftercare",
|
||||
"Idunn/Soul",
|
||||
"gamecult.idunn.deployment_aftercare_audit.v0",
|
||||
"Supply --deployment-aftercare-audit-receipt-ref after Idunn records deployment aftercare in the repo-local Verse.",
|
||||
));
|
||||
}
|
||||
} else if let Some(path) = deployment_aftercare_audit_path {
|
||||
let receipt = read_json_if_exists(path)?;
|
||||
let satisfied = receipt.as_ref().is_some_and(|receipt| {
|
||||
string_from_json(receipt, &["schemaVersion"]).as_deref()
|
||||
== Some("epiphany.repo_deployment_aftercare_audit.v0")
|
||||
&& string_from_json(receipt, &["status"]).as_deref() == Some("complete")
|
||||
&& bool_from_json(receipt, &["deploymentComplete"]) == Some(true)
|
||||
&& bool_from_json(receipt, &["deploymentAuthority"]) == Some(false)
|
||||
&& bool_from_json(receipt, &["gitPushAuthority"]) == Some(false)
|
||||
&& bool_from_json(receipt, &["serviceLifecycleAuthority"]) == Some(false)
|
||||
&& bool_from_json(receipt, &["privateStateExposed"]) == Some(false)
|
||||
});
|
||||
rows.push(readiness_path_row(
|
||||
"deployment-aftercare",
|
||||
"Idunn/Soul",
|
||||
"epiphany.repo_deployment_aftercare_audit.v0",
|
||||
path,
|
||||
satisfied,
|
||||
"Idunn deployment aftercare audit completed and stayed sight-only.",
|
||||
)?);
|
||||
} else {
|
||||
rows.push(readiness_missing_row(
|
||||
"deployment-aftercare",
|
||||
"Idunn/Soul",
|
||||
"epiphany.repo_deployment_aftercare_audit.v0",
|
||||
"Supply --deployment-aftercare-audit-receipt, --deployment-aftercare-audit-receipt-ref, or run deployment-aftercare-audit into the repo work artifact directory.",
|
||||
));
|
||||
}
|
||||
if let Some(path) = args.tool_directory_receipt.as_ref() {
|
||||
rows.push(readiness_path_row(
|
||||
"tool-directory",
|
||||
|
|
@ -15109,7 +15219,7 @@ fn print_usage() {
|
|||
publish --workspace <repo> [--item <id>] --change-summary <text> --justification <text> --verification-receipt <ref> --review-receipt <ref> --ledger-entry-id <id> --pull-request-url <url> --pull-request-title <text>\n\
|
||||
sync --workspace <repo> [--item <id>] [--publish-receipt <path>] [--upstream-ref origin/main] --merge-receipt <ref>\n\
|
||||
overview --workspace <repo> [--item <id>] [--accept-receipt <path>] [--no-write]\n\
|
||||
readiness --workspace <repo> [--item <id>] [--accept-receipt <path>] [--public-proof <path>] [--idunn-lifecycle-receipt <path>] [--tool-directory-receipt <path>] [--no-write]\n\
|
||||
readiness --workspace <repo> [--item <id>] [--accept-receipt <path>] [--public-proof <path>] [--idunn-lifecycle-receipt <path>] [--deployment-aftercare-audit-receipt <path>|--deployment-aftercare-audit-receipt-ref <ref>] [--tool-directory-receipt <path>] [--no-write]\n\
|
||||
deployment-config-audit --workspace <repo> [--artifact-dir <path>] [--no-write]\n\
|
||||
deployment-execution-runbook --workspace <repo> [--artifact-dir <path>] [--remote origin] [--no-write]\n\
|
||||
deployment-aftercare-audit --workspace <repo> [--artifact-dir <path>] [--local-verse-store <path>] [--runtime-id <id>] [--runbook-receipt <path>] [--idunn-deployment-receipt-ref <ref>|--idunn-deployment-receipt <path>] [--aftercare-audit-receipt-ref <ref>|--aftercare-audit-receipt <path>] [--no-write]\n\
|
||||
|
|
|
|||
|
|
@ -1610,7 +1610,7 @@ MVP readiness report without approving readiness. `epiphany-work readiness`
|
|||
inspects repo init, swarm online, Persona intake, Imagination plan, Self
|
||||
queue-run, Hands branch work, Soul closure, Modeling/Mind admission, redacted
|
||||
public proof, Bifrost publication, upstream-main sync, Idunn lifecycle, daemon
|
||||
tool directory, and private-state redaction rows, then writes
|
||||
deployment aftercare, tool directory, and private-state redaction rows, then writes
|
||||
`.epiphany/work/work-readiness-<item>.json` as
|
||||
`epiphany.repo_work_readiness_report.v0`. When the accept receipt names a
|
||||
repo-local Verse store, it also mirrors a compact
|
||||
|
|
@ -1622,10 +1622,12 @@ rows, `latestRepoWorkReadiness`, and non-mutating `repo-work-readiness` action
|
|||
rows. The command is sight only: it denies readiness approval, durable state
|
||||
commit, publication, PR, merge, sync, deployment, service lifecycle, Hands
|
||||
action, cross-body mutation, private Verse rummaging, and private-state
|
||||
exposure. Smoke `.epiphany-smoke\repo-work-readiness-20260621-094043` proved a
|
||||
partial local work path reports `not-ready` with four missing rows: Bifrost
|
||||
publication, upstream-main sync, Idunn lifecycle, and tool directory; writes
|
||||
readiness id `repo-work-readiness-repo-work-readiness`; and Gjallar reports
|
||||
exposure. Smoke `.epiphany-smoke\repo-work-readiness-20260621-101053` proved a
|
||||
partial local work path can satisfy the deployment-aftercare row from a sealed
|
||||
`epiphany.repo_deployment_aftercare_audit.v0` artifact while still reporting
|
||||
`not-ready` with four missing rows: Bifrost publication, upstream-main sync,
|
||||
Idunn lifecycle, and tool directory; writes readiness id
|
||||
`repo-work-readiness-repo-work-readiness`; and Gjallar reports
|
||||
`repoWorkReadinessCount=1` without private-state exposure.
|
||||
|
||||
Bifrost public-proof publication transport is now the closure after local
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ remembers doctrine; the branch remembers the blade.
|
|||
- 2026-06-20: `derive-plan` action-item receipts now carry richer model-authored planning facets without widening command authority, and `adopt --from-plan` now preserves the chosen Imagination action item in the Mind adoption receipt. New CLI fields `--assumption`, `--constraint`, `--non-goal`, `--open-question`, `--decision-point`, and `--evidence-need` are recorded under `planningFacets` in `epiphany.repo_work_imagination_action_items_receipt.v0`, mirrored into the plan derivation's `actionItemReceipt`, then copied into `epiphany.repo_work_adoption_receipt.v0` as `adoptedActionItem`; deterministic defaults are emitted when a model does not supply them. Focused smoke `.epiphany-smoke\repo-planning-facets-20260620-164958` ran init -> online -> accept -> model-authored `derive-plan --action-family planning-note` with all facet fields -> tick run/adopt/execute/close; the action-item receipt preserved assumptions, constraints, non-goals, open questions, decision points, and evidence needs while `handsAuthorityGranted=false`, `durableStateAdmitted=false`, `handsCommandAuthority=false`, `durableStateAuthority=false`, and `privateStateExposed=false`; the adoption receipt preserved `adoptedActionItem.safeActionFamily=repo.markdown_planning_note`, planning facets, `adoptedActionItem.handsCommandAuthority=false`, `adoptedActionItem.durableStateAuthority=false`, `adoptedActionItem.publicationAuthorized=false`, `authority.handsAuthorityGranted=true`, `authority.durableStateAdmitted=false`, and `privateStateExposed=false`; Soul closure passed with family assertions and path scope matched. 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-planning-brief` is live as richer family-friendly Imagination decomposition cargo, and Soul closure now emits a typed safe-family planning readback for its full matrix. `epiphany-work derive-plan --action-family repo-planning-brief` writes `.epiphany/planning-briefs/<item>.toml` with safe family `repo.planning_brief`, status `draft`, twenty-one candidate next safe families grouped as preparation, adoption/queue, execution/review, publication/accounting, and policy/deployment, requested-path / verification-ask / evidence-need / owner / authority-denial / closure-proof requirements, and Mind/Self/Substrate/Hands/Soul/Bifrost/Idunn gate ordering while denying objective adoption, scheduling, substrate access, Hands action, shell, commit, publication, deployment execution, service lifecycle, cross-body mutation, private transcripts, raw-result payloads, and private-state exposure. Closure `familyAssertions.safeFamilyPlanning` now carries `epiphany.repo_work_safe_family_planning_readback.v0` with candidate-family rows/count, grouped matrix rows, matrix control flags, closure proof flags, planning requirement flags, gate flags, authority-denial flags, and the private-state seal. Focused smoke `.epiphany-smoke\repo-planning-brief-family-20260621-090158` ran init -> online -> accept -> repo-planning-brief derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/planning-briefs/repo-planning-brief-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `candidateNextSafeFamilyCount=21`, `allMatrixGroupsComplete=true`, `matrixControlsPresent=true`, `allClosureProofsPresent=true`, `allRequiredGatesPresent=true`, `authorityDenied=true`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are deeper interpreter semantics, richer closure/map readback, another useful repo-owned safe family if needed, or Idunn-owned queue-run service lifecycle under explicit operator authority.
|
||||
- 2026-06-21: `repo-readiness-review-request` is live as the family-friendly MVP readiness review gate. `epiphany-work derive-plan --action-family repo-readiness-review-request` writes `.epiphany/readiness-reviews/<item>.toml` with safe family `repo.readiness_review_request`, status `awaiting-mvp-readiness-review`, requested owner `Maintainer/Soul/Mind/Bifrost`, proof-bundle/readiness packet requirements for repo init, online swarm, Persona intake, Imagination planning, Self queue-run, Hands branch work, Soul closure, Modeling map update, Mind admission, Bifrost publication, upstream-main sync, Idunn lifecycle, global tool directory, and private-state redaction, while denying readiness approval, durable state commit, publication, Bifrost publication, PR, merge, upstream sync, deployment, service lifecycle, Hands action, cross-body mutation, private Verse rummaging, and private-state exposure. Focused smoke `.epiphany-smoke\repo-readiness-review-request-family-20260621-090003` ran init -> online -> accept -> repo-readiness-review-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/readiness-reviews/repo-readiness-review-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingMvpReadinessReview=true`, `idunnLifecycleRequired=true`, `toolDirectoryRequired=true`, and `privateStateExposed=false`. The planning-brief matrix now counts twenty-one families and includes this readiness review in publication/accounting; smoke `.epiphany-smoke\repo-planning-brief-family-20260621-090158` proved `candidateNextSafeFamilyCount=21`.
|
||||
- 2026-06-21: `epiphany-work readiness` is live as a non-mutating repo-work MVP readiness sight rite, and now mirrors compact readiness into the repo-local Verse. It reuses overview/proof-bundle state, inspects repo init, online swarm, Persona intake, Imagination plan, Self queue-run, Hands execute, Soul closure, Modeling/Mind admission, redacted public proof, Bifrost publication, upstream-main sync, Idunn lifecycle, daemon tool directory, and private-state redaction rows, then writes `.epiphany/work/work-readiness-<item>.json` with schema `epiphany.repo_work_readiness_report.v0` plus `epiphany.cultmesh.repo_work_readiness.v0` when the accept receipt names a local Verse store. Gjallar/swarm-overview/swarm-triage now expose `repoWorkReadinessRows`, compact `REPO-WORK-READINESS` TUI rows, `latestRepoWorkReadiness`, and non-mutating `repo-work-readiness` action rows. It can return `ready` only when all rows are satisfied, but it does not approve readiness or grant durable state, publication, PR, merge, sync, deployment, service lifecycle, Hands action, cross-body, or private Verse authority. Focused smoke `.epiphany-smoke\repo-work-readiness-20260621-094043` ran fresh repo init -> online -> accept -> checklist plan/tick close -> queue-run dry-run -> public-proof export -> readiness -> Gjallar; it reported `not-ready`, `missingRequiredCount=4` for Bifrost publication, upstream-main sync, Idunn lifecycle, and tool directory, wrote readiness id `repo-work-readiness-repo-work-readiness`, Gjallar reported `repoWorkReadinessCount=1`, while local work/proof rows were satisfied, `sightOnly=true`, and `privateStateExposed=false`.
|
||||
- 2026-06-21: `epiphany-work readiness` is live as a non-mutating repo-work MVP readiness sight rite, and now mirrors compact readiness into the repo-local Verse. It reuses overview/proof-bundle state, inspects repo init, online swarm, Persona intake, Imagination plan, Self queue-run, Hands execute, Soul closure, Modeling/Mind admission, redacted public proof, Bifrost publication, upstream-main sync, Idunn lifecycle, deployment aftercare, daemon tool directory, and private-state redaction rows, then writes `.epiphany/work/work-readiness-<item>.json` with schema `epiphany.repo_work_readiness_report.v0` plus `epiphany.cultmesh.repo_work_readiness.v0` when the accept receipt names a local Verse store. Gjallar/swarm-overview/swarm-triage now expose `repoWorkReadinessRows`, compact `REPO-WORK-READINESS` TUI rows, `latestRepoWorkReadiness`, and non-mutating `repo-work-readiness` action rows. It can return `ready` only when all rows are satisfied, but it does not approve readiness or grant durable state, publication, PR, merge, sync, deployment, service lifecycle, Hands action, cross-body, or private Verse authority. Focused smoke `.epiphany-smoke\repo-work-readiness-20260621-101053` ran fresh repo init -> online -> accept -> checklist plan/tick close -> queue-run dry-run -> public-proof export -> sealed deployment-aftercare fixture -> readiness -> Gjallar; it reported `not-ready`, `missingRequiredCount=4` for Bifrost publication, upstream-main sync, Idunn lifecycle, and tool directory, with `deployment-aftercare` satisfied, readiness id `repo-work-readiness-repo-work-readiness`, Gjallar `repoWorkReadinessCount=1`, `sightOnly=true`, and `privateStateExposed=false`.
|
||||
- 2026-06-21: `repo-interpreter-brief` is live as Mind-owned interpretation cargo between Imagination consensus and downstream action-family adoption. `epiphany-work derive-plan --action-family repo-interpreter-brief` writes `.epiphany/interpreter-briefs/<item>.toml` with safe family `repo.interpreter_brief`, status `draft`, owner `Mind`, source `Imagination`, consensus/safe-family/path/verification/evidence requirements, semantic checks for intent/scope/paths/verification/evidence/rollback/non-goals/questions/consensus, candidate next safe families, and Mind/Soul/Bifrost/Hands/Substrate/Idunn gates while denying direct state commit, objective adoption, scheduling, substrate access, Hands action, shell, commit, publication, deployment execution, service lifecycle, cross-body mutation, private transcripts, raw-result payloads, and private-state exposure. Focused smoke `.epiphany-smoke\repo-interpreter-brief-family-20260621-010858` ran init -> online -> accept -> repo-interpreter-brief derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/interpreter-briefs/repo-interpreter-brief-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `mindOwnsInterpretation=true`, `candidateActionsNonAuthoritative=true`, `directStateCommitAuthorized=false`, `handsActionAuthorized=false`, and `privateStateExposed=false`.
|
||||
- 2026-06-20: Gjallar repo-work map sight now includes semantic stage lenses. `epiphany-verse-query gjallar`, swarm overview, and swarm triage expose `repoWorkMapStageLensRows` plus `REPO-WORK-MAP-STAGE` rows derived from Mind-admitted local Verse map entries, grouping safe families into stages and owning organs such as `imagination-planning` / `Imagination`, `hands-execution-request` / `Hands`, `soul-verification-request` / `Soul`, `bifrost-publication-accounting` / `Bifrost`, and `idunn-deployment` / `Idunn`. Focused smoke `.epiphany-smoke\repo-close-mind-adoption-guard-20260620-232414` proves the stage lens for accepted `repo.markdown_planning_note` work reports `stage=imagination-planning`, `owner=Imagination`, latest item/commit/Mind commit receipt, Bifrost gate, and `privateStateExposed=false`. This is sight only; Gjallar still does not schedule, publish, merge, deploy, keep daemons alive, or admit Mind state.
|
||||
- 2026-06-20: Gjallar repo-work map sight now includes next-publication-gate lenses. `epiphany-verse-query gjallar`, swarm overview, and swarm triage expose `repoWorkMapGateLensRows` plus `REPO-WORK-MAP-GATE` rows derived from the same Mind-admitted local Verse map entries, grouping accepted consequences by publication gate and naming the owning gate organ. Focused smoke `.epiphany-smoke\repo-close-mind-adoption-guard-20260620-233353` proves accepted `repo.markdown_planning_note` work reports `gate=Bifrost`, `owner=Bifrost`, latest item/commit/Mind commit receipt, `sightOnly=true`, `publicationAuthorized=false`, and `privateStateExposed=false`. This is sight only; Bifrost still owns publication/credit/upstream review and Gjallar does not schedule, publish, merge, deploy, keep daemons alive, or admit Mind state.
|
||||
|
|
@ -169,7 +169,7 @@ remembers doctrine; the branch remembers the blade.
|
|||
- 2026-06-21: The local wrapper mouth now forwards Rust-owned repo-work map rows for `gjallar` and `swarm-triage` from an explicit repo-local Verse target. `tools/epiphany_local_run.ps1` accepts `-LocalVerseStore` and `-LocalVerseRuntimeId`; operator run intent/receipt documents still write to the operator local Verse, while the readback modes target the requested store/runtime. Live wrapper proofs `local-20260621-011151-541-70056545` and `local-20260621-011207-755-d65e5c7e` pointed at `.epiphany-smoke\repo-planning-brief-family-20260620-235939\repo-body\.epiphany\local-verse.ccmp` with runtime `repo-planning-brief-family-smoke` and printed actual `repoWorkMapRows`, `repoWorkSemanticRows`, family/path/branch/stage/gate lens rows, and `privateStateExposed=false`. Earlier wrapper proofs that rendered `none` were aimed at the wrong operator store/runtime; PowerShell only lowers existing Rust TUI arrays and does not reinterpret repo-work truth or gain scheduler/publication/Mind/Idunn authority.
|
||||
- 2026-06-21: Idunn-hosted repo-work queue-run lifecycle now has bounded launch proof. `tools/epiphany_local_run.ps1 -Mode repo-work-service-launch` reuses the `epiphany-repo-work-queue-runner` service id and launches the exact `epiphany-work queue-run --workspace <repo> --local-verse-store <repo>\.epiphany\local-verse.ccmp --runtime-id <id> --max-items <n>` command through `epiphany-daemon-supervisor service-launch --wait-child`; it writes an Idunn service lifecycle receipt and does not install a Windows service, elevate, publish, merge, cross repos, or expose private state. Native smoke `.epiphany-smoke\repo-work-service-lifecycle-20260621-002707` proves plan/runbook/launch with launch exit code `0`, runbook receipt-directory readback before launch, launch readback after launch, `mutatesServiceManager=false`, `launchesService=true`, `waitChild=true`, and `privateStateExposed=false`. Wrapper proof `local-20260621-012741-653-dd4fdae2` prints `status=completed`, `exitCode=0`, `owner=Idunn`, `hostedBody=repo-work`, and `serviceManagerMutation=false`.
|
||||
- 2026-06-21: Idunn-hosted repo-work queue-run lifecycle now has audit/readiness closure. `epiphany-daemon-supervisor repo-work-service-audit` reads the typed service lifecycle receipts for `epiphany-repo-work-queue-runner`, requires planned install-plan, written local runbook artifact, completed launch with exit code `0`, and no private-state exposure, then writes a `repo-work-service-audit` receipt. Native smoke `.epiphany-smoke\repo-work-service-lifecycle-20260621-004202` proves plan/runbook/launch/audit with `auditStatus=complete`, `auditRunbookArtifactStatus=present`, `auditLaunchExitCode=0`, `mutatesServiceManager=false`, `requiresElevatedAuthority=false`, and `privateStateExposed=false`. Wrapper proofs `local-20260621-014302-362-31bbef47`, `local-20260621-014337-108-cbd99615`, `local-20260621-014413-125-09e183c5`, and `local-20260621-014558-197-f6951806` prove plan/runbook/launch/audit ergonomics; the final audit summary reports `missing=none`, `failed=none`, and `nextSafeMove=continue repo-swarm MVP planner/interpreter hardening`. Remaining Idunn service work is optional elevated install/start execution under explicit operator authority, not Self scheduling.
|
||||
- 2026-06-21: Repo-work MVP readiness sight now has a first-class local wrapper. `tools/epiphany_local_run.ps1 -Mode repo-work-readiness -Workspace <repo> -RepoWorkItem <item>` invokes `epiphany-work readiness`, accepts optional `-RepoWorkPublicProof`, `-RepoWorkIdunnLifecycleReceipt`, and `-RepoWorkToolDirectoryReceipt`, and prints satisfied/missing readiness rows plus authority denials. It writes readiness sight only: no readiness approval, publication, service lifecycle, Hands action, deployment, cross-body mutation, or private-state exposure. Wrapper proof `local-20260621-105433-017-b1c2bbd9` against `.epiphany-smoke\repo-work-readiness-20260621-094043\repo-body` reported `status=not-ready`, missing `bifrost-publication`, `upstream-main-sync`, `idunn-lifecycle`, and `tool-directory`, while all authority booleans stayed false. `gjallar`/`swarm-overview` and `swarm-triage` wrapper summaries now forward Rust-owned `repoWorkReadinessTuiRows`; proof `local-20260621-105450-620-0fc13242` printed the compact `REPO-WORK-READINESS` row through Gjallar.
|
||||
- 2026-06-21: Repo-work MVP readiness sight now has a first-class local wrapper. `tools/epiphany_local_run.ps1 -Mode repo-work-readiness -Workspace <repo> -RepoWorkItem <item>` invokes `epiphany-work readiness`, accepts optional `-RepoWorkPublicProof`, `-RepoWorkIdunnLifecycleReceipt`, `-RepoWorkDeploymentAftercareReceipt`, `-RepoWorkDeploymentAftercareReceiptRef`, and `-RepoWorkToolDirectoryReceipt`, and prints satisfied/missing readiness rows plus authority denials. It writes readiness sight only: no readiness approval, publication, service lifecycle, Hands action, deployment, cross-body mutation, or private-state exposure. Wrapper proof `local-20260621-111351-678-c3f7c714` against `.epiphany-smoke\repo-work-readiness-20260621-101053\repo-body` reported `status=not-ready`, missing `bifrost-publication`, `upstream-main-sync`, `idunn-lifecycle`, and `tool-directory`, while `deployment-aftercare` was satisfied and all authority booleans stayed false. `gjallar`/`swarm-overview` and `swarm-triage` wrapper summaries forward Rust-owned `repoWorkReadinessTuiRows`; earlier proof `local-20260621-105450-620-0fc13242` printed the compact `REPO-WORK-READINESS` row through Gjallar.
|
||||
- 2026-06-21: Repo deployment handoff/readback now has first-class local wrappers. `tools/epiphany_local_run.ps1 -Mode repo-deployment-config-audit`, `-Mode repo-deployment-runbook`, and `-Mode repo-deployment-aftercare-audit` invoke the existing Rust `epiphany-work` deployment audit, operator runbook, and aftercare audit surfaces, adding compact summaries for Idunn readiness, the exact operator `git push` route, runbook SHA-256, CultMesh receipt refs, and authority denials. Wrapper proofs `local-20260621-110141-130-fa8f91d7`, `local-20260621-110200-679-a03614ce`, and `local-20260621-110219-492-c870e2da` against `.epiphany-smoke\repo-deployment-config-family-20260620-223203\repo-body` reported `ready-for-idunn-review`, `ready-for-operator-git-push`, and complete Idunn aftercare with deployment/git-push/service/Hands/private-state authority false. These wrappers do not SSH, deploy, or run `git push`; they are the operator/Idunn handoff and aftercare sight rite.
|
||||
- 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.
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -649,5 +649,5 @@ 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.
|
||||
last_completed_repo_swarm_cut: Repo deployment handoff/readback now has local wrapper mouths. `tools/epiphany_local_run.ps1 -Mode repo-deployment-config-audit`, `-Mode repo-deployment-runbook`, and `-Mode repo-deployment-aftercare-audit` delegate to `epiphany-work deployment-config-audit`, `deployment-execution-runbook`, and `deployment-aftercare-audit` for a repo Body. Proofs `local-20260621-110141-130-fa8f91d7`, `local-20260621-110200-679-a03614ce`, and `local-20260621-110219-492-c870e2da` against `.epiphany-smoke\repo-deployment-config-family-20260620-223203\repo-body` showed `ready-for-idunn-review`, an operator-only `git push origin HEAD:refs/heads/main` runbook with SHA-256 `6af0cac1de07198c0964aab31568e92330784ccf7018f0abc8d827fa18b07afb`, and complete aftercare from fixture Idunn CultMesh receipts. Execution, deployment, git-push, service lifecycle, Hands, and private-state authority stayed false. This is Idunn/operator handoff and aftercare sight only; the wrapper does not run git push, SSH, or deployment.
|
||||
next_action: Continue repo-swarm MVP work from the documented Epiphany Online cut order in `notes/epiphany-repo-swarm-mvp-contract.md`. The next useful cuts are wiring deployment/tool-directory/Idunn receipt refs into repo-work readiness closure, richer Soul/Modeling/Mind readiness depth beyond current semantic/closure/Bifrost/readiness readbacks, another useful repo-owned safe action family if the review loop needs more cargo, or explicit elevated/operator Idunn execution proof only when the human grants that authority. Persona-to-Imagination consensus readback, Mind-owned interpreter brief cargo, Gjallar closure/readiness map rows, Bifrost ledger accounting rows, readiness wrapper mouth, and repo deployment handoff/readback wrappers are sealed; preserve Idunn service lifecycle ownership, Bifrost publication/upstream-main ownership, Mind durable-state admission, and existing CultMesh/Odin/Eve tool directories. Windows service install/start/deployment execution still requires explicit elevated operator authority.
|
||||
last_completed_repo_swarm_cut: Repo-work readiness now consumes deployment aftercare sight. `epiphany-work readiness` accepts `--deployment-aftercare-audit-receipt` and `--deployment-aftercare-audit-receipt-ref`, auto-detects the default `.epiphany/work/deployment-aftercare-audit.json` when present, and adds a `deployment-aftercare` row owned by Idunn/Soul without granting readiness, deployment, git-push, service lifecycle, Hands, or private-state authority. Native smoke `.epiphany-smoke\repo-work-readiness-20260621-101053` proved the row satisfied from a sealed `epiphany.repo_deployment_aftercare_audit.v0` artifact while the proof bundle still reported `not-ready` for Bifrost publication, upstream-main sync, Idunn lifecycle, and tool directory; wrapper proof `local-20260621-111351-678-c3f7c714` printed the same compact row with all authority booleans false.
|
||||
next_action: Continue repo-swarm MVP work from the documented Epiphany Online cut order in `notes/epiphany-repo-swarm-mvp-contract.md`. The next useful cuts are wiring tool-directory/Idunn lifecycle receipt production into repeatable readiness proof bundles, richer Soul/Modeling/Mind readiness depth beyond current semantic/closure/Bifrost/readiness readbacks, another useful repo-owned safe action family if the review loop needs more cargo, or explicit elevated/operator Idunn execution proof only when the human grants that authority. Persona-to-Imagination consensus readback, Mind-owned interpreter brief cargo, Gjallar closure/readiness map rows, Bifrost ledger accounting rows, readiness wrapper mouth, repo deployment handoff/readback wrappers, and readiness deployment-aftercare closure are sealed; preserve Idunn service lifecycle ownership, Bifrost publication/upstream-main ownership, Mind durable-state admission, and existing CultMesh/Odin/Eve tool directories. Windows service install/start/deployment execution still requires explicit elevated operator authority.
|
||||
|
|
|
|||
|
|
@ -58,6 +58,8 @@ param(
|
|||
[string]$RepoWorkPublicProof = "",
|
||||
[string]$RepoWorkIdunnLifecycleReceipt = "",
|
||||
[string]$RepoWorkToolDirectoryReceipt = "",
|
||||
[string]$RepoWorkDeploymentAftercareReceipt = "",
|
||||
[string]$RepoWorkDeploymentAftercareReceiptRef = "",
|
||||
[string]$RepoDeploymentRemote = "origin",
|
||||
[string]$RepoDeploymentRunbookReceipt = "",
|
||||
[string]$RepoDeploymentIdunnReceipt = "",
|
||||
|
|
@ -1971,6 +1973,12 @@ if ($Mode -eq "repo-work-readiness") {
|
|||
if ($RepoWorkIdunnLifecycleReceipt -ne "") {
|
||||
$repoWorkArgs += @("--idunn-lifecycle-receipt", $RepoWorkIdunnLifecycleReceipt)
|
||||
}
|
||||
if ($RepoWorkDeploymentAftercareReceipt -ne "") {
|
||||
$repoWorkArgs += @("--deployment-aftercare-audit-receipt", $RepoWorkDeploymentAftercareReceipt)
|
||||
}
|
||||
if ($RepoWorkDeploymentAftercareReceiptRef -ne "") {
|
||||
$repoWorkArgs += @("--deployment-aftercare-audit-receipt-ref", $RepoWorkDeploymentAftercareReceiptRef)
|
||||
}
|
||||
if ($RepoWorkToolDirectoryReceipt -ne "") {
|
||||
$repoWorkArgs += @("--tool-directory-receipt", $RepoWorkToolDirectoryReceipt)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue