cfgit-impact
Optional system-impact analysis for cfgit.
This package is deliberately outside src/cfg/core/. The cfgit core stays LLM-free and provider-free; this plugin owns both deterministic impact analysis and optional LLM narration.
Install
Install cfgit with the database extras you use, then install the optional impact plugin from PyPI into the same Python environment:
pip install 'cfgit[mongo,postgres,mcp]'
pip install cfgit-impact
For pipx installs:
pipx install 'cfgit[mongo,postgres,mcp]'
pipx inject cfgit cfgit-impact
Boundary
src/cfg/core/never imports this plugin.src/cfg/core/never imports vendor SDKs or provider clients.- The main action layer imports
cfg_impact.overviewonly whencfg impactor the UI/MCP impact action is called. - Provider selection comes from
[connections].ai_providerunless a caller passesprovider.
Provider Pattern
The provider layer uses a small factory pattern:
cfg_impact.providers.base.BaseImpactProvidercfg_impact.providers.factory.ImpactProviderFactorycfg_impact.providers.claude.ClaudeProvidercfg_impact.providers.openai_provider.OpenAIProvidercfg_impact.providers.gemini.GeminiProvider
The impact engine calls narrate() or complete(). It never imports a vendor module directly.
Commands
Deterministic local analysis:
cfg impact agent_configs:agent_planner =HEAD =live --json
Opt-in LLM narration:
cfg impact agent_configs:agent_planner =HEAD =live --llm --json
Scope narration to selected records instead of the whole system:
cfg impact agent_configs:agent_planner --against agent_configs:critic --against modelgarden_models:openai/gpt-4o-mini --llm --json
LLM narration is refused unless the record is listed in
[connections].share_with_ai. The payload sent to the provider is bounded and
secret-stripped. It includes real before/after field diffs for the changed record,
plus only allowlisted text from related records. In scoped mode, only selected
records are included in the system map.
The plugin uses ANTHROPIC_API_KEY for claude, OPENAI_API_KEY for openai,
and GEMINI_API_KEY or GOOGLE_API_KEY for gemini.
Metadata
Release files for cfgit-impact 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cfgit_impact-0.5.0.tar.gz | 12.5 kB | With provenance | Details for cfgit_impact-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cfgit_impact-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for cfgit_impact-0.5.0-py3-none-any.whl |
Total release size: 28.9 kB
Release files / cfgit_impact-0.5.0.tar.gz
| Download URL | cfgit_impact-0.5.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
851086b6d7fa747c1358da9f12eecac6309db2393094d9946ca07f4b945c1ebe
|
|
BLAKE2b-256 checksum How to use checksums |
b0b567afcf603f613a8a40e60dff3ece5bb3f53aa1dec6deb8696cc579d4bed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / cfgit_impact-0.5.0-py3-none-any.whl
| Download URL | cfgit_impact-0.5.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8de5427eac2ae7ed97454505c5b0457ea0b94cbee1f6112a4659eb4175eaf3d
|
|
BLAKE2b-256 checksum How to use checksums |
48c8d1c39c0aa94105b8d793443c22dc10a017acb7754a926b5d335193f6cc1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for cfgit-impact 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cfgit_impact-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.