Keep coordination inbox payloads compact#244
Merged
Conversation
added 2 commits
April 29, 2026 02:57
The attention-budget test kept an older InboxMessage fixture shape after message action hints gained canonical reply and mark-read fields. Updating the fixture makes the hooks package typecheck meaningful again without changing runtime behavior. Constraint: Production inbox payloads still expose both canonical action fields and the older reply_with/mark_read_with aliases. Rejected: Cast the fixture to any | would hide future contract drift. Confidence: high Scope-risk: narrow Directive: Keep test fixtures structurally complete when InboxMessage grows; avoid casts that bypass the contract. Tested: pnpm --filter @colony/hooks typecheck; pnpm --filter @colony/hooks test -- attention-budget.test.ts; pnpm --filter @colony/hooks test; pnpm exec biome check packages/hooks/test/attention-budget.test.ts; git diff --check Not-tested: repo-wide pnpm -r typecheck.
attention_inbox listed every stalled/dead lane by default, which made the normal coordination check expensive in active repos. This keeps the total count as the durable signal, caps returned lane rows, and lets MCP/CLI callers raise the row limit when they need the full list. Constraint: Agents need stalled lane awareness without hydrating unbounded coordination history. Rejected: Hide stalled lanes completely | loses takeover signal and makes the summary count unactionable. Confidence: high Scope-risk: narrow Directive: Keep default coordination payloads bounded; add explicit expansion knobs instead of widening defaults. Tested: pnpm --filter @colony/core test -- attention-inbox.test.ts; pnpm --filter @colony/mcp-server test -- server.test.ts; pnpm --filter @colony/hooks test -- attention-budget.test.ts; pnpm --filter @colony/core typecheck; pnpm --filter @colony/mcp-server typecheck; pnpm --filter @imdeadpool/colony-cli typecheck; pnpm exec biome check touched files; openspec validate agent-codex-make-colony-less-token-consuming-2026-04-29-02-54 --strict Not-tested: full monorepo test suite
NagyVikt
added a commit
that referenced
this pull request
Apr 29, 2026
The compact-inbox implementation merged in PR #244, but the source OpenSpec task file still had unchecked completion boxes. Recording the PR merge and cleanup evidence keeps the durable task artifact aligned with repo truth. Constraint: Follow-up is bookkeeping only; runtime code already merged in b937fb7. Rejected: Leave the checklist stale | future agents would treat completed work as unfinished. Confidence: high Scope-risk: narrow Directive: Do not reopen compact inbox implementation from this checklist; use PR #244 merge evidence as the closeout source. Tested: openspec validate agent-codex-make-colony-less-token-consuming-2026-04-29-02-54 --strict; git diff --check Not-tested: runtime suites not rerun; no runtime code changed. Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
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.
Automated by gx branch finish (PR flow).