Repository navigation
feat(persona): O6 — RoomBoardSource grounds the persona in the room's whole kanban - #1740
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Task #117 O6, the final unit of the positron define-once build-out: a pure-continuum
RoomBoardSourceRagSource 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
RoomBoardReaderseam (work_board_complete → snapshot), never through the desktop-appKanbanViewStateprojection. Cognition grounds on the airc substrate itself — exactly asWallSourcereadswall_postsandActiveWorkSourcereadsactive_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)
source_id"room-kanban"(distinct from wall's"room-board"and"active-work").Wiring
RoomBoardReaderjoins theAircCitizensupertrait list; impl'd forairc_lib::Airc(the fold), delegated by the 3 concrete citizens (PersonaAircRuntime,AircHandleAdapter,StubAircCitizen).supervisor.rsgrounding_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+ scopedcargo testclean (--features metal,accelerate), 0 errors.🤖 Generated with Claude Code