Skip to content

guardrails: scenario and replay harness #7

@terisuke

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

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