From f054187bb056a01714b3d04294f7608b8382930e Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 1 Oct 2026 02:54:08 +0000 Subject: [PATCH] Ignore the mimosa scan-hook local cache directory Why: the pre-commit/push mimosa hooks write .mimosa/hook-state inside the work tree; untracked it marks the Dev superproject dirty (precheck SHARED_WORKSPACE_BUSY) and blocks card-close gates. Evidence: git status showed ?? .mimosa after commits; with the ignore the superproject returns clean. No tracked files affected. Impact: none at runtime; cache stays local. Refs: task feature/deliverable-docx-r1 follow-up --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 69830df..37e0c34 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ node_modules dist/ *.local + +# mimosa 扫描钩子的本地缓存(scripts/hooks 写入,不入库) +.mimosa