031ac4b63ca1dcf57af03abc46b90c578a12771e diff --git a/src/forgejo.ts b/src/forgejo.ts index c71cdaa7176bb571101bbce3680d5dcb575e9b78..ec981804e128581ff6cd7d484a0416bf54181bd3 100644 --- a/src/forgejo.ts +++ b/src/forgejo.ts @@ -81,9 +81,11 @@ export const createRepoForUser = async (params: { name: params.name, description: params.description ?? "", private: false, - auto_init: true, + // No auto_init: the agent's first push becomes the genuine initial + // commit. An admin-authored "Initial commit" would muddle the phase + // log and break attribution on the agent's repo page. + auto_init: false, default_branch: "main", - readme: "Default", }), }); if (!res.ok) {