Narrow RepoModel to repository semantics

This commit is contained in:
Meta Vens 2026-08-23 15:03:12 +02:00
commit 6ea4ff3cab
14 changed files with 9 additions and 234 deletions

View file

@ -586,7 +586,6 @@ mod tests {
use epiphany_state_model::EpiphanyMemoryLifecycle;
use epiphany_state_model::EpiphanyMemoryNode;
use epiphany_state_model::EpiphanyMemoryNodeKind;
use epiphany_state_model::EpiphanyMemoryProfile;
use epiphany_state_model::RepoFrontierAdoptedPlan;
use epiphany_state_model::RepoFrontierItem;
use epiphany_state_model::RepoFrontierStatus;
@ -737,7 +736,6 @@ mod tests {
let body = observe_runtime_repository_body_basis(store)?;
let domain = EpiphanyMemoryDomain {
id: "hands-action-domain".into(),
profile: EpiphanyMemoryProfile::RepoArchitecture,
title: "Hands action fixture".into(),
lifecycle: EpiphanyMemoryLifecycle::Accepted,
..Default::default()
@ -745,7 +743,6 @@ mod tests {
let node = EpiphanyMemoryNode {
id: "hands-action-node".into(),
domain_id: domain.id.clone(),
profile: EpiphanyMemoryProfile::RepoArchitecture,
kind: EpiphanyMemoryNodeKind::Module,
title: "Hands action CLI".into(),
claim: "Hands consequences require exact frontier authority.".into(),

View file

@ -2,7 +2,7 @@ use anyhow::{Result, bail};
use chrono::Utc;
use epiphany_core::{
EpiphanyMemoryAnchor, EpiphanyMemoryDomain, EpiphanyMemoryLifecycle, EpiphanyMemoryNode,
EpiphanyMemoryNodeKind, EpiphanyMemoryProfile, EpiphanyRepoModelSeed,
EpiphanyMemoryNodeKind, EpiphanyRepoModelSeed,
EpiphanyRepoModelSeedDocuments, ObserveOutcome, RuntimeSpineInitOptions,
admit_repository_body_observation, bind_repository_body, bind_runtime_to_swarm,
initialize_keyed_repo_model, initialize_runtime_spine,
@ -47,7 +47,6 @@ fn main() -> Result<()> {
EpiphanyRepoModelSeedDocuments {
domains: vec![EpiphanyMemoryDomain {
id: "repository-body".to_string(),
profile: EpiphanyMemoryProfile::RepoArchitecture,
title: "Deployed repository Body".to_string(),
description: Some(
"Cold-start substrate binding; live Modeling owns architectural expansion."
@ -58,7 +57,6 @@ fn main() -> Result<()> {
nodes: vec![EpiphanyMemoryNode {
id: "claim-deployed-repository-body".to_string(),
domain_id: "repository-body".to_string(),
profile: EpiphanyMemoryProfile::RepoArchitecture,
kind: EpiphanyMemoryNodeKind::RuntimeContract,
title: "Runtime is bound to the deployed repository Body".to_string(),
claim: format!(