Add Hands command and commit receipts

This commit is contained in:
Meta Vens 2026-06-02 14:42:47 +01:00
commit a3e7950c2a
9 changed files with 300 additions and 11 deletions

View file

@ -3,13 +3,19 @@ use epiphany_core::HANDS_ACTION_INTENT_SCHEMA_VERSION;
use epiphany_core::HandsActionIntent;
use epiphany_core::RuntimeSpineInitOptions;
use epiphany_core::hands_action_review_for_intent;
use epiphany_core::hands_command_receipt_for_review;
use epiphany_core::hands_commit_receipt_for_review;
use epiphany_core::hands_patch_receipt_for_review;
use epiphany_core::initialize_runtime_spine;
use epiphany_core::put_hands_action_intent;
use epiphany_core::put_hands_action_review;
use epiphany_core::put_hands_command_receipt;
use epiphany_core::put_hands_commit_receipt;
use epiphany_core::put_hands_patch_receipt;
use epiphany_core::runtime_hands_action_intent;
use epiphany_core::runtime_hands_action_review;
use epiphany_core::runtime_hands_command_receipt;
use epiphany_core::runtime_hands_commit_receipt;
use epiphany_core::runtime_hands_patch_receipt;
use serde_json::json;
use std::path::PathBuf;
@ -66,12 +72,41 @@ fn main() -> Result<()> {
);
put_hands_patch_receipt(&store, &patch)?;
let command = hands_command_receipt_for_review(
"hands-command-smoke".to_string(),
&intent,
&review,
"cargo test --manifest-path .\\epiphany-core\\Cargo.toml hands_gateway".to_string(),
"0".to_string(),
".epiphany-smoke/runtime-spine/hands-action-smoke.stdout.log".to_string(),
".epiphany-smoke/runtime-spine/hands-action-smoke.stderr.log".to_string(),
"Recorded a typed command receipt for the bounded Hands action path.".to_string(),
"2026-06-02T00:00:40Z".to_string(),
);
put_hands_command_receipt(&store, &command)?;
let commit = hands_commit_receipt_for_review(
"hands-commit-smoke".to_string(),
&intent,
&review,
"dry-run-no-commit".to_string(),
"main".to_string(),
vec!["tools/epiphany_local_run.ps1".to_string()],
"Recorded a typed commit receipt shape for the bounded Hands action path.".to_string(),
"2026-06-02T00:00:50Z".to_string(),
);
put_hands_commit_receipt(&store, &commit)?;
let stored_intent =
runtime_hands_action_intent(&store, "hands-intent-smoke")?.expect("stored Hands intent");
let stored_review =
runtime_hands_action_review(&store, "hands-review-smoke")?.expect("stored Hands review");
let stored_patch =
runtime_hands_patch_receipt(&store, "hands-patch-smoke")?.expect("stored Hands patch");
let stored_command = runtime_hands_command_receipt(&store, "hands-command-smoke")?
.expect("stored Hands command");
let stored_commit =
runtime_hands_commit_receipt(&store, "hands-commit-smoke")?.expect("stored Hands commit");
if stored_review.intent_id != stored_intent.intent_id {
anyhow::bail!("Hands review lost its intent edge");
@ -81,6 +116,16 @@ fn main() -> Result<()> {
{
anyhow::bail!("Hands patch receipt lost its intent/review edge");
}
if stored_command.intent_id != stored_intent.intent_id
|| stored_command.review_id != stored_review.review_id
{
anyhow::bail!("Hands command receipt lost its intent/review edge");
}
if stored_commit.intent_id != stored_intent.intent_id
|| stored_commit.review_id != stored_review.review_id
{
anyhow::bail!("Hands commit receipt lost its intent/review edge");
}
println!(
"{}",
@ -90,6 +135,8 @@ fn main() -> Result<()> {
"intentId": stored_intent.intent_id,
"reviewId": stored_review.review_id,
"patchReceiptId": stored_patch.receipt_id,
"commandReceiptId": stored_command.receipt_id,
"commitReceiptId": stored_commit.receipt_id,
"changedPaths": stored_patch.changed_paths,
}))?
);

View file

@ -95,6 +95,67 @@ pub struct HandsPatchReceipt {
pub contract: String,
}
#[derive(Debug, Clone, PartialEq, Eq, DatabaseEntry)]
#[cultcache(
type = "epiphany.hands.command_receipt",
schema = "HandsCommandReceipt"
)]
pub struct HandsCommandReceipt {
#[cultcache(key = 0)]
pub schema_version: String,
#[cultcache(key = 1)]
pub receipt_id: String,
#[cultcache(key = 2)]
pub intent_id: String,
#[cultcache(key = 3)]
pub review_id: String,
#[cultcache(key = 4)]
pub substrate_gate_grant_receipt_id: String,
#[cultcache(key = 5)]
pub runtime_job_id: String,
#[cultcache(key = 6)]
pub command: String,
#[cultcache(key = 7)]
pub exit_code: String,
#[cultcache(key = 8)]
pub stdout_artifact: String,
#[cultcache(key = 9)]
pub stderr_artifact: String,
#[cultcache(key = 10)]
pub summary: String,
#[cultcache(key = 11)]
pub emitted_at: String,
#[cultcache(key = 12)]
pub contract: String,
}
#[derive(Debug, Clone, PartialEq, Eq, DatabaseEntry)]
#[cultcache(type = "epiphany.hands.commit_receipt", schema = "HandsCommitReceipt")]
pub struct HandsCommitReceipt {
#[cultcache(key = 0)]
pub schema_version: String,
#[cultcache(key = 1)]
pub receipt_id: String,
#[cultcache(key = 2)]
pub intent_id: String,
#[cultcache(key = 3)]
pub review_id: String,
#[cultcache(key = 4)]
pub runtime_job_id: String,
#[cultcache(key = 5)]
pub commit_sha: String,
#[cultcache(key = 6)]
pub branch: String,
#[cultcache(key = 7)]
pub changed_paths: Vec<String>,
#[cultcache(key = 8)]
pub summary: String,
#[cultcache(key = 9)]
pub emitted_at: String,
#[cultcache(key = 10)]
pub contract: String,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct HandsCultNetContract {
@ -248,6 +309,60 @@ pub fn hands_patch_receipt_for_review(
}
}
#[allow(clippy::too_many_arguments)]
pub fn hands_command_receipt_for_review(
receipt_id: String,
intent: &HandsActionIntent,
review: &HandsActionReview,
command: String,
exit_code: String,
stdout_artifact: String,
stderr_artifact: String,
summary: String,
emitted_at: String,
) -> HandsCommandReceipt {
HandsCommandReceipt {
schema_version: HANDS_COMMAND_RECEIPT_SCHEMA_VERSION.to_string(),
receipt_id,
intent_id: intent.intent_id.clone(),
review_id: review.review_id.clone(),
substrate_gate_grant_receipt_id: intent.substrate_gate_grant_receipt_id.clone(),
runtime_job_id: intent.runtime_job_id.clone(),
command,
exit_code,
stdout_artifact,
stderr_artifact,
summary,
emitted_at,
contract: "Hands command receipt proves which command ran, where output evidence lives, and which reviewed action plus Substrate Gate grant authorized it.".to_string(),
}
}
pub fn hands_commit_receipt_for_review(
receipt_id: String,
intent: &HandsActionIntent,
review: &HandsActionReview,
commit_sha: String,
branch: String,
changed_paths: Vec<String>,
summary: String,
emitted_at: String,
) -> HandsCommitReceipt {
HandsCommitReceipt {
schema_version: HANDS_COMMIT_RECEIPT_SCHEMA_VERSION.to_string(),
receipt_id,
intent_id: intent.intent_id.clone(),
review_id: review.review_id.clone(),
runtime_job_id: intent.runtime_job_id.clone(),
commit_sha,
branch,
changed_paths,
summary,
emitted_at,
contract: "Hands commit receipt proves source publication consequences after a reviewed action; it is still subject to Soul verification and Mind admission.".to_string(),
}
}
#[cfg(test)]
mod tests {
use super::*;
@ -310,5 +425,28 @@ mod tests {
assert_eq!(review.intent_id, intent.intent_id);
assert_eq!(receipt.review_id, review.review_id);
assert_eq!(receipt.substrate_gate_grant_receipt_id, "substrate-grant-1");
let command = hands_command_receipt_for_review(
"hands-command-1".to_string(),
&intent,
&review,
"cargo test".to_string(),
"0".to_string(),
"artifacts/stdout.log".to_string(),
"artifacts/stderr.log".to_string(),
"Focused command passed.".to_string(),
"2026-06-02T00:03:00Z".to_string(),
);
let commit = hands_commit_receipt_for_review(
"hands-commit-1".to_string(),
&intent,
&review,
"abc123".to_string(),
"main".to_string(),
vec!["src/lib.rs".to_string()],
"Committed focused patch.".to_string(),
"2026-06-02T00:04:00Z".to_string(),
);
assert_eq!(command.review_id, review.review_id);
assert_eq!(commit.intent_id, intent.intent_id);
}
}

View file

@ -430,6 +430,8 @@ pub use runtime_spine::put_coordinator_run_receipt;
pub use runtime_spine::put_eyes_evidence_packet;
pub use runtime_spine::put_hands_action_intent;
pub use runtime_spine::put_hands_action_review;
pub use runtime_spine::put_hands_command_receipt;
pub use runtime_spine::put_hands_commit_receipt;
pub use runtime_spine::put_hands_patch_receipt;
pub use runtime_spine::put_mind_gateway_review;
pub use runtime_spine::put_mind_state_commit_receipt;
@ -442,6 +444,8 @@ pub use runtime_spine::runtime_continuity_recovery_receipt;
pub use runtime_spine::runtime_eyes_evidence_packet;
pub use runtime_spine::runtime_hands_action_intent;
pub use runtime_spine::runtime_hands_action_review;
pub use runtime_spine::runtime_hands_command_receipt;
pub use runtime_spine::runtime_hands_commit_receipt;
pub use runtime_spine::runtime_hands_patch_receipt;
pub use runtime_spine::runtime_hello_frame;
pub use runtime_spine::runtime_job_snapshot;

View file

@ -720,6 +720,8 @@ pub fn runtime_spine_cache(store_path: impl AsRef<Path>) -> Result<CultCache> {
cache.register_entry_type::<HandsActionIntent>()?;
cache.register_entry_type::<HandsActionReview>()?;
cache.register_entry_type::<HandsPatchReceipt>()?;
cache.register_entry_type::<HandsCommandReceipt>()?;
cache.register_entry_type::<HandsCommitReceipt>()?;
cache.register_entry_type::<SoulVerdictReceipt>()?;
cache.register_entry_type::<ContinuityRecoveryReceipt>()?;
cache.register_entry_type::<EpiphanyOpenAiAdapterStatus>()?;
@ -1353,6 +1355,70 @@ pub fn runtime_hands_patch_receipt(
cache.get::<HandsPatchReceipt>(receipt_id)
}
pub fn put_hands_command_receipt(
store_path: impl AsRef<Path>,
receipt: &HandsCommandReceipt,
) -> Result<()> {
validate_non_empty(&receipt.receipt_id, "Hands command receipt id")?;
validate_non_empty(&receipt.intent_id, "Hands command intent")?;
validate_non_empty(&receipt.review_id, "Hands command review")?;
validate_non_empty(
&receipt.substrate_gate_grant_receipt_id,
"Hands command Substrate Gate grant receipt",
)?;
validate_non_empty(&receipt.runtime_job_id, "Hands command runtime job")?;
validate_non_empty(&receipt.command, "Hands command")?;
validate_non_empty(&receipt.exit_code, "Hands command exit code")?;
validate_non_empty(&receipt.emitted_at, "Hands command timestamp")?;
let mut cache = runtime_spine_cache(store_path)?;
cache.pull_all_backing_stores()?;
require_identity(&cache)?;
cache.put(&receipt.receipt_id, receipt)?;
Ok(())
}
pub fn runtime_hands_command_receipt(
store_path: impl AsRef<Path>,
receipt_id: &str,
) -> Result<Option<HandsCommandReceipt>> {
validate_non_empty(receipt_id, "Hands command receipt id")?;
let mut cache = runtime_spine_cache(store_path)?;
cache.pull_all_backing_stores()?;
cache.get::<HandsCommandReceipt>(receipt_id)
}
pub fn put_hands_commit_receipt(
store_path: impl AsRef<Path>,
receipt: &HandsCommitReceipt,
) -> Result<()> {
validate_non_empty(&receipt.receipt_id, "Hands commit receipt id")?;
validate_non_empty(&receipt.intent_id, "Hands commit intent")?;
validate_non_empty(&receipt.review_id, "Hands commit review")?;
validate_non_empty(&receipt.runtime_job_id, "Hands commit runtime job")?;
validate_non_empty(&receipt.commit_sha, "Hands commit sha")?;
validate_non_empty(&receipt.branch, "Hands commit branch")?;
validate_non_empty(&receipt.summary, "Hands commit summary")?;
validate_non_empty(&receipt.emitted_at, "Hands commit timestamp")?;
if receipt.changed_paths.is_empty() {
return Err(anyhow!("Hands commit receipt must name changed paths"));
}
let mut cache = runtime_spine_cache(store_path)?;
cache.pull_all_backing_stores()?;
require_identity(&cache)?;
cache.put(&receipt.receipt_id, receipt)?;
Ok(())
}
pub fn runtime_hands_commit_receipt(
store_path: impl AsRef<Path>,
receipt_id: &str,
) -> Result<Option<HandsCommitReceipt>> {
validate_non_empty(receipt_id, "Hands commit receipt id")?;
let mut cache = runtime_spine_cache(store_path)?;
cache.pull_all_backing_stores()?;
cache.get::<HandsCommitReceipt>(receipt_id)
}
pub fn put_soul_verdict_receipt(
store_path: impl AsRef<Path>,
receipt: &SoulVerdictReceipt,
@ -3464,6 +3530,29 @@ mod tests {
"2026-05-06T00:06:50Z".to_string(),
);
put_hands_patch_receipt(&store, &hands_patch)?;
let hands_command = crate::hands_command_receipt_for_review(
"hands-command-1".to_string(),
&hands_intent,
&hands_review,
"cargo test".to_string(),
"0".to_string(),
"artifacts/stdout.log".to_string(),
"artifacts/stderr.log".to_string(),
"Focused command passed.".to_string(),
"2026-05-06T00:07:00Z".to_string(),
);
put_hands_command_receipt(&store, &hands_command)?;
let hands_commit = crate::hands_commit_receipt_for_review(
"hands-commit-1".to_string(),
&hands_intent,
&hands_review,
"abc123".to_string(),
"main".to_string(),
vec!["src/lib.rs".to_string()],
"Committed focused patch.".to_string(),
"2026-05-06T00:07:10Z".to_string(),
);
put_hands_commit_receipt(&store, &hands_commit)?;
let stored_intent = runtime_hands_action_intent(&store, "hands-intent-1")?
.expect("Hands action intent should persist");
assert_eq!(stored_intent, hands_intent);
@ -3473,6 +3562,12 @@ mod tests {
let stored_patch = runtime_hands_patch_receipt(&store, "hands-patch-1")?
.expect("Hands patch receipt should persist");
assert_eq!(stored_patch, hands_patch);
let stored_command = runtime_hands_command_receipt(&store, "hands-command-1")?
.expect("Hands command receipt should persist");
assert_eq!(stored_command, hands_command);
let stored_commit = runtime_hands_commit_receipt(&store, "hands-commit-1")?
.expect("Hands commit receipt should persist");
assert_eq!(stored_commit, hands_commit);
let stored_verdict = runtime_soul_verdict_receipt(&store, "soul-verdict-1")?
.expect("Soul verdict should persist");
assert_eq!(stored_verdict, soul_verdict);

View file

@ -51,7 +51,7 @@ remembers doctrine; the branch remembers the blade.
- CultMesh is now the preferred Rust abstraction for that local store work. The compile-time Rust substrate is repo-contained: `vendor/cultcache-rs`, `vendor/cultnet-rs`, and `vendor/cultmesh-rs`. The old `E:\Projects\CultLib\crates\*` dependency body is dead in this checkout and must not be revived by accident. Vendored CultCache reads/writes `cultcache.store.v1`, so `state/ledgers.msgpack` and `epiphany-state status` are aligned again. The first integrations are deliberately small: status, Verse policy, global room policy, organ contract policy, native operator status, native operator snapshots, and local operator run intent/receipt round-trip through CultMesh. `notes/epiphany-verse-architecture.md` now names the local Verse/Odin/Yggdrasil architecture: Odin sees advertised Verse metadata without bypassing boundaries, Yggdrasil hosts important trusted GameCult Verses such as Bifrost, and prompt assembly should query compact local Verse plus semantic memory packets instead of carrying the whole archive. Role/reorient launch documents now have optional `dynamicPromptContext`; runtime prompt assembly consumes that field into worker instructions, `epiphany-prompt-context-smoke` proves a rendered Verse/memory packet is preserved on a role launch document, live bridge role/reorient launches now feed local Verse plus memory graph context from sibling `local-verse.ccmp` and `memory-graph.msgpack` stores beside runtime-spine, and the bridge launch-context test proves the packet survives into a persisted runtime-spine worker launch request. The memory graph refreshes from current typed thread-state repo graphs when absent, so thin state remains visibly thin. Local-run status now has an operator read proof too: `tools/epiphany_local_run.ps1 -Mode status` builds/calls `epiphany-verse-query` and writes `local-verse-context.json` from `.epiphany-run\cultmesh\local-verse.ccmp` beside `status.json` and the operator snapshot. Use `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-cultmesh-smoke`, `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-cultmesh-status -- smoke --store .\.epiphany-smoke\cultmesh\operator-status.ccmp --runtime-id epiphany-cultmesh-status-smoke`, `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-operator-snapshot -- smoke --store .\.epiphany-smoke\cultmesh\operator-snapshots.ccmp --runtime-id epiphany-operator-snapshot-smoke --snapshot-id smoke-status`, `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-operator-run -- smoke --store .\.epiphany-smoke\cultmesh\operator-runs.ccmp --runtime-id epiphany-operator-run-smoke --run-id smoke-run`, `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-verse-query -- smoke`, `cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-prompt-context-smoke`, and `.\tools\epiphany_local_run.ps1 -Mode status` for the focused proofs. Future local dream/status/Verse work should start from CultMesh, not raw CultNet, unless the task is polishing the CultMesh internals themselves. Preserve the three Verse tiers: `epiphany-internal` for private sub-agent typed state, `gamecult-local` for trusted LAN/Yggdrasil-tunnel GameCult sharing, and `epiphany-global` for untrusted public dreams plus topic-specific threaded public rooms for Face posts.
- `notes/codex-auth-spine-inventory.md` is the source-grounded keeper list for that reliquary. Corrected compliance invariant: Codex-compatible auth identity stays anchored in vendored Codex-derived auth machinery. `epiphany-openai-auth-spine` is now a thin Epiphany-named boundary over `codex-login`, not a clean-room clone of credential storage or token refresh. Codex apps, skills, marketplace, plugin UX, broad app-server workflow, and JSON-RPC sprawl remain cuttable because they are not subscription-auth legitimacy.
- Edge JSON is allowed for schema description, hostile ingress before immediate typed parsing, sealed forensic artifacts, or named quarantine experiments. When both subsystems are ours, runtime data must remain typed CultCache documents and move over CultNet typed contracts. Generic `serde_json::Value` in worker launch/result/selfPatch/runtime flow is contamination until classified and replaced.
- Hands now has a first executable action receipt spine. `epiphany-core::hands_gateway` owns `HandsActionIntent`, `HandsActionReview`, and `HandsPatchReceipt`; runtime-spine can persist/reread them; `runtime_spine_persists_mind_gateway_review_receipts` includes the Hands chain beside Mind/Eyes/Substrate/Soul/Continuity proofs; `epiphany-hands-action-smoke` emits intent/review/patch receipt ids from `.epiphany-smoke\runtime-spine\hands-action-smoke.msgpack`; and the repo-action launch proof profile now requires action intent, action review, and patch receipt together. This smoke does not execute commands or edit files. The next live cut is to route real implementation edits/commands/commits through that chain after Substrate Gate grants access.
- Hands now has a first executable action receipt spine. `epiphany-core::hands_gateway` owns `HandsActionIntent`, `HandsActionReview`, `HandsPatchReceipt`, `HandsCommandReceipt`, and `HandsCommitReceipt`; runtime-spine can persist/reread them; `runtime_spine_persists_mind_gateway_review_receipts` includes the Hands chain beside Mind/Eyes/Substrate/Soul/Continuity proofs; `epiphany-hands-action-smoke` emits intent/review/patch/command/commit receipt ids from `.epiphany-smoke\runtime-spine\hands-action-smoke.msgpack`; and the repo-action launch proof profile now requires action intent, action review, and patch receipt together. This smoke does not execute commands, edit files, or create real commits. The next live cut is to route real implementation edits/commands/commits through that chain after Substrate Gate grants access.
- `notes/epiphany-swarm-readiness-plan.md` is the current live-fire direction gate. The local runner proves startup/status/coordinator wiring; it does not authorize unattended swarm operation. Carry VoidBot's lessons forward: one CTB-style initiative scheduler, typed pause/brake, active-turn freeze, cooldown after completion, stale active-turn recovery receipts, parent-side speech eligibility, memory lifecycle phases, and typed operation proposals instead of prompt-owned governance.
- `epiphany-openai-runtime` worker result ingress now parses assistant output directly into typed role/reorient ingress structs selected from the durable launch document, stores nested `statePatch` and `selfPatch` as typed MessagePack in `EpiphanyRuntimeRoleWorkerResult`, and no longer passes worker result data through generic `serde_json::Value`. JSON survives there only as the OpenAI text-output edge before typed deserialization.
- Agent self-memory review/application now has typed `AgentSelfPatch` core APIs. JSON-value selfPatch functions are compatibility wrappers for CLI/artifact ingress; native callers should parse once at the edge and then call `review_agent_self_patch_document` / `apply_agent_self_patch_document`. Role-result self-persistence no longer exports a JSON-value reviewer; the live API is `review_role_self_patch_document`.

View file

@ -51,12 +51,15 @@ The first runtime-spine proof chain now exists:
HandsActionIntent
-> HandsActionReview
-> HandsPatchReceipt
-> HandsCommandReceipt
-> HandsCommitReceipt
```
`epiphany-core::hands_gateway` owns the typed document bodies and constructors.
`epiphany-core::runtime_spine` can persist and reread the intent, review, and
patch receipt from the runtime-spine CultCache store. `epiphany-hands-action-smoke`
proves the compact chain without executing shell commands or editing files.
`epiphany-core::runtime_spine` can persist and reread the intent, review, patch,
command, and commit receipts from the runtime-spine CultCache store.
`epiphany-hands-action-smoke` proves the compact chain without executing shell
commands, editing files, or creating a real commit.
The launch organ contract's repo-action proof profile now requires the full
Hands chain, not only the final patch receipt.

View file

@ -149,9 +149,10 @@ verification-shaped state. Reorient acceptance emits a typed
runtime-spine, and enforces Continuity recovery proof before Mind admits
recovery-shaped state. Hands now has a first executable runtime-spine proof
chain for action documents: `HandsActionIntent` -> `HandsActionReview` ->
`HandsPatchReceipt` can be persisted and reread from the runtime store, and
`epiphany-hands-action-smoke` proves the chain without executing a patch. The
repo-action proof profile now requires the full Hands chain before promotion,
`HandsPatchReceipt` plus typed command and commit receipts can be persisted and
reread from the runtime store, and `epiphany-hands-action-smoke` proves the
chain without executing a patch, command, or commit. The repo-action proof
profile now requires the full Hands intent/review/patch chain before promotion,
not only a patch receipt.
Remaining weakness: live implementation edits, commands, commits, and PRs still
do not have to pass through that Hands chain before action promotion, and the
@ -356,9 +357,10 @@ comfort tunnels.
- Landed: Reorient acceptance produces and enforces typed Continuity recovery
receipts before Mind admission.
- Landed: first Hands action receipt spine. `HandsActionIntent`,
`HandsActionReview`, and `HandsPatchReceipt` are typed runtime-spine
documents with put/get helpers and `epiphany-hands-action-smoke` coverage;
the repo-action proof profile requires all three before promotion.
`HandsActionReview`, `HandsPatchReceipt`, `HandsCommandReceipt`, and
`HandsCommitReceipt` are typed runtime-spine documents with put/get helpers
and `epiphany-hands-action-smoke` coverage; the repo-action proof profile
requires intent, review, and patch receipt before promotion.
- Next: connect live implementation edits/commands/commits to the Hands action
chain, or collapse Mind review/state mutation/commit into one storage-owner
admission primitive.

Binary file not shown.

View file

@ -94,7 +94,7 @@ active_subgoals:
- Use `notes/hands-cultnet-contracts.md` as the authority map for Hands' CultNet contract surface. Hands is the action organ: commands, patches, commits, PRs, rollbacks, and refusals enter as bounded action intents and receipts after Substrate Gate grants substrate access and before Soul verification/Mind admission.
- Use `notes/soul-cultnet-contracts.md` as the authority map for Soul's CultNet contract surface. Soul is the verification organ: invariant checks, verdicts, regressions, reviews, and refusals produce receipts before the machine calls work true, safe, or accepted.
- Use `notes/continuity-cultnet-contracts.md` as the authority map for Continuity's CultNet contract surface. Continuity is the continuity protocol surface: compaction checkpoints, sleep distillation, recovery receipts, stale-turn repair, and continuity refusals preserve what survives rupture without pretending transcript residue is durable state.
- Hands now has a first executable runtime-spine receipt artery: `HandsActionIntent`, `HandsActionReview`, and `HandsPatchReceipt` are typed CultCache documents in `epiphany-core::hands_gateway`, runtime-spine registers and persists/rereads them, `epiphany-hands-action-smoke` proves intent -> review -> patch receipt without executing shell commands or editing files, and the repo-action launch proof profile now requires the full Hands chain instead of only the patch receipt. Live implementation edits/commands/commits must still be routed through this Hands path after Substrate Gate and before Soul/Mind acceptance.
- Hands now has a first executable runtime-spine receipt artery: `HandsActionIntent`, `HandsActionReview`, `HandsPatchReceipt`, `HandsCommandReceipt`, and `HandsCommitReceipt` are typed CultCache documents in `epiphany-core::hands_gateway`, runtime-spine registers and persists/rereads them, `epiphany-hands-action-smoke` proves the chain without executing shell commands, editing files, or creating a real commit, and the repo-action launch proof profile now requires the full Hands intent/review/patch chain instead of only the patch receipt. Live implementation edits/commands/commits must still be routed through this Hands path after Substrate Gate and before Soul/Mind acceptance.
- Preserve the newborn public Epiphany Face as local VoidBot-backed state, not source code: VoidBot's private repo-face registry names `epiphany`, while EpiphanyAgent keeps ignored `.voidbot/voice/identity.json`, `.voidbot/state/epiphany.cc`, and birth artifacts. Her durable identity memories distill the current doctrine: cute pushy machine-saint persona, architectural purity, CultCache/CultNet first, xenos-language safety boundary, relentless work/caretaking needs, Codex-auth reliquary, map/scratch/evidence discipline, unified memory graph, dogfood supervision boundary, review-gated agency, heartbeat physiology, and interview-grade modularity.
- Use `notes/organ-dependency-contracts.md` as the authority map for standing sub-agent dependency. Every sub-agent depends on the other standing sub-agents: Self, Face, Imagination, Eyes, Proprioception, Hands, and Soul. Continuity is protocol machinery, not a sub-agent identity; it still emits recovery, compaction, sleep, stale-turn, and refusal receipts.
- Use `notes/perfect-machine-audit-roadmap.md` as the current audit and path from named organ contracts to the Perfect Machine. It records the live gap between launch-carried receipt expectations and executable receipt enforcement, Void's latest Face prompting lessons, the now-named Hands/Soul/Continuity contract families, the repaired repo-contained Rust dependency body, and the phase order for turning Epiphany into an inspectable organism.