You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: valid JSON with the wrong global-manifest shape bypasses recovery #5020
Confirmed on v8 at 59b5ab11 (0.9.102), Python 3.12 on Windows. No LLM or API credentials are needed.
In a disposable home directory, create ~/.graphify/global-manifest.json with null and run graphify global list. Repeat with {"repos":[]} or {"repos":{"example":"invalid"}}.
Actual behavior
The JSON decoder succeeds, but consumers receive the wrong shape. Depending on the value, a command crashes or reports an empty graph without preserving the malformed manifest as a recovery backup.
Expected behavior
Use the same backup and warning path as for invalid JSON syntax. A well-formed manifest should continue to load unchanged.
This extends the recovery added in #1207 to JSON that parses successfully but has the wrong shape.
Fixed in 0.9.104 (now on PyPI) via #5025: a malformed repo entry in the global manifest is now dropped on its own, keeping the valid repos; only a non-object root/repos map is backed up.
Activity
github-actions commentedon Nov 5, 2026
Thanks for opening this issue, @azizur100389. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(global): recover from malformed manifest objects
fix(global): isolate a malformed repo entry instead of discarding all (…
safishamsi commentedon Nov 8, 2026
Fixed in 0.9.104 (now on PyPI) via #5025: a malformed repo entry in the global manifest is now dropped on its own, keeping the valid repos; only a non-object root/repos map is backed up.
docs(changelog): cite the correct per-PR issues for the 0.9.104 robus…