chore: ignore agent session state

Append .omo/ and .opencode/ (local coding-agent harness state) to
.gitignore so session data can never be staged. Also carries pending
hygiene entries (.pytest_cache, .ruff_cache, .mypy_cache, .coverage,
coverage/, .venv-idf/) and restores the trailing newline.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
2026-08-31 08:00:27 +08:00
co-authored by Sisyphus
parent 7bae861437
commit 3d2c14c7aa
+13 -1
View File
@@ -54,12 +54,20 @@ CTestTestfile.cmake
*.pyo
*.pyd
__pycache__/
.pytest_cache/
.ruff_cache/
.mypy_cache/
.coverage
coverage/
*.egg-info/
dist/
.pytest_cache/
.ruff_cache/
# Virtual environment folders
venv/
.venv/
.venv-idf/
env/
# Language Servers
@@ -81,4 +89,8 @@ Desktop.ini
.build
.cache
.cache
# Agent session state (local harness data; never commit)
.omo/
.opencode/