Add a bounded dashboard attention projection - #153
Merged
Conversation
This was referenced Aug 28, 2026
This was referenced Aug 28, 2026
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.
Effect in one sentence
Adds an authenticated, bounded
/v1/attentionprojection that classifies all visible Tasks before limiting rows, giving clients a truthful complete review count without fetching every Receipt.Stack position
1 of 6: #153 (this API) → #155 → #157 → #159 → #160 → #161.
This stack is an alternative to standalone #152.
Endpoint contract
GET /v1/attention?limit=5agentacct.v1-attention.v1and protected by the existing local bearer token.Review order
src/agentacct/receipt.py— leading-reason selection.src/agentacct/api.py— route, schema, auth, bounds, counts, and cache.Verification at current head
06caf21python -m compileall -q src tests— passed.origin/main, while Linux CI is green.git diff --check origin/main...HEAD— clean.Scope
This is the data-contract foundation only. It does not change the Swift Dashboard or mutate Tasks, findings, blockers, providers, or agents.