Files
xmv97 e72a3678fb feat(ent+migration): mirror agent_* schemas for slim resources
Mirror the 9 agent_* tables from mcai-backend as read-only ent schemas
on the mcai-gh/backend side (shared Postgres consumer). Skill/plugin
version tables keep s3_key; rule_versions intentionally omits s3_key /
s3_synced_at (rule content is DB-authoritative, no S3 mirror).

- ent/schema: agent_rule(+version), agent_skill_repo, agent_plugin_repo,
  agent_skill(+version), agent_plugin(+version), agent_sync_job
- ent/types/agent_resources.go: SkillParsedMeta, PluginParsedMeta,
  PluginManualEntries, SyncJobErrors, SyncJobResultSummary jsonb GoTypes
- migration/000011_agent_resources.{up,down}.sql: full schema with
  CHECK constraints + reverse FKs (rule_versions has no s3 columns)
2026-06-07 09:19:12 +00:00
..