personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix dream crash from variable shadowing in pulse skip logic

start_time (float from time.time()) was overwritten by segment_parse()
which returns datetime.time, causing TypeError on duration calculation.
Renamed inner variable to seg_start.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3 -3
+3 -3
think/dream.py
··· 430 430 try: 431 431 pulse_path = Path(get_journal()) / "sol" / "pulse.md" 432 432 if pulse_path.exists(): 433 - start_time, _ = segment_parse(segment) 434 - if start_time: 433 + seg_start, _ = segment_parse(segment) 434 + if seg_start: 435 435 day_date = datetime.strptime(day, "%Y%m%d").date() 436 - seg_dt = datetime.combine(day_date, start_time) 436 + seg_dt = datetime.combine(day_date, seg_start) 437 437 if pulse_path.stat().st_mtime >= seg_dt.timestamp(): 438 438 logging.info( 439 439 f"Skipping pulse: sol/pulse.md current for {segment}"