`get(session)` is the only read of a Session's directory again. `rootOf` and the `workspaceRoot` projection are removed: the directory relative paths resolve from is the workspace root. The difference the second read expressed lives in the `workingDirectory` fold. `workspace-root/change`, the event Host moves record, sets the directory. A stored `working-directory/change`, whose directory the model could choose, sets it only when the directory lies inside the Session's original project; a directory outside the project returns the Session to the project, and the next request's context reports it. The fold state gains the original project, so its state version is 2. The forge worktree fold reads stored changes by the same rule. The subagent manager resolves a child's directory as on master. The compaction snapshot fixture records its fixed directory as a Host move.
description, kind
| description | kind |
|---|---|
| The test-support group map: keyless test harnesses, LLM mock and replay servers, and Loader smoke helpers for developers writing and running repository tests. | package-group |
packages/test-support
English | 中文
Summary
The test-support group gives repository tests deterministic, keyless ways to exercise the real product. It includes Loader application harnesses, session-log snapshot adapters, a replay LLM plugin, and a scriptable OpenAI-compatible fault server. Each package is support-tier infrastructure; a package moves out of this group when it gains a product contract and product consumers.
Table of Contents
Packages
| Package | Role |
|---|---|
session-snapshot |
Provides session-log snapshot support and protocol adapters for profile-driven tests |
agent-loop-testkit |
Provides the shared prerequisite services for tests that exercise the concrete AgentLoop |
tool-testkit |
Defines tool fixtures and exercises invocation or executor behavior in tests |
client-runtime |
Provides the jsdom slot test bench for browser feature specs |
remote-mock |
Provides the endpoint-named Typert Remote mock and the Connection carrier face whole-client specs install |
loader-smoke |
Boots Loader-composed applications and drives fixture turns for smoke tests |
llm-mock-server |
Provides a scriptable OpenAI-compatible fault server for recovery tests |
llm-replay |
Replays recorded model streams for keyless tests and demos |
Related documentation
- Testing policy — the keyless snapshot tier these harnesses serve and when it is required.
- Package groups — how support groups relate to the product groups.
Dev Note
Working context for maintainers — click to expand
None.