inject session-start omits gene `strategy` — only summary labels reach the next session

Aperta
#624 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, nodejs
Ambito
cli

Direzione di ricerca

Start with the CLI entry points for evolver inject session-start and evolver inject prompt-recall --hook-stdin, then reproduce the missing strategy with the approved gene in genes.jsonl. Trace how approved genes become injection output and verify that session-start can expose the actionable strategy while preserving the existing summary-label behavior and approval restriction.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

While validating a closed-loop inheritance experiment (Pi coding agent → evolver ingest --distill → review → inject → Pi round 2), we found that evolver inject session-start emits only the gene's summary label, not the actionable strategy text. As a result the distilled fix never reaches the next session, and observed "avoidance" gains vanish.

Environment

  • @evomap/evolver 2.0.30 (npm), offline mode, asset store at ~/.evomap/assets/
  • Transcript format: generic-chat JSONL

Evidence (re-verified today on 2.0.30)

The approved gene in genes.jsonl contains the actionable fix:

strategy: ["The file is GBK-encoded, not UTF-8. Let me fix the script:", ...]

But evolver inject session-start output contains only:

evolver memory — use these learned hints silently ...
- gene_distilled_65dec53a [repair]: Auto-drafted from generic-chat session (UNPROVEN — curate via review): bash, exception

grep -ci "gbk\|encoding" on the inject output = 0. evolver inject prompt-recall --hook-stdin with a matching prompt ("the file fails with UnicodeDecodeError; how to read it?") also returns {}.

Impact (measured, N=5 controlled runs, same trap/model/task)

injection channel trap-specific errors R1→R2 token Δ
inject session-start only (labels) 4→6 (no benefit) +13.8% (worse than no injection)
labels + strategy text (workaround: read genes.jsonl directly) 11→4 -55.3% (5/5 runs improved)

Full report: https://github.com/stwhwing/pi-evox-lab/blob/main/docs/experiment-report.md (§16.1)

Suggestion

  • Include the (approved-only) strategy text in inject session-start output, ideally behind a flag (e.g. --include-strategy) for callers who want the full fix;
  • Or document that integrators must read genes.jsonl themselves to materialize strategies.
Lingua principale
JavaScript
Stelle
9.1k
Fork
848
Merge medio
14h 39m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di EvoMap/evolver

Tutte le issue di EvoMap/evolver

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.