feat(cli): ~/.config/dimos becomes a real config directory - #3550
Merged
Conversation
spomichter
requested review from
Dreamsorcerer,
leshy,
mustafab0 and
paul-nechifor
as code owners
August 19, 2026 12:58
Contributor
Greptile SummaryThe default DimOS configuration is now stored as Confidence Score: 5/5No blocking failure remains. No accepted blocking failure remains in the reviewed configuration-path changes.
What T-Rex did
Reviews (6): Last reviewed commit: "only refuse legacy config when the defau..." | Re-trigger Greptile |
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #3550 +/- ##
==========================================
+ Coverage 76.13% 76.41% +0.28%
==========================================
Files 1228 1245 +17
Lines 119172 120533 +1361
Branches 10684 10860 +176
==========================================
+ Hits 90726 92101 +1375
+ Misses 25345 25331 -14
Partials 3101 3101
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 50 files with indirect coverage changes 🚀 New features to boost your workflow:
|
The flat-file convention collided with anything else claiming the path (#3547). Default config is now ~/.config/dimos/config.json; a legacy flat file is auto-migrated in place on first run (content byte-identical, no user action), and read_config_file treats a directory as absent. Explicit --config paths are untouched.
~/.config/dimos/{config,credentials} — the aws-style layout. The legacy
flat-file migration moves to constants and runs from login too, so a legacy
machine can log in before its first dimos run.
spomichter
force-pushed
the
feat/config-dir
branch
from
August 19, 2026 13:22
843ff46 to
f883823
Compare
Replaces auto-migration: zero filesystem mutation, no partial-state failure modes. Legacy machines get the one-line mv recipe and run it once.
A machine with the flat config file predates dimos login existing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Final layout, per stash — the aws model:
--configis~/.config/dimos/config;read_config_filetreats a directory as absent.~/.config/dimos:dimos runrefuses loudly with the exact one-linemvrecipe and exits 2 — zero filesystem mutation. The check lives only in the run command: a machine with the flat file predatesdimos loginexisting, so that's the command it will hit. No migration state machine → all three Greptile P1s structurally gone.