Conversation
scripts/tui-host.no-jest.ts, which the snapshot and agent e2e routes run, had drifted since Release B: it imported a deleted legacy runner module, passed a removed session option, and called authenticate and project-data resolution with old arities. It now starts the TUI with the CLI's host, logs in through cliAuthHost, and walks composed programs with run-wizard's own advanceStep over the TUI flow instead of a hand-copied loop. check-screens.tsx took SettingsConflict from an agent module that no longer exports it. Nothing typechecked scripts/, which is how both went unnoticed; the root project now includes it. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
Each layer README states its entries, intent and wiring; the headless one carries the control route, action and setter tables. AGENTS.md lists the three layers next to agent, shared and programs. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
…onsumers Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
Agent, programs, TUI and shared roots now hold only index.ts, types.ts, the README and tsconfig.layer.json. Every other file moves, with its tests, into a folder named for one job (agent: security, prompt, progress, sdk; programs: run, host, registry; tui: app, state, flows; shared: config, posthog, gateway, claude, skills, pricing, run). Imports within a layer stay relative and cross-layer entries are unchanged, so the move is renames plus import rewrites. The agent-runner re-export shim is deleted; its three test importers use the runner directly. Each layer README gains a folder map and AGENTS.md states the rule. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
Merge the restacked C2d (4d2bf0b) into C3. The merge has no textual conflicts. C3 typechecks `scripts/`, which surfaced A3's fault probe still written against A3-era paths. It now uses the `@agent` entry and `@agent/types`, supplies inference auth through `createCiGatewayAuth`, drops the removed switchboard config, and exits through `@cli/wizard-abort`. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
…nize Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589 # Conflicts: # e2e-tests/mocks/handlers.ts # scripts/tui-host.no-jest.ts # src/agent/__tests__/run-agent-standalone.test.ts # src/agent/runner/README.md # src/agent/runner/sequence/linear.ts # src/agent/runner/sequence/orchestrator/orchestrator-runner.ts # src/agent/runner/shared/types.ts # src/agent/sdk/agent-interface.ts # src/programs/__tests__/run-agent-legacy.test.ts # src/programs/run/run-program.ts
The headless runner marked its store running as soon as it built it, before serving the control socket. The server's idle gate reads that phase, so POST /credentials, /detect and /shutdown answered 409 until a run finished, and a parent could not log in or detect before its first run. A controlled store now stays idle until POST /runs sets the phase. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
Merge the joined C2d (486061f) into C3, which already holds the organize change from the former C4. B's content keeps its behavior and takes C4's paths: - Conflict hunks and B-added files take the incoming side, with import specifiers rewritten through `c4-moves.json`, `vi.mock` paths included. - `ledger-watcher.ts` stays deleted in favor of B's `watch-ledger.ts`. - `skill-run-cleanup.test.ts` moves next to its module in `src/shared/skills/`. - CODEOWNERS and the README owner table point at `src/tui/decks`. - The A3 fault probe keeps the `@agent` entry and `createCiGatewayAuth`, and adds B's harness normalization. Typecheck with the layer build and probes, lint, 3504 tests and `build:ci` with the warlock smoke pass. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
M16: downloadSkill no longer scans the downloaded skill; the install triage option goes with it. Warlock's tool-use hooks stay. Docs, READMEs and skills describe the layer matrix, the per-program contract, TUI program folders, runner contexts and the control API. Generated-By: PostHog Desktop Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Test against a Context Mill branch:
Add Results will be posted here when complete. |
gewenyu99
added this pull request to stack #1372
September 27, 2026 15:28
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.
Replaces #1316, which GitHub marked merged after a mis-stacked push.
Problem
The download-time skill scan duplicated warlock's tool-use hooks. The docs described the old layout.
Change
triageoption are removed. Warlock's tool-use hooks, including the Bash skill-install hook, stay, and the warlock smoke keeps its rule checks.Checks
Created with PostHog Desktop