caelum0x ec98430794
Some checks failed
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
ci / node suites (push) Has been cancelled
feat(rit,gitea): zero-manual-step GitHub->Rithub import (login, CLI, agent) + orphan-comment migrate bug fix
- apps/rit: `rit login` (PKCE OAuth2 against a new first-party "Rit CLI"
  Gitea app, loopback callback, no token paste) and `rit import github`
  (lists own repos+forks via `gh auth token`, smallest-first, skip-
  existing, mirror=true). Wired as a transparent credential fallback into
  remote.rs so push/fetch/pull/clone/issue/pr all work after one login.
  `rit push` also syncs a `github` remote if present via system git.
- apps/gitea/scripts: oauth-auto-import.sh (path 1, cron-driven, triggered
  by Gitea's own GitHub OAuth login source, flock+load-gated) and
  rithub-agent.sh (path 3, plain-words trigger) share lib/bulk-migrate.sh
  as their core.
- Found+fixed two real API bugs via live testing against rithub.dev
  (MigrateRepoOptions.service is a string not an int; a bash bool-
  interpolation bug), and one real production bug (orphan GitHub comments
  on a deleted issue/PR 500 Gitea's comment-import phase even though the
  repo+code already landed -- now detected and reported as a partial
  success with a note instead of a false failure).
- Full real end-to-end verification with a throwaway mail.tm Rithub user,
  fully cleaned up after. 121/121 existing rit tests still pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-19 00:12:57 +03:00
..