Skip to content

specfact project regenerate crashes with NoneType during bundle processing #586

@danieldekay

Description

@danieldekay

Summary

Running specfact project regenerate fails with:

Error: 'NoneType' object has no attribute 'items'

The command completes bundle loading first, then crashes.

Reproduction

specfact project regenerate

Actual Output

SpecFact CLI - v0.46.28
Started: 2026-05-29 19:07:42
✓ Bundle loaded: 515 artifact(s) (16.82s)
⚠️  Backlog graph functionality moved to 'backlog' command group.
ℹ️  Use: specfact backlog analyze-deps or specfact backlog graph-export
Error: 'NoneType' object has no attribute 'items'
✗ Finished: 2026-05-29 19:07:59 | Duration: 16.94s

Expected Behavior

  • Command should complete successfully, or
  • Return a typed/user-facing validation error indicating which config/artifact key is null and where.

Notes

  • The migration warning about backlog commands appears first; this may indicate a legacy/null config path in regenerate flow.

Environment

  • OS: macOS
  • SpecFact CLI: v0.46.28

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions