Hi team,
The Kimi GitHub plugin (kimi.com) cannot create or update files under .github/workflows/ — every such write fails with 404 Not Found and an empty error body ([]). Writes to all other paths succeed, and all reads work normally.
Reproduction (same repo, same branch, minutes apart)
- push of MUNKAMODSZER.md to main: success (commit 6ac2f3b8c07183174ceca53a6746b06cfe6e0fc4)
- push of
.github/workflows/pr-ci.ymltomain: 404 Not Found, empty error body[]
This matches GitHub’s known behavior when an OAuth App token lacks the workflow scope, required specifically for workflow files (“refusing to allow an OAuth App to create or update workflow … without workflow scope”, cf. cli/cli#7251).
Already tried, no effect: disconnecting/reconnecting the plugin multiple times; revoking the OAuth grant under GitHub Settings → Applications and re-authorizing from scratch. Reads come back immediately; workflow-path writes still 404.
Since the app’s scopes are defined on Moonshot’s side, the fix should be adding the workflow scope to the OAuth app. Also reported to [email protected].
GitHub: aisaagenthu