perf(cli): replace status polling with turn-intent push - #565
Merged
Conversation
This was referenced Jul 29, 2026
beruro
force-pushed
the
junyu/cli-runner-intent-propagation
branch
from
July 30, 2026 07:07
5a075ab to
cac6149
Compare
beruro
force-pushed
the
junyu/rpc-performance-closure
branch
from
July 30, 2026 07:09
c42f777 to
cb96c41
Compare
beruro
force-pushed
the
junyu/cli-runner-intent-propagation
branch
from
July 30, 2026 07:50
cac6149 to
952201d
Compare
Pre-commit hook ran. Total eslint: 0, total circular: 0
beruro
force-pushed
the
junyu/cli-runner-intent-propagation
branch
from
July 30, 2026 08:05
952201d to
e746dd4
Compare
Harry19081
self-requested a review
July 30, 2026 08:45
Harry19081
added a commit
to Ethereallllllll1/ORG2
that referenced
this pull request
Jul 30, 2026
PR org2AI#565 papered over two `too_many_arguments` hits in the CLI run commands with `#[allow]`. Group the arguments into `CliRunRequest` / `CliMessageRequest` instead, matching the `request: T` command convention already used by `benchmark_*`, `human_session_*`, and pagination. `turn_intent_id` + `client_message_id` move into a `TurnIdentity` pair so the "adopt the client's ids or mint fresh ones" rule lives in one place rather than being duplicated across the two entry points.
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.
Summary
Stack
Depends on #512, which now contains only the persisted turn-intent batch projection. This PR is the end-to-end CLI transport slice; frontend queue/intervention semantics will follow separately.
Validation
pnpm typecheckand changed-file ESLintcargo test -p org2 agent_sessions::cli: 280 passed, 1 ignoredcargo check -p org2git diff --check junyu/pr512-core-rebuild...HEADArchitecture boundary
Covered persistence adapter, RPC schema/procedure, CLI runner, websocket transport, and reconciliation projection. Generic async consumers, caches/scans, diagnostics, profiling, and Team Inbox are excluded.