Add Epiphany map proposal surface
This commit is contained in:
parent
cecf0c676c
commit
7eb449b0a9
13 changed files with 701 additions and 27 deletions
|
|
@ -99,3 +99,5 @@
|
|||
{"ts": "2026-04-24T19:48:44+00:00", "type": "documentation", "status": "ok", "note": "Source-grounded pass over notes/epiphany-current-algorithmic-map.md. Re-read protocol state, session resume/prompt/persistence, app-server thread hydration and Epiphany RPC handlers, CodexThread update/retrieval host methods, and epiphany-core prompt/rollout/retrieval/distillation/promotion code. Updated the map to include the runtime anti-Jenga operating-discipline prompt section, removed the stale no-update-surface invariant, refreshed moved code anchors, corrected the handoff's outdated Phase 3 no-update-RPC note, and mechanically checked 98 local map links with line anchors."}
|
||||
{"ts": "2026-04-24T21:02:31+01:00", "type": "documentation", "status": "ok", "note": "Corrected persisted phase memory after rechecking the harness roadmap and evidence log. Phase 4 is the landed retrieval/indexing/core-extraction baseline; Phase 5 is the current semantic distillation/promotion/proposal phase. Updated AGENTS.md, state/map.yaml, state/scratch.md, notes/fresh-workspace-handoff.md, and notes/epiphany-fork-implementation-plan.md so rehydrate/status no longer imply the current work is still a Phase 4 tail or a Qdrant live-smoke follow-up."}
|
||||
{"ts": "2026-04-24T21:10:00+01:00", "type": "decision", "status": "ok", "note": "Kept AGENTS.md as durable operating/bootstrap policy rather than volatile status memory. Current phase, next action, and handoff details belong in state/map.yaml, state/evidence.jsonl, and notes/fresh-workspace-handoff.md; AGENTS.md should only point agents to those canonical stores and state stable discipline."}
|
||||
{"ts": "2026-04-25T02:09:29+01:00", "type": "implementation", "status": "ok", "note": "Landed the first read-only Phase 5 map/churn proposal slice in the working tree. Added epiphany-core/src/proposal.rs with deterministic propose_map_update, thin codex-core re-export, experimental loaded-thread-only thread/epiphany/propose protocol DTOs/routing/handler, and app-server mapping that returns a ThreadEpiphanyUpdatePatch with proposal observation/evidence, graph/frontier replacement, and churn replacement without mutating state."}
|
||||
{"ts": "2026-04-25T02:09:30+01:00", "type": "verification", "status": "ok", "note": "Verified thread/epiphany/propose with cargo fmt, epiphany-core proposal tests including promotion-policy compatibility, codex-core compile via CARGO_TARGET_DIR, codex-app-server-protocol thread_epiphany_ tests, codex-app-server epiphany tests, stable schema fixture regeneration, full codex-app-server-protocol tests, codex-app-server build, and two live app-server stdio smokes. First smoke proved propose returns graph/churn patch at expectedRevision 1 and thread/read remains revision 1 with no persisted churn; second smoke proved distill -> update -> propose -> promote accepts verifier evidence and persists graph/churn at revision 2."}
|
||||
|
|
|
|||
|
|
@ -46,10 +46,10 @@ data_flow:
|
|||
- commit or backtrack
|
||||
|
||||
active_subgoals:
|
||||
- Keep the Phase 5 semantic distillation/promotion/proposal work aligned with reality in code and repo memory.
|
||||
- Keep the Phase 5 distill/propose/promote/update work aligned with reality in code and repo memory.
|
||||
- Keep vendored Codex as a thin typed host seam while Epiphany-owned prompt and retrieval/indexing logic live in the repo-owned `epiphany-core` crate.
|
||||
- Preserve exact/path lookup and BM25 fallback while the Qdrant path stays explicit and bounded.
|
||||
- Build the next layer above the landed typed distill/promote/update paths: richer observation-to-map proposal machinery while keeping verifier-backed acceptance/rejection explicit.
|
||||
- Harden the next layer above the landed typed distill/propose/promote/update paths: richer evidence-to-map proposal quality while keeping verifier-backed acceptance/rejection explicit.
|
||||
|
||||
accepted_design:
|
||||
- external typed state files
|
||||
|
|
@ -113,5 +113,5 @@ rejected_paths:
|
|||
reason: audited candidates were either terminal-only, stale/aspirational, or incoherent wrappers; the comparison clones were removed from vendor to avoid building on untrusted drift
|
||||
|
||||
current_status:
|
||||
summary: Workspace initialized with protocol files, typed state, handoff notes, architecture maps, and a rolling implementation plan against vendored Codex. Phase 1 durable state, Phase 2 prompt integration, the minimal Phase 3 typed read surface, and Phase 4 retrieval/indexing/core-extraction are landed on `main`. Phase 5 semantic distillation and promotion is now active: the current baseline includes explicit Qdrant indexing with BM25 fallback, typed `thread/epiphany/update`, read-only `thread/epiphany/distill`, verifier-backed `thread/epiphany/promote`, structural map/churn promotion validation in `epiphany-core`, and thin vendored Codex host seams. The Windows app-server stack-pressure regression was narrowed to test-thread stack size; repo-local Cargo config sets `RUST_MIN_STACK=67108864`, and boxed-future request-dispatch experiments were removed after config-only verification passed. The repo also has source-available/commercial licensing plus a CLA gate for external contributions.
|
||||
next_action: Continue Phase 5 by building the next bounded layer above `thread/epiphany/distill`, `thread/epiphany/promote`, and `thread/epiphany/update`: richer observation-to-map/churn proposal machinery from verified observations, while keeping retrieval and distillation read-only and avoiding watcher, GUI, or specialist-agent machinery.
|
||||
summary: Workspace initialized with protocol files, typed state, handoff notes, architecture maps, and a rolling implementation plan against vendored Codex. Phase 1 durable state, Phase 2 prompt integration, the minimal Phase 3 typed read surface, and Phase 4 retrieval/indexing/core-extraction are landed on `main`. Phase 5 semantic distillation/promotion/proposal is now active: the current baseline includes explicit Qdrant indexing with BM25 fallback, typed `thread/epiphany/update`, read-only `thread/epiphany/distill`, read-only `thread/epiphany/propose`, verifier-backed `thread/epiphany/promote`, structural map/churn promotion validation in `epiphany-core`, and thin vendored Codex host seams. The Windows app-server stack-pressure regression was narrowed to test-thread stack size; repo-local Cargo config sets `RUST_MIN_STACK=67108864`, and boxed-future request-dispatch experiments were removed after config-only verification passed. The repo also has source-available/commercial licensing plus a CLA gate for external contributions.
|
||||
next_action: Continue Phase 5 by hardening the layer above `thread/epiphany/distill`, `thread/epiphany/propose`, `thread/epiphany/promote`, and `thread/epiphany/update`: richer evidence-to-map proposal quality from verified observations and tool/model outputs, while keeping retrieval/distillation/proposal read-only and avoiding watcher, GUI, or specialist-agent machinery.
|
||||
|
|
|
|||
|
|
@ -4,11 +4,17 @@ This file is intentionally disposable.
|
|||
|
||||
## Current Subgoal
|
||||
|
||||
- Continue Phase 5 by moving from structural map/churn promotion validation toward richer observation-to-map/churn proposal machinery without hidden writes.
|
||||
- Continue Phase 5 by hardening the landed read-only map/churn proposal machinery without hidden writes.
|
||||
|
||||
## Working Notes
|
||||
|
||||
- Phase 4 is landed retrieval/indexing/core-extraction. Phase 5 is the current semantic distillation/promotion/proposal phase.
|
||||
- First read-only `thread/epiphany/propose` slice is landed in the working tree:
|
||||
- `epiphany-core/src/proposal.rs` owns deterministic `propose_map_update`
|
||||
- selected observations must already exist in thread state, have accepting status, and carry code refs
|
||||
- proposal appends/focuses architecture graph nodes for observed code-ref paths, merges frontier focus, emits proposal observation/evidence, and marks churn `proposal_ready`
|
||||
- app-server exposes experimental loaded-thread-only `thread/epiphany/propose`
|
||||
- live stdio smoke proved propose is read-only, and propose -> promote persists graph/churn only after verifier evidence
|
||||
- The Phase 4 retrieval/indexing/core-extraction anchor is `80c29e0` on `main`. The older `360dfea` commit is only the first hybrid retrieval anchor, and later `main` also includes the typed update/distill/promote surfaces, promotion safety layer, and app-server stack-pressure fix.
|
||||
- The extraction boundary is now the important truth:
|
||||
- `epiphany-core/src/retrieval.rs` owns the heavy hybrid retrieval/indexing engine
|
||||
|
|
|
|||
Reference in a new issue