neokapi/Kapi Run

Run kapi commands — catch up translations, gate content quality, plan cost — and deliver the results as a commit or pull request

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandKapi subcommand to executenoup
argsAdditional argumentsno""
projectPath to the kapi.yaml recipe (-p flag)no""
planWith `command: up`, dry-run instead: report pending work, TM leverage, and a token estimate without writing anything or calling a provider. Pairs with `pr-comment` to post the cost of a change on its PR.nofalse
fail-on-parkedWith `command: up`, fail the workflow when the run parks (work remains that the loop could not carry to the ship gate). Parked is normal pending work, not a broken run, so the default is to commit what it caught up and annotate the rest.nofalse
commitWhether to commit translation changesnotrue
commit-messageCommit messagenochore: update translations via kapi
create-pull-requestDeliver changes as a pull request instead of pushing to the current branch. Needs `permissions: pull-requests: write` (plus contents: write).nofalse
pr-titleTitle for the created pull requestnochore: update translations via kapi
pr-labelsComma-separated labels for the created pull requestnotranslations,kapi
pr-baseBase branch for the created pull request (empty = repository default branch)no""
branch-prefixBranch name prefix for pull-request deliverynokapi/up
pr-commentOn pull-request events, post one sticky comment with the report (plan, `kapi up` outcome, or gate result) that re-runs update in place. Needs `permissions: pull-requests: write`.nofalse
tokenGitHub token for PR creation and commentsno${{ github.token }}
git-user-nameGit committer namenoKapi Bot
git-user-emailGit committer emailnobot@kapi.dev
pathsSpace-separated paths to stage for commitno""
namedescription
statusRun result: success, no-changes, or failed
outcomeWith `command: up`: `converged` or `parked` (empty for other commands)
passesWith `command: up`: how many reconciliation passes the run took
parked-localesWith `command: up`: comma-separated locales still short of their gate
gateWith `command: check`: `pass` or `fail`
plan-missingWith `plan: true`: pending units across all locales
plan-tm-exactWith `plan: true`: units recoverable from TM exact hits
plan-ai-remainingWith `plan: true`: units left for AI translation
plan-token-estimateWith `plan: true`: estimated tokens for the remaining units
committedWhether a commit was created
commit-shaSHA of the created commit (empty if no commit)
pull-request-urlURL of the created pull request (empty if none)