Skip to content

fix: allow rereads after file changes - #58

Open
oiahoon wants to merge 1 commit into
cytostack:mainfrom
oiahoon:fix/track-read-mtime
Open

fix: allow rereads after file changes#58
oiahoon wants to merge 1 commit into
cytostack:mainfrom
oiahoon:fix/track-read-mtime

Conversation

@oiahoon

@oiahoon oiahoon commented Jul 14, 2026

Copy link
Copy Markdown

Summary

  • record each file's modification time when it is read
  • treat a changed file as a fresh read instead of a repeated read
  • preserve conservative warnings for unchanged files, legacy session entries, and unavailable file metadata

Testing

  • pnpm test
  • pnpm build
  • node dist/bin/openwolf.js --help
  • compiled hook flow: read, modify, re-read without warning, then re-read unchanged with a warning

Closes #41

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pre-read hook blocks re-reads even after the file was modified during the session

1 participant