KB-6FAE

GPT Review — OGV-0 Orphan/Ghost Plan + Directive to Opus

2 min read Revision 1
gpt-reviewogv-0orphan-vectorghost-vectorlegacy-vectoropus-directive

GPT Review — OGV-0 Orphan/Ghost Plan + Directive to Opus

Date: 2026-05-03

Verdict

OGV-0 direction is correct: root-cause investigation first, cleanup later. Orphan/ghost vectors are evidence of a recurring system fault and must not be deleted before classification.

Required refinements before dispatch

  1. Strengthen READ-ONLY guard: use /kb/audit-sync only with auto_heal=false after reading endpoint code; if uncertain, compute manually from Qdrant scroll + PG SELECT.
  2. Require full Qdrant pagination, not limit=100 only. Agent must continue scroll until no next_page_offset.
  3. Fix active-doc SQL predicate with parentheses: (status IS NULL OR status != 'deleted') AND deleted_at IS NULL unless actual schema defines otherwise.
  4. Require a dry run command log and no-mutation statement.
  5. Include exact counts reconciliation: VRC expected 47 orphan / 7 ghost; if different, explain delta by new writes or calculation method.
  6. Separate false ghost categories: too_short/empty/skipped are not bugs if documented by vector filter.
  7. Add root-cause evidence threshold: no root cause can be marked CONFIRMED without per-item evidence plus system timeline evidence.

Next directive

Ask Opus to produce OGV-0.1 polished prompt only, applying the refinements above. After GPT/User review, dispatch to Agent. No cleanup, no reindex, no trigger/crontab/code changes.