Skip to content

Surface urgent task messages at session start#58

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/surface-unread-messages-in-session-start-2026-04-25-00-04
Apr 24, 2026
Merged

Surface urgent task messages at session start#58
NagyVikt merged 1 commit intomainfrom
agent/codex/surface-unread-messages-in-session-start-2026-04-25-00-04

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Unread direct messages were invisible unless agents remembered to query task_messages manually. Route unread message summaries through the attention inbox and render them during SessionStart so blocking and reply-needed messages become turn-start context while FYI stays collapsed.

Constraint: SessionStart must stay cheap, so the hook disables stalled-lane filesystem reads when it only needs task-scoped unread messages.

Rejected: Render every FYI preview inline | would add context noise and defeat the urgency dial.

Confidence: high

Scope-risk: moderate

Directive: Keep FYI collapsed unless product data shows agents miss low-urgency context.

Tested: pnpm --filter @colony/core test -- attention-inbox.test.ts; pnpm --filter @colony/hooks test -- task-injection.test.ts; pnpm --filter @colony/core typecheck; pnpm --filter @colony/hooks typecheck; pnpm exec biome check touched files; git diff --check

Not-tested: @imdeadpool/colony-cli typecheck is blocked by existing @colony/spec errors in apps/mcp-server/src/tools/spec.ts
@NagyVikt NagyVikt merged commit 81cf69f into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/surface-unread-messages-in-session-start-2026-04-25-00-04 branch April 24, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant