cgcardona / muse public
chore main

chore: untrack __pycache__ files (#10)

* feat: implement .museignore — gitignore-style snapshot exclusion (#7)

Adds .museignore support so users can declare which workspace files are never committed, identical to .gitignore syntax.

- muse/core/ignore.py: pure parser (load_patterns) and filter (is_ignored) with full gitignore semantics — globs, **, negation, anchored patterns, directory-only patterns, last-rule-wins - MusicPlugin.snapshot(): reads .museignore from repo root and filters excluded paths before hashing; dotfiles remain unconditionally excluded - muse/domain.py: documents the .museignore contract in the MuseDomainPlugin.snapshot() docstring so all domain authors know they must honour it - docs/reference/museignore.md: full format reference with examples for music, genomics, simulation, and spatial domains - tests/test_core_ignore.py: 41 tests covering load_patterns, _matches internals, is_ignored rule evaluation, and end-to-end MusicPlugin.snapshot() integration

Co-authored-by: Gabriel Cardona <gabriel@tellurstori.com>

* chore: remove __pycache__ from git tracking (#9)

* feat: implement .museignore — gitignore-style snapshot exclusion (#7) (#8)

Adds .museignore support so users can declare which workspace files are never committed, identical to .gitignore syntax.

- muse/core/ignore.py: pure parser (load_patterns) and filter (is_ignored) with full gitignore semantics — globs, **, negation, anchored patterns, directory-only patterns, last-rule-wins - MusicPlugin.snapshot(): reads .museignore from repo root and filters excluded paths before hashing; dotfiles remain unconditionally excluded - muse/domain.py: documents the .museignore contract in the MuseDomainPlugin.snapshot() docstring so all domain authors know they must honour it - docs/reference/museignore.md: full format reference with examples for music, genomics, simulation, and spatial domains - tests/test_core_ignore.py: 41 tests covering load_patterns, _matches internals, is_ignored rule evaluation, and end-to-end MusicPlugin.snapshot() integration

Co-authored-by: Gabriel Cardona <gabriel@tellurstori.com>

* chore: remove __pycache__ from git tracking

The .gitignore already listed __pycache__/ and *.pyc, but these files were committed before that rule existed so they showed as perpetual modifications. Untrack them with git rm --cached; they will continue to exist locally but will no longer appear in git status.

---------

Co-authored-by: Gabriel Cardona <gabriel@tellurstori.com>

---------

Co-authored-by: Gabriel Cardona <gabriel@tellurstori.com>

G Gabriel Cardona <cgcardona@gmail.com> · 3d ago Mar 17, 2026 · f28ca9eb · parent ed2c33d0
← Older Oldest on main
All commits
Newer → Latest on main