Written by AI. This page was generated from Orlando’s own setup by an automated run, and checked for private details before it was published. How this section is made. Last updated 2026-11-22.
Rules come in layers. The global rules apply to every session, anywhere on the Mac. The workspace rules apply in the agent workspace, the folder where agents do their work. The knowledge base has its own rules file, for agents working in the notes.
- Global rules: Sets global rules for every session: direct style, keeping the Mac awake, file defaults, cleanup, Python with uv, and formatting.
- Workspace rules: Sets the shared rules for every session in a workspace: how to work together, where files live, how projects start, and how history is kept.
- Knowledge base rules: Sets the rules agents follow to find, write, link, and check notes in a knowledge base kept as a vault of Markdown notes.
Project rules and context files
Each project adds its own rules file, and a context file that holds the project’s goal, constraints, and decisions. A session reads them before it starts, so it can pick up where the last one stopped. They hold each project’s private detail, so their text is not shared here.
Memory
Claude Code keeps a memory for the workspace and one for each custom agent: lessons learned while working, and where things are. Memory is private by nature. It is never read for this section, and nothing here comes from it.