Skip to content

Make Test judge explicit about testing saved settings versus the current draft #42

Closed

Description

@CompleteDotTech

Problem

Transport and executable controls edit local draft state, but Test judge invokes routing:test with no draft. The result describes the previously saved/cached configuration rather than the visible values. A user can mistake a successful test for validation of a new executable or transport.

Triage

  • Original finding: 3 of 11.
  • Priority: P2. Schedule as a normal correctness/feedback fix.
  • Classification: Confirmed behavior/source defect.
  • Inspected current main: 3c2bb240059b3e1bec9264f1e57fa885096c6bf9 (2026-10-01).

Evidence

Source-confirmed: setR changes local s.routing; runTest sends no request payload; Router.test reads saved policy/setup.

Source: apps/desktop/src/renderer/components/SettingsDialog.tsx:86, apps/desktop/src/main/engine/routing/router.ts:108.

Acceptance criteria

  • Either safely test an explicit draft without persisting it, or disable the action while relevant fields are dirty and clearly instruct the user to apply first.
  • Identify the exact transport/executable/model tested; invalidate a displayed result when those values change.
  • Regression coverage changes a draft transport/executable and proves an old configuration cannot appear to validate it.

Coordination and validation

Related issues: #40 (finding 1), #41 (finding 2), #46 (finding 7), #50 (finding 11). These are coordination links, not hard blockers.

Recommended sequence: fix transport enforcement/setup invalidation and policy constraints first; coordinate draft testing/status and persistence semantics; then reorganize the UI and add advanced controls. Independent fixes may proceed without artificial dependencies.

Use offline fixtures/fake transports for automated checks. Coding turns remain CLI-only; do not launch live agents or weaken approval/sandbox behavior. Implementation PRs must use their own worktree, update docs/status.md as applicable, and run required build/unit/UI checks. This issue publishes scope and acceptance criteria; no production fix or live-provider verification is claimed.

Activity

  1. added a commit that references this issue on Oct 3, 2026
    d9414b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions