From 001ae626c904904737bcacf823d6ec862d039711 Mon Sep 17 00:00:00 2001 From: AusafMo Date: Sun, 26 Jul 2026 22:01:46 +0530 Subject: [PATCH 1/2] chore(release): bump cfgit + cfgit-impact to 0.4.0 Minor bump for the update-check release (#21): cfg check-update + auto-nudge with what's-new, cfg_check_update MCP tool, 30-day snooze, CFGIT_NO_UPDATE_CHECK kill switch; plus SKILL/MCP/docs reconciliation. Additive, nothing removed. Widen plugin cfgit pin to >=0.4.0,<0.5.0. Both build + twine check clean locally. --- plugins/cfg_impact/pyproject.toml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/cfg_impact/pyproject.toml b/plugins/cfg_impact/pyproject.toml index b866e19..c6c944d 100644 --- a/plugins/cfg_impact/pyproject.toml +++ b/plugins/cfg_impact/pyproject.toml @@ -1,13 +1,13 @@ [project] name = "cfgit-impact" -version = "0.3.0" +version = "0.4.0" description = "Optional cfgit plugin for deterministic system-impact summaries and opt-in LLM narration of database record diffs" readme = "README.md" requires-python = ">=3.11" license = "Apache-2.0" authors = [{ name = "Mohammad Ausaf" }] dependencies = [ - "cfgit>=0.3.0,<0.4.0", + "cfgit>=0.4.0,<0.5.0", "httpx>=0.27", ] diff --git a/pyproject.toml b/pyproject.toml index 957fc3b..28cebf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cfgit" -version = "0.3.0" +version = "0.4.0" description = "Git-style history, diff, drift detection, and rollback for live database records without migrating or owning your datastore" readme = "README.md" requires-python = ">=3.11" From 6d732360c88ddd1f157eae6110956b8063b9a0b8 Mon Sep 17 00:00:00 2001 From: AusafMo Date: Sun, 26 Jul 2026 21:59:06 +0530 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20fill=20remaining=20doc=20gaps=20?= =?UTF-8?q?=E2=80=94=20README=20cfg=5Fimport=20+=20USAGE=20update-check=20?= =?UTF-8?q?section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Completeness pass: add cfg_import to the README MCP tool list (was the only registered tool missing from README), and add an Updates section to USAGE covering cfg check-update, --snooze, CFGIT_NO_UPDATE_CHECK, and the MCP cfg_check_update tool. Verified every registered MCP tool is now listed in both README and SKILL. --- README.md | 1 + docs/USAGE.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index a84a1d9..5aa394c 100644 --- a/README.md +++ b/README.md @@ -498,6 +498,7 @@ Tools include: - `cfg_bulk_commit` - `cfg_set` - `cfg_export` +- `cfg_import` - `cfg_branch_list` - `cfg_branch_create` - `cfg_branch_delete` diff --git a/docs/USAGE.md b/docs/USAGE.md index d2e1baa..917531e 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -377,3 +377,19 @@ export CFG_AUTHOR=you@example.com # default author (open identity mo cfgit also discovers `.cfg.toml` by walking up from the current directory, so you can run it from a subdirectory without `--config-file`. Global flags (`--config-file`, `--env`, `--author`, `--branch`, `--json`) go before the subcommand: `cfg --env prod status`. + +## Updates + +cfgit checks PyPI for a newer release on cheap read commands (`status`/`doctor`/`whoami`/`log`), +throttled to once a day. For an interactive terminal it prints a one-line nudge to stderr with a +short "what's new" excerpt from the release notes — never on `--json`/piped output, and it never +upgrades for you: + +```bash +cfg check-update # force a check now (shows what's new + the release link) +cfg check-update --snooze 30 # don't remind me for 30 days +``` + +Set `CFGIT_NO_UPDATE_CHECK=1` to disable the check entirely. Over MCP, the `cfg_check_update` tool +does the same (pass `snooze_days` to snooze); agents should offer the upgrade but never run it. +The check is best-effort — if the network is unavailable it stays silent.