Repository navigation
Description
Server PR Silo-Server/silo-server#1417 adds a display-only advisory age to /api/v2. This client needs the badge and the toggle that gates it.
What the server sends
Catalog items (cards and the detail document) gained two optional fields:
advisory_age— recommended minimum viewer age, e.g.13advisory_source— who recommended it:commonsenseormdblist
They appear only together, and only on items an advisory provider has enriched. Coverage is partial by design: the provider is rate limited per day, so on a large library some titles carry one and most do not. Absent means "not fetched yet", never "suitable for everyone".
This is advice, not a restriction
advisory_age must not filter, gate, hide, or sort anything, and it must not be presented as a rating a viewer has to satisfy. content_rating remains the certification a rating body issued, and it alone drives the server's content-rating ceiling. A profile's access is identical whether or not an advisory is present.
The server enforces this — the advisory reaches no access check — so the only way it could become a restriction is a client deciding to treat it as one.
Work
- Render the advisory on item detail beside the certification, attributed to its source. The web client shows
Common Sense 10+with a tooltip reading "Common Sense suggests age 10 and up. This is advice, not a restriction." Match that intent; match platform conventions for the rest. - Add the per-profile toggle that gates it:
catalog.show_advisory_agein the settings contract, boolean, profile scope, default off, introduced in manifest revision 10. Render nothing when it is off, and nothing on a server whose manifest predates revision 10. - Detect support by reading the key from the settings contract capabilities rather than sniffing versions.
- Run
make apiv2-fixtures-syncfrom the server checkout to pick up the vendored fixtures; the contract digest moved.
Open question
Whether commonsense genuinely means "this age came from Common Sense Media" rests on the plugin's reading of one MDBList response field. It is worth confirming before the label ships in a client. Falling back to a bare 10+ for an unrecognized source is what the web client does.
Activity
Quick104 commentedon Sep 25, 2026
Silo-Server/silo-server#1441 adds an opt-in strict mode to the advisory-age limit. Please cover it alongside the badge and the limit editor.
What changed on the server
Profile.require_advisory_age(boolean, always present on v2 profiles). With amax_advisory_agelimit set, it hides titles that have no advisory age too, so the profile sees only titles rated at or under the limit. It has no effect without a limit.createProfileandupdateProfileaccept it as an optional boolean. Null is rejected.listProfilesreportsrequire_advisory_age_supported. This is separate frommax_advisory_age_supported: a server can support the limit and not this. The profile operations reject unknown members, so check the flag before sending the field.Client work
require_advisory_age: falsewith it, so a later limit doesn't come back strict without warning.make apiv2-fixtures-syncfrom the server checkout; the profile fixtures moved.Enforcement is server-side, so strict profiles are already filtered in every app once the server ships. Only the editor control is client work.