playbook_get_standard
playbook_get_standard(project: str, ref: str)Read-only. Returns one document.
ref is the document’s relative path, or one of the shorthands:
playbook_get_standard("billing", "core/guardrails.md") # pathplaybook_get_standard("billing", "guardrails") # shorthandplaybook_get_standard("billing", "workflow:bug-fix") # workflow by nameplaybook_get_standard("billing", "gate:python") # gate scriptThe full grammar is in refs.
When a ref does not resolve
Section titled “When a ref does not resolve”The error lists the project’s actual documents. That turns a guess into one round trip instead of several, which matters when the caller is an agent rather than a person with a file tree in front of them.
Storage is standards_files(project, relative_path), and a test asserts that every ref the
tools print resolves back to the row it names. If a tool suggests a ref, that ref works.