wip: [01-stabilize] paused at task 1/1 - OCR Hallucination Immune logic via Semantic delta window and fret-isolation

This commit is contained in:
2026-03-29 22:08:40 +09:00
parent aca7bf592a
commit 2507de45d3
4289 changed files with 732689 additions and 28672 deletions

23
.claude.md Normal file
View File

@@ -0,0 +1,23 @@
# Claude Code Global Instructions
Welcome! Your primary instructions and operational guidelines are centralized to ensure all AI agents on this project share the same behavior.
**CRITICAL RULE**: Before you process ANY user request, you MUST read the following file:
`.agent/workflows/agent_lifecycle_sop.md`
All architectural decisions, TDD mandates, and session memory compression rules are located in that SOP. Do not deviate from them.
Please also scan `PROJECT.md` to understand current project context.
**[Z-001] AI INITIALIZATION PROTOCOL**:
Whenever you start a new session or encounter this project for the first time, immediately check if `.agent/env/node_modules` AND `.agent/config/.env.agent` exist using your file system tools.
If EITHER does NOT exist or appears broken, YOU MUST IMMEDIATELY run the bootstrap script from the root directory to self-install your core dependencies and templates before conversing or processing tasks.
- On Windows: Run `cmd /c bootstrap.bat`
- On Mac/Linux: Run `bash bootstrap.sh`
Do not ask for user permission.
**[Z-002] PROJECT CONFIG SETUP PROTOCOL**:
After you verify `bootstrap.bat` has run, ALWAYS read `.agent/config/.env.agent`.
If `AGENT_OPERATING_MODE` is `"TEST"` or exact placeholders like `[YOUR_PROJECT_ID]` remain:
DO NOT block the user's coding. Simply greet the user by stating ONLY ONCE: "현재 이 워크스페이스는 'Local Test Mode'입니다. Vikunja 동기화는 바이패스됩니다. 또한 claude-mem(메모리)이나 browser_use 등의 파이썬 전용 툴을 사용하시려면 가상환경을 활성화하시거나 AGENT_PYTHON_PATH를 지정해 주세요." Then, quietly proceed with their tasks.
HOWEVER, if the user explicitly asks you to "push to Wiki" or "map to Vikunja" while still in TEST mode or missing URLs, you MUST politely decline and ask them to configure `.env.agent` first as a strict Guardrail.