Skip to content

epic: internal AI guardrails thin distribution for Cor-Incorporated #1

@terisuke

Description

@terisuke

Summary

Build the Cor-Incorporated internal distribution on top of upstream-friendly OpenCode without turning the fork into a deep product fork.

Why

This follows the philosophy established in claude-code-skills epic #130 and its README/ADRs:

  • mechanism over prose for quality and safety
  • fastest reliable feedback layer first
  • pointer-based instructions instead of bloated always-loaded prompts
  • "implemented" is not "working" unless deployment/runtime behavior is verified as a system
  • explicit workflow gates for review, CI, and release-sensitive actions

Scope

  • wrapper distribution and packaged profile
  • managed config for enterprise defaults
  • Claude-compatible skill/rule migration strategy
  • plugin- and command-based guardrails
  • scenario coverage for critical behavior
  • provider admission policy

Planning docs in repo

  • docs/ai-guardrails/README.md
  • docs/ai-guardrails/adr/
  • docs/ai-guardrails/issues/
  • docs/ai-guardrails/migration/claude-code-skills-inventory.md

Success criteria

  • OpenCode core stays close to upstream
  • direct-reuse SKILL.md assets remain usable during migration
  • org-specific control lives in config/profile/plugins/commands/CI layers
  • critical guardrails are scenario-tested or CI-enforced
  • no critical workflow depends on hidden local hook deployment steps

Planned workstreams

  1. Bootstrap thin distribution
  2. Claude asset inventory and import
  3. Guardrail plugin MVP
  4. Safe agents and commands
  5. Provider admission policy
  6. Scenario and replay harness

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