Packages vendored from the sibling Geniro repo — keep changes minimal; the deliberate local changes. A repository rule for packages/**; read it before editing a file there.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rule Vendored Packages?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/geniro-io-rule-vendored-packages)
---
name: rule-vendored-packages
description: "Packages vendored from the sibling Geniro repo — keep changes minimal; the deliberate local changes. A repository rule for packages/**; read it before editing a file there."
---
<!-- GENERATED by scripts/sync-agent-rules.mjs from .claude/rules/vendored-packages.md. DO NOT EDIT: edit the source, then run `pnpm sync:agent-rules`. -->
# A note on vendored packages
`packages/{common,http-server,metrics,mikroorm}` are copied from the sibling Geniro monorepo (`../geniro` beside this checkout). Keep changes minimal so fixes can flow between the repos. The deliberate local changes:
- Sentry removed from `common` and the `http-server` exception path; OIDC auth in `http-server` left dormant.
- `mikroorm` driver swapped from Postgres to `@mikro-orm/sqlite`.
- `http-server`: `runHttpApp` / `buildHttpServerExtension` gained `host` / `portFallback` / `onListening` (defaults keep upstream's `0.0.0.0`); `setupSwagger` gained an optional `swagger.guard(authorization)`; `buildHttpNestApp` passes Nest's `forceCloseConnections: true`, so a request still open at shutdown cannot hold the server's close and the shutdown hooks after it; `utils/openapi-schemas` canonicalizes duplicate components and fails boot on a dangling `$ref`.
- `http-server`'s `redactSecretQueries` masks the artifact page's `key` parameter; keep that name in any fix that flows back.
- `mikroorm`'s `BaseDao.hardDeleteIncludingSoftDeleted`: a separate method so the destructive purge is never reachable through an option.
- `mikroorm`'s `TimestampsEntity` declares its dates with the `DateTimeType` class (the `'datetime'` string makes every loaded entity dirty and re-dates rows on flush).