Make native status the default

This commit is contained in:
Meta Vens 2026-07-12 00:41:05 +01:00
commit 3ff0eb92f2
6 changed files with 31 additions and 9 deletions

View file

@ -41,7 +41,7 @@ pub fn epiphany_role_binding_id(role_id: EpiphanyRoleResultRoleId) -> Result<&'s
.to_string(),
),
EpiphanyRoleResultRoleId::Reorientation => Err(
"reorientation uses thread/epiphany/reorientLaunch and thread/epiphany/reorientResult"
"reorientation uses epiphany.coordinator.reorient.launch and epiphany.coordinator.reorient.result.read"
.to_string(),
),
}
@ -208,7 +208,7 @@ pub fn epiphany_role_launch_output_schema(role_id: EpiphanyRoleResultRoleId) ->
"statePatch".to_string(),
serde_json::json!({
"type": "object",
"description": "Required reviewable thread/epiphany/update patch for Imagination. Use only planning plus optional observations/evidence. planning is a full replacement object and must include at least one objective_drafts entry with status draft.",
"description": "Required reviewable statePatch for Mind admission from Imagination. Use only planning plus optional observations/evidence. planning is a full replacement object and must include at least one objective_drafts entry with status draft.",
"required": ["planning"],
"properties": {
"planning": {
@ -245,7 +245,7 @@ pub fn epiphany_role_launch_output_schema(role_id: EpiphanyRoleResultRoleId) ->
"statePatch".to_string(),
serde_json::json!({
"type": "object",
"description": "Required reviewable thread/epiphany/update patch for research/Eyes. Use only observations, evidence, scratch, and optional investigationCheckpoint. The patch must include at least one evidence record and one observation that cites it.",
"description": "Required reviewable statePatch for Mind admission from research/Eyes. Use only observations, evidence, scratch, and optional investigationCheckpoint. The patch must include at least one evidence record and one observation that cites it.",
"required": ["observations", "evidence"],
"properties": {
"observations": {
@ -282,7 +282,7 @@ pub fn epiphany_role_launch_output_schema(role_id: EpiphanyRoleResultRoleId) ->
"statePatch".to_string(),
serde_json::json!({
"type": "object",
"description": "Required reviewable thread/epiphany/update patch for modeling. Use only graphs, graphFrontier, graphCheckpoint, scratch, investigationCheckpoint, observations, and evidence. The patch must include at least one durable modeling field, not observations/evidence alone.",
"description": "Required reviewable statePatch for Mind admission from Modeling. Use only graphs, graphFrontier, graphCheckpoint, scratch, investigationCheckpoint, observations, and evidence. The patch must include at least one durable modeling field, not observations/evidence alone.",
"anyOf": [
{"required": ["graphs"]},
{"required": ["graphFrontier"]},
@ -755,6 +755,15 @@ fn epiphany_active_graph_node_ids(state: Option<&EpiphanyThreadState>) -> Vec<St
mod tests {
use super::*;
#[test]
fn live_worker_contracts_contain_no_codex_route_vocabulary() {
let source = include_str!("agent_launch.rs");
let production = source.split("#[cfg(test)]").next().unwrap_or(source);
assert!(!production.contains("thread/epiphany/"));
assert!(production.contains("epiphany.coordinator.reorient.launch"));
assert!(production.contains("statePatch for Mind admission"));
}
#[test]
fn bundled_epiphany_agent_prompts_do_not_name_codex_as_prompt_authority() {
let prompts = epiphany_specialist_prompt_config();

View file

@ -138,7 +138,7 @@ impl Args {
let root = env::current_dir().context("failed to resolve current directory")?;
let mut args = env::args().skip(1);
let mut parsed = Args {
source: StatusSource::Codex,
source: StatusSource::Native,
app_server: PathBuf::from(DEFAULT_APP_SERVER),
codex_home: env::var_os("CODEX_HOME")
.map(PathBuf::from)

View file

@ -1874,9 +1874,13 @@ requires codex-app-server; live proof at
pressure, Hands gate, and real historical commit receipt checks with telemetry
`appServerCalls=0`. Role-board `authorityScopes` now use typed native capability
identifiers, and rendered native status proves no `thread/epiphany/*` authority
survives there. The next pass should classify remaining route vocabulary across
live prompts/Eve/CLI/CultNet surfaces versus compatibility tests and historical
documentation before deleting it; do not flatten provenance into a blind grep.
survives there. The route-vocabulary audit is complete: active worker contracts
now name typed coordinator capabilities and Mind-admitted `statePatch` cargo;
status defaults to native; remaining Rust occurrences are explicit `--codex`
compatibility, phase-6 app-server contract smokes, negative tests, or a
historical-input fixture. The next live CLI fault is `--interrupt-binding`,
which still refuses native source and must route through the native coordinator
service before Codex interruption is demoted to explicit compatibility only.
## Immediate Re-entry Instruction

View file

@ -258,3 +258,12 @@ Role-board `authorityScopes` now publish typed capability identifiers such as
`epiphany.coordinator.role.launch`, `epiphany.coordinator.role.accept`, and
`epiphany.coordinator.reorient.result.read`. Source proof rejects slash-shaped
authority, and rendered native status contains no `thread/epiphany/*` scopes.
The remaining source vocabulary is classified. Active worker launch contracts
now describe typed coordinator capabilities and Mind-admitted `statePatch`
cargo. `epiphany-mvp-status` defaults to native state; its route calls exist only
behind explicit `--codex` compatibility. `epiphany-phase6-*-smoke` binaries are
compatibility contract probes, coordinator source occurrences are negative
tests, and the distillation occurrence is a historical-input test fixture. The
live status gap is interruption: `--interrupt-binding` still requires the
explicit Codex source instead of a native coordinator operation.

Binary file not shown.

View file

@ -659,4 +659,4 @@ current_status:
- Service lifecycle receipt history is now event-only: `load_epiphany_cultmesh_daemon_service_lifecycle_receipts` filters out the `epiphany-local/daemon-service-lifecycle-receipt/latest` mirror, while `load_latest_epiphany_cultmesh_daemon_service_lifecycle_receipt` remains the latest-state reader. Focused unit test `service_lifecycle_receipt_history_excludes_latest_mirror` proves two per-receipt writes return exactly two history records and latest points at the second. Fresh smoke `verse-query-lifecycle-history-filter-smoke` and live overview/triage `local-20260618-145632-497-efac6f0d` / `local-20260618-145632-321-867947af` prove compact swarm sights still expose service lifecycle attention plus the present elevated runbook artifact without daemon pokes or service mutation. Do not use a broad unscoped cargo test filter for this check on Windows; it fans out across bin harnesses and hit a broken pipe during this pass.
- `epiphany-verse-query seed-compact` is the compact seed receipt for wrappers and read-only rites. The older `seed` command still prints the full local Verse context for explicit debugging, but compact wrapper modes now avoid full `seed`/final `query` readback after the combined overview proof exposed Windows debug stack overflow from full-context serialization pressure.
last_completed_repo_swarm_cut: Huginn live-fire has crossed the first real repo Body from Persona pressure to branch-local Hands commit and Soul/Mind closure, and now has repeatable closure and redacted-public-proof mouths. On `E:\Projects\Huginn` branch `epiphany/huginn/first-awakening`, `tools/epiphany_local_run.ps1 -Mode repo-persona-intake` accepted item `huginn-inspection-readback-livefire`, Weksa/Persona intake remained sealed, and `epiphany-work derive-plan` lowered it to model-authored safe family `repo.status_section` for `README.md` only. `tools/epiphany_local_run.ps1 -Mode repo-swarm-run` advanced four bounded pulses: run-from-plan, adopt-from-plan, execute-from-plan, and close-from-execute. Huginn commit `e9b07c38fceabbdc89ea35c2156326c80c0393a2` updated only `README.md`; closure receipt `.epiphany\work\work-close-huginn-inspection-readback-livefire.json` records status `closed`, Soul verdict `passed`, Mind state commit `repo-work-close-huginn-inspection-readback-livefire-mind-commit`, safe family `repo.status_section`, path scope `README.md`, Bifrost publication gate, and `privateStateExposed=false`. Verification also ran Huginn's TypeScript compiler through concrete Node path: `C:\Program Files\nodejs\node.exe E:\Projects\Huginn\node_modules\typescript\bin\tsc -p tsconfig.json` passed. Native verifier `epiphany-repo-livefire-closure-smoke --workspace E:\Projects\Huginn --item huginn-inspection-readback-livefire --expected-path README.md --expected-family repo.status_section --expected-gate awaiting-publication --expected-blocker bifrost-publication-missing` checks closure receipt, Mind map entry, overview gate/blocker, authority seals, and `git show` changed paths, returning `status=ok`, `soulVerdict=passed`, `publicationGate=Bifrost`, and `privateStateExposed=false`. Wrapper `tools/epiphany_local_run.ps1 -Mode repo-livefire-closure -Workspace E:\Projects\Huginn -RepoWorkItem huginn-inspection-readback-livefire -SkipBuild` exposes the same read-only proof through the local operator mouth; artifact `local-20260621-190156-803-2f85ba15` printed commit, path, gate, blocker, Soul verdict, Mind commit receipt, and `privateStateExposed=False` without push, merge, publication, or target mutation. New wrapper `tools/epiphany_local_run.ps1 -Mode repo-work-public-proof -Workspace E:\Projects\Huginn -RepoWorkItem huginn-inspection-readback-livefire -SkipBuild` exports the redacted proof bundle and repo-local Verse index without publishing; artifact `local-20260621-190645-345-4555b1dc` wrote `.epiphany\public\proof-bundles\repo-work-public-proof-huginn-inspection-readback-livefire.json`, proof id `repo-work-public-proof-huginn-inspection-readback-livefire`, SHA-256 `857545b199f3e37eb06c2e757e5cfc201958e46667bb1f8403fd333a22620f63`, nine artifact rows, zero publication rows, and `privateStateExposed=False`. Gjallar readback `local-20260621-190701-140-b9519ec6` sees the `REPO-WORK-PUBLIC-PROOF` row and action row from Huginn's repo-local Verse with the same SHA-256 while Bifrost publication remains missing. Launcher compact modes are now named compact operator-context modes instead of read-only modes, and `bifrost-public-proof` summaries print item, target public Verse, room, proof SHA-256, review receipts, and credit receipts so publication receipts are auditable without claiming upstream sync.
next_action: Audit remaining live product surfaces for Codex-era route vocabulary and host authority after coordinator liberation. Role-board/status authority scopes are now typed native capability identifiers; distinguish compatibility-only tests/docs from active prompt, Eve, CLI, and CultNet surfaces before cutting the next owner.
next_action: Implement native `epiphany-mvp-status --interrupt-binding` over `EpiphanyCoordinatorService`, then keep `--codex` interruption as explicit compatibility only. Route vocabulary is absent from active worker contracts and native role/status projections; remaining source occurrences are classified compatibility probes, negative tests, or historical fixtures.