fix(控制台): make Console a usable read-only operator surface - #54
Merged
Conversation
Surface doctor FAIL findings instead of ready/unknown, copy a real doctor command, make family/events/channel tabs switch panes, flush the --no-open URL, and stop inventing spawn child names. Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Unscoped overview no longer lets missing roots, including dead /tmp/dyro-test-* aliases, win 现在需要你 or the primary CTA. Timeout and missing-root cards use different copy and sort below a healthy default. Family picker stays on root parents plus focus; empty overlays with lines but no Task/Objective say so in one sentence. Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
Missing or expired bootstrap now paints the door on heading and primary, not only session-status. _capture passes allowlisted next commands into the recommendation. Inverted harness locks cover start(), forced refresh, ghost FAIL, FAIL-over-ready, family picker buttons, and hash tabs. Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
Dandre126
marked this pull request as ready for review
August 21, 2026 08:53
This was referenced Aug 21, 2026
Merged
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.
Stay on 0.7.x. Version stays 0.7.9 (CHANGELOG under Unreleased). No new mutation APIs. ADR 0005 still binds: the page does not merge/push/
--yes/task-status. Existing POSTdecision|contract|ackstays. Copy stays--dry-runwithout--yes.Leave this PR open. Do not merge. Do not publish.
What was broken on 0.7.9
doctorhad real FAIL rows (including missingorigin/featororigin/hotfix).next --format jsoncan reportstate=ready,commands=[], withfindings[]still FAIL.dyro --workspace <alias>that does nothing.#w/<alias>/family|events|channelchanged the hash but all three panes stayed on one scroll.<parent>_new.dyro console --no-openprinted the one-time URL without flush, so a piped stdout never showed it. Opening/without#bootstrap=sat on 正在建立安全本地会话… and left the command-center placeholders (正在读取工程状态 / 正在准备推荐命令…).dyro consoleread the global registry and let dead test aliases (missing/tmp/dyro-test-*roots) win 现在需要你 and the primary CTA (dyro --workspace test-workspace doctor). Unavailable + repair_required sorted the same._capturenever passedcommands=into_recommendation, so prefer-next was not locked.refresh({force:true})against a newcaptured_at.What this PR does
print(..., flush=True)for the--no-openURL. Missing/expired/failed-exchange bootstrap paints the door on#overview-headingand#primary-command(emptied/hidden), not only#session-status, and tells the operator to rundyro consoleagain.nextcommand when present (commands=through_capture/page()); if commands are empty but FAILs exist, copydyro --workspace ALIAS doctor. Never a bare workspace invocation. Isolated allowlist now requires a subcommand.#w/<alias>/family|events|channelordetailTabshows that pane and hides the others (hidden+ tablist) without a click.refresh({force:true})so the overview re-fetches withoutIf-None-Matchand#captured-atmoves.missing_root, including FAIL/repair that would steal 现在需要你) out of 现在需要你 and the primary CTA. They fold under 读不到.--rootscoped console still hides other workspaces.unavailable_reasonismissing_root|read_timeout|other. Card copy and sort differ; timeout and missing-root sort below a healthy default. Isolated still requires an allowlisted doctor command on the unread card; the page does not promote it.core_pay/core_pay_fix).需要修复when FAIL findings exist, even ifattention.ready > 0.Inverted tests (must go red when the gate is deleted)
test_missing_bootstrap_explains_how_to_open_again— onlysetStatus, placeholders remaintest_fail_findings_prefer_allowlisted_next_command_over_doctor— dropcommands=in_capturetest_forced_refresh_omits_etag_and_moves_captured_at— removeforcefromrefresh()/ clicktest_ghost_test_workspace_does_not_win_command_center— remove unavailable /missing_rootgatestest_fail_outRanks_ready_in_overview_heading— swap ready above FAIL inoverviewStatetest_family_picker_defaults_to_roots_plus_focused_parent— iterate all line ids inrenderFamilyTreetest_hash_tab_shows_only_that_pane_without_a_click— delete the initialapplyLiveTabPolarity tests use generic ids only (
core,core_pay,release_a,test-workspace). Previously locked items stay green.Leave this PR open. Do not merge. Do not publish.