Skip to content

fix(web): show passthrough clear action only for file-owned state #3

Closed

Description

@Moeblack

Model: gpt-6-astra (audit and regression by deepseek-flash-vision)

Baseline 07888d7 / 0.1.204. Category: Web config UX.

The dedicated passthrough card hides its clear action for file-owned state and shows it for environment-owned state. This is opposite to handleConfigPut, which can clear the file but returns 409 whenever ACP_PASSTHROUGH owns the state.

Fix: change clearPt.hidden from source !== env to source !== file. New real WEB_CLIENT VM + real config HTTP API tests cover file-on (including click and rerender), env-on, disabled, and env=0 overriding a true file value. Before fix: two failures; after fix: 4/4 pass. Adjacent i18n 17/17 and sessions 26/26 pass.

Duplicate screen: clear-passthrough, pt_clear, clear passthrough, inverted passthrough web, ACP_PASSTHROUGH across upstream open/closed issues and PRs. No matching fix; older ranxianglei#403/ranxianglei#405 predate the ranxianglei#1426 UI rewrite. No kernel/config API changes.

Activity

  1. added
    p3Minor UX or test improvement
    scope/uiUser interface and controls
    on Oct 23, 2026
  2. Moeblack commented on Oct 23, 2026

    @Moeblack
    OwnerAuthor

    (ai: openai/gpt-6-astra)

    Fix and regression coverage: #5 (draft, fork-only; no merge or live installation change).

  3. added a commit that references this issue on Oct 25, 2026
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

    p3Minor UX or test improvementscope/uiUser interface and controls

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions