Add Hands Soul and Life contracts
This commit is contained in:
parent
9af7850ea5
commit
25fc7b5ab4
15 changed files with 1180 additions and 23 deletions
|
|
@ -86,6 +86,7 @@ The landed machine now has:
|
|||
- first auditable Phase 6 fixed-lane coordinator runner through native `epiphany-mvp-coordinator`, producing coordinator summary, JSONL steps, rendered snapshots, transcript, stderr, runtime-spine status, native runtime job/result receipts for launched work, and final next-action artifacts while keeping semantic findings review-gated by default
|
||||
- first Codex-independent native runtime vertebra through `epiphany-runtime-spine`, storing runtime identity, sessions, jobs, job results, and events as typed CultCache MessagePack documents, opening/completing native jobs, projecting job-result counts, and emitting a framed CultNet hello message for the native contract
|
||||
- first Rust CultMesh local-node integration: `vendor/cultmesh-rs` now provides the repo-contained CultMesh surface over vendored CultCache/CultNet, and `epiphany-core` depends on that surface for local `EpiphanyCultMeshStatusEntry`, `EpiphanyCultMeshVersePolicyEntry`, and `EpiphanyCultMeshGlobalRoomPolicyEntry` round-trip smokes instead of treating raw CultNet as the ergonomic app-facing database layer
|
||||
- first Hands/Soul/Life contract catalogs: action, verification, and continuity now have native `epiphany-core` contract families, runtime-spine advertisement, CultMesh policy documents, and local CultMesh smoke coverage beside Mind/Body/Eyes
|
||||
- live-specialist runner must be rebuilt around heartbeat/runtime-spine result receipts
|
||||
- first Phase 6 Aquarium operator shell extracted to sibling repo `E:\Projects\EpiphanyAquarium`, a Tauri v2 + React/WebGL client over the existing status bridge, dogfood artifacts, and GUI action artifacts, with its own distilled interface state/memory/doctrine plus durable checkpoint preparation, bounded status/coordinator artifact buttons, fixed modeling/verification/reorient launch and read-back buttons, and explicit review-gated reorient acceptance
|
||||
- first Unity editor/runtime bridge through native `epiphany-unity-bridge`, native `epiphany-unity-bridge-smoke`, and the GUI Inspect Unity action, resolving exact project-pinned editors and writing runtime artifacts while refusing wrong or missing versions
|
||||
|
|
|
|||
|
|
@ -1415,15 +1415,24 @@ grounding. Body can grant access to the repo, but Eyes decides what was actually
|
|||
looked at and emits evidence reviews, source lookup receipts, evidence packets,
|
||||
or refusals before Imagination, Hands, Mind, Face, Soul, Self, Body, or Life cite
|
||||
the material as known.
|
||||
`notes/hands-cultnet-contracts.md`, `notes/soul-cultnet-contracts.md`, and
|
||||
`notes/life-cultnet-contracts.md` are now the missing action, verification, and
|
||||
continuity gates. The code surface now names Hands action intents/reviews plus
|
||||
command, patch, commit, PR, rollback, and refusal receipts; Soul verification
|
||||
requests plus invariant, verdict, regression, review, and refusal receipts; and
|
||||
Life continuity packets plus compaction, sleep distillation, recovery,
|
||||
stale-turn repair, and continuity refusal receipts. Runtime-spine advertises
|
||||
those contracts, CultMesh stores matching Verse-scoped policy docs, and the
|
||||
local CultMesh smoke writes them beside Mind/Body/Eyes.
|
||||
`notes/perfect-machine-audit-roadmap.md` is the current audit/path document. It
|
||||
compares Epiphany's named organ contracts against Void's current Face prompting
|
||||
shape and maps the route from contract catalog to executable organism. Main
|
||||
finding: the boundaries are directionally right, but Mind/Body/Eyes are still
|
||||
mostly advertised gates rather than mandatory runtime receipt chains; Hands,
|
||||
Soul, and Life need their own contract families. The first dependency-body
|
||||
repair is landed: the missing `E:\Projects\CultLib\crates\*` paths were replaced
|
||||
with repo-contained vendored CultCache/CultNet/CultMesh crates, and the
|
||||
`epiphany-core` library tests pass against that body.
|
||||
finding: the boundaries are directionally right, but the organ contracts are
|
||||
still mostly advertised gates rather than mandatory runtime receipt chains. The
|
||||
first dependency-body repair is landed: the missing
|
||||
`E:\Projects\CultLib\crates\*` paths were replaced with repo-contained vendored
|
||||
CultCache/CultNet/CultMesh crates, and the `epiphany-core` library tests pass
|
||||
against that body.
|
||||
|
||||
## Not Yet
|
||||
|
||||
|
|
@ -1436,7 +1445,7 @@ with repo-contained vendored CultCache/CultNet/CultMesh crates, and the
|
|||
- broader editor/runtime bridges beyond the first pinned Unity bridge
|
||||
- broad event stream beyond the landed state update notification
|
||||
- typed repetitive-work queues plus final-answer gates, so batch/tile/import/migration work cannot end merely because the pattern was demonstrated or the partial result sounds tidy
|
||||
- public CultMesh Verse deployment or cross-app live sharing; only the local Rust CultMesh node/status smoke exists so far
|
||||
- public CultMesh Verse deployment or cross-app live sharing; only the local Rust CultMesh node/status/contract smoke exists so far
|
||||
|
||||
The machine is no longer cleared to move outward. Free it from the Codex organ
|
||||
first.
|
||||
|
|
|
|||
44
notes/hands-cultnet-contracts.md
Normal file
44
notes/hands-cultnet-contracts.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Hands CultNet Contracts
|
||||
|
||||
Objective: make Hands the action organ. Commands, patches, commits, PRs, and
|
||||
rollbacks are consequences, not thoughts. They enter as bounded action intents
|
||||
and leave receipts that can be verified, refused, or admitted into Mind state.
|
||||
|
||||
## Authority Map
|
||||
|
||||
- Owner: Hands owns execution of bounded actions.
|
||||
- Inputs: typed action intents, Body access grants, requested commands or
|
||||
patches, current repo policy, Soul verification requirements, and coordinator
|
||||
authority.
|
||||
- Outputs: Hands action reviews, command receipts, patch receipts, commit
|
||||
receipts, PR receipts, rollback receipts, and action refusal receipts.
|
||||
- Derived state: diffs, command logs, commits, PR URLs, and rollback notes are
|
||||
action receipts. They are not durable Mind state until Mind admits them.
|
||||
- Forbidden writers: raw workers, Face, Eyes, Imagination, Self, compatibility
|
||||
JSON-RPC routes, and bridge tools must not execute repo-affecting commands,
|
||||
edit files, commit, publish, or roll back without the Hands path after Body
|
||||
access.
|
||||
- Shared path: file edits, shell commands, commits, PRs, and rollbacks should
|
||||
share Hands action intent/review/receipt semantics.
|
||||
- Deletion line: Body grants access; it does not execute. Soul verifies; it
|
||||
does not execute. Mind records durable state; it does not execute.
|
||||
|
||||
## Contract Families
|
||||
|
||||
- `epiphany.hands.action_intent`: request for bounded action.
|
||||
- `epiphany.hands.action_review`: Hands decision and execution plan.
|
||||
- `epiphany.hands.command_receipt`: proof of command execution.
|
||||
- `epiphany.hands.patch_receipt`: proof of file mutation.
|
||||
- `epiphany.hands.commit_receipt`: proof of commit creation.
|
||||
- `epiphany.hands.pr_receipt`: proof of pull-request publication.
|
||||
- `epiphany.hands.rollback_receipt`: proof that failed action was unwound.
|
||||
- `epiphany.hands.action_refusal_receipt`: proof that Hands refused to act.
|
||||
|
||||
## Neighboring Gates
|
||||
|
||||
Body grants substrate access before Hands touches the repo. Eyes packages
|
||||
evidence for action reasoning. Soul verifies action results and invariants.
|
||||
Mind admits durable state after the action and verification receipts exist.
|
||||
|
||||
Hands is not a permission organ. It is the actuator. The wrench does not bless
|
||||
itself.
|
||||
42
notes/life-cultnet-contracts.md
Normal file
42
notes/life-cultnet-contracts.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Life CultNet Contracts
|
||||
|
||||
Objective: make Life the continuity organ. Compaction, sleep, recovery,
|
||||
handoff, and stale-turn repair need their own receipts instead of hiding in
|
||||
scratch notes or hopeful transcript memory.
|
||||
|
||||
## Authority Map
|
||||
|
||||
- Owner: Life owns continuity across rupture.
|
||||
- Inputs: continuity packets, context pressure, compaction checkpoints,
|
||||
heartbeat/sleep pressure, stale active turns, recovery context, handoff
|
||||
surfaces, and Mind state context.
|
||||
- Outputs: compaction checkpoints, sleep distillation receipts, recovery
|
||||
receipts, stale-turn repair receipts, and continuity refusal receipts.
|
||||
- Derived state: handoff summaries, scratch preservation, sleep residue, and
|
||||
recovery notes are continuity receipts. They are not durable Mind state until
|
||||
Mind admits them.
|
||||
- Forbidden writers: raw workers, Face, Hands, Eyes, Soul, Self, compatibility
|
||||
routes, and background loops must not silently rewrite continuity state or
|
||||
pretend stale work completed cleanly.
|
||||
- Shared path: compaction prep, sleep distillation, handoff, wake/reorient, and
|
||||
stale-turn repair should share Life continuity packet/review semantics.
|
||||
- Deletion line: transcript survival is not Life. Rehydration is not adoption.
|
||||
"It was probably fine" is not a recovery receipt.
|
||||
|
||||
## Contract Families
|
||||
|
||||
- `epiphany.life.continuity_packet`: request or packet for continuity handling.
|
||||
- `epiphany.life.compaction_checkpoint`: proof of pre-rupture preservation.
|
||||
- `epiphany.life.sleep_distillation`: proof of sleep/rumination distillation.
|
||||
- `epiphany.life.recovery_receipt`: proof of wake/recovery state.
|
||||
- `epiphany.life.stale_turn_repair`: proof of abandoned-turn repair.
|
||||
- `epiphany.life.continuity_refusal_receipt`: proof that Life refused to trust
|
||||
or preserve a continuity packet.
|
||||
|
||||
## Neighboring Gates
|
||||
|
||||
Life preserves what survives rupture. Mind decides what preserved material
|
||||
becomes durable state. Soul verifies continuity invariants. Self routes recovery
|
||||
work. Body and Eyes regather reality when continuity is missing.
|
||||
|
||||
Life is not nostalgia. It is survival with receipts.
|
||||
|
|
@ -108,20 +108,21 @@ Need fact or action
|
|||
|
||||
Today the chain is documented, not structurally unavoidable.
|
||||
|
||||
### 3. Hands, Soul, and Life Need First-Class Contracts
|
||||
### 3. Hands, Soul, and Life Have First-Class Contract Catalogs
|
||||
|
||||
The current contract set names the gates around action but not action itself.
|
||||
That leaves three weak organs:
|
||||
The contract set now names the gates around action, verification, and
|
||||
continuity:
|
||||
|
||||
- Hands needs action intent, execution receipt, patch receipt, command receipt,
|
||||
commit/PR receipt, and refusal/rollback receipt contracts.
|
||||
- Soul needs verification request, invariant check, evidence verdict,
|
||||
regression/refusal, and review receipt contracts.
|
||||
- Life needs compaction request, continuity packet, sleep/distillation,
|
||||
recovery, stale-turn repair, and handoff receipt contracts.
|
||||
- Hands has action intent/review plus command, patch, commit, PR, rollback, and
|
||||
refusal receipts.
|
||||
- Soul has verification request plus invariant check, verdict, regression,
|
||||
review, and refusal receipts.
|
||||
- Life has continuity packet plus compaction checkpoint, sleep distillation,
|
||||
recovery, stale-turn repair, and continuity refusal receipts.
|
||||
|
||||
Without those, Body/Mind/Eyes become paper gates around action and continuity
|
||||
paths they do not own.
|
||||
Runtime-spine advertises those contracts and CultMesh persists Verse-scoped
|
||||
policy documents for each. Remaining weakness: these are still contract
|
||||
catalogs, not mandatory runtime receipt chains.
|
||||
|
||||
### 4. Self Still Shares A Throne With Compatibility Plumbing
|
||||
|
||||
|
|
@ -220,19 +221,22 @@ receipt.
|
|||
### Phase 2: Give Hands, Soul, And Life Their Own Contracts
|
||||
|
||||
Goal: action, verification, and continuity stop hiding behind neighbors.
|
||||
Status: first contract catalog slice landed.
|
||||
|
||||
- Hands contracts:
|
||||
- Hands contracts landed:
|
||||
- `epiphany.hands.action_intent`
|
||||
- `epiphany.hands.command_receipt`
|
||||
- `epiphany.hands.patch_receipt`
|
||||
- `epiphany.hands.commit_receipt`
|
||||
- `epiphany.hands.pr_receipt`
|
||||
- `epiphany.hands.rollback_receipt`
|
||||
- Soul contracts:
|
||||
- Soul contracts landed:
|
||||
- `epiphany.soul.verification_request`
|
||||
- `epiphany.soul.invariant_check`
|
||||
- `epiphany.soul.verdict_receipt`
|
||||
- `epiphany.soul.regression_receipt`
|
||||
- Life contracts:
|
||||
- `epiphany.soul.review_receipt`
|
||||
- Life contracts landed:
|
||||
- `epiphany.life.continuity_packet`
|
||||
- `epiphany.life.compaction_checkpoint`
|
||||
- `epiphany.life.sleep_distillation`
|
||||
|
|
@ -240,7 +244,11 @@ Goal: action, verification, and continuity stop hiding behind neighbors.
|
|||
- `epiphany.life.stale_turn_repair`
|
||||
|
||||
Definition of done: action, verification, and continuity have the same typed
|
||||
contract dignity as Mind/Body/Eyes.
|
||||
contract dignity as Mind/Body/Eyes. Verification: `cargo test --manifest-path
|
||||
.\epiphany-core\Cargo.toml --lib` and `cargo run --manifest-path
|
||||
.\epiphany-core\Cargo.toml --bin epiphany-cultmesh-smoke` pass. Next step:
|
||||
make these contracts executable gates in the live worker/action/verification
|
||||
and compaction paths.
|
||||
|
||||
### Phase 3: Port Void's Face Prompting Shape Properly
|
||||
|
||||
|
|
|
|||
42
notes/soul-cultnet-contracts.md
Normal file
42
notes/soul-cultnet-contracts.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Soul CultNet Contracts
|
||||
|
||||
Objective: make Soul the verification organ. Soul owns invariants, tests,
|
||||
review, falsification, regression receipts, and useful refusal. It prevents
|
||||
polish from impersonating truth.
|
||||
|
||||
## Authority Map
|
||||
|
||||
- Owner: Soul owns verification verdicts.
|
||||
- Inputs: verification requests, Eyes evidence packets, Hands action receipts,
|
||||
Body substrate receipts, expected invariants, test commands, review criteria,
|
||||
and current risk context.
|
||||
- Outputs: invariant checks, verdict receipts, regression receipts, review
|
||||
receipts, and verification refusal receipts.
|
||||
- Derived state: passing tests, review notes, risk lists, and regression traces
|
||||
are verification receipts. They are not durable Mind state by themselves.
|
||||
- Forbidden writers: Hands, Face, Imagination, Mind, Self, raw workers,
|
||||
compatibility JSON-RPC routes, and bridge tools must not mark work verified
|
||||
without a Soul receipt.
|
||||
- Shared path: code review, invariant checks, smoke tests, negative checks, and
|
||||
regression findings should all produce Soul receipts.
|
||||
- Deletion line: a command exit code is not a Soul verdict. A final answer is
|
||||
not a Soul verdict. A green local proxy is not a Soul verdict unless Soul says
|
||||
what it proves and what it does not.
|
||||
|
||||
## Contract Families
|
||||
|
||||
- `epiphany.soul.verification_request`: request for verification.
|
||||
- `epiphany.soul.invariant_check`: proof of a checked invariant.
|
||||
- `epiphany.soul.verdict_receipt`: proof of accepted or failed verification.
|
||||
- `epiphany.soul.regression_receipt`: proof of a violated invariant.
|
||||
- `epiphany.soul.review_receipt`: proof of review findings and residual risk.
|
||||
- `epiphany.soul.verification_refusal_receipt`: proof that Soul refused to
|
||||
certify a claim.
|
||||
|
||||
## Neighboring Gates
|
||||
|
||||
Eyes says what was looked at. Hands says what changed. Soul says whether the
|
||||
change and claim survive inspection. Mind decides what verification means for
|
||||
durable state. Life preserves the verdict across rupture.
|
||||
|
||||
Soul is not vibes with a test log. It is the refusal to let the machine lie.
|
||||
Reference in a new issue