Repository navigation
Argus feels fast: early words in chat, reasoning effort by need (rule 3) - #324
Merged
Merged
Conversation
Early words: the Manager's first message of a turn ("我先看一下 core.py")
goes on the shared Activity stream at once as a ui.argus row marked
in_progress/live, with the turn's message id. The final reply carries the
same id and replaces it; only the final reply is journaled. The web feed
drops a draft once its final reply, a later draft, or any later message
exists; map trace/view ignore drafts when closing a turn.
Effort by need (argus/core/effort_policy.py): Manager chat turns run at
medium, high while ruling on a team stage question. Bounded missions
(direct, not research/paper vertical) run Engineer round one and the
Reviewer at medium; later rounds, research, paper and staged work at high.
Nothing defaults to xhigh. An explicit role effort (env, /config switch,
hosting) still wins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Design rule 3 (no waiting in the dark), measured by the scenario eval.
What changed
Early words. While a Manager turn runs, its first model message (for example "我先看一下 core.py") is written to the shared Activity stream right away. It is a
ui.argusrow markedin_progress/liveand carries the turn's message id (argus/webapi/manager_bridge.py). The final reply uses the same id and replaces it. Only the final reply goes into the transcript. The web feed hides a draft once its final reply, a later draft, or any later message exists (dropSupersededDraftsinfrontend/web/src/lib/conversationEvents.ts). Map trace and map view skip drafts when they close a turn. The SSE route already streamed live deltas; this change also covers the blocking POST, page reloads, and other tabs.Effort by need (
argus/core/effort_policy.py, one place):/configswitch, or hosting.ARGUS_SKILL_SELF_/MANAGER_REASONING_EFFORTsets the Manager.ARGUS_SKILL_ENGINEER_[INITIAL_]REASONING_EFFORTandARGUS_SKILL_REVIEWER_REASONING_EFFORTset the team roles.Scenario eval (20/20, checks 96/96 both runs)
Baseline
runs/20261024-085712vs this branchruns/20261024-092946. Medians in seconds:The whole run cost 105 quota units, down from 195 (estimated API price $1.81, down from $4.81).
First response now counts the in-progress first line, because that is when the person first sees words in the chat. Completion is when the answer or work is ready.
Tests
tests/test_effort_policy.py.frontend/web/src/test/conversationEvents.test.ts.🤖 Generated with Claude Code