codewhale.history 2.8.6 → 2.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codewhale.history",
3
- "version": "2.8.6",
3
+ "version": "2.8.7",
4
4
  "description": "CodeWhale utility commands: session history, tool listing, file snapshot, interactive code quiz — global install",
5
5
  "bin": {
6
6
  "codewhale-history": "./_list_sessions.js",
@@ -57,7 +57,9 @@ specified a language, filter by extension.
57
57
  ### 2. Selection — Pick a Snippet
58
58
 
59
59
  Randomly select a file from the index, then randomly select a function,
60
- method, or logical block from that file. Use these rules:
60
+ method, or logical block from that file. **Re-read the file before each round**
61
+ to ensure the snippet reflects the current on-disk state — the code may have
62
+ changed since the session started. Use these rules:
61
63
 
62
64
  #### Good Snippets (select these)
63
65
  - Functions or methods 5–55 lines long (after stripping docstrings and blank lines)