From 3d2c14c7aadf0811eaeda6d17f045a89d697c441 Mon Sep 17 00:00:00 2001 From: ania-lain Date: Mon, 31 Aug 2026 08:00:27 +0800 Subject: [PATCH] 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 --- .gitignore | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f7843f0..4efcbcb 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file +.cache + +# Agent session state (local harness data; never commit) +.omo/ +.opencode/