1.7 KiB
1.7 KiB
Maintenance Checklist
Use this checklist before doing any cleanup or review-maintenance action for reader keyword artifacts.
Pre-check
- Confirm the current repo root is
/home/ubuntu/zhu/github/reader - Confirm the user asked for a maintenance / cleanup / review-prep action
- If the user actually wants formal keyword review generation, route to reader-side
keyword-cleanup-reviewinstead of using this maintenance skill - Identify whether the action targets:
- current bundle
- suggestions JSON
- markdown display draft
- old review outputs
Safety check
Before deleting or overwriting anything:
- Do not touch:
data/term_index/daily/*.jsondata/term_index/term_stats.jsonconfigs/filter_context.personal.jsonconfigs/term_watchlist.jsonconfigs/term_aliases.jsonconfigs/term_stopwords.jsonconfigs/term_change_log.json
- Confirm the suggestions JSON to keep is not the one about to be applied
- Treat markdown drafts as disposable only after confirming they are display-only artifacts
Review-prep flow
When preparing manual review:
- Ensure the latest bundle exists
- Ensure the latest suggestions JSON exists
- Generate markdown only if the user explicitly wants human-readable review material
- Prefer showing conclusions in chat before creating more files
Cleanup flow
Recommended order:
- remove old markdown display drafts
- keep only the current/latest bundle
- prune old suggestions JSON conservatively
- leave facts/state/config untouched
Post-check
After the action:
- verify the expected kept files still exist
- verify no config file was accidentally changed
- summarize what was kept vs removed