v1.4.0 — cloud dashboard populates end-to-end (config sync, pg_cron native scheduling, Edge Functions) #12
johnoconnor0
started this conversation in
Changelog
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
VGuard v1.4.0
Released: 2026-04-05
Install:
npm install @anthril/vguard@1.4.0What's Changed
Added
projects.config_snapshotandprojects.vguard_version, which lights up the dashboard's Active Presets, Quick Stats, Project Rules, Config Resolution Pipeline, and version-badge widgets. These widgets were empty for every project before this release because nothing in the CLI ever wrote to those columns. Override the endpoint host viaVGUARD_FUNCTIONS_URLfor self-hosted Supabase projects.vguard syncalso pushes config snapshot after a successful rule-hits sync, as a manual fallback when hooks are disabled or haven't run recently.Changed
.husky/pre-commitskips the CHANGELOG/version-bump checks on merge commits (detected via.git/MERGE_HEAD). Merge commits consolidate existing history without introducing new entries, so blocking them forced empty CHANGELOG edits that added no value. Lint and type-check still run on every commit, including merges.Fixed
https://vguard.devinstead of the non-resolvinghttps://api.vguard.dev/https://app.vguard.devsubdomains. Affected the streamer, CloudClient base URL, and thecloud login/cloud connectbrowser URLs. Override viaVGUARD_CLOUD_URL.vguard cloud connect --key <vc_...> --project-id <id>now always persists credentials to~/.vguard/credentials.json, even when run without a priorvguard cloud login. Previously the file was only updated if it already existed, leaving Claude Code hooks unable to read the API key and silently skipping real-time cloud streaming.Cloud Updates
Ships alongside significant changes in vibe-guard-cloud that this release depends on:
daily-summary,anomaly-detection,drift-snapshot,debt-prediction,sla-aggregate,benchmark-aggregate) now run directly inside Postgres on schedule. Previously these had no scheduler wired up at all, which is whydaily_summarieswas empty and the dashboard's timeline/heatmap/top-offenders widgets showed no data.check-alerts,sla-ping,webhook-retry) triggered by pg_cron vianet.http_post. The external Google Cloud Scheduler dependency is gone; every cron in the system is now scheduled from inside Postgres.ingest-configEdge Function — receives the config-snapshot push from this CLI release and writes it to theprojectsrow.vault.decrypted_secretsat job-run time, working within Supabase's managed superuser model (no manualalter database postgres set ...required).COALESCE(file_path, '')expression that PostgREST'sonConflictclause could not match, so everyPOST /api/v1/ingestcall had been returningHTTP 500 INSERT_ERRORsince production launch. Index rebuilt to exactly the five columns the API code passes.Commits
vibe-guard (CLI, this release):
vibe-guard-cloud (server, companion):
Upgrade notes
For existing consumers running 1.3.0:
On the next Edit/Write in Claude Code, your resolved config will push automatically to the cloud dashboard. No config changes required —
cloud.autoSync: true(the default) is all you need.Full changelog: https://github.com/Anthril/vibe-guard/blob/master/CHANGELOG.md
npm: https://www.npmjs.com/package/@anthril/vguard/v/1.4.0
Release: https://github.com/Anthril/vibe-guard/releases/tag/v1.4.0
All reactions