Skip to content

Move behavior tests off private shapes #138

Description

@AustinKelsay

Parent

#130

What to build

Replace private implementation casts in the Relay, Nostr, NIP-46, and NIP-47 test clusters with behavior observed through public APIs or narrowly owned testing-entrypoint seams.

Acceptance criteria

  • The shared private-shape test adapters for Nostr and Relay are removed.
  • Relay behavior tests no longer cast instances to private fields or methods.
  • Targeted NIP-46 and NIP-47 tests no longer reach through broad private-shape casts.
  • Any remaining test-only control is explicit, narrow, and owned by the testing entrypoint.
  • Behavioral coverage and failure sensitivity remain intact.

Blocked by

Delivery

This is cleanup slice 8 of 9. Deliver it on its own branch and non-draft pull request into staging, then merge it before starting the next slice.

Activity

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-agentMatt Pocock skill state: ready-for-agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions