Current release: v0.3.2.0 Production Readiness Release
RegHub is the registry service for the YGIT ecosystem. It imports and analyzes template metadata,
manages publication, and serves a stable read-only API to ygit.net. RegHub does not build or
deploy user projects.
- Identity:
auth.vib.tools/ Keycloak - Registry:
reghub.ygit.dev - Deployment:
ygit.net - Repository sources: GitHub, GitLab, Bitbucket, local manifest/ZIP
- Hosting: Coolify
This release consolidates the v0.3.1.x stabilization work and closes forensic security and delivery gaps without adding an API route, database migration, provider, administrator page or registry feature.
- Requires independent production session, runtime-encryption and audit-signing keys.
- Validates production origins, hosts, proxy networks and credential-bearing HTTPS endpoints.
- Sanitizes request identifiers, forwarding metadata and local manifest/ZIP input.
- Runs the installed application wheel in Docker without a shadow runtime source tree.
- Pins GitHub Actions by immutable commit and repeats security/release checks in CI.
- Validates a non-root, read-only, capability-dropped container through
/api/v1/ready.
This release adds no feature, API route, table, column, provider, administrator page or runtime dependency. It hardens production configuration, serializes automatic migration/seed startup across replicas, checks Docker readiness, and makes dependency auditing deterministic for the private RegHub package.
- Rejects the known development session secret and wildcard proxy trust in production.
- Requires HTTPS public and OIDC issuer URLs in production.
- Adds PostgreSQL advisory-lock protection around automatic migration and seed startup.
- Adds dependency consistency and single-Alembic-head CI gates.
- Audits exact installed third-party versions while excluding only the private
reghubdistribution. - Uses
/api/v1/readyfor Docker and CI container health.
This release completes only the unfinished repository and historical-data cleanup identified after v0.3.1.0. It adds no feature, API, table, column, service, integration, Setting or deployment change.
- Removes the stale tracked
build/lib/appapplication and all tracked build/distribution output. - Removes generated compatibility, inventory and verification artifacts from source tracking.
- Removes unused Cloudflare, Coolify and Docker placeholder integration files.
- Adds automatic data-only migration
20260722_0008_final_stabilization_hotfix. - Normalizes historical analysis quality/evidence to the same registry-only structure used by new imports and synchronizations.
- Preserves framework, language, package manager, license, README, topics and repository metadata.
- Keeps public API, admin, OIDC, publishing, import, sync, assets, manifests, Docker, CI and Coolify behavior unchanged.
This is a stabilization release. It adds no public endpoint, integration, provider, administrator page, setting, service, deployment capability, or workflow. The existing replace-files, Git push, and Coolify deployment process is unchanged.
- Rejects legacy or malformed administrator cookies that do not contain verified roles.
- Separates OIDC state, administrator-authentication, and SQLAdmin auxiliary-session signing material through deterministic purpose-bound key derivation without requiring a new environment variable.
- Clears all local authentication cookies during logout and uses the existing OIDC end-session URL when configured.
- Guarantees that private GitHub, GitLab, and Bitbucket repository content is never sent to the optional AI metadata integration.
- Keeps repository analysis focused on framework, language, package manager, license, topics, README, repository metadata, preview media, quality, and security signals.
- Stops generating build, start, runtime, environment, deployment-type, or deployment-readiness recommendations. Existing manifest v1/v2 schemas remain readable for API compatibility.
- Adds migration
20260722_0007_architecture_stabilizationfor safe data normalization, exact asset deduplication, model constraints, redundant-index cleanup, and generated-intelligence cleanup. - Removes historical generated verification/inventory reports from the tracked source package while retaining release manifests and documentation.
All v0.3.0 APIs, RBAC, audit records, Settings, Operations, templates, migrations, and deployment boundaries remain compatible.
- Repaired
/admin/governanceby rendering it through the shared full-width responsive admin block. - Rebuilt governance posture into responsive status tiles, bounded cards, wrapped proxy/key values, and a readable audit summary.
- Added Redis Operation Worker to Settings → Project feature control.
- OFF keeps new operations in the existing in-process runner. ON routes new operations to Redis only after Redis connectivity and a healthy standalone-worker heartbeat are verified.
- Disabling the switch drains already queued Redis operations so administrator actions are not stranded.
- No database migration or existing route removal is required.
All v0.2.3.4 registry, import, Settings, Operations, API access, Keycloak, template and database behavior remains compatible.
- Added optional Redis-backed durable operations with a standalone worker. The default remains
inprocess, so the current Coolify service can be upgraded without Redis. - Added Redis/in-memory catalog cache, generation invalidation and runtime failover.
- Added trusted-proxy normalization and per-IP, per-token and administrator rate limiting.
- Added Keycloak RBAC for Viewer, Editor, Publisher, Security Admin and Super Admin while preserving
legacy
reghub-adminaccess. - Added a read-only, HMAC-signed hash-chain audit trail and
/admin/governanceposture dashboard. - Added versioned runtime/audit keyrings with v0.2.x secret-decryption compatibility.
- Added PostgreSQL/Redis integration CI, migration/seed validation, dependency audit and Docker smoke.
- Added additive migration
20260721_0006_production_governance; no existing route, field, record or deployment boundary was removed.
All v0.2.3.3 Settings, Operations, API access, registry, Keycloak, and database behavior is preserved.
- Added a View Template action beside live progress after a successful import or single-template sync.
- Rebuilt the operation-side panel as a responsive template result card with thumbnail, title, description, provider, category, framework, slug, quality, status, and source links.
- Duplicate repository imports now finish as Already found / Skipped, never as a failure.
- Added Continue to update template, which starts the existing source-sync workflow and preserves curated fields.
- Added no database migration and removed no existing route, feature, setting, token, record, or operation history.
All v0.2.3.2 registry, API access, operation, settings, Keycloak, and database behavior is preserved.
- Added a dedicated Settings mutation route for asynchronous actions.
- Settings now refreshes only the active tab pane instead of replacing the full page shell.
- Only the clicked action button enters a busy state; other tabs and controls stay responsive.
- Added request timeout recovery, inline feedback, CSRF refresh, and current-tab preservation.
- The original Settings POST route remains available as the non-JavaScript fallback.
- No database migration is required.
All v0.2.2.1 registry, provider, media, API, Keycloak, runtime-settings, and database behavior is preserved.
-
Settings actions remain on the active Feature, Integration, API Manage, or Custom API tab.
-
API Manage verifies the root FastAPI routes and supports per-endpoint Check and Use/copy controls.
-
Operation terminal logs include compact, redacted developer diagnostics and bounded failure tracebacks.
-
Duplicate imports finish as Skipped / No change and link the existing template.
-
Import and sync operations show compact developer-oriented terminal diagnostics.
-
Operations Console supports search, filtering, ordering, and safe terminal-history clearing.
-
Asset Gallery supports template search and asset filtering.
-
Registry administration tables include productive search, filters, and date/name sorting.
-
Settings includes API Manage with Development/Live mode, scoped service tokens, client block rules, and endpoint checks.
-
Raw
vt_reg_...service tokens are shown once and only keyed digests are stored. -
Live Mode protects registry data endpoints while health and readiness remain public.
/admin/operations
Long-running administrator tasks use persistent states:
queued -> running -> succeeded | skipped | failed | cancelled
A running operation displays progress and detailed operation logs. Logs remain available after completion and can be copied or exported. Queued operations left before execution are recovered after startup. An operation interrupted while running is marked failed and can be inspected and retried.
/admin/settings
The Settings page manages:
- Feature ON/OFF state
- Administrator task ALLOW/BLOCK permission
- Public API feature switches
- GitHub/GitLab/Bitbucket credentials and state
- AI and screenshot integration state
- Custom third-party API configurations
- Environment fallback behavior
- Development/Live API mode
- Scoped service tokens and IP/CIDR/hostname block rules
- Live API endpoint checks
Runtime secrets use a versioned encryption keyring. Existing v0.2.x credentials remain readable
through the unchanged SESSION_SECRET; production should add an independent
RUNTIME_ENCRYPTION_KEY and retain previous keys during rotation.
RegHub reads bounded metadata through provider APIs. It does not clone repositories, install packages, run builds, start templates, or execute uploaded code. Screenshot capture remains delegated to an isolated external service. Preview, screenshot, and runtime integration URLs must pass the existing public-HTTPS security boundary. OIDC administrator authentication and CSRF protection remain mandatory for administrator actions and Settings.
Existing paths and response contracts remain compatible. Published templates are exposed only.
GET /api/v1/templates
GET /api/v1/templates/{slug}
GET /api/v1/templates/{slug}/manifest
GET /api/v1/templates/{slug}/repository
GET /api/v1/templates/{slug}/assets
GET /api/v1/templates/{slug}/freshness
GET /api/v1/templates/changes
GET /api/v1/facets
GET /api/v1/categories
GET /api/v1/providers
GET /api/v1/frameworks
GET /api/v1/capabilities
GET /api/v1/health
GET /api/v1/ready
- Take a PostgreSQL backup.
- Replace project files while preserving
.gitand any local.env. - Commit and push to
main. - Redeploy in Coolify.
- The entrypoint runs
alembic upgrade headandpython -m scripts.seedautomatically. - Verify health, readiness, tag filtering, Operations, and Settings.
See docs/42_V0.3.1.1_FINAL_STABILIZATION_HOTFIX.md,
docs/43_V0.3.1.1_UPGRADE.md, docs/44_V0.3.1.1_COMPATIBILITY_REPORT.md,
and docs/45_V0.3.1.1_VALIDATION_REPORT.md.