Skip to content

Fixed per-operation behaviour moves into hand-written bases #482

Closed as not planned
2 of 2 issues completed
Closed as not planned

Description

@Blind-Striker

Part of #350, the quality-refactoring roadmap (deferred to 1.1).

Goal: Fixed per-operation behaviour moves into hand-written bases (a spike first, then a design record). Lands paired with #488.

Status: todo.

The finding issues it closes are linked as sub-issues; this issue closes when the epic's last PR merges and master CI is green.

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added this to the 1.0 milestone on Oct 18, 2026
  2. Blind-Striker commented on Oct 18, 2026

    @Blind-Striker
    CollaboratorAuthor

    Clone baseline ownership from #517 (#452): the guard-prelude ignore made a pre-existing duplicated body visible: tools/OpenCode.Sdk.Tools/Generator/Emission/EnvelopeEmitter.cs:11-21 ↔ ResponseAdapterEmitter.cs:11-21 (the Emit preludes). It is baselined with this issue as its owner, since ResponseAdapterEmitter belongs to this issue (decision 2 of #481). When the hand-written bases replace it, drop the fingerprint from tools/jscpd/tools.baseline.json (verify-clones reports it stale).

  3. Blind-Striker commented on Oct 24, 2026

    @Blind-Striker
    CollaboratorAuthor

    #481 takes one item from ResponseAdapterEmitter, which otherwise stays this epic's: its single OpenCodeJsonContext registry literal becomes a RegistryNames call, byte-identical, in #481's second PR. It is a named exception, so that #481's proof ("no OpenCodeJsonContext literal outside RegistryNames") holds across Emission. This epic should not redo it. The rest of ResponseAdapterEmitter (its size, its Number, StatusVerdict and Routes helper copies, and the per-operation tables) stays here, as #481's decision 2 assigned.

  4. modified the milestones: 1.0, 1.1 on Oct 25, 2026
  5. Blind-Striker commented on Oct 25, 2026

    @Blind-Striker
    CollaboratorAuthor

    Moved to milestone 1.1 by the 1.0 triage (2026-10-25). The epic's refactor is internal; the one piece that changes documented consumer behaviour stays in milestone 1.0 as its own issue and lands before 1.0.0 as a small PR: #30 (the envelopes' printing), with #177 (the doc-comment wording).

  6. changed the title [-][GEN-E5] Fixed per-operation behaviour moves into hand-written bases[/-] [+]Fixed per-operation behaviour moves into hand-written bases[/+] on Nov 6, 2026
  7. 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions