komrad github

Reach GitHub as the engine's own App

komrad

komrad github

An engine runs agents that write code, so it has to push. Giving it a personal access token would leave a secret on the machine that works forever.

Instead komrad holds a GitHub App's private key and signs a short assertion with it. GitHub returns a token that stops working after an hour and only reaches the repositories the App was installed on.

Set the App id, the installation id and the path to the key under [github_app].

Commands#

Inherited flags#

FlagTypeDescription
--configstringArray

path to a config TOML, repeatable, later files win over earlier ones

--enginestring

engine to reach, named after a file in the config's engines directory, layered over the config