Add repo work proof bundle hashes
This commit is contained in:
parent
b5b1021c0c
commit
f919d50a1a
5 changed files with 136 additions and 18 deletions
|
|
@ -629,11 +629,16 @@ sync receipts, asks git for the current branch, computes the current gate,
|
|||
blocker, and next safe action, and writes
|
||||
`.epiphany/work/work-overview-<item>.json` as
|
||||
`epiphany.repo_work_overview_receipt.v0`. The receipt carries compact
|
||||
agent-friendly rows plus an operator-safe proof bundle: receipt paths, changed
|
||||
paths, branch, commit SHA, Soul verdict, Mind state-commit id, Bifrost/GitHub
|
||||
publication ids when present, upstream-main sync status, and
|
||||
`privateStateExposed=false`. When the accept receipt names a local Verse store,
|
||||
overview also mirrors those compact rows as
|
||||
agent-friendly rows plus an operator-safe proof bundle. The proof bundle is
|
||||
`epiphany.repo_work_proof_bundle.v0`; it carries bundle id, generated time,
|
||||
workspace, item, branch, current gate, blocker, next safe move, changed paths,
|
||||
commit SHA, Soul verdict, Mind state-commit id, Bifrost/GitHub publication ids
|
||||
when present, upstream-main sync status, compact TUI rows, and
|
||||
`privateStateExposed=false`. Its `artifactRows` enumerate the expected accept,
|
||||
plan, run, adopt, execute, close, publish, and sync receipts with expected path,
|
||||
present/missing status, document schema, document status, SHA-256 hash when
|
||||
present, and private-state seal. When the accept receipt names a local Verse
|
||||
store, overview also mirrors the compact overview rows as
|
||||
`epiphany.cultmesh.repo_work_overview.v0` under
|
||||
`gamecult-local/repo-work-overview/latest`, so Eve/Gjallar/Odin sight can read
|
||||
the same typed surface without opening the `.epiphany/work` artifact body.
|
||||
|
|
@ -652,6 +657,13 @@ changed path `EPIPHANY_WORKLOG.md`, Soul verdict `passed`, compact rows for
|
|||
item/branch/gate/blocker/closure/publication/sync/private, an overview receipt
|
||||
artifact, and `privateStateExposed=false`.
|
||||
|
||||
The first hashed proof-bundle smoke extended the same closed run artifact:
|
||||
`.epiphany-smoke\tick-close-20260620-025526\08-overview-proof-bundle.json`.
|
||||
It reported `schemaVersion=epiphany.repo_work_proof_bundle.v0`, TUI rows for
|
||||
`awaiting-publication` / `bifrost-publication-missing`, six present artifacts
|
||||
from accept through close with SHA-256 hashes, missing publish/sync artifacts,
|
||||
and `privateStateExposed=false` on every row.
|
||||
|
||||
The first Verse projection smoke proved the local CultMesh sight path: overview
|
||||
mirrored `repo-work-overview-verse-overview-request` into the repo-local Verse,
|
||||
`epiphany-verse-query smoke --store <local-verse> --runtime-id repo-swarm-local`
|
||||
|
|
@ -1089,9 +1101,9 @@ Required organs before MVP:
|
|||
`epiphany-work serve` adds bounded/unbounded cadence around that pulse, and
|
||||
`epiphany-swarm run` plus wrapper expose the bounded repo-swarm run mouth
|
||||
over the typed queue. Idunn-owned non-mutating queue-run service plan/runbook
|
||||
receipts also exist. Remaining work is optional handoff from branch-local
|
||||
execution into the close gate and any later Idunn service launch/install
|
||||
under explicit operator authority.
|
||||
receipts also exist, and the queue/tick path now hands branch-local execution
|
||||
into `close-from-execute`. Remaining work is any later Idunn service
|
||||
launch/install under explicit operator authority.
|
||||
- Persona-to-plan depth: deterministic `append-worklog` and `planning-note`
|
||||
derivations exist for accepted Persona/Bifrost pressure,
|
||||
`persona-intake` gives the project Persona a speech-audited mouth into that
|
||||
|
|
@ -1111,9 +1123,10 @@ Required organs before MVP:
|
|||
`epiphany-swarm run` consume that queue for safe branch-local pulses through
|
||||
closure. Remaining work is richer safe-family depth.
|
||||
- Proof bundle depth: maintainers and future agents can inspect local
|
||||
operator-safe receipt chains, commit refs, verification verdicts, map
|
||||
admission, Bifrost/GitHub refs, credit refs, and sync state; remaining work is
|
||||
richer packaging for published/credited labor.
|
||||
operator-safe receipt chains, artifact schema/status rows, SHA-256 receipt
|
||||
hashes, compact TUI rows, commit refs, verification verdicts, map admission,
|
||||
Bifrost/GitHub refs, credit refs, and sync state; remaining work is richer
|
||||
packaging for published/credited labor.
|
||||
|
||||
Scheduler authority is intentionally narrow. It may advance
|
||||
`accept -> plan -> run -> adopt -> execute` only when each upstream receipt
|
||||
|
|
@ -1334,9 +1347,11 @@ agents without opening private state.
|
|||
|
||||
Required cuts:
|
||||
|
||||
- Emit one proof bundle per work item with receipt ids, changed paths, branch,
|
||||
commit, verification result, map admission result, Bifrost publication refs,
|
||||
GitHub/PR refs, sync status, and credit refs.
|
||||
- Emit one proof bundle per work item with receipt ids, expected artifact paths,
|
||||
present/missing status, document schemas/statuses, SHA-256 receipt hashes,
|
||||
changed paths, branch, commit, verification result, map admission result,
|
||||
Bifrost publication refs, GitHub/PR refs, sync status, compact TUI rows, and
|
||||
credit refs.
|
||||
- Add compact Eve/CultUI rows for repo work queue, active branch work, blocked
|
||||
work, publication status, and upstream sync.
|
||||
- Make Gjallar announce the repo swarm's operator-safe status through Odin's
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ remembers doctrine; the branch remembers the blade.
|
|||
- 2026-06-20: Typed Imagination action-item receipts are live in `epiphany-work derive-plan`. The command now writes `work-action-items-<item>.json` with schema `epiphany.repo_work_imagination_action_items_receipt.v0` before writing `work-plan-<item>.json`; the receipt carries model provenance, safe action family, requested paths, verification asks, stop conditions, escalation reasons, rollback hints, public/candidate refs, `operatorAuthoredShellDetails=false`, and no Hands/durable-state/publication/service/cross-repo authority. The plan derivation cites the action-item receipt, while command text remains deterministic safe-family lowering. Disposable proof `.epiphany-smoke\action-items-20260620-023240` wrote action receipt `repo-work-action-items-action-items-request` with `modelAuthored=true`, `safeActionFamily=repo.markdown_planning_note`, requested path `notes/epiphany-work/action-items-request.md`, plan citation present, and `privateStateExposed=false`. The next cut is richer model-authored safe families or proof-bundle packaging, not another basic action-item schema.
|
||||
- 2026-06-20: `epiphany-swarm run` is live as the bounded repo-swarm operator mouth over Self's queue/tick physiology. It requires the online receipt/local Verse queue, delegates queue selection to `epiphany-work queue-run`, delegates item actuation to `epiphany-work tick`, writes `epiphany.repo_swarm_run_receipt.v0` at `.epiphany\swarm-run\repo-swarm-run-receipt.json`, and keeps publication, merge, service lifecycle, elevation, cross-repo mutation, and private-state exposure sealed. Wrapper mode `tools/epiphany_local_run.ps1 -Mode repo-swarm-run` exposes the surface with brake preflight and compact pulse summaries. Disposable proof `.epiphany-smoke\swarm-run-20260620-024252` first returned dry-run preview `would-advance/run-from-plan`; wrapper artifact `local-20260620-024413-360-85548195` printed the same queue/tick delegation; a non-dry single pulse advanced `swarm-run-request` from `ready-to-run` to refreshed overview `ready-to-adopt` with `privateStateExposed=false`. The next cut is richer model-authored safe families or proof-bundle packaging, not another queue mouth.
|
||||
- 2026-06-20: Execute-to-close scheduler handoff is live. `epiphany-work tick` now treats `awaiting-closure` as tick-actionable, delegates executed branch-local work to the existing `epiphany-work close` gate, writes Soul verdict plus Modeling summary plus Mind state-commit receipts, then stops at `awaiting-publication` with Bifrost as blocker. Disposable proof `.epiphany-smoke\tick-close-20260620-025526` ran `epiphany-swarm run --max-iterations 4` through `run-from-plan,adopt-from-plan,execute-from-plan,close-from-execute`; the final overview reported `awaiting-publication` / `bifrost-publication-missing`, and the close receipt was `closed`, Soul `passed`, Mind commit `repo-work-close-tick-close-request-mind-commit`, `durableStateAdmitted=true`, and `privateStateExposed=false` with publication/merge/service/cross-repo authority sealed. The next cut is richer model-authored safe families or proof-bundle packaging, not another scheduler handoff.
|
||||
- 2026-06-20: Local proof-bundle packaging is live. `epiphany-work overview` now embeds `epiphany.repo_work_proof_bundle.v0` with generated time, gate/blocker/next-safe-move, compact TUI rows, expected artifact paths, present/missing artifact status, document schema/status, SHA-256 receipt hashes, and `privateStateExposed=false`. Disposable proof `.epiphany-smoke\tick-close-20260620-025526\08-overview-proof-bundle.json` reported six present artifacts from accept through close with hashes, missing publish/sync rows, `awaiting-publication` / `bifrost-publication-missing`, and no private-state exposure. The next cut is richer model-authored safe families or published/credited proof-bundle depth, not another local proof-bundle wrapper.
|
||||
- 2026-06-20: Gjallar/swarm-overview now exposes repo-work overview history as first-class compact sight, Persona's public Eve surface lowers the same queue for peer-readable collaboration, and Self has a first runnable queue surface over it. `SwarmOverviewOutput` and `SwarmTriageOutput` include `repoWorkOverviewCount`, `repoWorkOverviewRows`, `repoWorkOverviewTuiRows`, `latestRepoWorkOverview`, `latestRepoWorkGate`, `latestRepoWorkBlocker`, and `latestRepoWorkNextSafeMove`; the shared `swarmActionRows` queue gets priority 35 `repo-work-overview` rows owned by Gjallar, hosted body `repo-work`, authority gate `repo.work.overview`, effect class `repo-work-readback`, no mutation, no elevation, proof-bundle ref, and private-state seal. `eve-surfaces`, direct `connect-eve`, and the globally invokable Persona `eve-connect` daemon tool readback expose public `REPO-WORK-PEER` rows with item, gate, blocker, next safe move, branch, publication, sync, and `private=false`. `epiphany-work queue-run` reads the same typed queue, selects current-repo rows at `ready-to-run`, `ready-to-adopt`, `ready-to-execute`, or `awaiting-closure`, delegates to `tick`, refreshes overview after real advancement, and wrapper `repo-work-queue-run` exposes the operator 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` prove two-item queue sight, Eve lowering, direct queue-run advancement, and wrapper dry-run without publication, merge, service lifecycle mutation, elevation, cross-repo mutation, or private-state exposure. The next cut is richer Persona-to-Imagination plan derivation, not another queue display surface.
|
||||
- `service-execution-runbook` makes that next cut repeatable: it generates the exact elevated wrapper command sequence without mutating the service manager, continues after per-step failure to preserve more receipts, runs `service-execution-audit` in `finally`, exits nonzero if any step failed, and seals a typed runbook lifecycle receipt. Run the generated artifact only with explicit operator authority.
|
||||
- `service-execution-audit` is the non-mutating acceptance proof after the elevated rite: it reports `complete` only when typed lifecycle receipts prove the runbook witness plus expected elevated chain, and otherwise reports the missing/failed sealed checks.
|
||||
|
|
|
|||
Reference in a new issue