Switch Forgejo MR creation from CLI to REST API #24
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-21/forgejo-rest-mr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Switches Forgejo MR/PR creation from the
fjCLI to deterministic REST API calls, following the existing issue-fetching pattern.Changes
MrClientinterface +MrClientErrorstatus classifier.ForgejoMrClientusingPOST /api/v1/repos/{owner}/{repo}/pulls.runMrStageto use deterministic git operations +ForgejoMrClientfor Forgejo-origin repos.fjCLI guidance from Forgejo prompts; addedmrPlatformVocabularyhelper.fjpreflight requirement for Forgejo.Testing
npm run lintcleannpm run buildcleanChecklist
Closes #21
- Add shared MrClient interface + MrClientError status classifier - Add ForgejoMrClient with POST /api/v1/repos/{owner}/{repo}/pulls - Update runMrStage to use deterministic git + ForgejoMrClient for forgejo - Remove fj CLI guidance from Forgejo prompts; add mrPlatformVocabulary helper - Drop fj preflight requirement for Forgejo - Update runPipeline to pass config/origin to MR stage - Fix pre-existing duplicate-import lint errors - Update AGENTS.md, DESIGN.md, README.md, and multi-provider docs Closes #21c55b105848toc111902260