You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sync-catalog): hold back "DO NOT USE" pages for user confirmation (#35)
## What
The `lik-sync-catalog-from-project-indexes` skill now detects
project-index pages whose **body** explicitly says not to use them ("DO
NOT USE", "do not reference"), holds them back from auto-registration,
and asks the user whether to register any anyway.
## Why
The skill's verification signal reads only the Update History table. A
real sync (session `sesn_018y5APYNiTZe55RjosKUCVk`) registered a page as
`human-verified` — its edit trail looked approved — even though the page
body carried a prominent "⚠️ UNVERIFIED — DO NOT USE... under active
review" banner. The mechanical signal never reads that content-level
warning, so a self-disclaiming page landed with a misleading badge.
## Changes
- **New "Self-disclaiming pages" section** — scan each page body
(reusing the body already fetched for the content-state hash, so no
extra fetch) for an explicit don't-use instruction; hold those pages
back.
- **Step 3** registers every page *except* held-back ones.
- **New Step 3b** presents held-back pages (title, URL, matched phrase)
and asks which to register (numbers / "all" / "none"). Confirmed pages
register with **`verification` forced to `unverified`**, so a
self-disclaiming page never carries a `human-verified` badge.
- **Step 4 summary** gains a held-back tally line (omitted when zero).
## Scope of exclusion
Only explicit don't-use wording is held back. Weaker status wording —
"UNVERIFIED", "under active review", "not yet approved", "draft", "in
progress" — registers normally; ambiguous wording defaults to
registering.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments