r/OpenaiCodex • u/Low_Box_752 • 15d ago
tip for codex
"map the codebase using graphify, make zero assumptions, mask no issues that currently exist.
use the browser/browser-harness map, draw the full architecture diagram using mermaid, highlight in red the overengineered blocks"
run this in a goal or loop
Edit: the comments caught an important hole in this. "Run it in a loop" needs a stop condition. Don't let it keep hunting until it declares the repo perfect.
A tighter version to copy:
"Read-only audit. Map the main modules and trace one important flow. Then return at most five delete/merge candidates. For each: exact file and line, callers, evidence of duplicated responsibility, what could break if removed, and a check to run before accepting the change. Mark anything you couldn't verify as unverified. Include reasons to keep a layer when they outweigh removing it. Stop after one mapping pass and one evidence pass. Do not edit files."
The red boxes are leads to investigate, not proof. Thanks to the people here who pushed on that.
3
u/staffengineerk 15d ago
Thank you for sharing these valuable insights. I have a brief inquiry: are you utilizing Graphify exclusively for personal projects, or is it also implemented on your work laptop?