gitoria
All repositories: gitoria
3.3 KB
# Mission E38 — evaluation: push API for outside apps (gitoria#38)Ticket: https://tickets.worldapi.org/gitoria.worldapi.org/38Task, caramboleyo's words unchanged:"gitorias first job is to evaluate how to make a push api where external apps can register to interact with gitoria. first use case being a code reviewer. The external reviewer built the reference reviewer over the past two weeks, a code rabbit replacement for github. basically we want the external reviewer now to build a similar tool with gitoria and hybriel."## ResultAn EVALUATION, no code. Write `reports/E38-push-api-eval.md` (≤ 250 lines, plain words). Change no other file, no commits, no deploys, no ticket writes, nothing on byrodin or lisbeth.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (fully; where it conflicts with this brief on scope, this brief wins: read-only evaluation).- In /media/STORAGE/projects/WorldAPI/gitoria.worldapi.org: CONCEPT.md, DECISIONS.md, README.md, project.hl, docs/git-backend.md.- The code that matters: lib/pulls.hl (how PRs work: a `|||PR` commit, Merge button), lib/tickets.hl (`notifyPush`, the connect flow `finishConnect`: gitoria already registers with another app), lib/tokens.hl (access tokens), lib/transport.hl (where a push lands), lib/api.hl (function routes), lib/repos.hl (owner/push rules).- tickets' connect protocol: /media/STORAGE/projects/antcolony-docs/docs/tickets-connect-apps.md (an existing WorldAPI "app registers with app" pattern; reuse it if it fits).- Hybriel/hl:web facts only from /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md and its docs (outgoing HTTP calls, background work, function routes). Do not guess framework features; a missing one = a gap line.- CodeRabbit / GitHub Apps / Gitea-Forgejo webhooks: public docs on the web, only to compare shapes (events, signing, comment API). The reference reviewer itself belongs to the external reviewer and is not available to you; don't look for it.## Answer these1. What gitoria has today that a reviewer needs (PR = commit, diff?, comments on a PR?, events) and what is missing. README says: no diff of a commit is built; PRs have no comments? check.2. Registration: how an outside app registers (per repo by its owner? per user? like the tickets connect flow?), what it gets (a token with which rights), how the owner removes it.3. Push: which events (PR opened, new commit on a PR branch, merged, push to main), payload shape, delivery (HTTP POST, signed with a shared secret, retries, what happens when the app is down), and where in gitoria's code the event is raised.4. Back-channel: what the app may do (read diff, post a review comment / line comment, set a status/verdict on the PR), as API routes with token check.5. 2–3 options with effort (small/medium/large in work steps), risks (security: secrets, SSRF on registered URLs, private repos #34), and a recommendation with reasons. Name framework gaps.6. Open questions for caramboleyo/the external reviewer, each answerable in one word (e.g. who builds the reviewer and where — that is the external reviewer's decision, list it as a question, don't decide).## Limits- Budget is small: ≤ 40 tool calls. No servers, no gates needed. Stop when the report is written.- Report back in ≤ 10 lines: the recommendation, the main gaps, the open questions, the report path.
Branches
Latest commits
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre
- c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
- ce08920dMerge branch 'w52c-header-phone' into mainGitoria
- 0bab9e46|||PR header: ident status wraps on phones instead of clippingmre
- e7af3eceMerge branch 'w52b-approval-followup' into mainGitoria
- c01e66c6|||PR approvals follow-up: live Merge after status writes, helpers (#52)mre
- 841da497Merge branch 'w53-pulls-speed-pr' into mainGitoria
- 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
- 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
- 155861f6Merge branch 'w52-person-approval' into mainGitoria
- b5435de8|||PR person approvals: second Kunibert round (#52)mre
- 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre