Formalize Epiphany planning substrate
This commit is contained in:
parent
5b36d72f2c
commit
71126e0d1f
5 changed files with 454 additions and 2 deletions
|
|
@ -275,6 +275,22 @@ EpiphanyGraph React viewer is the preferred seed for GUI graph diagramming
|
|||
because it consumes typed `graphs.architecture`, `graphs.dataflow`, and
|
||||
`graphs.links` directly.
|
||||
|
||||
The detailed planning substrate now lives in
|
||||
`notes/epiphany-planning-substrate.md`. Its cut is deliberately separate from
|
||||
the active objective: chat produces captures, captures normalize into backlog
|
||||
items, backlog items group into roadmap streams, selected work becomes
|
||||
Objective Drafts, and only explicit human adoption turns a draft into
|
||||
`objective.current`. The plan anticipates GitHub Issues import by treating
|
||||
issues as source records that land in captures first, preserving labels,
|
||||
milestones, assignees, state, timestamps, comments, PR markers, and optional
|
||||
Projects v2 metadata without letting GitHub become Epiphany's internal backlog
|
||||
schema.
|
||||
|
||||
The planning/future-shape role is **Imagination**. It works beside Eyes: Eyes
|
||||
scouts outside reality and existing work, while Imagination shapes captures,
|
||||
backlog, roadmap streams, and Objective Drafts ahead of the active run. That
|
||||
work remains non-authoritative until the human explicitly adopts an objective.
|
||||
|
||||
## Phase 6 Direction
|
||||
|
||||
Phase 6 should grow observable harness state outward from the typed spine.
|
||||
|
|
@ -371,6 +387,7 @@ These remain later work:
|
|||
- broader CRRC runtime coordination beyond the landed narrow safe-boundary compact, fixed reorient-worker launch, and pre-compaction checkpoint steering actions
|
||||
- richer editor/runtime bridges beyond the first pinned Unity bridge
|
||||
- richer GUI workflows for graph, evidence, job, invariant, and frontier steering after the operator console proves useful
|
||||
- workspace-scoped planning substrate APIs and GUI Planning view, including conversation captures, backlog, roadmap streams, Objective Drafts, explicit objective adoption, the Imagination planning role surface, and read-only GitHub Issues import into captures
|
||||
- typed repetitive-work queues and final-answer gates, so the coordinator and GUI can see unfinished batch work before conversational closure pretends it is done
|
||||
- stronger coordinator challenge loops for implementation claims, including objective-progress checks and explicit shortcut/embellishment rejection before another implementation turn is treated as successful
|
||||
|
||||
|
|
|
|||
426
notes/epiphany-planning-substrate.md
Normal file
426
notes/epiphany-planning-substrate.md
Normal file
|
|
@ -0,0 +1,426 @@
|
|||
# Epiphany Planning Substrate
|
||||
|
||||
This note formalizes the long-horizon planning layer Epiphany needs around the
|
||||
active objective.
|
||||
|
||||
The active objective is the run contract. It should be narrow, adopted, and
|
||||
ready for coordinator routing. Everything else belongs in a planning substrate:
|
||||
ideas, irritants, dreams, architectural debt, GitHub Issues, roadmap themes,
|
||||
research questions, and "maybe we should..." conversation residue that should
|
||||
not vanish into transcript fog or instantly become marching orders.
|
||||
|
||||
## Doctrine
|
||||
|
||||
- Conversation is not an objective.
|
||||
- A backlog item is not an objective.
|
||||
- A roadmap theme is not an objective.
|
||||
- An objective draft is not active until the human adopts it.
|
||||
- The Coordinator routes the current machine; it does not own the long horizon.
|
||||
- Imagination owns future shape; Eyes owns external reality. They may work ahead
|
||||
while the current run continues, but neither one grants execution authority.
|
||||
- Planning state must be queryable, attributable, prunable, and reviewable.
|
||||
- Imported issue trackers are sources, not sources of truth.
|
||||
|
||||
The operating metaphor is simple:
|
||||
|
||||
```text
|
||||
Conversation is weather.
|
||||
The planning substrate is climate.
|
||||
The active objective is today's flight plan.
|
||||
```
|
||||
|
||||
The Self can discuss the weather. Imagination keeps the climate map. The
|
||||
Coordinator flies only the adopted plan.
|
||||
|
||||
## Product Surfaces
|
||||
|
||||
### Conversation
|
||||
|
||||
The chat surface is the human-facing Self. It discusses, challenges, asks
|
||||
clarifying questions, and identifies possible work, but it does not silently
|
||||
mutate `objective.current`.
|
||||
|
||||
Low-confidence language such as "maybe", "I wonder", "should we", or "it might
|
||||
be worth" should create discussion or a candidate capture, not implementation.
|
||||
|
||||
### Imagination
|
||||
|
||||
Imagination is the planning/future-shape role. It cultivates the material that
|
||||
is not ready to become the active objective yet:
|
||||
|
||||
- captures from conversation, issues, docs, and dogfood
|
||||
- backlog normalization, dedupe, split, merge, and parking
|
||||
- roadmap streams and sequencing arguments
|
||||
- objective draft proposals with scope, evidence, risks, and review gates
|
||||
- unresolved planning questions that need human judgment
|
||||
|
||||
Imagination should be able to run while Hands, Body, Soul, Life, and Self are
|
||||
busy with the current objective. That parallel work is useful precisely because
|
||||
it stays non-authoritative: it can propose backlog changes, roadmap shape, and
|
||||
objective drafts, but it cannot mutate `objective.current`, launch
|
||||
implementation, or smuggle future dreams into the current run.
|
||||
|
||||
Eyes and Imagination should cooperate closely. Eyes brings in outside reality:
|
||||
existing libraries, papers, vendor guidance, GitHub issue history, repo
|
||||
precedent, and similar projects. Imagination turns those findings into product
|
||||
shape without pretending that a pretty plan is evidence.
|
||||
|
||||
### Inbox
|
||||
|
||||
The Inbox is raw captured planning material:
|
||||
|
||||
- user ideas from chat
|
||||
- complaints and papercuts
|
||||
- dreams and distant product instincts
|
||||
- bugs or failures noticed during dogfood
|
||||
- imported GitHub Issues
|
||||
- TODOs found in repo docs
|
||||
- specialist recommendations that are not part of the current objective
|
||||
|
||||
Inbox items can be messy. They must preserve source attribution.
|
||||
|
||||
### Backlog
|
||||
|
||||
The Backlog is normalized work:
|
||||
|
||||
- typed
|
||||
- deduplicated where possible
|
||||
- given a scope and product area
|
||||
- prioritized with explicit rationale
|
||||
- linked to dependencies, blockers, and evidence
|
||||
- mapped to possible lanes
|
||||
|
||||
Backlog items should be stable enough to survive rehydration and filtering.
|
||||
|
||||
### Roadmap
|
||||
|
||||
The Roadmap groups backlog items into coherent workstreams. It answers "what
|
||||
organs are we growing and why?" rather than "what is the current run doing?"
|
||||
|
||||
Roadmap streams for the current Epiphany project should start with:
|
||||
|
||||
- GUI operator surface
|
||||
- planning substrate and objective adoption
|
||||
- coordinator and specialist lanes
|
||||
- graph and typed state
|
||||
- Rider bridge
|
||||
- Unity bridge
|
||||
- prompts and doctrine
|
||||
- dogfood and audit artifacts
|
||||
- safety and authority boundaries
|
||||
|
||||
### Objective Draft
|
||||
|
||||
An Objective Draft is a proposed run contract. It has enough shape for the user
|
||||
to say yes, no, split it, or revise it.
|
||||
|
||||
Required shape:
|
||||
|
||||
```yaml
|
||||
id: objdraft-...
|
||||
title: Build the planning substrate MVP
|
||||
summary: >
|
||||
One bounded paragraph describing the intended product outcome.
|
||||
source_item_ids:
|
||||
- backlog-...
|
||||
scope:
|
||||
includes:
|
||||
- concrete thing in scope
|
||||
excludes:
|
||||
- tempting thing out of scope
|
||||
acceptance_criteria:
|
||||
- observable done condition
|
||||
evidence_required:
|
||||
- artifact, test, screenshot, smoke, or reviewed finding
|
||||
lane_plan:
|
||||
imagination: planning synthesis and objective-shape rationale
|
||||
eyes: optional research needed
|
||||
body: model/map updates needed
|
||||
hands: implementation surfaces likely touched
|
||||
soul: verification gates
|
||||
life: continuity risks
|
||||
dependencies:
|
||||
- backlog-...
|
||||
risks:
|
||||
- risk and mitigation
|
||||
review_gates:
|
||||
- human adoption required before becoming active
|
||||
status: draft
|
||||
```
|
||||
|
||||
### Active Objective
|
||||
|
||||
Only explicit human acceptance promotes an Objective Draft into the active
|
||||
objective. Acceptable triggers are direct commands such as "Adopt this
|
||||
objective", "Proceed with this objective", or a GUI **Adopt Objective** action.
|
||||
|
||||
Promotion should produce an audit record linking:
|
||||
|
||||
- source conversation or imported issue
|
||||
- accepted objective draft
|
||||
- resulting `objective.current`
|
||||
- active subgoal ids
|
||||
- acceptance criteria
|
||||
- reviewer/user identity when available
|
||||
|
||||
## Data Shapes
|
||||
|
||||
These are product-level shapes. Rust protocol should treat them as a design
|
||||
target, not a copy-paste assignment.
|
||||
|
||||
### Planning Capture
|
||||
|
||||
```yaml
|
||||
id: capture-...
|
||||
source:
|
||||
kind: chat | github_issue | repo_doc | dogfood_artifact | specialist_finding
|
||||
uri: optional stable source uri
|
||||
imported_at: 2026-05-01T00:00:00Z
|
||||
external_id: optional provider id
|
||||
title: Raw captured title
|
||||
body: Raw or lightly summarized content
|
||||
speaker: optional human/agent/source handle
|
||||
confidence: low | medium | high
|
||||
tags: []
|
||||
status: new | triaged | rejected | merged | promoted
|
||||
```
|
||||
|
||||
### Backlog Item
|
||||
|
||||
```yaml
|
||||
id: backlog-...
|
||||
title: Human-readable work item
|
||||
kind: feature | bug | papercut | architecture | research | debt | dogfood | dream | chore
|
||||
summary: One compact paragraph
|
||||
status: inbox | ready | blocked | active | done | rejected | parked
|
||||
horizon: now | next | soon | later | dream
|
||||
priority:
|
||||
value: p0 | p1 | p2 | p3 | p4
|
||||
rationale: Why this rank is true right now
|
||||
confidence: low | medium | high
|
||||
product_area: gui | coordinator | state | graph | rider | unity | prompts | dogfood | safety | infra
|
||||
lane_hints:
|
||||
- imagination
|
||||
- eyes
|
||||
- body
|
||||
- hands
|
||||
- soul
|
||||
dependencies: []
|
||||
blockers: []
|
||||
acceptance_sketch: []
|
||||
evidence_refs: []
|
||||
source_refs: []
|
||||
duplicate_of: optional backlog id
|
||||
updated_at: 2026-05-01T00:00:00Z
|
||||
```
|
||||
|
||||
### Roadmap Stream
|
||||
|
||||
```yaml
|
||||
id: stream-gui
|
||||
title: GUI Operator Surface
|
||||
purpose: Why this stream exists
|
||||
status: active | paused | later | complete
|
||||
item_ids: []
|
||||
near_term_focus: optional backlog id
|
||||
blocked_by: []
|
||||
review_cadence: ad_hoc | weekly | milestone
|
||||
```
|
||||
|
||||
### Prioritization Record
|
||||
|
||||
Priority should be explainable, not a fake-precise spreadsheet ritual.
|
||||
|
||||
```yaml
|
||||
impact: low | medium | high | critical
|
||||
urgency: low | medium | high | critical
|
||||
confidence: low | medium | high
|
||||
effort: small | medium | large | unknown
|
||||
unblocks:
|
||||
- backlog id
|
||||
blocks:
|
||||
- backlog id
|
||||
reason: >
|
||||
The one-paragraph argument for the current priority.
|
||||
```
|
||||
|
||||
Imagination may compute a suggested rank, but the UI must show the rationale
|
||||
and let the human revise it.
|
||||
|
||||
## GitHub Issues Import
|
||||
|
||||
GitHub Issues are a likely source of backlog material. They should import into
|
||||
captures first, then normalize into backlog items after review or explicit
|
||||
triage.
|
||||
|
||||
Use GitHub as an adapter, not as the internal model.
|
||||
|
||||
Imagination can normalize imported issues into backlog shape. Eyes should be
|
||||
available when an issue points at outside tools, libraries, incidents, prior
|
||||
art, or research that needs a scout pass before the backlog item is trusted.
|
||||
|
||||
The import should preserve:
|
||||
|
||||
- repository full name
|
||||
- issue number
|
||||
- issue node id / database id when available
|
||||
- html url
|
||||
- title
|
||||
- body
|
||||
- state and state reason when available
|
||||
- labels
|
||||
- milestone
|
||||
- assignees
|
||||
- author
|
||||
- comment count and optional comments
|
||||
- created, updated, and closed timestamps
|
||||
- `pull_request` marker so PRs are not mistaken for ordinary issues
|
||||
- project item metadata when available
|
||||
|
||||
REST is enough for repository issue metadata, labels, assignees, milestones, and
|
||||
comments. GitHub's REST Issues API treats pull requests as issues too, so the
|
||||
adapter must explicitly detect and filter or classify PR-backed issues. GraphQL
|
||||
is useful when Projects v2 fields or richer `projectItems` data matter.
|
||||
|
||||
Official references:
|
||||
|
||||
- [GitHub REST Issues API](https://docs.github.com/en/rest/issues/issues)
|
||||
- [GitHub GraphQL object reference](https://docs.github.com/en/graphql/reference/objects)
|
||||
|
||||
### Imported Source Reference
|
||||
|
||||
```yaml
|
||||
source:
|
||||
kind: github_issue
|
||||
provider: github
|
||||
repo: GameCult/Epiphany
|
||||
issue_number: 123
|
||||
node_id: I_kw...
|
||||
database_id: 123456789
|
||||
url: https://github.com/GameCult/Epiphany/issues/123
|
||||
state: open
|
||||
labels:
|
||||
- bug
|
||||
- gui
|
||||
milestone: MVP
|
||||
assignees:
|
||||
- Meta
|
||||
author: Meta
|
||||
created_at: 2026-05-01T00:00:00Z
|
||||
updated_at: 2026-05-01T00:00:00Z
|
||||
closed_at: null
|
||||
is_pull_request: false
|
||||
imported_at: 2026-05-01T00:00:00Z
|
||||
```
|
||||
|
||||
### Import Semantics
|
||||
|
||||
Initial import should be read-only with respect to GitHub.
|
||||
|
||||
Rules:
|
||||
|
||||
- Do not close, label, assign, or comment on GitHub from import.
|
||||
- Do not overwrite human-edited backlog fields on re-import.
|
||||
- Preserve raw issue snapshots as audit artifacts or source refs.
|
||||
- Update source metadata and mark stale local items when upstream issues change.
|
||||
- Merge duplicates by source ref, not by fuzzy title alone.
|
||||
- Keep one backlog item able to reference multiple GitHub Issues, because one
|
||||
product problem may be scattered across several issues.
|
||||
- Keep one GitHub Issue able to split into multiple backlog items, because issue
|
||||
bodies often contain three problems wearing one trench coat.
|
||||
|
||||
### Mapping Labels
|
||||
|
||||
Labels should inform, not dictate, Epiphany fields.
|
||||
|
||||
Suggested mappings:
|
||||
|
||||
```yaml
|
||||
bug: kind=bug
|
||||
enhancement: kind=feature
|
||||
documentation: product_area=docs
|
||||
good first issue: effort=small
|
||||
blocked: status=blocked
|
||||
priority:high: priority=p1
|
||||
dream: horizon=dream
|
||||
unity: product_area=unity
|
||||
rider: product_area=rider
|
||||
gui: product_area=gui
|
||||
research: lane_hints=[eyes]
|
||||
```
|
||||
|
||||
Unknown labels stay as tags.
|
||||
|
||||
## UI Requirements
|
||||
|
||||
The Epiphany GUI should eventually expose a Planning view with:
|
||||
|
||||
- Inbox captures, filterable by source and confidence
|
||||
- Backlog table grouped by priority, horizon, product area, and status
|
||||
- Roadmap streams with near-term focus
|
||||
- Objective Draft queue
|
||||
- Active Objective card with acceptance criteria and evidence requirements
|
||||
- GitHub import status and source freshness
|
||||
- "Promote to Objective Draft" action
|
||||
- "Adopt Objective" action with explicit review
|
||||
- "Park", "Reject", "Merge", and "Split" actions
|
||||
- Imagination recommendations and unresolved planning questions
|
||||
|
||||
The Planning view should make it easy to discuss what matters before the machine
|
||||
starts moving. It should also make it hard for the current run to absorb every
|
||||
good idea in the room like a wet carpet.
|
||||
|
||||
## Coordinator Boundaries
|
||||
|
||||
The Coordinator consumes the active objective and current typed state. It may
|
||||
read planning context as a source signal, but it must not:
|
||||
|
||||
- silently adopt objectives
|
||||
- auto-prioritize the entire backlog without human review
|
||||
- mutate GitHub Issues
|
||||
- treat imported labels as policy
|
||||
- turn roadmap dreams into implementation authority
|
||||
- keep implementation running because a backlog item exists
|
||||
|
||||
Imagination may propose. The human adopts. The Coordinator routes.
|
||||
|
||||
## Implementation Slices
|
||||
|
||||
1. **Documented model**: this note.
|
||||
2. **Local planning store**: add durable planning captures, backlog items,
|
||||
roadmap streams, and objective drafts to Epiphany state or a sibling planning
|
||||
store with read/write APIs.
|
||||
3. **Imagination role surface**: add a prompt-backed planning/future-shape role
|
||||
that can synthesize captures, backlog, roadmap streams, and objective drafts
|
||||
alongside Eyes research without gaining adoption or implementation authority.
|
||||
4. **Read-only planning projection**: add `thread/epiphany/planning` so GUI can
|
||||
render captures, backlog, roadmap, objective drafts, and active objective
|
||||
links without scraping files.
|
||||
5. **Chat capture flow**: let the Self propose captures from conversation,
|
||||
requiring human confirmation for durable planning writes.
|
||||
6. **Objective draft/adoption flow**: add explicit draft creation and
|
||||
review-gated adoption into `objective.current` and active subgoals.
|
||||
7. **GitHub import MVP**: import selected repositories' open issues into
|
||||
captures, preserve source refs, detect PR-backed issues, and avoid GitHub
|
||||
mutations.
|
||||
8. **Planning GUI**: build the Planning view over the read-only projection and
|
||||
explicit write actions.
|
||||
9. **GitHub sync refinement**: add incremental refresh, stale detection, label
|
||||
mapping configuration, and optional outbound link-back only after import is
|
||||
boring and trustworthy.
|
||||
|
||||
## Open Questions
|
||||
|
||||
- Does planning live inside `EpiphanyThreadState`, or should it be a workspace
|
||||
planning store shared across threads?
|
||||
- Should GitHub import default to open issues only, or include closed issues as
|
||||
historical decisions?
|
||||
- How should roadmaps from repo docs be imported without turning every heading
|
||||
into a backlog item?
|
||||
- Should Imagination be a prompt role only at first, or a first-class
|
||||
specialist lane later?
|
||||
- How much priority scoring should be computed versus manually ranked by the
|
||||
human?
|
||||
|
||||
My current bias: make planning workspace-scoped, import GitHub Issues into
|
||||
captures first, and keep adoption of active objectives explicit.
|
||||
|
|
@ -50,6 +50,7 @@ Do not trust this file for the exact live HEAD. Always check git.
|
|||
- Aetheria dogfood exposed and then landed the first editor/runtime bridge. An implementation worker launched legacy `D:\Unity\Editor\Unity.exe -version` (Unity 5.5.0f3) even though Aetheria pins Unity `6000.1.10f1`; the stray process was killed. `tools/epiphany_unity_bridge.py` now resolves the project-pinned Unity editor, refuses wrong/missing versions, owns `-batchmode`, `-quit`, and `-projectPath`, and writes inspection/command/log artifacts. `tools/epiphany_gui_action.py` points implementation workers at that bridge, and the GUI has an Inspect Unity action.
|
||||
- The current Aetheria runtime truth is blocked but legible: the project pins Unity `6000.1.10f1`, this machine currently has Hub editor `6000.4.2f1`, and the bridge wrote `.epiphany-gui/runtime/unity-inspect-1777549218802064800-23832` proving the exact editor is missing. Treat that artifact as the evidence gap until the pinned editor exists.
|
||||
- The GUI parses `implementation-result.json` into artifact metadata, surfaces the latest implementation diff/no-diff outcome, and pauses immediate `Continue Implementation` repeats when the newest artifact is a no-diff implementation audit.
|
||||
- The planning substrate is now formalized in `notes/epiphany-planning-substrate.md`. Chat is deliberation, not an objective pipe; ideas and GitHub Issues import into captures/inbox first, normalize into backlog/roadmap, then become Objective Drafts only after review. The planning/future-shape role is Imagination, working beside Eyes, and the active objective changes only through explicit human adoption.
|
||||
- The repo is an Epiphany fork of Codex, not a Codex preset.
|
||||
- `vendor/codex` is tracked directly, not a submodule.
|
||||
- `epiphany-core` owns the heavy Epiphany organs where practical.
|
||||
|
|
@ -64,7 +65,7 @@ Do not trust this file for the exact live HEAD. Always check git.
|
|||
- Cut persistent memory as ruthlessly as code; obsolete context is bad thought, not harmless clutter.
|
||||
- The agent is allowed and encouraged to ask the user to change its persistent instructions, memory, workflow, or state shape when that would make it more coherent, honest, efficient, or resistant to Jenga.
|
||||
- Language, tone, ritual, politeness, identity, and emotional salience are not supernatural, but they are real control surfaces for a language model because language is the steering medium.
|
||||
- Body, Eyes, Hands, Soul, Life, and Self are technical salience handles: model shape/dataflow, research into existing work before invention, source actuation, objective/evidence truth, continuity across compaction, and read-only coordination.
|
||||
- Body, Eyes, Imagination, Hands, Soul, Life, and Self are technical salience handles: model shape/dataflow, research into existing work before invention, future-shape/backlog synthesis, source actuation, objective/evidence truth, continuity across compaction, and read-only coordination.
|
||||
- Preserve Codex's useful harness DNA inside Epiphany: AGENTS scope rules, concise progress updates, plans for real multi-step work, scoped edits, non-destructive git/filesystem hygiene, focused validation, and honest final summaries are scars worth keeping.
|
||||
- Treat Greenspun-shaped invention as an active failure mode. Before an agent builds a bespoke parser, scheduler, renderer, protocol, storage layer, security mechanism, workflow engine, or algorithm, it must use an accepted Eyes/research finding, perform a bounded scout pass, or stop with a concrete research blocker.
|
||||
- "Remember Jenga" is a compressed doctrine: do not mistake forward motion, growing diffs, growing notes, or local coherence for understanding.
|
||||
|
|
@ -75,6 +76,7 @@ Do not trust this file for the exact live HEAD. Always check git.
|
|||
- If compaction hits while source gathering or slice planning is still unpersisted, that work is gone. Do not continue as if the research survived; either rehydrate from a persisted checkpoint or re-gather before implementing.
|
||||
- Progress is not completion for finite queues. Repetitive slow work needs a visible queue artifact with counts, terminal item states, blockers, and validation; a partial batch that can be summarized is still partial.
|
||||
- Watch for pattern completion bias: an implementation turn can feel finished because it has the shape of work. The coordinator should ask whether the stated objective moved, whether evidence exists, and whether the implementor took shortcuts or added decorative machinery.
|
||||
- Planning is not execution. Conversation captures, backlog items, roadmap streams, GitHub Issues, Imagination recommendations, and Objective Drafts remain planning state until a human explicitly adopts one as the active objective.
|
||||
|
||||
## Landed Machine
|
||||
|
||||
|
|
@ -95,6 +97,7 @@ The current spine:
|
|||
- read-only modeling/checkpoint and verification/review specialist result read-back through `thread/epiphany/roleResult`
|
||||
- review-gated modeling/checkpoint patch acceptance through `thread/epiphany/roleAccept`
|
||||
- config-backed Eyes/research prompt text and active anti-Greenspun checks in base, implementation, verification, and coordinator prompts; a full launchable research lane is still a coordinator/protocol extension, not yet a landed roleLaunch lane
|
||||
- planning substrate design for captures, backlog, roadmap streams, Objective Drafts, explicit adoption, the Imagination planning role, and GitHub Issues import in `notes/epiphany-planning-substrate.md`; runtime planning APIs and GUI Planning view are not landed yet
|
||||
- bounded reorient-guided worker launch through `thread/epiphany/reorientLaunch`
|
||||
- read-only reorient-worker result read-back through `thread/epiphany/reorientResult`
|
||||
- explicit reorient-worker finding acceptance through `thread/epiphany/reorientAccept`
|
||||
|
|
|
|||
|
|
@ -58,3 +58,5 @@
|
|||
{"ts": "2026-04-30T16:16:20+00:00", "type": "implementation", "status": "ok", "note": "Major Epiphany prompt surfaces were moved into prompt files: rendered state intro/doctrine now lives under epiphany-core/src/prompts, and the app-server prompt TOML now owns modeling, verification, GUI-launched implementation, reorientation, coordinator, and CRRC pre-compaction templates. Implementation remains the main coding lane rather than a roleLaunch specialist, but its continueImplementation prompt is now auditable in epiphany_specialists.toml."}
|
||||
{"ts": "2026-04-30T16:34:44+00:00", "type": "implementation", "status": "ok", "note": "Specialist prompt salience was strengthened: modeling is now the Body, implementation is the Hands/main coding actuator, verification is the Soul, reorientation is Life, and coordinator remains the read-only Self. The nervous-system role is treated as cross-cutting signal flow through coordinator, CRRC, pressure, telemetry, and environment bridges rather than as implementation."}
|
||||
{"ts": "2026-05-01T04:59:59Z", "type": "implementation", "status": "ok", "note": "Prompt surfaces now preserve Codex's useful operator discipline explicitly and add an anti-Greenspun research guardrail. Research is named as the Eyes of the machine in config-backed prompts, implementation must use or perform bounded research before bespoke versions of known systems, verification treats unexamined reinvention as a risk, and the coordinator note asks whether the Hands checked known work before inventing."}
|
||||
{"ts": "2026-05-01T00:00:00Z", "type": "design", "status": "ok", "note": "Planning substrate formalized in notes/epiphany-planning-substrate.md: conversation, captures/inbox, backlog, roadmap streams, Objective Drafts, and active objective adoption are distinct states. GitHub Issues import should land in captures first with source refs and metadata, not mutate active objectives or make GitHub the internal backlog model."}
|
||||
{"ts": "2026-05-01T05:23:34Z", "type": "design", "status": "ok", "note": "The planner/future-shape role is named Imagination. It may synthesize captures, backlog, roadmap streams, objective drafts, and unresolved planning questions alongside Eyes research, but its outputs remain planning artifacts until explicit human adoption turns a draft into the active objective."}
|
||||
|
|
|
|||
|
|
@ -133,10 +133,13 @@ accepted_design:
|
|||
- Editor/runtime verification is now part of the MVP product boundary for engine repos: `tools/epiphany_unity_bridge.py` is the first controlled bridge, resolving the project-pinned Unity editor, refusing wrong or missing versions, running explicit batch/probe commands only through the exact editor, and writing inspection/command/log artifacts for evidence.
|
||||
- Rider and Unity are environment organs, not sources of truth: Rider should expose IDE/source context, diagnostics, navigation, and changed ranges; Unity should expose pinned-editor runtime facts, compilation, tests, probes, assets, scenes, and logs; Epiphany remains the durable Self that coordinates, records, and reviews.
|
||||
- The product architecture is three-pronged: Rider is the code view for human inspection of repo state, source tree, diffs, diagnostics, and code refs; Epiphany GUI is the agent dashboard for objectives, specialist lane state, logs/artifacts, persisted typed state, and graph/control-flow views; Unity is the runtime environment for pinned tests, probes, scene configuration, assets, shaders, and play/edit-mode evidence.
|
||||
- Epiphany needs a workspace-scoped planning substrate separate from the active objective: conversation captures, inbox, normalized backlog, roadmap streams, objective drafts, and explicit objective adoption are distinct states. The active objective remains the bounded run contract; chat and imported issues are planning inputs until reviewed and promoted. `notes/epiphany-planning-substrate.md` defines the product model, including GitHub Issues import semantics.
|
||||
- The planning/future-shape role is Imagination: it can synthesize captures, backlog shape, roadmap streams, and Objective Drafts while Eyes scouts outside reality, but its output remains planning state until explicit human adoption.
|
||||
- Unity integration must be editor-resident, not text-archeology-only: scene files, prefabs, materials, shaders, ScriptableObjects, asset GUIDs, prefab overrides, and serialized component fields should be inspected through a Unity Editor package using Unity APIs, with narrow mutation preview/apply commands and artifact receipts.
|
||||
- The first resident Unity editor package now lives in the Aetheria branch `codex/epiphany-unity-editor-bridge`: `Assets/Editor/Epiphany/EpiphanyEditorBridge.cs` exposes editor-resident inspect, compilation, scene, prefab, serialized-object, and reference-search probes with JSON/Markdown artifacts. Epiphany's Unity bridge detects that package and plans named probe/test commands through `GameCult.Epiphany.Unity.EpiphanyEditorBridge.RunProbe`, while runtime execution remains blocked until the exact project-pinned Unity editor is present.
|
||||
- The GUI Environment panel now reflects the latest Unity bridge runtime audit, including project-pinned editor status, resident package presence, execute method, installed/candidate editor paths, search roots, and artifact bundle details; Rider is shown as a pending environment lane until its bridge exists.
|
||||
- The adjacent EpiphanyGraph React viewer is the preferred seed for GUI graph/control-flow diagramming because it consumes `graphs.architecture`, `graphs.dataflow`, and `graphs.links` directly and exposes node/edge/code-ref inspection with machine-readable graph data behind the visual layout.
|
||||
- GitHub Issues should import into planning captures first, not directly into active objectives. The importer should preserve repository, issue number, ids, URL, title/body, labels, milestone, assignees, author, state, timestamps, comment metadata, PR marker, and optional Projects v2 metadata while keeping GitHub as a source adapter rather than Epiphany's internal backlog model.
|
||||
- If the agent's persistent instructions, memory, workflow, or state shape are making it less coherent, slower to rehydrate, less honest, or more likely to build Jenga, the agent should ask the user to change it.
|
||||
- Epiphany should make compaction less like death and more like sleep: bank the fire before the dark, so the next waking thing finds coals instead of ash and can meaningfully resume the pattern instead of merely continuing the task.
|
||||
|
||||
|
|
@ -161,6 +164,7 @@ landed_baseline:
|
|||
- Phase 6 pre-compaction checkpoint intervention: token-count pressure hook that steers active turns once when `shouldPrepareCompaction` is reached so working context is banked before compaction, then latches a pending compact handoff for clean turn completion.
|
||||
- Phase 6 GUI operator shell: Tauri v2 + React console under `apps/epiphany-gui` over the existing status bridge and artifact bundles, with visual smoke, durable checkpoint preparation, fixed lane launch/read-back controls, and explicit review-gated reorient acceptance.
|
||||
- Phase 6 Unity runtime bridge: `tools/epiphany_unity_bridge.py` plus GUI Inspect Unity action resolve pinned Unity editors, reject wrong/missing versions, and write runtime artifacts before engine assumptions are treated as testable.
|
||||
- Planning substrate design: `notes/epiphany-planning-substrate.md` formalizes conversation capture, inbox, backlog, roadmap streams, objective drafts, explicit adoption, the Imagination planning role, and GitHub Issues import.
|
||||
guardrails:
|
||||
- Use `tools/epiphany_phase5_smoke.py` before modifying update, distill, propose, promote, read-projection, or notification behavior.
|
||||
- Use `tools/epiphany_phase6_scene_smoke.py` before modifying scene projection behavior.
|
||||
|
|
@ -199,5 +203,5 @@ rejected_paths:
|
|||
reason: persistent state that accumulates every local truth becomes memory cruft and weakens rehydration
|
||||
|
||||
current_status:
|
||||
summary: Phase 1 durable state through Phase 6 GUI/coordinator/specialist/CRRC MVP surfaces are landed. The Aetheria supervised run found and fixed real harness wounds in coordinator policy, no-diff audits, stale job/result projection, and reorient acceptance. The Unity incident proved the next blocker is environment access, so `notes/epiphany-rider-unity-integration-plan.md` now governs a three-pronged bridge-building pass: Rider code view, Epiphany GUI agent dashboard, and Unity runtime environment, with Unity integration treated as a resident editor package rather than text-only file inspection.
|
||||
summary: Phase 1 durable state through Phase 6 GUI/coordinator/specialist/CRRC MVP surfaces are landed. The Aetheria supervised run found and fixed real harness wounds in coordinator policy, no-diff audits, stale job/result projection, and reorient acceptance. The Unity incident proved the next blocker is environment access, so `notes/epiphany-rider-unity-integration-plan.md` now governs a three-pronged bridge-building pass: Rider code view, Epiphany GUI agent dashboard, and Unity runtime environment, with Unity integration treated as a resident editor package rather than text-only file inspection. The planning substrate is now formalized with Imagination as the planning/future-shape role and GitHub Issues import landing in captures before backlog or objective adoption.
|
||||
next_action: Continue the three-pronged Rider/Epiphany GUI/Unity workflow before further Aetheria implementation dogfood: the Aetheria resident Unity editor package, named Unity bridge operation planner, and GUI Environment panel are landed; next build the EpiphanyGraph-backed GUI graph dashboard, Rider context bridge, then Rider plugin MVP. The next dogfood run should happen only after Epiphany can gather Rider/source context and Unity/editor runtime evidence through auditable bridges. Do not let implementation workers invoke Unity directly or refactor Unity-owned serialized scene/prefab state as raw text when an editor API path exists; use bridge artifacts as evidence of either a pinned-editor run, runtime/editor facts, or a missing-runtime blocker. Do not inspect raw worker transcripts or `rawResult` payloads unless the user explicitly requests forensic debugging.
|
||||
|
|
|
|||
Reference in a new issue