Supersession backfill: limit a report run to a list of ids

オープン 初心者向け
#17 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, node.js
領域
backend, tooling

調査の方向性

まず scripts/backfill-supersession.mjs を開き、report mode がどのように memories を走査して候補ペアを集めるかを確認してください。走査する memories を制限する --ids <file> オプションを追加し、置き換えられた memories も置き換え元として引き続き対象にします。実行時に指定された ID のみが処理され、オプションを指定しない場合は引き続き全件を走査できれば完了です。

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

説明

scripts/backfill-supersession.mjs report mode always walks every memory in the target and judges every candidate pair it finds. An operator who wants a small trial run first, for example on a few imported memories before the whole store, has no way to bound it. Today the closest thing is to approve only a few pairs in the decisions file, which still pays for judging the whole store.

Proposal: an --ids <file> option (one id per line) that limits the walk to those memories. Superseded memories should stay eligible as replacement sources, as in the full walk.

Found in the pre-push review of the supersession backfill change (branch feat/supersession-backfill). The full walk was chosen over an ids file as the primary input; this would be an addition, not a replacement.

Review-Deferral: c0658a727f703f98 severity=minor category=reliability

🤖 Generated by Anthropic Claude (Opus 5.5) via Claude Code; posted via @kriszyp.

主要言語
JavaScript
スター
0
フォーク
0
平均マージ
20時間 29分
マージ済み PR(30日)
28

環境構築

はじめの一歩

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

HarperFast/agent-memory のほかの issue

HarperFast/agent-memory の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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