Skip to content

Existing projects

Terminal window
genesis recover . # drift, broken imports, anti-patterns, fragile modules
genesis harden . # STRIDE threat model, OWASP Top 10 checklist, secrets scan
genesis deps . # third-party imports per module and their advisories

recover and harden accept --json for machine-readable output and --no-commit to skip the approve and commit stage. Even then Genesis writes its own reports to .genesis/ and FRAGILITY_MAP.md in the project directory; your source files are not edited.

  • Import cycles and the modules that sit on them.
  • Anti-patterns, with severity. Critical ones are counted separately.
  • An architecture score from 0 to 100, with the dimension breakdown.
  • Fragile modules.

Genesis never executes code from the project it analyzes. It reads source files and the import graph. Changes to your source happen only after an explicit approval step, described in the approval model. Its own reports (.genesis/, FRAGILITY_MAP.md) are written to the project directory as it runs.

Terminal window
genesis decide "why is this project so hard to change?"

The decision engine maps the sentence to the engines that can answer it.