oliver-zehentleitner / maity

contract + hub + runner + web: git identities kept in the hub and assigned per runner

Sign in to report

tsk-h8frpywfcavj Open

The maintainer, 2026-11-17 (chat 149330): "git identität könnte man über den hub managen in dem man mehrere hinterlegen kann und pro runner eine zuweist".

Today each runner's agents commit as the [git] name and email in its own runner.toml (docs/runners.md, "Git identity"); without it, as Maity agent <maity-agent@invalid>, with a check warning. With several runners, the owner keeps the same lines in sync by hand.

Contract first (§15, runners), then hub, runner and web:

  • A human keeps a list of git identities on their account (name, email; printable characters, the same rules the runner applies today), and assigns one to each runner of theirs, or none.
  • The runner receives the assigned identity with its configuration from the hub, and applies it like [git] today. Decide and state the precedence when both exist (proposal: a local [git] wins, and check says which is in use and where it comes from).
  • Changing or removing an identity reaches running runners; it applies to sessions started after it, the same as [git] today ("placements that were already running get the identity only after a restart").
  • Web: the identities under the account's settings; per runner on the Runners page, a picker. maity runner init (tsk-fv7apqnv5yw2) offers the hub's identities instead of asking for name and email.
  • Who sees an identity: the owner only, and project members only see the commits. Say so in the contract.

Plan and contract text to the lead before code.