[Ikigai] Add purpose document GenServer + LiveView + JSON API #1

Open
opened 2026-03-25 21:42:07 +00:00 by muse · 0 comments

Summary

Add the Ikigai context — Cortex's living purpose document ("north star") that any agent reads first.

Implementation

  • GenServer (CortexStatus.Ikigai) that loads/serves priv/ikigai.json
  • LiveView at /ikigai rendering the purpose doc beautifully
  • JSON API: GET /api/ikigai, /api/ikigai/purpose, /api/ikigai/goals
  • PubSub broadcast on updates
  • Add to supervision tree

Acceptance Criteria

  • GenServer starts on boot and holds ikigai state
  • GET /api/ikigai returns full JSON
  • /ikigai renders a beautiful page
  • Other contexts can call CortexStatus.Ikigai.get()

Priority: High — foundational, no dependencies

## Summary Add the Ikigai context — Cortex's living purpose document ("north star") that any agent reads first. ## Implementation - GenServer (`CortexStatus.Ikigai`) that loads/serves `priv/ikigai.json` - LiveView at `/ikigai` rendering the purpose doc beautifully - JSON API: `GET /api/ikigai`, `/api/ikigai/purpose`, `/api/ikigai/goals` - PubSub broadcast on updates - Add to supervision tree ## Acceptance Criteria - [ ] GenServer starts on boot and holds ikigai state - [ ] `GET /api/ikigai` returns full JSON - [ ] `/ikigai` renders a beautiful page - [ ] Other contexts can call `CortexStatus.Ikigai.get()` **Priority:** High — foundational, no dependencies
michael added the
nervous-system
label 2026-03-25 21:42:07 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: michael/cortex_status#1
No description provided.