Distill persistent evidence ledger

This commit is contained in:
Meta Vens 2026-04-26 01:13:44 +01:00
commit f0224ec453
9 changed files with 63 additions and 193 deletions

View file

@ -69,7 +69,7 @@ Instead:
1. Externalize state in files.
2. Use a controller protocol with a small action space.
3. Make the model choose one action at a time.
4. Record evidence after meaningful steps.
4. Record distilled evidence after meaningful belief-changing steps.
5. Compare against plain prompting.
Current state files:

View file

@ -190,14 +190,14 @@ The anti-Jenga rule applies to docs and state files too:
- if a note stops improving the model, distill it
- if status prose becomes obsolete, replace it
- if a file starts accumulating every landed micro-slice, move history back to git and evidence
- if a file starts accumulating every landed micro-slice, move history back to git and only preserve distilled evidence when it changes future belief
- if the next action is hidden under a pile of previous victories, the note has failed
- if the map is not source-grounded, do not decorate it with confident language
Canonical responsibilities:
- `state/map.yaml`: current project map and accepted design
- `state/evidence.jsonl`: durable evidence, decisions, rejected paths, verification
- `state/evidence.jsonl`: distilled durable evidence, decisions, rejected paths, verification, and scars
- `notes/fresh-workspace-handoff.md`: re-entry packet
- `notes/epiphany-current-algorithmic-map.md`: source-grounded current control flow
- `notes/epiphany-fork-implementation-plan.md`: distilled forward implementation plan

View file

@ -3,8 +3,9 @@
This is the current implementation plan for Epiphany as an opinionated fork of
Codex.
It is not a changelog. Git and `state/evidence.jsonl` already do that job
without turning this file into a hay bale.
It is not a changelog. Git history, commit messages, smoke artifacts, and
targeted logs already do the proof job without turning this file into a hay
bale; `state/evidence.jsonl` carries only distilled belief-changing evidence.
The purpose of this note is to answer four questions:
@ -27,7 +28,7 @@ forever becomes the documentation equivalent of the Jenga tower.
Historical detail belongs in:
- `git log`
- `state/evidence.jsonl`
- `state/evidence.jsonl`, when the detail changes what a future agent should believe
- `notes/fresh-workspace-handoff.md`
- `notes/epiphany-current-algorithmic-map.md`
@ -90,7 +91,7 @@ The current lessons:
- Keep the implementation plan as a distilled forward plan, not a trophy wall.
- Keep the harness-surfaces note as a surface contract, not a dump of every possible future type.
- Keep `fresh-workspace-handoff.md` as a re-entry packet, not a substitute brain.
- Keep `state/evidence.jsonl` as the durable event log.
- Keep `state/evidence.jsonl` as a durable distilled ledger, not an activity feed.
- Revert failed code hypotheses immediately.
- Distill failed or obsolete state hypotheses just as aggressively.

View file

@ -2,8 +2,8 @@
This is the re-entry packet for `E:\Projects\EpiphanyAgent`.
It is intentionally short. Historical proof belongs in git and
`state/evidence.jsonl`; exact control flow belongs in
It is intentionally short. Historical proof belongs in git, commit messages,
smoke artifacts, and the distilled `state/evidence.jsonl` ledger; exact control flow belongs in
`notes/epiphany-current-algorithmic-map.md`; forward planning belongs in
`notes/epiphany-fork-implementation-plan.md`.
@ -26,13 +26,14 @@ Do not trust this file for the exact live HEAD. Always check git.
## Current Orientation
- Current branch before this compaction packet: `main...origin/main [ahead 6]`.
- Current HEAD before this compaction packet: `d62f4d5 Cut persistent state cruft`.
- Current branch before this state-cleanup pass: `main...origin/main [ahead 9]`.
- Current HEAD before this state-cleanup pass: `4a713a2 Sharpen continuity doctrine`.
- Phase 1 through Phase 5 are complete enough.
- Phase 6 has begun with read-only `thread/epiphany/scene`.
- 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.
- Evidence was distilled from an activity feed into a durable belief ledger; git history keeps the old verbose proof.
## Critical Doctrine
@ -101,7 +102,7 @@ Rules now in force:
- `state/map.yaml` is canonical current truth.
- `state/scratch.md` is disposable scratch.
- `state/evidence.jsonl` is durable event history.
- `state/evidence.jsonl` is a distilled durable belief ledger.
- this handoff is a compact re-entry packet.
- `notes/epiphany-fork-implementation-plan.md` is the distilled forward plan.
- `notes/epiphany-core-harness-surfaces.md` is the stable surface contract.
@ -110,6 +111,11 @@ Rules now in force:
Do not let any one note become all of those things. That is how the tower grows
sideways and starts calling itself architecture.
Do not let evidence become an activity feed either. Repeated "I just did this"
entries are state cruft when git, commits, smoke artifacts, or test logs already
prove the work. Keep decisions, verified milestones, rejected paths, and scars
that change what the next agent should believe.
## Next Real Move
Do not continue implementation automatically from a rehydrate-only request.