fix(status): untracked files now set clean=False, matching git behaviour
Previously clean=True even with untracked files on disk. This silently misled agents into thinking a working tree was fully committed when it wasn't — the bug that caused the architecture doc to go unnoticed.
Git contract: 'nothing added to commit but untracked files present' is NOT a clean tree. Muse now matches this.
- status.py: `clean = not staged and not unstaged and not untracked` - _StatusJson docstring updated - agent-guide.md: corrected clean/dirty/untracked key-rules section and the git muscle-memory traps table - test_cmd_status.py: new test_untracked_file_makes_repo_not_clean (was RED) - docs/protocol/musewire-architecture.md: staged (was untracked, never committed)
sha256:2148d03925bdee980ca42fad1223c056bb83aaba3ea381d6529f8c77fea9aaff
sha
sha256:46f87db16f3e6950f5447b66ac6759317b4fce73cb0a4859899044615f74bf82
snapshot
← Older
Oldest on task/mwp-cleanup
All commits
Newer
docs(wire): update architecture doc — server cleanup complete, s…
sha256:ba5ebcfb68f06765dfe432fad2b830a4479f6ab500dc07be703d06b5e0eff00f
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2148d03925bdee980ca42fad1223c056bb83aaba3ea381d6529f8c77fea9aaff --body "your comment"
No comments yet. Be the first to start the discussion.