dkritarth / dkritarth/context-kernel
Feature: scripts/promote.ts --mark-reviewed does not verify the ID actually exists in the journal
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
promote.ts --mark-reviewed just adds the given string to .promoted-ids.json with no check against a real fetched journal entry. A typo silently creates a dead tracking entry with no feedback. Low-cost fix: fetch entries first (or accept an optional --verify flag) and warn if the id is not found among current journal:index entries.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with scripts/promote.ts and the --mark-reviewed command path, then inspect how current journal:index entries are fetched. Try the command with an existing ID and a typo to confirm the current behavior. Done means an ID absent from the fetched entries produces clear feedback and does not create a dead tracking entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100