-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Store last scout results in ~/.amplihack/fleet/last_scout.json. On next scout, only re-poll sessions that changed or haven't been checked in N minutes.
Files to modify:
- src/amplihack/fleet/_cli_session_ops.py
- src/amplihack/fleet/_scout_cache.py (new file)
Requirements:
- Create _scout_cache.py with load_cache/save_cache/is_stale functions
- Cache format: {vm_name: {last_checked: timestamp, status: str, data: dict}}
- Default staleness threshold: 5 minutes (configurable)
- On scout, skip VMs whose cached status hasn't expired
- Always re-poll VMs in error/unknown state
- Add --full flag to force full re-poll
- All 918+ fleet tests must pass
- Commit changes on this branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels