Repo activity: a repo the anonymous read cannot reach is Unseen and the others still read; the read says only what it knows

A feed that answers 404 (private) or a redirect (renamed) is a fact about that repo, unseen, on first reads and later ones; the redirect is not followed and, when it names a repo, the Mind is told where it points. A network failure or the budget still fails the read whole. The fake forge now answers statuses and Location as the live forge does.

more:bool becomes capped: the repos whose feed the read stopped at its page limit, and the notice and the wear line say only that: the read stopped at its page limit in a named repo, older entries there were not read.

The cut notice reserves its tail from the entry count's digits and the capped clause, so its 300-char bound holds at any count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-03 03:35:43 +01:00
commit dcd8f2116b
8 changed files with 888 additions and 635 deletions

View file

@ -4338,9 +4338,15 @@
]
},
"RepoActivity": {
"description": "The answer to an activity read. `events` are other people's changes only,\nthe asker's own login already dropped, and on a read with no `after` only\nthose of the last 72 hours: the reader filters nothing again. `head` is the\nnewest feed id the read saw in those repos, whether or not any event\nsurvived the filter, an entry older than the window too: the cursor to ask\n`after` next. `more` says some repo's feed had more to give past the page\ncap, before it reached `after` (or the window start on a read with no\n`after`). `open_prs` and `unseen` come only on a read with no `after`.",
"description": "The answer to an activity read. `events` are other people's changes only,\nthe asker's own login already dropped, and on a read with no `after` only\nthose of the last 72 hours: the reader filters nothing again. `head` is the\nnewest feed id the read saw in those repos, whether or not any event\nsurvived the filter, an entry older than the window too: the cursor to ask\n`after` next. `capped` names the repos whose feed the read stopped reading at its page limit: their older entries were not read.\n`open_prs`, `unseen` and `moved` come only on a read with no `after`.",
"type": "object",
"properties": {
"capped": {
"type": "array",
"items": {
"$ref": "#/$defs/OrgRepo"
}
},
"events": {
"type": "array",
"items": {
@ -4352,8 +4358,12 @@
"format": "uint64",
"minimum": 0
},
"more": {
"type": "boolean"
"moved": {
"description": "Of those, the ones whose feed answered a redirect that names another repo. The redirect is not followed.",
"type": "array",
"items": {
"$ref": "#/$defs/RepoMoved"
}
},
"open_prs": {
"type": "array",
@ -4362,7 +4372,7 @@
}
},
"unseen": {
"description": "Repos asked about that the anonymous org listing does not hold.",
"description": "Repos asked about that the anonymous read cannot see: the org listing does not hold them, or their feed answered 404 or a redirect.",
"type": "array",
"items": {
"$ref": "#/$defs/OrgRepo"
@ -4372,9 +4382,10 @@
"required": [
"head",
"events",
"more",
"capped",
"open_prs",
"unseen"
"unseen",
"moved"
]
},
"RepoChange": {
@ -4466,6 +4477,22 @@
"change"
]
},
"RepoMoved": {
"description": "A redirect the forge answered for a repo's feed: it points at `to`.",
"type": "object",
"properties": {
"from": {
"$ref": "#/$defs/OrgRepo"
},
"to": {
"$ref": "#/$defs/OrgRepo"
}
},
"required": [
"from",
"to"
]
},
"ReportCommit": {
"type": "object",
"properties": {