You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Token efficiency: pm context agenda events re-embed full item payloads already listed in the same response (~35% of brief output) #591
In pm context (default depth brief), every agenda.events[] entry re-embeds a near-full item payload (item_title, item_type, item_status, item_priority, item_assignee, item_deadline, item_tags) for items that are already fully listed in high_level/low_level of the same response.
All 6 agenda events referenced items already present in the same response (2 in high_level, 4 in low_level) — every embedded field was a duplicate except at/date/kind.
Expected: agenda events reference items by item_id (+ at, kind, and maybe item_title for readability) when the item already appears in the same context response; full embedding only for items not otherwise present.
Actual: unconditional full embedding — on deadline-heavy workspaces the agenda approaches a second copy of the item lists.
Why it matters for agents
pm context is the command agents are told to run first and most often; every duplicated field is context-window tax paid on each call. A dedup here cuts brief-mode output ~25-30% on realistic workspaces with deadlines, with zero information loss. Sibling of open GH-445 (repeated tags within low-level rows) — that one is within-row redundancy, this is cross-section duplication.
#77 - Speed up list/search/health via metadata + drift caches; fix health ok:false [closed] #196 - Add linked-test selectors and aggregate completion [closed] #234 - pm context --depth full + --parent subtree scope; pm list --no-truncate (GH-156, GH-154, GH-155, GH-223) [closed] #431 - Add SDK boundary inventory ratchet [merged] #559 - SDK durable relationship history and bounded context adapters [merged]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Activity
coderabbitai commentedon Jul 18, 2026
🔗 Related PRs
#77 - Speed up list/search/health via metadata + drift caches; fix health ok:false [closed]
#196 - Add linked-test selectors and aggregate completion [closed]
#234 - pm context --depth full + --parent subtree scope; pm list --no-truncate (GH-156, GH-154, GH-155, GH-223) [closed]
#431 - Add SDK boundary inventory ratchet [merged]
#559 - SDK durable relationship history and bounded context adapters [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
unbraind commentedon Jul 18, 2026
pm tracker item: pm-6m1i