Skip to content

guardrails: scenario and replay harness #7

Closed

Description

@terisuke

Parent epic: #1

Source brief:

  • docs/ai-guardrails/issues/006-scenario-and-replay-harness.md
  • packages/opencode/test/scenario/guardrails.test.ts

Problem

Guardrails are only credible if config precedence, plugin behavior, and migration compatibility are exercised automatically.

Deliverables

  • scenario tests for managed config precedence
  • scenario tests for Claude-compatible skill discovery
  • scenario tests for plugin shell environment injection and lifecycle hooks
  • follow-up plan for replaying release-gate and provider-admission scenarios

Acceptance

  • scenario suite runs under packages/opencode
  • the tests are stable on local development machines and CI
  • future guardrail issues can link to specific scenario coverage

Notes

Dependencies

Activity

  1. terisuke commented on Apr 3, 2026

    @terisuke
    Author

    This issue is in the now-required set for the MVP floor tracked in #16. It should prove the MVP floor in runtime scenarios and replay coverage, not expand into unrelated maturity work.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions