gitoria
All repositories: gitoria
3.2 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. vinzenz built konrad over the past to weeks a code rabbit replacement for github. basically we want vinzenz 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). Konrad itself is Vinzenz's 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/Vinzenz, each answerable in one word (e.g. who builds the reviewer and where — that is Vinzenz'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
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- 4a3f557eImport layouts theme ebd00b6 for W61 (startup blocked)mre
- 53ca42b2log: W60 merged, W61 W62 startedmre
- 80870a33mission W61: style passmre
- 560fd208Merge W60: helpers, bound forms, login in topics, two form fixes (gitoria#28 #32 #33)mre
- ac5ba6a4log: W60, #25 measuredmre
- 220f6342W60: record corrected form proof, full AE and remaining gapsmre
- 7e31cac5gitoria#28: restrict reply form layout to reply formsmre
- ae373cfdgitoria#28: keep each reply draft in its thread componentmre
- eeeebd5agitoria: insert a newly created organization oncemre
- 34d2d5cagitoria: clear the bound public-key textarea after creationmre
- 119e54c0W60: restore conductor-owned tracking filesmre
- 24b479e7W60: record final gates, Chrome failures and AE evidencemre
- 5e11184cW60: record partial validation, framework gaps and cleanupmre
- 20fe13fagitoria#33: centralize login and tickets connection statemre
- 859754c0gitoria#29: retain the offline note and record the framework gapmre
- d140bc04gitoria#30: reproduce the upsert ordering constraintmre
- 6960e8f8gitoria#28: keep form values in bound component membersmre
- 0db27200gitoria#32: share character checks and environment lookupmre
- 452f6a1amission W60: logic clean-upsmre
- 1448c899log: cleanup, #49 GPTBot, tracker mentions on #36mre