AI Directive System
Data Machine assembles AI request context through directive classes registered on the datamachine_directives filter. The current implementation is documented in core-system/ai-directives.md.
Key current facts:
AgentModeDirectiveinjects built-in mode guidance forchat,pipeline, andsystemat priority 22.CoreMemoryFilesDirectiveinjects registered memory files from the shared, agent, and user layers.- Pipeline, flow, daily-memory, and chat-inventory directives add request-specific context after the core mode and memory layers.
- Tools are injected by
RequestBuilderthroughPromptBuilder::setTools(), not by a directive class.
Use core-system/ai-directives.md as the authoritative reference for priorities, mode assignments, filters, and examples.