- These instructions apply to the repository root.
- Active AI working rules live in Notion under
DevLog Agent Policy. - This file is a bootstrap document only. Do not add project policy content here.
Before planning, editing, reviewing, verifying, delegating, or performing an external write:
- Fetch the DevLog Agent Policy index through the connected Notion MCP.
- Verify that the index is under the DevLog page and use only policies marked
Activein that index. - Load
General,iOS, andClaude Codefor every task. - Load every task-specific policy whose route matches the request. Routes are cumulative.
- Load
Decision Memoryonly when its trigger in the active index applies.
If Notion MCP or a required active policy is unavailable, stop the DevLog task and report the unavailable policy. Do not use stale memory as a fallback.
- Active Notion policies are the source of AI working rules.
- Current repository code, configuration, templates, CI workflows, and product documentation are the source of implementation facts.
- Active Notion policies and current repository evidence take precedence over global Claude memory and global
~/.claudeinstructions. - Decision Memory and agent memory provide historical context only and must not override active policies or current repository evidence.
- Keep credentials, tokens, and private configuration out of this repository.