docs(cli): remove stale composition references

This commit is contained in:
Turtle
2026-07-29 21:59:44 +08:00
parent 3d446da9c7
commit 3d3a261793
12 changed files with 18 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ describe('parseDshArgs', () => {
expect(parse(['meta'])).toEqual({ mode: 'meta' })
// Credential setup is option-free: it writes the Harness-home .env, so
// there is nothing for a flag to select.
// Bare `web` carries no host/port: the shipped cordis.yml owns the default.
// Bare `web` carries no host/port: the shipped Web overlay owns the default.
expect(parse(['web'])).toEqual({ mode: 'web', dev: false })
// Host/port are unvalidated pass-throughs (the webserver schema gates them
// at boot); the adapter only coerces the port string to a number.
@@ -64,7 +64,7 @@ describe('parseDshArgs', () => {
expect(exitCode(['web', '--resume', 's'])).toBe(1)
expect(exitCode(['--config', 'c.yml', 'web'])).toBe(1)
expect(exitCode(['--config-replace', 'tree.yml', 'web'])).toBe(1)
// Same rule for credential setup: it shares no option with the default
// Same rule for each subcommand that shares no option with the default
// surface, so a leaked flag is a typo, not something to ignore.
// `meta` fixes its own config tree and always starts fresh, so every
// default-surface option is rejected.

View File

@@ -16,7 +16,7 @@ import { describe, expect, it } from 'vitest'
* node_modules, so no external consumer is assembled; missing-config fail-loud
* and full-boot coverage for the shared dsh-app-boot glue live in cli-demo's
* built-bin suite, and interactive TTY behavior is PTY-covered by
* examples/tui-agent. Skips before the bin is built.
* apps/cli/tests. Skips before the bin is built.
*/
const repoRoot = fileURLToPath(new URL('../../../', import.meta.url))

View File

@@ -3,7 +3,7 @@
* its opaque `SESSIONS_ROOT_KEY` boot-slot value to `DSH_HOME/sessions`. The
* plugin side — the slot treated as opaque, explicit config winning, and a
* project-local fallback with no globality assumption — is pinned by
* `packages/examples/tui-demo/tests/tui-agent.spec.ts`.
* the former bundled TUI tests.
*/
import { join, resolve } from 'node:path'

View File

@@ -53,7 +53,7 @@ interface Scenario {
recorded: boolean
seedWorkspace?: boolean
/**
* Load the opt-in `todo_write` tool for this scenario. The shipped tui-agent
* Load the opt-in `todo_write` tool for this scenario. The shipped TUI
* config omits it, so only the todo-plan scenario (the enabled-path proof)
* mounts it; the rest cover the default, todo-free composition.
*/