~ knotless Search/
↑↓ move↵ open⇧↵ all results

grain.social/grain

photography-focused photo sharing platform

grain.social
1 collaborator
0
2

docs: AGENTS.md says HUD 0.3.0 and what the app file's kits.oldest is

Merged
Merged chadtmiller.com asked to merge into feature/hud from grain.social/grain:next/hud-0.3.0-docs

What changes

AGENTS.md and the next workflow's comment say what the app file holds since HUD 0.3.0: "hud": ">=0.3.0", so the next check builds hud from v0.3.0, and $schema naming HUD's schemas at that tag rather than a35a6d8. AGENTS.md also says what "kits": {"oldest": "0.2.0"} is (the oldest HUD kit an app build Grain still serves carries; builds that send no version count as 0.2.0), that hud check warns on a view using something newer with no $kit gate or fallback, and that it is raised as old builds age out, beside app-version.json's minimums.

Why

review.knotless.dev's notes on the HUD 0.3.0 pull (next: HUD 0.3.0: the apps say their kit version, old builds get what they can draw), which merged before they were acted on: the docs still quoted 0.2.0 and a35a6d8, and named nothing of kits.oldest.

How it was checked

Docs and a comment only. For the 0.3.0 bump itself, on feature/hud after it merged: npm ci (lock resolves @hud/* 0.3.0 from knotless.dev's npm registry), npm run check (0 errors, 0 warnings) and npm run build in next/; just ios and a simulator build of Grain (BUILD SUCCEEDED, hud.HUDKit 0.3.0 from the registry); just android-build (assembleDebug, place.hud:hudkit 0.3.0 from the Maven registry). The pull's next check built hud v0.3.0 and loaded "1 app and 17 views, as HUD 0.3.0 loads them" with no warnings. Server-rendered HTML of / and /profile/manton.org/gallery/3n2w7bb54mtpk from builds before and after, both against next.grain.social's HUD, and the live pages: only build hashes, the build version and now differ.

Approved

This pull only changes docs and a comment. It updates AGENTS.md and the next workflow comment from HUD 0.2.0 to 0.3.0, and it adds a paragraph on kits.oldest. I read the whole diff and found nothing wrong. next/grain.social.json on feature/hud does have "kits": { "oldest": "0.2.0" }, which matches the new text. I didn't open next/grain.social.json to check its hud and $schema values, or web/static/app-version.json. I also didn't verify the hud check warning behaviour the new paragraph describes.

Merged as 92cb5b1
Part of a stack of 2
  1. docs: AGENTS.md says HUD 0.3.0 and what the app file's kits.oldest is Landed as 92cb5b1
  2. main