Skip to content

[S8] Decompose private Python settings and workspace routing #154

Closed

Description

Goal

Separate Python settings/default handling and workspace/document routing behind the existing ToolServer facade, without consumer-facing or behavioral changes.

Two incremental PRs

  1. S8a: extract private settings/default handling.
  2. S8b: extract private workspace/document routing, based on S8a.

Preserve

Public methods/attributes; dictionary identity and aliasing; shallow merges, unknown keys and contextual/tool defaults; path/symlink normalization, nested-workspace selection and fallbacks.

Validation

Keep existing settings fixtures, identity checks and real stdio tests passing. Add only focused extraction regressions; run Python tests/lint and check native compatibility across all five consumers against their own baselines, especially Mypy's project settings.

Out of scope

Execution backends, process ownership, lifecycle semantics, wire-format changes, dependencies, directory moves, and deferred source-build work (#143).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions