Skip to content

iter-20260816-fallbacks-tui-client: dsh-tui client surface (/fallbacks + /fallbacks config + README) - #50

Merged
btspoony merged 13 commits into
mainfrom
iteration/iter-20260816-fallbacks-tui-client
Aug 16, 2026
Merged

iter-20260816-fallbacks-tui-client: dsh-tui client surface (/fallbacks + /fallbacks config + README)#50
btspoony merged 13 commits into
mainfrom
iteration/iter-20260816-fallbacks-tui-client

Conversation

@btspoony

Copy link
Copy Markdown
Collaborator

Iteration iter-20260816-fallbacks-tui-client — dsh-tui client face

Adds a dsh-tui client surface for the llm-fallbacks plugin (zero dsh-TUI changes):

  • src/tui.tstuiCommandTrees /fallbacks provider (root fallbacks, zh/en localized descriptions, config subcommand completion; structural types, zero new peers; first-fiber-only via serviceOwned)
  • /fallbacks config — read-only composed-config readback (enabled / triggerCodes / rootChain / roles summary / cooldownMs / revertPolicy / maxSwitchesPerStep / alwaysModeRetryCap / presets + file-only edit hints); bare /fallbacks unchanged; two surfaces distinct from the first line
  • README.md + README.zh-CN.md — dsh-tui profile section (install / config via profile patch + shared $DSH_HOME/settings.yaml / commands / web-only card limitation); docs/install.md + docs/configuration.md updated
  • Fix (live-QA): /fallbacks registration used input: { hint: '' } which real dsh-commands rejects (input hint must not be empty) — the command never registered in any real profile; omitted input (optional) + tests updated

Verification

  • 596 tests green (28 files) + typecheck + build (QA rerun)
  • QC: tri 3× Approve + targeted re-review 2× Approve, 0C/0W, zero-residual
  • QA: CONDITIONAL PASS — live dsh-tui v0.5.0 session: /fallbacks当前会话 fallback 诊断(只读), /fallbacks configFallbacks 配置: 已启用 (both dispatch in the real TUI); settings namespace resolves (shared settings.yaml fallbacks: section); accepted residual R1 = live trigger-code failure turn not staged (38 substitute integration tests pass)
  • Compound: knowledge/architecture-patterns/dsh-tui-client-seams.md (new) + dsh-cordis-plugin-authoring.md (command-hint trap)

@btspoony
btspoony merged commit 558ab2f into main Aug 16, 2026
1 check passed
@btspoony
btspoony deleted the iteration/iter-20260816-fallbacks-tui-client branch August 16, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant