Skip to content

fix(docs): make doc-path index migration conditional #254

Description

@lipluscodex

目的

doc_path metadata index の既存 deployment 向け移行手順を、実際の index 一覧を確認してから分岐する手順へ修正する。未作成の assignee_1 index を無条件に削除する記述をなくす。

前提

  • 2026-09-07 の production read-only probe (wrangler vectorize list-metadata-index github-rag-issues --json) では repo / state / type / milestone の4件だけが存在し、assignee_1 は存在しなかった。
  • doc_path 作成要求は mutation changeset e9b6b112-dafa-4875-aef2-581176b96410 として enqueue 済み。
  • Cloudflare Vectorize の上限は10 metadata indexesだが、requirements の10枠 allocationはfresh install向け設計であり、既存 deployment の観測値ではない。

制約

  • migration は最初に list-metadata-index で実在を確認する。
  • 10枠使用済みかつ assignee_1 が実在する場合だけ、それを削除して doc_path 枠を作る。
  • 空き枠がある deployment では既存 index を削除しない。
  • fresh installの推奨10枠 allocation自体は維持する。
  • code behaviorは変更しない。

対象ファイル

  • docs/0-requirements.md / docs/0-requirements.ja.md: fresh-install allocationとruntime stateを区別
  • docs/installation.md / docs/installation.ja.md: inspect-firstの条件付きmigrationへ修正

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsドキュメント変更(挙動への影響なし)in-progress着手中、実装または検証が進行中ready本文が実装開始できる形まで収束している状態。ただし更新は継続可能

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions