Skip to content

fix: harden impact LLM JSON parsing#13

Merged
AusafMo merged 2 commits into
mainfrom
fix/impact-llm-json-hardening
Jul 2, 2026
Merged

fix: harden impact LLM JSON parsing#13
AusafMo merged 2 commits into
mainfrom
fix/impact-llm-json-hardening

Conversation

@AusafMo

@AusafMo AusafMo commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • increase the impact LLM response budget so richer narrated overviews are less likely to truncate
  • tighten the provider prompt to request terse raw JSON without Markdown fences
  • recover useful top-level impact fields when a provider returns truncated/partial JSON
  • update installation docs to use the published PyPI packages: cfgit and cfgit-impact
  • remove internal project notes and the obsolete archived v0.1 spec from the public tree
  • ignore local project notes and recording/video drafts so they do not get committed accidentally

Public/PyPI scrub

  • removed docs/project-notes/* from git
  • removed docs/archive/spec-v0.1.md because the current SPEC.md / SPEC_CORE.md are the public references
  • checked built sdists/wheels for project notes, archive docs, and video files: none found

Tests

  • .venv/bin/python -m pytest tests/test_impact_boundary.py -q twice: 12 passed
  • .venv/bin/python -m pytest -q twice before docs cleanup: 73 passed, 2 skipped
  • .venv/bin/python -m pytest -q twice after docs cleanup: 73 passed, 2 skipped
  • .venv/bin/python -m build: passed for cfgit
  • cd plugins/cfg_impact && ../../.venv/bin/python -m build: passed for cfgit-impact
  • clean wheel install smoke: cfg --help, cfg-mcp --help, import cfg, import cfg.mcp.server, import cfg_impact passed
  • artifact scan: no project-notes, archive, or video files in cfgit/cfgit-impact sdist or wheel
  • git diff --check: passed

@AusafMo AusafMo merged commit d01d900 into main Jul 2, 2026
2 checks passed
@AusafMo AusafMo deleted the fix/impact-llm-json-hardening branch July 2, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant