Live collection uses the existing gh login for account/repository discovery and seven direct-resource families. Supplementary Events responses are raw-only: they append to event_receipts with origin supplementary-live but create no live rows, animation or sound. Legacy archived Events remain replayable. Offline mocks retain 20 captured and five labeled synthetic Events. No shared cross-provider interface, authored-user feed collector or webhook receiver is introduced. Credentials and private responses are not saved to public fixtures. The private SQLite archive survives startup without pruning; the bounded feed is not the archive.
The agreed product is a passive activity ticker: collect as much accessible activity as possible while running; let Subscriptions filter repositories, people, and activity types. Activity, Filters and Settings share one primary native window; there is no production Controls window. Filters/Settings replace Activity with Back to activity, using independent saved configuration geometry (840×640px default, 640×400px minimum). Returning restores ticker dimensions; collapse preserves the active view. Navigation leaves enabled collection running. Settings owns master activity, source/polling, authentication, errors, Sounds, Open Debug, geometry and Quit. Open Debug and the error footer open an independent native Debug window. Include self, bots, drafts, and all available types by default. No unread workflow, desktop notifications, or click actions. Delay is acceptable; silent claims of complete coverage are not.
Use account-based API access first, without a GitHub App installation in the organization. Webhooks remain a possible future transport, not a prerequisite.
The family directories indexed by the synthetic manifest contain synthetic, selected-field examples. They preserve source field names and nesting, but are not full responses, JSON Schemas, recorded deliveries, or guarantees of field presence. A live collector must pin its API version and handle optional, null, and unknown fields.
The separate captured/ set contains 11 real public API response bodies fetched using gh, with capture metadata and exact endpoints. Use it for realistic mock data; use synthetic examples for types not represented by that particular feed snapshot. The captured event/repository lists and five supplemental synthetic feed examples are wired into the ticker. Native resource tests use public or synthetic payloads without inventing Events envelopes. The webhook example remains inspection material; the captured-fixture README describes the historical capture, not current collector coverage.
| Example | Object shape | Useful fields | What it does not tell us |
|---|---|---|---|
| Push feed event | Events array element | id, type, actor, repo, payload.ref, payload.before, payload.head, created_at |
Do not assume commit messages, a commit list, or a human title. Current documented push payload is sparse. |
| PR feed event | Events array element | payload.action, payload.number, nested PR fields |
Not every PR transition is published to this feed; nested fields can require enrichment. |
| Conversation comment event | Events array element | Issue/PR subject, comment body, event actor | PR conversation comments use the issue-comment family, not review comments. |
| Review event | Events array element | PR subject, review state/body, actor | Approving is a review state, not necessarily the event's action string. |
| Inline review comment | Events array element | File path, line, body, review association | Location can be outdated or null in other records. |
| PR resource | REST response object | Title/body, draft state, labels, base/head repositories, requested reviewers, counts | A snapshot is not an event log; updated_at does not identify who caused a change. |
| Review resource | One review-list element | State, reviewer, body, commit ID, submitted time | Repository identity comes from the request context. |
| Comment resource | One comment-list element | Author, body, creation/update times, issue URL, reactions | No direct repository field or guaranteed parent title; edits/deletions can be missed between polls. |
| Workflow run | Element of workflow_runs |
Workflow name, trigger event, status, conclusion, attempts, actor, triggering actor | event: pull_request means the trigger, not a ticker event type. One run can change several times. |
| Commit resource | REST response object | Message, author/committer, dates, files, statistics | Commit authorship and commit time do not establish who pushed, or when. |
| Push webhook | Delivery body | Ref, before/after, sender, pusher, commits, forced/deleted flags | Unlike the feed, type/delivery ID arrive in headers. Commit arrays can be truncated; head_commit can be null. |
These objects deliberately have no common Event wrapper. For example, feed events have type, but a PR resource does not. The webhook puts ref at the root; the feed puts it under payload. Comment resources need collection context to establish their repository.
gh is a client of REST/GraphQL, not an additional data source or permission bypass. gh api can call endpoints without dedicated commands. Local Git provides cloned history, not a global stream of who pushed.
| Family | Events feed | Resource API | CLI access | Webhook equivalent |
|---|---|---|---|---|
| Pushes | PushEvent |
Commits, comparisons, branches, refs | gh api; local git |
push |
| PR lifecycle | PullRequestEvent, selected actions |
PR records, files, commits, issue timeline | gh pr; gh api |
pull_request, broader actions |
| Reviews | PullRequestReviewEvent |
Review records | gh pr view; gh api |
pull_request_review |
| Inline comments | PullRequestReviewCommentEvent |
Review comments | gh api |
pull_request_review_comment |
| Review-thread resolution | No dedicated type | GraphQL review-thread state | gh api graphql |
pull_request_review_thread |
| PR conversation comments | IssueCommentEvent |
Issue-comment endpoints | gh pr view --comments; gh api |
issue_comment |
| Issues | IssuesEvent, selected actions |
Issue records, issue events, timelines | gh issue; gh api |
issues |
| Issue comments | IssueCommentEvent |
Repository/issue comments | gh issue view --comments; gh api |
issue_comment |
| Commit comments | CommitCommentEvent |
Commit comments | gh api |
commit_comment |
| Branch/tag creation/deletion | CreateEvent, DeleteEvent |
Current refs, branches, tags | gh api; local git |
create, delete |
| Releases | ReleaseEvent, published releases |
Release records/assets, drafts where authorized | gh release; gh api |
release, broader actions |
| Discussions | DiscussionEvent, selected activity |
GraphQL discussions/comments | gh api graphql |
discussion, discussion_comment |
| Stars/forks | WatchEvent means starring; ForkEvent |
Stargazers/forks | gh api |
star, fork |
| Repository watch subscriptions | Not a dedicated feed family | Subscription/watch endpoints | gh api |
watch |
| Wiki edits | GollumEvent |
Separate wiki Git repository | git clone …/repo.wiki.git |
gollum |
| Workflows/jobs | No dedicated type | Actions runs/jobs/logs/artifacts | gh run; gh workflow; gh api |
workflow_run, workflow_job, others |
| Checks/statuses | No dedicated type | Check runs/suites, commit statuses | gh pr checks; gh api |
check_run, check_suite, status |
| Deployments | No dedicated type | Deployments/statuses/environments | gh api |
deployment, deployment_status, others |
| Reactions | No dedicated type | Reactions on supported objects | gh api; GraphQL |
No general standalone reaction event |
| Labels/milestones | Some assignment actions inside issue/PR events | Definitions, assignments, timelines | gh label; gh api |
label, milestone, issue/PR actions |
| Projects | No dedicated type | Projects v2 via GraphQL; available project APIs | gh project; gh api graphql |
Project-related events, restricted by webhook scope |
| Security | No dedicated type | Dependabot, code/secret-scanning, advisories | gh api |
Corresponding security events |
| Repository/admin | Selected MemberEvent, PublicEvent |
Settings, collaborators, teams, rulesets, authorized audit logs | gh repo; gh api |
Repository/org/admin events |
Availability depends on token grants, organization policies, repository features, and endpoint permissions. The table describes available families, not a guarantee that this user's token can read all of them. API polling cannot reconstruct every mutation; webhook actions also have scope and payload limitations.
| Purpose | REST endpoint | Notes |
|---|---|---|
| Connected account | GET /user |
Identity for the configured token |
| Accessible repositories | GET /user/repos |
Paginate; token visibility is not necessarily all account visibility |
| Watched repositories | GET /user/subscriptions |
Optional suggestions for app-local subscriptions |
| Starred repositories | GET /user/starred |
Optional suggestions, not automatic subscriptions |
| Organizations | GET /user/orgs |
Permissions affect membership visibility |
| People suggestions | Repository collaborators/contributors; organization teams/members; /user/following |
Contributors are historical contributors, not an authoritative coworker roster |
| Repository activity | GET /repos/{owner}/{repo}/events |
Repository-local collection |
| Person's authored activity | GET /users/{username}/events |
Someone else's public activity; own private events when suitably authenticated |
| Your received activity | GET /users/{you}/received_events |
Activity delivered through watching/following; not an exhaustive account audit log |
| Your organization dashboard | GET /users/{you}/events/orgs/{org} |
Must authenticate as that user |
| Public organization activity | GET /orgs/{org}/events |
Public, not a private organization firehose |
Overlapping feeds can contain the same event. Deduplicate feed deliveries by GitHub event ID, not by title or commit author. A resource's ID identifies the object, not all its state transitions. A workflow run additionally has attempts and changing state. Do not apply feed deduplication rules blindly to resource snapshots.
ResourceKind::ALL contains seven families. ResourceScope binds host (github.com), account ID and repository ID; names are display metadata, not request identity.
| Family | Numeric-ID route under /repositories/{id} |
Activity projection name |
|---|---|---|
| Branches | /branches |
BranchObservation |
| Pull requests | /pulls |
PullRequestObservation |
| Issues (PR entries skipped) | /issues |
IssueObservation |
| Issue/PR conversation comments | /issues/comments |
IssueCommentObservation |
| Inline review comments | /pulls/comments |
ReviewCommentObservation |
| Workflow runs | /actions/runs |
WorkflowRunObservation |
| Releases | /releases |
ReleaseObservation |
Requests use per_page=100. Branch inventories follow Link pagination through at most three pages; a remaining next page rejects the incomplete inventory. Non-branch routes accept only page one, a recent 100-record window; they do not follow next-page links, and page-greater-than-one requests are rejected. Pulls/issues include all states ordered by update time; comment lists also order by update time. Submitted reviews and review-thread resolution are absent. Older workflow-run changes can fall outside the recent window. Missing records never establish deletion, even for branches; polling cannot recover every intermediate transition.
ResourceRecord retains the native object and a versioned SHA-256 meaningful-version hash of selected canonical fields. This is distinct from the full-snapshot replay fingerprint in storage. ResourceReceipt preserves byte-exact HTTP bodies and request context. ResourceSnapshot commits state, checkpoint and observations transactionally. First-session/restart/Refresh baselines are quiet; newly encountered older non-branch records are quiet unless their creation time is later than the previous completed checkpoint. Branch appearances need no invented creation time.
ResourceObservation becomes ActivityRecord::Resource, not a fabricated FeedEvent. Resource rows say Observed at observed_at; source_updated_at is separate metadata, not an occurrence time or proof of who acted. ActivityRecord::actor() and occurred_at() return None for resources. Hiding known actors does not hide unattributed observations. Legacy Events retain their source occurrence times and actors. Mixed history sorts by observation/occurrence time with stable source-qualified keys.
Only a successful archive commit can supply exact durable observation IDs for live reveal and sound. Baselines, replayed commits, stale replies and supplementary Events do not trigger these effects. Raw receipts remain durable even when parsing or later application fails.
Owner/org and repository selection are first-class app preferences alongside people and event types; polling interval belongs to Settings. Inline Filters has Repositories / Event types / People categories, compact display checks, counts and right-edge repository/owner watch eyes. Owner roots start collapsed unless saved otherwise. Display, watching and participation are distinct: hide preserves watching, unwatch preserves display/history, and disabling gates both while retaining choices. Owner controls apply owner-wide even during search. Owner watch-off covers all children and future-child defaults; watch-on affects enabled, shown children only. It must not mutate GitHub watch/star settings.
The collection request often knows the repository even when the response object does not. Preserve that context rather than inventing a repository field inside the original object.
| Shape | Repository context for selection/filtering | Important distinction |
|---|---|---|
| Events feed | repo.id, repo.name |
User/org feeds also need repository filtering, not just repo-specific feeds |
| PR resource | Request repository; base.repo.id/full_name where present |
The head repository can be a contributor's fork; it is not the PR's destination |
| Review/comment resource | {owner}/{repo} collection parameters |
Do not guess from comment text or the actor's account |
| Workflow run | Request repository; repository.id/full_name |
head_repository can be a fork |
| Commit resource | Repository used for the commit request | The same commit can exist in multiple repositories |
| Webhook | repository.id/full_name where supplied |
Not every webhook is repository-scoped; future non-repo sources need an explicit decision |
Use stable repository IDs for saved selections when available; names are display/discovery data and can change. This is a repository-selection concern, not a cross-provider event interface.
Repository exclusions apply even to events matching an enabled person. Live and offline filtering intersect owner, repository, global type, per-repo type, and actor selections. The current catalog owner controls historical events after repository transfers, without rewriting their original payloads. The expandable repository Subscriptions table owns local type choices; hidden parents/global types still win. Drill-down and text search independently narrow that result; their view state resets on startup without changing saved subscriptions. Hidden events remain in memory; re-enabling restores retained rows. Repository participation/watch gates stop future collection; display exclusions alone do not. Type/actor filters are local. The master switch stops all requests/display while preserving selections. Account-wide teammate subscriptions and archive-wide search/export remain future decisions. Startup restores the latest 100 mixed resource/legacy activity records. Newer/Older, grouping buttons and page labels are removed; keyset/index internals remain, and history UX redesign is deferred in .8. Filters apply to loaded activity. Completed discovery limits display to the current accessible catalog while leaving all raw receipts intact.
The feed's temporary text search/view facets are separate from subscription rules and cannot bypass them. Subscriptions searches/bulk actions affect only the chosen filter category; owner checkbox actions explicitly affect the entire owner. Owner/repo expansion, SubscriptionTab and per-tab queries in Preferences.subscriptions restore between runs. Serde aliases accept legacy settings; the former App tab migrates to Repositories. settings_window stores inline configuration geometry independently of ticker geometry. Startup opens expanded Activity with empty feed search and no facets; it does not restore configuration navigation or clear subscriptions/history.
Sequential GETs allow one request in flight, with a one-second dispatch deadline surviving cancellation. Manual Refresh is debounced by 500ms; Activity pause preserves retained data and filters. HTTP 451 suspends only the affected repository until explicit Refresh, not rate-limit reset. Blocked replies must not leak into display or sound. Conditional caching/304 preservation has been exercised with actual conditional replies. Debug shows status and at most 100 recent metadata records: endpoints, HTTP codes, ETags, rate budget, backoff and blocked repositories; no tokens or response bodies.
Automatic sound is opt-in (default off) and requires fresh accepted LIVE observations with the exact IDs returned after durable commit, passing persistent subscription filters, not temporary search/view facets. Quiet baselines, replay and supplementary Events never sound. History, duplicates, stale replies and malformed batches are silent. Settings offers All Events / Per Event Type and local-file Browse/Preview/Clear; unassigned types are silent. Paths persist in preferences; clips have a 30-second limit. Preview works while disabled; disabling aborts playback. A bounded eight-item queue coalesces duplicate paths per batch. macOS afplay supports WAV/AIFF/MP3/M4A; Windows WAV is code-tested only. Linux has no picker; path input works. Native-picker automation and all-OS playback are not verified.
PR synchronize uses “push commits” wording and a push icon without changing the source kind/action tooltip. A branch PushEvent is not evidence of PR activity; do not infer a PR from it.
For the Events API, GitHub documents:
- A timeline of at most 300 events, limited to the past 30 days.
- Event availability latency of 30 seconds to 6 hours, regardless of polling frequency.
X-Poll-Intervalspecifies the allowed poll interval; use the slower of this and the configured N seconds.- ETags/
If-None-Matchpermit304responses; qualifying unchanged Events requests do not consume the primary limit. - Personal-token REST access generally has a 5,000-request/hour budget, shared with other applicable usage. Secondary limits also apply.
Resource endpoints have their own pagination, filtering, permissions, and rate-limit behavior. Response headers pace the scheduler; Retry-After, reset times, and backoff are enforced. A known budget survives missing headers until reset, with headerless non-304 responses conservatively reducing its remaining count. Footer feedback is read-only: Resuming in MM:SS for a known next-attempt deadline, Waiting for GitHub when rate-limit timing is unknown; later server/repository timing still applies. Refresh/source changes cannot bypass waits. See the request-volume diagnosis and remediation. No polling when the app is closed, no catch-up guarantee, and no assertion that the Events feed is a complete audit log.
The old 50-repository Events-only example (3,000 requests/hour at one page/minute) is not a current collector estimate. Seven resource jobs plus supplementary Events and pagination increase offered demand; shared budget pacing still bounds dispatch. There is no per-visible-row eager enrichment. The linked diagnosis records the earlier Events-only inspection, not current measured request volume.
The fixture tree already separates GitHub families:
fixtures/sources/github/
manifest.json
events/
pulls/
issues/
actions/
commits/
webhooks/
src/sources/github/ owns client.rs (bounded asynchronous gh GET transport), live.rs (discovery, resource/Events jobs and budget scheduling), resources.rs (native parsing, numeric-ID routes and meaningful versions), activity.rs (ActivityRecord projection, optional actors/times and mixed cursor), feed.rs (bounded activity/catalogs), events.rs (legacy/mock Events envelope), filters.rs (display/participation/watch rules), and mocks.rs (offline loading). src/event_archive.rs owns raw receipts, transactional state/observation commits, replay and mixed history. Other providers get sibling directories. Add concrete modules when they acquire behavior, not empty placeholder traits. No shared cross-provider event interface has been introduced.
cargo test --test github_payload_inventory checks that the inventory parses, documented field paths exist, and repo/push shapes remain distinct. These are fixture-integrity tests, not proof of GitHub schema conformance or live access.
tests/github_resources.rs, tests/github_resource_archive.rs and tests/github_resource_live.rs cover native shapes/versions, durable commit/replay and resource scheduling. Legacy/mock behavior remains covered by tests/github_ticker.rs; transport tests use fake CLI processes. An opt-in github_check --live example checks account access, a limited repository page and a public Events feed; it does not verify all seven collectors. No tests, application code, GUI or network checks were run for this documentation refresh.
Resource tables are additive. Raw Events receipts and their legacy index remain intact; legacy full-snapshot replay and embedded observations remain readable alongside compact fingerprints and ID references. The nullable resource_committed_snapshots.baseline column backfills only explicit legacy JSON booleans; NULL remains unknown. Quiet startup baselines replace prototype versions without notifications. No destructive archive migration, pruning or fabricated history is required. See migration.
See verification status for the 95 builder-reported Python tests after the per-run ROWID validator fix, pending fresh Rust/release/native/LaunchServices results and historical proof. .16 retains blocked OS keyboard/hover checks (CGPreflightPostEventAccess=false); .8 history redesign and .17 screen-reader semantics remain deferred. Windows playback and native-picker automation are not established.