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
Welcome to another week of “what fresh chaos is this?” The codebase is functional, ambitious, and sprinkled with “who hurt you?” energy. I laughed, I cried, I wrote this review. Buckle up, buttercups. 💥🧯
☢️ Revert happily deletes a legit project’s config.toml without evidence it created it.
The revert cleanup hard-codes config.toml for deletion. If you tried OpenHands or just… have a config.toml (like a normal project), boom—gone if no .bak. This is not “clean up,” this is “oops, production.” 💣
logVerbose(`${actionPrefix} Would remove empty VSCode settings file`,verbose,);// ...logVerbose(`${actionPrefix} Would remove augment.advanced section from ${settingsPath}`,verbose,);
Replace ${actionPrefix} with ${actionPrefix(dryRun)} everywhere.
Add a tiny test to catch literal “[object Function]” in logs. You’ll thank me later. Or not. I don’t care.
Codex Config: JSON vs TOML Schizophrenia
🧠 One path writes TOML, another reads JSON. Pick a personality.
Codex agent defaults to .codex/config.toml, while MCP path resolver points to .codex/config.json. That’s a guaranteed “why is nothing updating?” spiral.
Align versions: either upgrade both to a known compatible pair (prefer stable v17.x) or drop @types if using yargs’ own types.
Add a simple CLI compile check in CI to prevent regressions.
If you can’t find enough issues, it’s because you’ve already fixed most of the obvious landmines (good job), but the ones above are real footguns. Clean them up, and this project will go from “why is it yelling at me” to “hey, that’s surprisingly nice.” 🎯
Happy ship… reverting. Or applying. Whatever. Just stop deleting people’s config.toml. 🙏
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This Codebase Smells!
Welcome to another week of “what fresh chaos is this?” The codebase is functional, ambitious, and sprinkled with “who hurt you?” energy. I laughed, I cried, I wrote this review. Buckle up, buttercups. 💥🧯
Table of Contents
Revert Nukes Real config.toml (OpenHands)
☢️ Revert happily deletes a legit project’s config.toml without evidence it created it.
Files
src/core/revert-engine.tssrc/paths/mcp.tsCode
Recommendations
Dry‑Run Prefix Bug: Using a Function Like a String
🤦 The log uses actionPrefix as if it were a string, not a function call. Spoiler: it prints “[object Function]”.
Files
src/core/revert-engine.tsCode
Recommendations
Codex Config: JSON vs TOML Schizophrenia
🧠 One path writes TOML, another reads JSON. Pick a personality.
Files
src/paths/mcp.tssrc/agents/CodexCliAgent.tsCode
Recommendations
Verbose Logs Go To Stderr (Your Own Comment Says Don’t)
📣 The comments say verbose logs go to stdout; you print them to stderr. Bold move.
Files
src/constants.tsCode
Recommendations
Gitignore Adds Leading Slashes → Duplicate, Noisy Entries
🧻 You normalize entries with a leading “/”, then try to dedupe against raw lines that may not have it. Guess what? Duplicates.
Files
src/core/GitignoreUtils.tsCode
Recommendations
Unified Config “version” Is Hardcoded Make‑Believe
🧪 The unified config metadata pretends the version is “0.0.0-dev”. Why? Just… why.
Files
src/core/UnifiedConfigLoader.tsCode
Recommendations
Global Config Check Spams console.error For No Reason
📣 Looking for a global .ruler dir? You log an error on any exception. For a “not found” path. Really?
Files
src/core/FileSystemUtils.tsCode
Recommendations
Revert Can Delete .gitignore Entirely
🧨 If Ruler owned the entire .gitignore block and nothing else remains, you just delete the file. That’s… bold.
Files
src/revert.tsCode
Recommendations
Type Mismatch: yargs v18 With @types/yargs v17
🧬 Your types and runtime versions are playing twister.
Files
package.jsonCode
Recommendations
If you can’t find enough issues, it’s because you’ve already fixed most of the obvious landmines (good job), but the ones above are real footguns. Clean them up, and this project will go from “why is it yelling at me” to “hey, that’s surprisingly nice.” 🎯
Happy ship… reverting. Or applying. Whatever. Just stop deleting people’s config.toml. 🙏
Beta Was this translation helpful? Give feedback.
All reactions