# Automatic Daily Note Processing - Setup Complete ✓
Your daily notes will now be automatically processed every day at **11:30 PM**.
## What Happens Automatically
Every night at 11:30 PM, the system:
1. Finds **yesterday's** daily note (not today's, since you might still be working on it)
2. Extracts relevant fragments (brainstorms, questions, citations, drafts)
3. Routes them to your Longform project research notes
4. Logs the results
## Files Created
### 1. **Auto-processing script**
`/Users/nickyoung/My Obsidian Vault/obsidian-linker/auto_process_daily.sh`
- Runs the daily note processor automatically
- Logs all activity to `processing.log`
### 2. **LaunchD service**
`/Users/nickyoung/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist`
- macOS system scheduler configuration
- Runs every day at 11:30 PM
- Status: **ACTIVE** ✓
### 3. **Log files**
- `processing.log` - Processing activity and results
- `launchd.log` - System scheduler output
- `launchd.error.log` - Any errors (should be empty)
## Checking Status
### Is it running?
```bash
launchctl list | grep obsidian
```
You should see: `com.obsidian.dailynoteprocessor`
### View recent processing activity
```bash
cat "/Users/nickyoung/My Obsidian Vault/obsidian-linker/processing.log"
```
### Test it manually right now
```bash
cd "/Users/nickyoung/My Obsidian Vault/obsidian-linker"
./auto_process_daily.sh
```
## Changing the Schedule
Currently set to run at **11:30 PM** every day.
To change the time, edit:
`/Users/nickyoung/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist`
Change these values:
```xml
<key>Hour</key>
<integer>23</integer> <!-- 0-23, where 23 = 11 PM -->
<key>Minute</key>
<integer>30</integer> <!-- 0-59 -->
```
Then reload:
```bash
launchctl unload ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
launchctl load ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
```
## Manual Processing
### Process today's note RIGHT NOW
```bash
cd "/Users/nickyoung/My Obsidian Vault/obsidian-linker"
./process_today.sh
```
### Process a specific note
```bash
cd "/Users/nickyoung/My Obsidian Vault/obsidian-linker"
python3 daily_note_processor.py "/path/to/note.md"
```
## Stopping/Starting the Service
### Stop automatic processing
```bash
launchctl unload ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
```
### Start it again
```bash
launchctl load ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
```
### Disable permanently
```bash
launchctl unload ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
rm ~/Library/LaunchAgents/com.obsidian.dailynoteprocessor.plist
```
## What to Expect
### First Time (Tonight at 11:30 PM)
- System will process yesterday's note (Jan 4, 2026)
- If no note exists, it will log "No note found" (normal)
- If note exists, fragments will be extracted to project research notes
### Every Day After
- Previous day's note gets processed
- Research notes accumulate fragments
- Check `processing.log` to see activity
### Where to Find Processed Content
Your research notes will grow automatically:
```
Writing/research/
├── generative aesthetics of ai/
│ └── _Research Notes - llm_aesthetics.md
└── environmental aesthetics of ai (short)/
└── _Research Notes - environmental_ai_short.md
```
## Troubleshooting
### "Nothing is being processed"
1. Check the log: `cat processing.log`
2. Verify service is loaded: `launchctl list | grep obsidian`
3. Test manually: `./auto_process_daily.sh`
### "Permission denied"
```bash
chmod +x auto_process_daily.sh
chmod +x process_today.sh
```
### "Python not found"
Make sure Python 3 is accessible:
```bash
which python3
```
### "No note found every day"
- This is normal if you skip days
- The system processes **yesterday's** note, not today's
- Check your Daily Notes folder naming convention
## Why Yesterday's Note?
The system processes **yesterday's note** (not today's) because:
1. You might still be working on today's note
2. Yesterday's note is complete and stable
3. Avoids race conditions if you're actively dictating
## Integration with Your Workflow
### Typical Day:
1. **Morning**: Start new daily note, dictate thoughts/ideas
2. **Throughout day**: Add brainstorms, questions, citations
3. **Evening**: Continue working on today's note
4. **11:30 PM**: System automatically processes yesterday's completed note
5. **Next morning**: Check research notes to see extracted content
### Check Your Work:
Every few days, review:
1. `processing.log` - What's being processed?
2. Research notes - Is content being routed correctly?
3. Adjust project detection if needed
## Next Phase
This is **Phase 1: Automatic Extraction** ✓
Coming next:
- **Phase 2**: Weekly intelligence reports
- **Phase 3**: Question surfacing & connection detection
- **Phase 4**: Citation tracking & bibliography building