Files
everything-claude-code/.gitignore
Lidang-Jiang c80631fc1d fix(observer): improve Windows compatibility for temp files and Haiku prompt
Address remaining issues from #842 after PR #903 moved temp files to
PROJECT_DIR/.observer-tmp:

Bug A (path resolution): Use relative paths (.observer-tmp/filename)
in the prompt instead of absolute paths from mktemp. On Windows
Git Bash/MSYS2, absolute paths use MSYS-style prefixes (/c/Users/...)
that the spawned Claude subprocess may fail to resolve.

Bug B (asks for permission): Add explicit IMPORTANT instruction block
at the prompt start telling the Haiku agent it is in non-interactive
--print mode and must use the Write tool directly without asking for
confirmation.

Additional improvements:
- Pass prompt via -p flag instead of stdin redirect for Windows compat
- Add .observer-tmp/ to .gitignore to prevent accidental commits

Fixes #842

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Signed-off-by: Lidang-Jiang <lidangjiang@gmail.com>
2026-03-28 09:54:35 +08:00

97 lines
1.1 KiB
Plaintext

# Environment files
.env
.env.local
.env.*.local
.env.development
.env.test
.env.production
# API keys and secrets
*.key
*.pem
secrets.json
config/secrets.yml
.secrets
# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini
# Editor files
.idea/
.vscode/
*.swp
*.swo
*~
.project
.classpath
.settings/
*.sublime-project
*.sublime-workspace
# Node
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
.yarn/
lerna-debug.log*
# Build outputs
dist/
build/
*.tsbuildinfo
.cache/
# Test coverage
coverage/
.nyc_output/
# Logs
logs/
*.log
# Python
__pycache__/
*.pyc
# Task files (Claude Code teams)
tasks/
# Personal configs (if any)
personal/
private/
# Session templates (not committed)
examples/sessions/*.tmp
# Local drafts
marketing/
.dmux/
# Temporary files
tmp/
temp/
*.tmp
*.bak
*.backup
# Observer temp files (continuous-learning-v2)
.observer-tmp/
# Rust build artifacts
ecc2/target/
# Bootstrap pipeline outputs
# Generated lock files in tool subdirectories
.opencode/package-lock.json
.opencode/node_modules/
assets/images/security/badrudi-exploit.mp4