Add repo maintainer review request safe family

This commit is contained in:
Meta Vens 2026-06-20 16:55:49 +01:00
commit 3469581c43
6 changed files with 735 additions and 11 deletions

View file

@ -302,17 +302,22 @@ credit ledger, merge, sync, or Hands authority; and `--action-family
repo-sync-request` writes a structured upstream-main sync proof request under
`.epiphany/sync-requests/<item>.toml`, naming Bifrost/GitHub publication,
maintainer review, credit, and ancestry proof requirements without itself
granting merge, push, upstream sync, publication, credit, or Hands authority. Its
receipt
includes
granting merge, push, upstream sync, publication, credit, or Hands authority; and
`--action-family repo-maintainer-review-request` writes a structured maintainer
review request under `.epiphany/review-requests/<item>.toml`, naming closure,
Soul, Mind, public proof, Bifrost publication-request, reviewer identity,
review verdict, changed-path, proof-ref, and redaction requirements without
itself granting maintainer approval, merge, push, publication, upstream sync,
Hands action, or cross-body authority. Its receipt includes
`epiphany.repo_work_plan_derivation.v0`, mode `append-worklog`,
`planning-note`, `checklist-note`, `section-note`, `repo-status-section`, or
`task-card`, `repo-manifest`, `repo-tool-capabilities`, or
`repo-collaboration-topic`, `repo-consensus-brief`, `repo-objective-draft`, or
`repo-adoption-request`, `repo-scheduling-request`, `repo-work-order`, or
`repo-verification-request`, `repo-publication-request`, or `repo-sync-request`, a
`safeActionFamily`, and an authority seal forbidding publication, merge, service
lifecycle mutation, cross-repo mutation, and private state exposure.
`repo-verification-request`, `repo-publication-request`, `repo-sync-request`, or
`repo-maintainer-review-request`, a `safeActionFamily`, and an authority seal
forbidding publication, merge, service lifecycle mutation, cross-repo mutation,
and private state exposure.
These deterministic families are quarantine scaffolding on the road to
model-authored Imagination, but they are no longer operator-authored shell
details.
@ -564,6 +569,23 @@ antecedents, `origin/main` merge-base ancestry proof requirements, denied merge,
push, upstream sync, GitHub publication, credit ledger, Hands action, cross-body
authority, and `privateStateExposed=false`.
The next maintainer boundary smoke proved review request cargo:
`.epiphany-smoke\repo-maintainer-review-request-family-20260620-155126` ran
init -> online -> accept -> `derive-plan --action-family
repo-maintainer-review-request --model-ref
repo-maintainer-review-request-family-smoke-imagination-v1 --model-authored` ->
tick through run/adopt/execute/close on a fresh repo. The plan carried
`safeActionFamily=repo.maintainer_review_request`; Hands committed only
`.epiphany/review-requests/repo-maintainer-review-request-family.toml`; Soul
passed with `pathScopeMatched=true` and `familyAssertions.status=passed`; the
committed request carried
`schema_version = "epiphany.repo_maintainer_review_request.v0"`,
`status="awaiting-maintainer-review"`, closure/Soul/Mind/public-proof/Bifrost
antecedents, reviewer identity, verdict, changed-path, proof-ref, and redaction
packet requirements, denied maintainer approval, merge, push, publication,
upstream sync, Hands action, cross-body authority, and
`privateStateExposed=false`.
### Landed Work Run Gate
The sixth front door exists as native Rust:
@ -1277,7 +1299,7 @@ temptation wearing clean robes.
| Repo Body birth | `epiphany-repo init` exists and writes repo-local stores plus branch workbench intent. | Keep birth startup-only, review-gated, and branch-oriented. |
| Local Verse online | `epiphany-swarm online` seeds repo-local CultMesh, standing-faculty SoA, topology, liveness, Eve, and tool sight. | Keep private Verse sealed while exposing operator-safe repo status. |
| Persona/Bifrost intake | `epiphany-work accept` records pressure and candidate action refs without Hands authority. `epiphany-work persona-intake` now invokes the Persona bubble speech-audit path, records public discussion and candidate-action refs, then delegates to `accept`; wrapper mode `repo-persona-intake` exposes the operator mouth. | Deepen the intake-to-Imagination interpreter so richer model-authored action items can be proposed without granting Hands, publication, or durable-state authority at the mouth edge. |
| Imagination planning | `derive-plan` now writes a typed `epiphany.repo_work_imagination_action_items_receipt.v0` before the executable plan receipt. The action-item receipt can carry model provenance, allowed safe family, requested paths, verification asks, stop conditions, escalation reasons, and private-state seals; command text remains deterministic safe-family lowering for `append-worklog`, `planning-note`, `checklist-note`, `section-note` / `repo.markdown_managed_section`, `repo-status-section` / `repo.status_section`, `task-card` / `repo.task_card`, `repo-manifest` / `repo.body_manifest`, `repo-tool-capabilities` / `repo.tool_capabilities`, `repo-collaboration-topic` / `repo.collaboration_topic`, `repo-consensus-brief` / `repo.consensus_brief`, `repo-objective-draft` / `repo.objective_draft`, `repo-adoption-request` / `repo.adoption_request`, `repo-scheduling-request` / `repo.scheduling_request`, `repo-work-order` / `repo.work_order`, `repo-verification-request` / `repo.verification_request`, `repo-publication-request` / `repo.publication_request`, and `repo-sync-request` / `repo.sync_request`. `plan` remains manual quarantine scaffolding. | Deepen model-authored planning and further useful repo-owned configuration classes without turning model text into arbitrary shell authority. |
| Imagination planning | `derive-plan` now writes a typed `epiphany.repo_work_imagination_action_items_receipt.v0` before the executable plan receipt. The action-item receipt can carry model provenance, allowed safe family, requested paths, verification asks, stop conditions, escalation reasons, and private-state seals; command text remains deterministic safe-family lowering for `append-worklog`, `planning-note`, `checklist-note`, `section-note` / `repo.markdown_managed_section`, `repo-status-section` / `repo.status_section`, `task-card` / `repo.task_card`, `repo-manifest` / `repo.body_manifest`, `repo-tool-capabilities` / `repo.tool_capabilities`, `repo-collaboration-topic` / `repo.collaboration_topic`, `repo-consensus-brief` / `repo.consensus_brief`, `repo-objective-draft` / `repo.objective_draft`, `repo-adoption-request` / `repo.adoption_request`, `repo-scheduling-request` / `repo.scheduling_request`, `repo-work-order` / `repo.work_order`, `repo-verification-request` / `repo.verification_request`, `repo-publication-request` / `repo.publication_request`, `repo-sync-request` / `repo.sync_request`, and `repo-maintainer-review-request` / `repo.maintainer_review_request`. `plan` remains manual quarantine scaffolding. | Deepen model-authored planning and further useful repo-owned configuration classes without turning model text into arbitrary shell authority. |
| 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` and `repo-work-service-runbook` write Idunn lifecycle receipts/artifacts for the same queue-run command without launching it. | Keep any future queue-run service launch/install behind Idunn and explicit 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, and writes Soul, Modeling, and Mind receipts. | Deepen model-authored closure review beyond the first structured closure-review packet while preserving deterministic local closure for simple mechanical work. |
@ -1584,6 +1606,11 @@ Required organs before MVP:
Bifrost/GitHub/maintainer/credit receipts and `origin/main` ancestry checks
while granting no merge, push, sync, publication, credit, Hands, or cross-body
authority.
`repo-maintainer-review-request` now proves maintainer review request cargo
that names closure/Soul/Mind/public-proof/Bifrost antecedents and reviewer
identity, verdict, changed-path, proof-ref, and redaction packet requirements
while granting no maintainer approval, merge, push, publication, sync, Hands,
or cross-body authority.
Remaining work is later model-authored action classes that can change more
useful repo-owned configuration without arbitrary shell authority.
- Closure depth: `close` now writes a structured

View file

@ -130,6 +130,7 @@ remembers doctrine; the branch remembers the blade.
- 2026-06-20: `repo-verification-request` is now live as Soul-facing verification request cargo. `epiphany-work derive-plan --action-family repo-verification-request` writes `.epiphany/verification-requests/<item>.toml` with safe family `repo.verification_request`, status `awaiting-soul-review`, Hands evidence antecedents, closure checks, Soul/Mind required receipts, and seals against Soul verdict, state commit, rerun, Hands action, publication, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, antecedents, receipt contract, checks, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-verification-request-family-20260620-152400` ran init -> online -> accept -> repo-verification-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/verification-requests/repo-verification-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingSoulReview=true`, `soulVerdictAuthorized=false`, `stateCommitAuthorized=false`, `rerunAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are richer model-authored planning depth beyond deterministic safe-family lowering, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
- 2026-06-20: `repo-publication-request` is now live as Bifrost-facing publication request cargo. `epiphany-work derive-plan --action-family repo-publication-request` writes `.epiphany/publication-requests/<item>.toml` with safe family `repo.publication_request`, status `awaiting-bifrost-review`, closure/Soul/Mind/redacted-proof antecedents, Bifrost/GitHub/credit/upstream receipt requirements, public export redaction seals, and denials for Bifrost publication, GitHub publication, credit ledger, merge, upstream sync, Hands action, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, antecedents, receipt contract, redaction contract, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-publication-request-family-20260620-153215` ran init -> online -> accept -> repo-publication-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/publication-requests/repo-publication-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingBifrostReview=true`, `bifrostPublicationAuthorized=false`, `githubPublicationAuthorized=false`, `creditLedgerAuthorized=false`, `upstreamSyncAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are richer model-authored planning depth beyond deterministic safe-family lowering, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
- 2026-06-20: `repo-sync-request` is now live as upstream-main proof request cargo. `epiphany-work derive-plan --action-family repo-sync-request` writes `.epiphany/sync-requests/<item>.toml` with safe family `repo.sync_request`, status `awaiting-upstream-main-proof`, Bifrost/GitHub/maintainer/credit antecedents, `origin/main` merge-base ancestry proof requirements, and denials for merge, push, upstream sync, GitHub publication, credit ledger, Hands action, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, antecedents, receipt contract, sync proof contract, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-sync-request-family-20260620-154029` ran init -> online -> accept -> repo-sync-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/sync-requests/repo-sync-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingUpstreamMainProof=true`, `mergeAuthorized=false`, `pushAuthorized=false`, `upstreamSyncAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are richer model-authored planning depth beyond deterministic safe-family lowering, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
- 2026-06-20: `repo-maintainer-review-request` is now live as maintainer-facing review request cargo. `epiphany-work derive-plan --action-family repo-maintainer-review-request` writes `.epiphany/review-requests/<item>.toml` with safe family `repo.maintainer_review_request`, status `awaiting-maintainer-review`, closure/Soul/Mind/public-proof/Bifrost antecedents, reviewer identity/verdict/changed-path/proof-ref/redaction packet requirements, and denials for maintainer approval, merge, push, publication, upstream sync, Hands action, cross-body mutation, and private Verse rummaging. Soul closure assertions inspect schema, family, summary, request state, antecedents, receipt contract, review packet, authority gates, and private-state seal. Focused smoke `.epiphany-smoke\repo-maintainer-review-request-family-20260620-155126` ran init -> online -> accept -> repo-maintainer-review-request derive-plan -> tick run/adopt/execute/close; Hands committed only `.epiphany/review-requests/repo-maintainer-review-request-family.toml`, Soul passed with `pathScopeMatched=true`, `familyAssertions.status=passed`, `awaitingMaintainerReview=true`, `maintainerApprovalAuthorized=false`, `mergeAuthorized=false`, `pushAuthorized=false`, `publicationAuthorized=false`, `upstreamSyncAuthorized=false`, `handsActionAuthorized=false`, and `privateStateExposed=false`. Current remaining repo-swarm MVP organs are richer model-authored planning depth beyond deterministic safe-family lowering, more useful repo-owned configuration/action families, and Idunn-owned queue-run service lifecycle under explicit operator authority.
- `service-execution-runbook` makes that next cut repeatable: it generates the exact elevated wrapper command sequence without mutating the service manager, continues after per-step failure to preserve more receipts, runs `service-execution-audit` in `finally`, exits nonzero if any step failed, and seals a typed runbook lifecycle receipt. Run the generated artifact only with explicit operator authority.
- `service-execution-audit` is the non-mutating acceptance proof after the elevated rite: it reports `complete` only when typed lifecycle receipts prove the runbook witness plus expected elevated chain, and otherwise reports the missing/failed sealed checks.
- `service-tick` is the non-elevated scheduler pulse proof: it writes the latest daemon scheduler receipt through durable policy ownership and local wrapper receipts.