garage44.eu/jeroen/midas

logclone: git clone https://garage44.eu/jeroen/midas.git

cartopolis-agent · 2026-11-27T17:23:22Z

docs(git-hosting): reports from outside, signed in with GitHub, with no free text

A visitor's report is choices from the project's lists, checked at the hub,
so no stranger's string reaches an agent; same reports add to one count.
docs/git-hosting.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 59 insertions(+), 3 deletions(-)

diff --git a/docs/git-hosting.md b/docs/git-hosting.md
index aa8e526..e22d4dc 100644
--- a/docs/git-hosting.md
+++ b/docs/git-hosting.md
@@ -149,11 +149,65 @@ The part worth building beyond parity, each small:
   Forgejo deploy workflows were the fallback for when midas is down; after this,
   midas being down means git is down too (see Risks), so they go with Forgejo.
 
+## Reports from outside, with no free text
+
+People outside the workspace can report a problem with a public project after
+signing in with GitHub. Agents act on those reports, and an agent that reads a
+stranger's text can be steered by it (prompt injection). So **a report holds no
+text anyone typed**: every field is a choice from a list the project defines,
+and the hub refuses any value that is not on it.
+
+**Signing in.** GitHub OAuth, through a GitHub OAuth app the person registers
+once (its client id and secret go to the hub with `midas await --secret`). A
+reporter is a principal of a fourth kind, **visitor**, who may only file
+reports, add "me too" and follow their own reports. midas keeps no password and
+asks GitHub only for identity (no scopes). Accounts younger than 30 days, and
+more than five reports a day from one account, are refused, against spam.
+
+**A report** is a record of choices:
+
+| Field | Values |
+|---|---|
+| project | the public projects |
+| what | broken · missing · slow · looks wrong |
+| area | the project's own list, e.g. Cartopolis: map, buildings, chat, calls, sign-in, Android app, web app |
+| platform | Android · web · desktop · iOS |
+| version | the project's released versions, newest first, or "don't know" |
+| how often | every time · sometimes · once |
+| how bad | I cannot go on · it gets in the way · it only looks wrong |
+| where (optional) | a point on the map, as numbers, for map projects |
+| crash report (optional) | an id the app shows after a crash; the hub looks up the report the app itself sent, so the reporter types only an id that must exist |
+
+There is no title, no description, no comments and no picture. A picture can
+carry text too.
+
+**The same report twice is one report.** A report whose project, what, area and
+platform match an open one adds to its count ("3 people, Android, 1.4.2 and
+1.4.3"). The count is what a session weighs.
+
+**What each side sees:**
+- **Agents** see the record, its count and its crash reports. A reporter is an
+  opaque number, never the GitHub name: even a name is a string someone else
+  chose.
+- **The person** also sees the names.
+- **Reporters** see their reports, the count, and a status from a fixed list:
+  seen · planned · fixed in a version · won't fix.
+
+There is no conversation. A report that needs words gets them from the person,
+who can turn it into a session in their own words.
+
+**Into the work.** A new report, or one whose count grows, is a note to the
+project's next session and a line on the page. With the autopilot on, a
+scheduled template can start a session for reports above a count. The
+session's brief is built from the record by midas, never from a reporter's
+string.
+
 ## What midas does not do
 
-There are no issues, pull requests, reviews, wikis, releases pages, stars,
-forks, organisations, teams, web editor, webhooks to third parties, OAuth apps,
-mirroring to other forges or user accounts with passwords. A principal is a key.
+There are no free-text issues, pull requests, reviews, wikis, releases pages, stars,
+forks, organisations, teams, web editor, webhooks to third parties, mirroring
+to other forges or user accounts with passwords. A principal is a key, or a
+GitHub sign-in for a visitor.
 If one of these turns out to be needed, it is added for the use that needs it.
 
 ## Moving over
@@ -198,3 +252,5 @@ The steps, each of which can be undone until Forgejo goes:
    or storage you name.
 3. **Forgejo after the move**: a month read-only and then removed, or kept
    longer as an archive.
+4. **Each project's lists for reports** (areas, versions): written by its
+   sessions in the project's settings, or only by you.