PROTOCOL.md

Routing protocol

Route by future retrieval question. When a note contains more than one retrieval question, split it instead of forcing it into one folder.

Decision tree

  1. Is it durable information about the user or response style? Use identity/.
  2. Is it a timeless fact or definition? Use semantic/.
  3. Is it something that happened on a date? Use episodic/YYYY/MM/.
  4. Is it a repeatable way to do work? Use procedural/.
  5. Is it a pointer to source material? Use reference/.
  6. Is it active and temporary? Use working/.
  7. Is it an accepted architectural choice? Use decisions/.
Davai PROTOCOL.md decision tree.
The routing decision tree mirrors the trigger order in PROTOCOL.md.

Trigger reference

Layer trigger table

#LayerTriggersRetrieval question
1IdentityStable identity, communication preferences, boundaries, durable voice rules.Who is this person, and what durable preferences shape the response?
2SemanticDefinitions, durable facts, concept summaries, stable rules, vocabulary.What is true independent of a specific date or workflow?
3EpisodicMeetings, observations, incidents, corrections, dated decisions before ADRs.What happened, when, and what evidence proves it?
4ProceduralRunbooks, checklists, repeatable workflows, command sequences, playbooks.How should the system or operator perform this task?
5ReferenceExternal docs, manuals, source links, schemas, papers, repositories, long documents.Where should someone look for authoritative source material?
6WorkingActive tasks, hypotheses, temporary notes, scratch state, open loops.What is active right now and likely to change soon?
7DecisionsArchitecture decisions, policy choices, trade-offs, reversals, accepted constraints.What choice was made, why, and what does it supersede?