Add search command, history browser, install script, and systemd timers

- /search command to search across memory, history, and configuration
- history-browser.py for browsing and analyzing session history
- install.sh for first-time setup with directory creation and validation
- daily-maintenance.sh for scheduled backup, cleanup, and validation
- systemd timer units for automated daily maintenance at 6 AM
- Updated shell completions with 11 aliases
- Test suite now covers 19 tests
- Bump version to 1.1.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 18:41:07 -08:00
parent 86baab7e96
commit 125bb4904b
16 changed files with 1004 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ Slash commands for quick actions. User-invoked (type `/command` to trigger).
| `/summarize` | `/save-session` | Summarize and save session to memory |
| `/remember` | `/save`, `/note` | Quick save to memory |
| `/config` | `/settings`, `/prefs` | View/manage configuration |
| `/search` | `/find`, `/lookup` | Search memory, history, config |
| `/maintain` | `/maintenance`, `/admin` | Configuration maintenance |
| `/programmer` | | Code development tasks |
| `/gcal` | `/calendar`, `/cal` | Google Calendar access |

43
commands/search.md Normal file
View File

@@ -0,0 +1,43 @@
---
name: search
description: Search through memory, history, and configuration
aliases: [find, lookup]
invokes: skill:search
---
# Search Command
Search across PA memory, session history, and configuration files.
## Usage
```
/search <query> # Search everywhere
/search --memory <query> # Search only memory
/search --history <query> # Search only session history
/search --config <query> # Search configuration files
/search --recent [days] # Show recent items (default 7 days)
```
## Implementation
Run the search script:
```bash
python3 ~/.claude/automation/search.py [options] <query>
```
## Search Locations
| Location | Contents |
|----------|----------|
| Memory | preferences, decisions, projects, facts |
| History | Past session summaries and topics |
| Config | State files, component registry |
## Output
Returns matching items with:
- Source location
- Match context
- Relevance score (when applicable)