Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!-- Follow CONTRIBUTING.md: plain summary first, no restated diff, no working history. -->

## Problem

Closes #NNN
<!-- One "Closes #NNN" line per issue this change fully resolves, so GitHub closes it
when the PR merges into main. Use "Closes Silo-Server/<repo>#NNN" for an issue in
another repository. Delete the line when the PR only partly addresses an issue. -->
Related issue: #NNN
<!-- An epic, sub-issue, or partly addressed issue this work serves and that should
stay open, or "N/A". An open issue is not required — the Problem section below must
stand on its own. -->
Validation tasks: #NNN C1
<!-- Until 1.0 ships: v1.0 board tasks and cases this change unblocks or changes,
e.g. "unblocks #1144 C3; changes #1200 C1". Write "none" when no validation task is
affected. -->

A short plain-language summary: what goes wrong, who it affects, and what this
change does about it. Details come after.

## Approach

What changed and why this way, and which surfaces and repositories it affects.
Mention an alternative only if a reviewer would ask about it. Do not walk through
the diff.

## Validation

One line per kind of check and its result; do not list tests by name. Name required
checks that were not run or did not pass. Include a short output excerpt only when it
explains a failure.
<!-- Do not include private domains, hostnames, IPs, Tailscale or Report Shelf URLs,
local paths, credentials, personal data, or private media details. -->

## Evidence

| Before | After |
| ------ | ----- |
| | |

Surface and build:
<!-- Required when this change alters what a user sees: UI, or which items or what
item details a screen shows, such as search results, home sections, recommendations,
metadata, artwork, sorting, or filtering. See "Show visible changes" in
CONTRIBUTING.md. Use before-and-after screenshots of the same screen and data for each
affected surface, and a short recording when motion, timing, or focus matters. Crop or
blur private details. A maintainer may link
`Evidence: https://evidence.siloserver.org/r/<repo>/<topic>/` instead; that page
requires Silo-Server organization sign-in. When nothing visible changes, replace this
section's content with "Evidence: none, no user-visible change". -->

## Risks

Migration, compatibility, security, operational, or release impact, or "None
identified".

## Checklist

- [ ] I read and can explain the complete diff.
- [ ] This pull request addresses one concern.
- [ ] The Evidence section shows every change a user can see, or says there is none.

## AI Disclosure

- Harness: exact agent harness or application, or "none"
- Tool(s): exact tool name(s), or "none"
- Model(s): exact model identifier(s) reported by each tool, or "n/a"
- Involvement: Fully AI-generated, human verified | AI-assisted | Human-written, AI-reviewed | No AI used
- Adversarial review: scope, method, findings, and resolutions, or "n/a" when this change does not require independent or adversarial review
13 changes: 9 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,15 @@ follow-up work.

- Keep one concern per pull request. If an honest description needs the word
"also," split the work.
- Include before-and-after images for UI changes. Include a short video when
motion or timing matters.
- Upload pull request evidence to GitHub. Never commit PR-only assets such as
`.github/pr-assets/`.
- Every pull request that changes what a user sees must include evidence, as
[Show visible changes](CONTRIBUTING.md#show-visible-changes) defines. That
covers UI and UX changes and changes to which items appear or what they show,
such as search results, home sections, recommendations, sorting, filtering,
metadata, or artwork. Use before-and-after captures of the same screen with the
same data, and a short recording when motion, timing, or focus matters. Write
`Evidence: none, no user-visible change` only when that is true.
- Check evidence media for private information before posting, and upload it to
GitHub. Never commit PR-only assets such as `.github/pr-assets/`.
- When babysitting a pull request, poll checks and review comments created
after the last push. Verify bot findings against the source, fix real issues,
and dismiss false positives with a written reason. Remain quiet when nothing
Expand Down
37 changes: 33 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,42 @@ same checks as CI:

Then build every affected app with `:androidApp:assembleDebug` and/or
`:androidTvApp:assembleDebug`. Do not regenerate a lint baseline to hide a new
finding. Exercise visible changes on the affected phone or TV surface and
include screenshots or a short recording when the result is visual.
finding. Exercise visible changes on each affected phone or TV surface.

## Show visible changes

A pull request that changes what a user sees must show the change in its
Evidence section, so reviewers can see it without building the branch. In this
repository that means Android phone and Android TV. A change is visible when it
alters any of these:

- layout, styling, copy, navigation, focus, empty and error states;
- which items a screen shows, or in what order: search results, home sections,
recommendations, library browsing, collections, sorting, or filtering;
- what an item shows: titles, artwork, descriptions, ratings, badges, episode
grouping, or availability;
- playback behavior a user notices, such as default audio or subtitle tracks,
markers, controls, or resume position.

Provide evidence that fits the change:

- **Changes to a screen:** before-and-after screenshots of the same screen with
the same data, one pair per affected surface. Add a short recording when
motion, timing, focus movement, or a multi-step flow matters.
- Name the surface and the build or commit each capture came from.

Capture against a test library or public-domain media where you can. Crop or
blur hostnames, URLs, account names, and personal library contents. When the
evidence cannot be made public, a maintainer may link an
`evidence.siloserver.org` page instead. If you could not capture evidence,
say why; the reviewer decides whether the pull request can merge without it.
Changes users cannot see write `Evidence: none, no user-visible change`.

## Open the pull request

Use a Conventional Commit title, explain which surfaces are affected, paste the
actual validation results, and call out any server or Apple coordination. Read
Use a Conventional Commit title, fill in the pull request template, explain
which surfaces are affected, paste the actual validation results, and call out
any server or Apple coordination. Read
the [AI-assisted contribution policy](https://github.com/Silo-Server/silo-server/blob/main/docs/ai-contributions.md)
and include its disclosure block.

Expand Down
Loading