Skip to content

Three identical NUL scans across the hosting slices; one owner #630

Closed as not planned

Description

@Blind-Striker

Part of #498 (sweeps).

What. The hosting slices hold three identical copies of one NUL scan, each a plain loop over a string:

All three are in OpenCode.Sdk.Internal, and the background-service slice already uses other launcher internals
(ExecutableResolver, the spawn seams). Each copy's comment explains the same analyzer constraint that makes it a loop.

Rule. docs/engineering/slop-review.md, SLOP-02: a near-duplicate helper or idiom in another slice.

Fix. One owner: the background-service copies call NulText.Occurs, and their private copies are deleted. Where
NulText lives, whether under the launcher or a shared Hosting/Internal, is a layout decision (ADR-0033). It changes no
behaviour, and the existing NUL tests of the three doors cover it.

Evidence. Found by the fresh review of the #611 fix, not run.

Activity

  1. added this to the 1.1 milestone on Oct 26, 2026
  2. added
    ready-for-agent
    on Oct 26, 2026
  3. Blind-Striker commented on Nov 22, 2026

    @Blind-Striker
    CollaboratorAuthor

    Moved to the roadmap board as a draft item. This is internal backlog rather than a request an outside user or contributor would act on, so it no longer lives in Issues. The history stays here.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions