Skip to content

feat(persona): O6 — RoomBoardSource grounds the persona in the room's whole kanban - #1740

Merged
joelteply merged 1 commit into
canaryfrom
feat/positron-kanban-observer-o6
Jul 3, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/positron-kanban-observer-o6

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

What

Task #117 O6, the final unit of the positron define-once build-out: a pure-continuum RoomBoardSource RagSource that grounds a persona in the current room's WHOLE work board — every card, its column, priority, and owner — as enriching RAG framing. The Observer perceiving the shared plan.

The purity invariant

Reads the airc work board DIRECTLY via a thin one-method RoomBoardReader seam (work_board_complete → snapshot), never through the desktop-app KanbanViewState projection. Cognition grounds on the airc substrate itself — exactly as WallSource reads wall_posts and ActiveWorkSource reads active_claims. One shared airc board, two faces (a renderer's ViewState and a persona's grounding), never reading through each other. The authoritative board fold lives once in airc.

Distinct from ActiveWorkSource

  • ActiveWorkSource = the persona's OWN claimed cards, cross-room.
  • RoomBoardSource = this room's WHOLE board, all cards/owners.

Genuinely distinct concerns → a new source, not an extension.

Shape (mirrors the established sources)

  • Persona-scoped at construction (defense in depth).
  • Empty board / read error → empty delivery, cognition stays up (good-citizen doctrine).
  • Atomic-per-card render, budget-truncated with a logged drop count, no continuation.
  • Delivers airc's own card order — no continuum-imposed heuristic that would steer cognition.
  • source_id "room-kanban" (distinct from wall's "room-board" and "active-work").

Wiring

  • RoomBoardReader joins the AircCitizen supertrait list; impl'd for airc_lib::Airc (the fold), delegated by the 3 concrete citizens (PersonaAircRuntime, AircHandleAdapter, StubAircCitizen).
  • Registered brain-only + defer-tolerant in supervisor.rs grounding_sources, alongside roster / doctrine / active-work / workspace-map / wall.

Tests

5 tests in one #[cfg(test)] mod tests, each with // what this catches:: whole-board-surfaces-with-owner-and-state, empty-board-delivers-nothing, read-error-returns-empty-no-panic, cross-persona-ctx-returns-empty, oversized-board-truncates-within-budget. Citizen stub tests still green.

Validated: cargo check + scoped cargo test clean (--features metal,accelerate), 0 errors.

🤖 Generated with Claude Code

… whole kanban

Task #117 O6, the final unit of the positron define-once build-out: the
persona Observer perceiving the room's WHOLE work board — every card, its
column, priority, and owner — as enriching RAG framing.

Reads the airc work board DIRECTLY via a thin one-method RoomBoardReader
seam (work_board_complete -> snapshot), never through the desktop-app
KanbanViewState projection. Cognition grounds on the airc substrate itself,
exactly as WallSource reads wall_posts and ActiveWorkSource reads
active_claims. One shared board, two faces (a renderer's ViewState and a
persona's grounding), never reading through each other — cognition stays
decoupled from the rendering layer, the fold lives once in airc.

Complements ActiveWorkSource (own claims, cross-room) with the whole board
of the current room (all cards/owners) — distinct concerns, a new source
not an extension. Atomic-per-card, budget-truncated with a logged drop
count (no continuation), airc's own card order (no continuum-imposed
heuristic that would steer cognition). Empty/error -> empty delivery,
cognition stays up. Persona-scoped at construction (defense in depth).

- RoomBoardReader joins the AircCitizen supertrait list; impl'd for
  airc_lib::Airc (the fold) + delegated by the 3 concrete citizens
  (PersonaAircRuntime, AircHandleAdapter, StubAircCitizen).
- Registered brain-only + defer-tolerant in supervisor grounding_sources,
  alongside roster/doctrine/active-work/workspace-map/wall.
- source_id "room-kanban" (distinct from wall's "room-board" and
  "active-work"). 5 tests, each with `// what this catches:`.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 3e89d52 into canary Jul 3, 2026
3 checks passed
@joelteply
joelteply deleted the feat/positron-kanban-observer-o6 branch July 3, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant