Skip to content

chore: auto-sync drop-in plugin example with source module #31

Description

@byapparov

Context

`examples/team-config/.opencode/plugins/hush.ts` is a verbatim copy of `src/plugins/sensitive-patterns.ts` + `src/plugins/opencode-hush.ts` inlined into one file. Security fixes to the source must also be manually applied to the example — there's no automated check for drift.

Proposal

Either:

  1. Add a unit test that imports both and asserts the pattern lists are identical
  2. Generate the drop-in example via a build step that inlines the source modules

Priority

Low — maintenance hazard, no runtime impact.

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