Skip to content

Settings: Constitution

The Constitution panel holds Wayland’s standing rules. The text loads fresh on every turn, so edits apply immediately with no restart. The panel is a Markdown editor with a section outline, a live token estimate, autosave, a reset action, and specialist overlays.

The Constitution settings panel

ControlDescription
Markdown editorA rich Markdown editor holding the full Constitution text.
Sections outlineA table of contents built from the headings. Click an entry to scroll to it.
Token estimateAn approximate token count. It warns near roughly 2,000 tokens and flags past roughly 3,000, where adherence drops.
AutosaveEdits save automatically after a short pause. A saved indicator confirms the write.
ResetRestore the default Constitution. A confirmation step warns that current edits are lost.

Below the editor, specialist overlays let you keep per-specialist rules separate from the main Constitution. Overlays live at ~/.wayland/specialists/<id>.md. Moving sections into overlays is the recommended way to stay under the token ceiling.