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

オープン
#624 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, nodejs
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
JavaScript
スター
9.1k
フォーク
848
平均マージ
14時間 39分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EvoMap/evolver のほかの issue

EvoMap/evolver の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。