Board and mapping
- CLI
- >=0.39.0
- Skill
- >=1.13.0
- Executors
- claude-code, codex, gemini-antigravity
- System
- macos
- Reviewed on
- 2026-11-13
Board and mapping
For MalhaOS to work on your company's issues, three things need to be in place. They are different, and each one has an owner.
| Layer | What it is | Who does it | Mission |
|---|---|---|---|
| Board access | The LLM can read, create, and update issues on the board, through its session's tools | The company manager gives you access | M3b |
| Connection | The organization's workflow knows which board to use | Org admin | M2 |
| Mapping | Each workflow stage matches one or more board statuses | Org admin | M3 |
Having board access doesn't connect or map anything. And a connected, mapped board doesn't give access to someone who doesn't have permission on it.
For the member
Run the diagnosis and see which mission is pending:
malha doctor --first-use --provider <provider>
- M2 or M3 pending: it's up to the org admin. Use the request template in First steps.
- M3b: it's up to the company manager (case P14 in Troubleshooting).
board_not_required: your workflow doesn't use a board (Individual plan). There's nothing to do.
For the admin: before you start
- You need to be an org admin or owner. A member with an operator role can't connect or map.
- The executor needs the board tools (Linear or Jira) authorized in the session. The LLM uses them to read and create statuses. The CLI never accesses the board.
- Know which workflow, and which version of it, you're going to use.
Ask the LLM to lead. It follows the steps below and stops at the points that need your decision.
Step 0 · Connect the board and link it to the workflow
Ask: “list the teams in our Linear” (or the Jira projects) and pick the board. The LLM reads the board's id and key through the board tools and shows both to you. In Linear, the board is the team. In Jira, it's the project. Then a single command connects and links:
malha provider connect --provider-key <provider> --board-ref <board-key> --provider-board-id <board-id> --workflow-id <workflow-id> --custody-policy metadata_only
It records which board to use, returns the connection_id, and links the board to the workflow right away. The CLI never talks to the board: the id comes from the LLM's tools.
- The connection already exists: the refusal brings the existing
connection_idon the second line. Use that connection. Don't create another one for the same board. - The link was refused: the connection stays created, and the output says why. Fix it and link without connecting again:
malha workflow link-provider-connection --workflow-id <workflow-id> --connection-id <connection-id>
If the connection's provider is different from the workflow's provider, the link answers provider_connection_provider_mismatch. Pick the right connection. Don't retry with the same one.
Steps 1 and 2 · Read the board and compare
Ask: “read the board statuses and compare them with the workflow stages”.
The LLM reads each status (identifier, name, and category) and compares it with the stages the workflow version uses. It only asks about the stages the workflow actually uses.
The status category (for example, “in progress”) is only a hint. Very different statuses can have the same category, so it is never enough to decide a mapping.
Step 3 · Create what's missing
If a stage has no matching status, the LLM creates the status on the board, with your authorization for that set of creations.
It never reuses a status that already means something else to your team.
Step 4 · Confirm each match
For each stage, the LLM proposes which status matches. You confirm each pair. This is the highest-risk step: a wrong pair makes the workflow treat the issue as if it were in another stage.
Several statuses can match the same stage, but a status matches only one stage. After your confirmation, the LLM saves the set:
malha provider sync-mapping --connection-id <connection-id> --entries-json '[{"canonical_stage": "qa_validation", "provider_state_id": "10492", "provider_state_name": "QA", "provider_state_category": "started"}]'
sync-mapping only saves what has already been decided. It doesn't discover or create anything on the board.
Step 5 · Validate before saying it's ready
Ask the LLM to create a test task and walk it through each mapped stage, confirming at each one the role and the gate the workflow returns. Only after that is the board ready.
Also confirm in the diagnosis: missions M2 and M3 with verified.
Three situations
| Situation | Sign | What to do |
|---|---|---|
| New board | connection_absent or mapping_empty |
Steps 0 to 5 |
| Partial mapping | mapping_partial or canonical_stage_not_mapped |
Steps 1 to 5, only for the missing stages |
| Board or workflow changed | A status was renamed or removed (provider_state_not_mapped), or a new workflow version uses a new stage (provider_mapping_incomplete when promoting the version) |
Steps 3 to 5, only for what changed. The LLM suggests, and you decide when to run it. |
| Second board | A workflow that already has a board will serve another one | Steps 0 to 5 for the new board only. The first one stays linked and mapped. |
More than one board
An organization can connect several boards, and a workflow can serve more than one. Connecting a second board is the normal case: follow steps 0 to 5 for it, with its own mapping, without unlinking or remapping the first one.
When the workflow starts serving more than one board, the CLI warns with workflow_serves_multiple_boards. From then on, MalhaOS needs to know each issue's board. The LLM reads the board through its tools and sends it. Without it, MalhaOS refuses with board_context_required.
For the workflow to stop serving a board, the admin unlinks just that board. The connection and the mapping stay:
malha workflow unlink-provider-connection --workflow-id <workflow-id> --connection-id <connection-id>
Record the board id
A connection created before board ids keeps only the key. The diagnosis shows board_anchor_missing for it. Recording the id keeps the connection, the link, and the mapping.
Ask the LLM to lead. It lists the connections without an id, reads each board through its tools, and shows you the connection_id, the key, and the id it read. You confirm each one. Only then does it record:
malha provider set-board-id --connection-id <connection-id> --provider-board-id <board-id>
The id is recorded only once. If the connection already has another id, MalhaOS refuses with provider_board_id_immutable: a different board is a different connection. If the LLM can't find a board that matches the key, it records nothing and asks you.
When MalhaOS refuses because of the board
| Code | Who resolves it | What to do |
|---|---|---|
board_context_required |
You | The LLM reads the issue's board and repeats the request with the board. |
provider_board_not_connected |
Admin | The board has no connection. Step 0 for that board. |
workflow_provider_connection_missing |
Admin | The board has a connection, but no active workflow serves it. The admin picks the workflow and links the connection. |
workflow_ambiguous_for_board |
You | More than one workflow serves the board. Pick one of the workflows MalhaOS lists and put the label it names on the issue. |
board_anchor_missing |
Admin | The connection has no board id. See "Record the board id". |
If you're not an admin, the LLM writes the request to the admin with the code and the board, as in First steps.
Where to see the status
- Diagnosis:
malha doctor --first-use --provider <provider>, in missions M2 and M3. - Portal: when you promote a workflow version, the portal shows the mapping status and the commands for the case.
- Codes: see the Board category in the reason code catalog and case P13 in Troubleshooting.
Providers
| Provider | Status |
|---|---|
| Linear | Validated live |
| Jira | Validated live |
| Azure DevOps | Not validated yet |
| Trello | Not validated yet |
| Individual plan | No board (board_not_required) |
Status
- Available: connection and mapping through the CLI, led by the LLM, for Linear and Jira.
- Coming soon: validation for Azure DevOps and Trello, and the skill sending the board for every issue, without waiting for the refusal.
- Limitation: there's no mapping screen in the portal.