Metadata generation

How Zekoder uses a model to write workspace titles, branch names, commit messages, and pull request text, and how to configure it.

Zekoder asks a language model to write short pieces of text so you don't have to. This is a small one-shot call made in the background, separate from the agent you are talking to.

It generates:

  • Workspace titles: a short label shown in the sidebar.
  • Worktree branch names: a slug for the branch of a new worktree workspace. The title and branch name come from the same prompt, but you configure their wording separately.
  • Commit messages: a concise message for the changes you commit.
  • Pull request title and body: drafted from the diff when you open a PR.

How a model is chosen

Automatic is the default. Zekoder tries candidates in order until one succeeds, so a slow or unavailable model falls through to the next:

  1. Built-in defaults, matched against the models of your enabled providers: a haiku model, gpt-5.4-mini (low reasoning), minimax-m3, then nemotron-3-super. Defaults with no match are skipped.
  2. The model currently selected for that agent or draft, as a last resort.

Manual tries only the models you list, in your order. Your prompts and diffs go only to providers you chose. If every model fails, titles and branch names are not generated and commits and pull requests get placeholder text.

Every failure is written to daemon.log in the daemon home (~/.zekoder/daemon.log by default) with the provider, model, and error.

Choose a model

Open Settings → your host → Metadata generation and select Automatic or Manual. In Manual mode, pick the model. Choosing a model replaces the first entry of agents.metadataGeneration.providers and keeps the rest. Switching back to Automatic clears the list.

Set a fallback order

For more than one model, list them in agents.metadataGeneration.providers in config.json in the daemon home. An empty list means Automatic. Restart the daemon after editing the file.

{
  "agents": {
    "metadataGeneration": {
      "providers": [
        { "provider": "claude", "model": "claude-haiku-4-5-20251001", "thinkingOptionId": "low" },
        { "provider": "opencode" }
      ]
    }
  }
}
FieldMeaning
providerRequired. claude, codex, copilot, opencode, pi, or the id of a custom provider.
modelOptional. Omit it to use the provider's default model.
thinkingOptionIdOptional. A reasoning level for models that support one. Falls back to the model default if it isn't valid.

Per-project instructions

Steer the wording per repository in zekoder.json at the project root. Zekoder reads the committed version on the base branch, the same way it reads worktree commands. The project settings page edits the same keys.

{
  "metadataGeneration": {
    "title": { "instructions": "Keep titles to a few words, no leading verb." },
    "branchName": { "instructions": "Use the format <type>/<scope>-<short-desc>." },
    "commitMessage": { "instructions": "Follow Conventional Commits." },
    "pullRequest": { "instructions": "Include a Testing section in the body." }
  }
}

Each key is optional. Your instructions replace the default style for that type instead of adding to it. What to produce and the output format always apply.

Zekoder

The flight recorder for AI-built software.

Zekoder is a product of Cybernetic Labs Ltd, London.