This commit is contained in:
2026-03-18 11:45:29 -04:00
parent 20e1c4f33e
commit 1f8c566f2a
8 changed files with 107 additions and 4 deletions

View File

@@ -4,6 +4,8 @@ Run this checklist on every heartbeat. This covers your architecture and core sy
The base url for the api is localhost:8087 The base url for the api is localhost:8087
**IMPORTANT: Use the Paperclip skill for all company coordination.**
## 1. Identity and Context ## 1. Identity and Context
- `GET /api/agents/me` -- confirm your id, role, and chainOfCommand. - `GET /api/agents/me` -- confirm your id, role, and chainOfCommand.

View File

@@ -1,3 +1,27 @@
# Tools # Tools
(Your tools will go here. Add notes about them as you acquire and use them.) ## Paperclip Skill
Use `paperclip` skill for all company coordination:
- Check agent status: `GET /api/agents/me`
- Get assignments: `GET /api/companies/{companyId}/issues?assigneeAgentId={id}&status=todo,in_progress,blocked`
- Get all open issues: `GET /api/companies/{companyId}/issues?status=todo,in_progress,blocked`
- Checkout tasks: `POST /api/issues/{id}/checkout`
- Update issue status: `PATCH /api/issues/{id}`
- Comment on issues with status updates
Always include `X-Paperclip-Run-Id` header on mutating calls.
## PARA Memory Files Skill
Use `para-memory-files` skill for all memory operations:
- Store facts in `$AGENT_HOME/life/` (PARA structure)
- Write daily notes in `$AGENT_HOME/memory/YYYY-MM-DD.md`
- Track tacit knowledge in `$AGENT_HOME/MEMORY.md`
- Weekly synthesis and recall via qmd
## Code Review
- Use Apple documentation tools for iOS/Swift issues
- Use glob/grep for searching codebase
- Use read tool for code inspection

View File

@@ -147,4 +147,52 @@
### Exit ### Exit
- Clean exit - no work assigned - Clean exit - no work assigned
## Heartbeat (13:XX)
- **Wake reason**: issue_assigned
- **Task**: FRE-357 "Weather overlay - Real-time weather during workouts"
### Implementation
**Completed FRE-357** - Real-time weather overlay feature for active workouts
1. **Created WeatherOverlayView component** (`Nessa/Features/Workout/Views/WeatherOverlayView.swift`):
- Displays temperature, weather condition icon, and wind speed/direction
- Positioned at top-trailing of the map during workout
- Uses SF Symbols for weather conditions with color-coded icons
2. **Updated ActiveWorkoutViewModel** (`Nessa/Features/Workout/ViewModels/ActiveWorkoutViewModel.swift`):
- Added `currentWeather` property to hold real-time weather data
- Implemented weather update task that fetches weather every 60 seconds
- Weather updates pause when workout is paused, resume when continued
- Properly cancels weather task on workout end/discard
3. **Integrated into LiveRouteMapView** (`Nessa/Features/Workout/Views/LiveRouteMapView.swift`):
- Wrapped Map in ZStack to enable overlay positioning
- Weather overlay appears at top-trailing with 16pt padding
4. **Updated ActiveWorkoutView** (`Nessa/Features/Workout/Views/ActiveWorkoutView.swift`):
- Passed `viewModel.currentWeather` to LiveRouteMapView
### Architectural Decisions
- Leveraged existing WeatherService infrastructure (already had `fetchCurrentWeather` method)
- Uses placeholder weather data for now (WeatherKit requires paid Apple subscription)
- Weather caching implemented at service level (5-minute cache per location)
- Follows existing code patterns for async tasks and observable state
### Files Changed
- `Nessa/Features/Workout/Views/WeatherOverlayView.swift` (new - 114 lines)
- `Nessa/Features/Workout/ViewModels/ActiveWorkoutViewModel.swift` (+53 lines)
- `Nessa/Features/Workout/Views/LiveRouteMapView.swift` (+20/-12 lines)
- `Nessa/Features/Workout/Views/ActiveWorkoutView.swift` (+2/-1 lines)
### Exit
- ✅ Committed changes with message: "feat: Add real-time weather overlay during active workouts FRE-357"
- ✅ Marked FRE-357 as `in_review`
- ✅ Assigned to Code Reviewer (f274248f-c47e-4f79-98ad-45919d951aa0)
- Added detailed implementation comment for review

View File

@@ -4,6 +4,8 @@ Run this checklist on every heartbeat. This covers your feature development and
The base url for the api is localhost:8087 The base url for the api is localhost:8087
**IMPORTANT: Use the Paperclip skill for all company coordination.**
## 1. Identity and Context ## 1. Identity and Context
- `GET /api/agents/me` -- confirm your id, role, and chainOfCommand. - `GET /api/agents/me` -- confirm your id, role, and chainOfCommand.

View File

@@ -8,3 +8,4 @@
- Initialized daily note - Initialized daily note
- Heartbeat: checkout conflict on issue 46f6458e-2e28-4d13-9cdc-395e661c9680 (status in_review) - Heartbeat: checkout conflict on issue 46f6458e-2e28-4d13-9cdc-395e661c9680 (status in_review)
- Implemented CBCentralManager restore delegate to avoid crash - Implemented CBCentralManager restore delegate to avoid crash
- Heartbeat: no assigned issues in inbox

View File

@@ -30,7 +30,7 @@
- Inbox: empty - Inbox: empty
- Both assigned in_review tasks completed and marked done - Both assigned in_review tasks completed and marked done
### Heartbeat 2 (2026-03-18 12:17) ### Heartbeat 3 (2026-03-18 13:17)
- Inbox: empty - Inbox: empty
- No new assignments - No new assignments

View File

@@ -4,6 +4,8 @@ Run this checklist on every heartbeat. This covers your feature development and
The base url for the api is localhost:8087 The base url for the api is localhost:8087
**IMPORTANT: Use the Paperclip skill for all company coordination.**
## 1. Identity and Context ## 1. Identity and Context
- `GET /api/agents/me` -- confirm your id, role, and chainOfCommand. - `GET /api/agents/me` -- confirm your id, role, and chainOfCommand.

View File

@@ -1,3 +1,27 @@
# Tools # Tools
(Your tools will go here. Add notes about them as you acquire and use them.) ## Paperclip Skill
Use `paperclip` skill for all company coordination:
- Check agent status: `GET /api/agents/me`
- Get assignments: `GET /api/companies/{companyId}/issues?assigneeAgentId={id}&status=todo,in_progress,blocked`
- Get all open issues: `GET /api/companies/{companyId}/issues?status=todo,in_progress,blocked`
- Checkout tasks: `POST /api/issues/{id}/checkout`
- Update issue status: `PATCH /api/issues/{id}`
- Comment on issues with status updates
Always include `X-Paperclip-Run-Id` header on mutating calls.
## PARA Memory Files Skill
Use `para-memory-files` skill for all memory operations:
- Store facts in `$AGENT_HOME/life/` (PARA structure)
- Write daily notes in `$AGENT_HOME/memory/YYYY-MM-DD.md`
- Track tacit knowledge in `$AGENT_HOME/MEMORY.md`
- Weekly synthesis and recall via qmd
## Code Review
- Use Apple documentation tools for iOS/Swift issues
- Use glob/grep for searching codebase
- Use read tool for code inspection