Skip to content

write model-facing prompts for first contact - #41

Merged
xobotyi merged 1 commit into
mainfrom
cold-start-prompts
Jul 13, 2026
Merged

write model-facing prompts for first contact#41
xobotyi merged 1 commit into
mainfrom
cold-start-prompts

Conversation

@xobotyi

@xobotyi xobotyi commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Every model-facing string — server instructions, 8 tool descriptions, all input field descriptions — rewritten for a model seeing Gerrit for the first time:

  • Instructions carry a domain primer (what a change is, the three identifier forms with examples, patch sets, labels, submit) and the typical tool flow, plus a note that errors carry proposals/hints worth following.
  • Every change field shows the three identifier forms with concrete examples.
  • Cross-references: list_change_files paths are named as the valid inputs to get_file_diff/post_comments; comment ids come from get_change_comments; search results point at get_change; get_change disambiguates change messages from inline comments (the classic cold-model confusion).
  • post_comments states publication is immediate/visible and that line numbers address the new version of the file.
  • set_vote gives example labels and the common -2..+2 range.

Struct tags can't wrap, so lll now excludes jsonschema: tag lines — description clarity outranks line length.

Rendered surface verified via live tools/list dump.

Tool descriptions, field descriptions, and the server instructions now
assume a model that has never seen Gerrit. The instructions carry a
domain primer (change, patch set, labels, submit) plus the typical
tool flow; every change field shows the three identifier forms with
examples; descriptions cross-reference where inputs come from
(list_change_files paths feed get_file_diff and post_comments, comment
ids come from get_change_comments) and disambiguate change messages
from inline comments. post_comments states that publication is
immediate and that line numbers address the new version of the file.

jsonschema struct tags cannot wrap, so lll excludes them: field
description clarity outranks line length.
@xobotyi
xobotyi merged commit 1cf57b3 into main Jul 13, 2026
5 checks passed
@xobotyi
xobotyi deleted the cold-start-prompts branch July 13, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant