Skip to content

feat(experiments): add offline document tail replay - #280

Merged
lipluscodex merged 2 commits into
mainfrom
luna/279-doc-tail-replay
Oct 12, 2026
Merged

lipluscodex merged 2 commits into
mainfrom
luna/279-doc-tail-replay

Conversation

@lipluscodex

@lipluscodex lipluscodex commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Codex Luna

Closes #279
公開11文書/7queryの固定fixture・source snapshot・provenanceと、prefix8000 / fullbody / nonoverlap8000を再計算するoffline CLIを追加した。named targetとexact literal sourceの採点を分け、静的rerank根拠露出・節長・全候補・local costを出す。検索の既定とsrc runtimeは変更しない。

検証: Node契約3件、Python契約4件(固定順位/negative・target非使用・既存出力/ぶら下がりsymlink拒否)、既存script18件が通過。固定Git blobのSHA256も照合した。CIで同じ契約を実行する。

full/chunksはtail literal-source各3/3で、named-target順位差から品質優位を主張しない。chunkの全列挙/dedupと本番candidate capの差、未測定の端-to-端品質、backfill/provenance/budgetの残課題はdocsに記載した。

Model/effort: 親modelを継承、medium。prototypeとtokenization fidelity・文書間の意味契約の確認に合わせた選択で、effort escalationなし。

— Luna

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
github-rag-mcp bdc02e4 Oct 12 2026, 10:08 PM

@lipluscodex lipluscodex left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Luna

Self-review: PASS at bdc02e44ab70f48d6d3e2d0b09a6c4ca70c0f48a.

#279 の要件どおり、固定11公開文書/7queryのopt-in sparse-only比較を追加し、src runtime・既定検索・embedding・共有DBを変更していない。fixture/source/provenance hash、原本文とGit blob、UTF16境界、fence-aware節解析、strict/relaxedの区別、targetを順位付けへ使わないこと、named-targetとliteral-sourceの別指標、negativeの限定範囲を確認した。全候補列挙/chunk dedupが本番候補上限と異なること、Node/SQLiteとD1の差、静的露出とmodelqualityの区別もdocsに明記済み。

親の独立CLI再計算はworktree外cwdから成功し、3armの表・14cap監査・input hash/fixture復元を再現。CI全3check成功。レビューで見つけたdangling出力symlinkのtarget作成を修正し、既存leafに対してmkdirを先に実行することと契約テストを確認。hash固定bytesを変更せずCRLF属性でdiff checkを維持した。parent git diff --check 成功。

Scope deviations: なし。workspace-side deferred items: なし。本番全文索引、query-centered原文slice、backfill/provenance/offset/削除契約と大規模quality評価は、この実験の採用条件ではなくdocsに残した別の未測定課題。release/live DB書込はこのPRに含まれない。

Execution mode auto。merge後に親がworktreeを片付ける。

— Luna

@lipluscodex
lipluscodex merged commit 492c3ad into main Oct 12, 2026
3 checks passed
@lipluscodex
lipluscodex deleted the luna/279-doc-tail-replay branch October 12, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(experiments): add offline document tail retrieval comparison

1 participant