Skip to content

Define controlled external-service test environments #70

Closed

Description

@morluto

Problem

Offline fixtures cannot prove authentication, binding, reconnects, approvals, flags, or diagnostics owned by external services; personal or production credentials are unsafe authorities.

Outcome

Define a reusable policy and harness contract for disposable authorized staging/test environments.

Contract

Manifests describe sanitized service identity, permitted operations/data, disposable resources, credential lifecycle, capture scope, redaction/retention, seed/reset/teardown, exposed backend/flag metadata, and controlled-external authority.

Safety

Never use personal/production credentials. Require capture authorization, host allowlists, ephemeral injection, quotas, teardown verification, and secret/personal-data redaction. Failed teardown is a visible blocker. Store no private endpoints or credentials in fixtures.

Acceptance criteria

Manifests validate before execution; credentials never enter evidence/logs; resources are inventoried and destroyed; client observations are not claims about server implementation; drift is explicit; authorized captures produce sanitized replay fixtures.

Dependencies

Parent #40. Requires Evidence v2 environments, protocol capture, and secret policy.

Verification

Expiry/revocation, allowlists, redaction, quotas, teardown failure, version/flag drift, and offline replay tests.

Non-goals

Private-server implementation recovery, production monitoring, arbitrary credential brokering, or unauthorized traffic retention.

Activity

  1. added
    documentation
    enhancement
    P1: high
    area: tests
    roadmap
    on Jul 12, 2026
  2. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    Split into focused child issues:

    These replace the broad remaining scope in this issue. Closing this parent can happen once all children are closed.

  3. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    Closing as out of scope / premature for the current local CLI/MCP reverse-engineering focus: no supporting code exists, and these areas should be revisited only after in-tree providers and the public boundary are stable.

  4. added a commit that references this issue on Oct 26, 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

    P1: higharea: testsdocumentationenhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions