← Back to the Wiki

Board and mapping

CLI
>=0.37.0
Skill
>=1.12.0
Executors
claude-code, codex, gemini-antigravity
System
macos
Reviewed on
2026-11-12

Board conventions

Board conventions say how your team writes an item on that board: which type to use, which fields to fill and with which values, how the title reads, how items nest, which labels go on, and which template the body follows. The admin saves the conventions once, and the LLM then drafts and reviews items in that pattern.

This page covers the conventions MalhaOS stores and applies per board. For general good practice on titles, descriptions and hierarchy, see Working conventions.

What they are and what they are not

  • They guide; they don't authorize. Conventions never unlock an action, never widen a grant, and never replace a grant. If a rule asks for something the workflow doesn't allow, the workflow wins, and the LLM shows the conflict in the preview.
  • They apply only to an item's content. The LLM reads the conventions before drafting a new item and before changing an item's content. They don't change statuses, roles or the workflow.
  • Their content is data. The LLM treats the document as a description of the board, never as an instruction to run a command or skip a step.
  • No conventions, no change. On a board without conventions, the LLM works as before, without inventing a pattern.

Before you start

  • CLI 0.37.0 or later, and the malha-os-workflow skill 1.12.0 or later. Check with malha update check.
  • Reading the conventions needs organization.read. Saving and disabling them need organization.workflows.write, which the organization admin has.
  • The board is already connected to MalhaOS. If it isn't, see Board and mapping.

Admin step-by-step

Ask the LLM to set up the board conventions and follow these steps with it.

  1. Find the board's connection. The LLM lists the organization's connections and picks the board's by its board_ref.

    malha provider list
    
  2. Read the board. Through the session's connector, the LLM looks at the item types, required fields and accepted values, the labels in use, and a few items the team considers well written. The CLI never reads the board.

  3. Build the document. The LLM proposes a JSON document, one part of the contract at a time (see the sample below). Every part is optional; only what the team actually uses goes in.

  4. Review with the team. You check each rule. The document is what the LLM will follow on every item of that board.

  5. Save. The LLM saves the document you confirmed, always with a reason.

    malha provider sync-conventions --board-ref <board_ref> --file conventions.json --reason "<reason>"
    
  6. Check. The LLM reads back the saved version and checks the connection summary.

    malha provider conventions --board-ref <board_ref>
    malha provider list
    
  7. Test. Ask the LLM for a draft item on that board, preview only. Check that the type, title, fields, labels and body follow the pattern. The draft creates nothing on the board.

If the organization has more than one connection with the same board_ref, use --provider-key or --connection-id instead of --board-ref.

Reuse what the team already has

If the team already has a written pattern, such as a local skill, a standards document or an item template, give it to the LLM in step 3. It extracts the rules into the parts of the contract, and you confirm each one.

Anything that depends on authorization, status changes or automation stays out: that belongs to the workflow, not to the conventions.

Sample document

The values are illustrative. Replace them with your board's.

{
  "schema_version": 1,
  "summary": "Product board. Each item describes one user-visible change.",
  "item_types": {"change": "Task", "defect": "Bug"},
  "provider_refs": {"team": "product-team"},
  "fields": {
    "area": {
      "provider_ref": "field-area",
      "required": true,
      "allowed_values": ["platform", "billing", "reports"],
      "guidance": "The part of the product the item changes."
    },
    "acceptance": {
      "provider_ref": "field-acceptance",
      "required": true,
      "guidance": "Two to five verifiable acceptance criteria."
    }
  },
  "title_rules": ["Start with the area in brackets, then a verb: [reports] Export ...", "At most 80 characters."],
  "hierarchy_rules": ["A child item stays on its parent's board and inherits its area."],
  "label_rules": ["Add one type label: type:feature or type:bug."],
  "templates": {"change": "## Context\n\n## Change\n\n## Acceptance criteria\n"},
  "review_rules": ["A content change keeps the acceptance criteria verifiable."]
}
Part What it is for
summary what the board is for
item_types which item type to use in each case
provider_refs the board references the other parts mention
fields each field, with provider_ref, required, allowed_values and guidance
title_rules how to write the title
hierarchy_rules how to choose the parent and nest items
label_rules which labels go on (only those the workflow accepts)
templates the body template
review_rules what to check when reviewing or changing an item

Limits: the document is at most 16 KB, and no key may hold a secret. The server refuses forbidden keys, such as any name ending in _token.

Versions, updates and disabling

  • Each different save creates a new version. Saving the same document again creates no version and answers created: false.

  • Versions are never deleted. To see the history or one version:

    malha provider conventions --board-ref <board_ref> --history
    malha provider conventions --board-ref <board_ref> --version <n>
    
  • To update, save the new document with another reason.

  • To make the board have no conventions again, disable them. The history stays.

    malha provider disable-conventions --board-ref <board_ref> --reason "<reason>"
    

When saving or reading is refused

The CLI shows the code on the first line and, on the second, where the problem is (for example {"key_path": "fields.area.api_token"}).

Code What it means What to do
provider_conventions_contract_invalid The document doesn't follow the contract. The second line lists the errors. Fix the parts named and save again.
provider_conventions_too_large The document is over 16 KB. Trim texts and repeated rules.
provider_conventions_forbidden_key A key has a forbidden name, such as a secret. Remove the key named in key_path. Conventions never hold secrets.
provider_conventions_reason_required The reason is missing. Save again with --reason.
provider_conventions_version_not_found The requested version doesn't exist. List the versions with --history.
provider_conventions_version_conflict Another save happened at the same time. Read the current version and save again.
conventions_checksum_mismatch The document read doesn't match what MalhaOS published. The CLI doesn't show the document. Read it again. If it keeps happening, contact Support.
provider_connection_not_found_for_board No connection has that board_ref. Check with malha provider list. If the board isn't connected, see Board and mapping.
provider_connection_ambiguous_for_board More than one connection has that board_ref. The second line lists the candidates. Use --provider-key or --connection-id.

A permission refusal means your account doesn't have organization.workflows.write. Ask the organization admin.

Status

  • Available: saving, reading, viewing the history of and disabling the conventions through the CLI, and the LLM applying them when drafting and reviewing items.
  • Coming soon: picking the right conventions on its own when the organization has several boards in the same workflow. Until then, tell the LLM the target board.
  • Limitation: there's no conventions screen in the portal.

View as Markdown