Skip to main content

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.overview only when cfg impact or the UI/MCP impact action is called.
  • Provider selection comes from [connections].ai_provider unless a caller passes provider.

Provider Pattern

The provider layer uses a small factory pattern:

  • cfg_impact.providers.base.BaseImpactProvider
  • cfg_impact.providers.factory.ImpactProviderFactory
  • cfg_impact.providers.claude.ClaudeProvider
  • cfg_impact.providers.openai_provider.OpenAIProvider
  • cfg_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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfgit-impact 0.5.1
File Size Uploaded Provenance Actions
cfgit_impact-0.5.1.tar.gz 12.5 kB With provenance Details for cfgit_impact-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cfgit-impact 0.5.1
File Interpreter ABI Platform Actions
cfgit_impact-0.5.1-py3-none-any.whl Python 3 none any Details for cfgit_impact-0.5.1-py3-none-any.whl

Total release size: 28.9 kB

Release files / cfgit_impact-0.5.1.tar.gz

Download URL cfgit_impact-0.5.1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3241b1c238666f0020d9a4d124233b0e70686e435554a19436fe8ed2b9faff5d
BLAKE2b-256 checksum
How to use checksums
b98267ac375aa3361aad156ce038df2bb1f3d77c4b55d8a2487e8732a2f752f4
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 log

Release files / cfgit_impact-0.5.1-py3-none-any.whl

Download URL cfgit_impact-0.5.1-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9abb2d9ce4971f9c48b0cc7209a57db8a2f15f1b733f26b43d6b9472cf2f9745
BLAKE2b-256 checksum
How to use checksums
c833ccf81802f1aa974a5f0291483e0f9f27d9145ceafb345bfc4288c8c9ec05
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 log

Security for cfgit-impact 0.5.1

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.

Select from 2 files

Attestation for cfgit_impact-0.5.1.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page