fix(enaychi): general conformity pass (references and cors) #126

Merged
nick merged 84 commits from nick/dotfiles:references-conformity into main 2026-11-16 15:03:11 -05:00
Owner
No description provided.
nick added 84 commits 2026-11-16 15:02:49 -05:00
Module headers for the Maps modules that had none, the map cell
tables and the map routes, and comments on the exports whose caller
constraints their types don't say: what the worker builds and when,
the cell key rules, the request allowance, the download gate, the
upkeep plan and what the tile route answers for a missing tile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Export comments on Meilisearch.Client, Domain.Reminders,
Catalog.Supplements and BuildAndroid where a caller needs something the
type doesn't say. Corrects three comments the code contradicts: the
Meilisearch header named a keywords index that doesn't exist, the
supplements described an exported energySupplement that isn't defined,
and the fibre supplement has no calories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also points two comments at the modules that now hold what they name:
`confirmationMsgFor` is in Features.Account.App, not Pages.Account, and
the Billing section is Features.Account.Billing, not
Config.Pages.Account.Billing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also points a comment in Security.View at Features.Account.App, which
handles `ConfirmOverlay`, rather than Pages.Account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also corrects two stale module paths in Pages.Signin's comments:
Config.Pages.Signin.CreateAccount is Features.SignIn.CreateAccount, and
Config.Backend.Platform is Backend.Platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also corrects a stale module path in the three pages' comments:
Config.Helpers.Articles.Target is Components.Articles.Target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Discord invite lives in Data.Discord, not Config.Data.Discord. No
header: the page is static content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects healthToolbarLegendPreview's doc: it named Widgets.EntryHealth,
which no longer exists; the toolbar's actionButtons are in
HealthDiary.View.globalToolbar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects comments the code contradicts: View.view's doc described an
"always show log" flag instead of the view; Init named the no-access
routes' module Config.Backend.Subscription (it is Backend.Subscription);
App.Msg pointed at slice directories by their old paths (FoodDiary,
Settings, DragDrop, HealthPlanner, HealthDiary, Tutorial).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lazy read stopped at the first line and left the handle open, so the
write that follows failed with "resource busy (file is locked)" on every
run once enaychi.repo existed, which failed the pre-commit hook on any
Elm commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
elm-format drops the blank line before a one-paragraph doc comment's
closing -}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MuscleTargets already had its header, written as a doc comment after the
imports where it attached to HoverConfig; it moves to the module position.
It said the sessions are counted over the clipped calendar week, which is
true of the diary's card only, so it now says what the report and Collection
Builder cards count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects DatePicker.monthGrid's doc, which still described the inline
popover removed in 5a8812a3: it used no `compact` size, and the grids now
drawn inline (Planner apply, Female pregnancy settings) pass a selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects saveNewCustomFood's doc, which named a legacy reply route that
no longer exists: Api.Server is its only caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects two DiaryEntrySave docs the progression code contradicts: the
bump no longer patches plans (only later diary days), and
runProgressionBumps returns every plan id of the account for a refetch,
not the plans it modified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects comments the code contradicts: signInHandler's doc said the
token is returned in the body (it is cookie-only); sign-up said the email
association outlives account deletion (eraseAccount deletes it); and two
orphaned 'parse birthday' lines describing helpers that no longer exist
are dropped (one had merged into UpdateSettingsCall's doc).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corrects DiscordLink's 'validate the snowflake format' comment: only an
empty id is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also corrects Billing.Polar.Cancel's pointer to
cancelStripeSubscriptionAtPeriodEnd, which lives in
Api.Handlers.CancelSubscription, not Billing.Stripe.Cancel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The three list modules already opened with a header in substance; they
become doc headers. CuckList's said the list matched "the frontend
list", but the frontend has none since it reads the list from the API,
so it now names what serves the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HealthTypes' opening comment becomes its doc header, now saying two
catalog records (Symptom, Medication) where it said a single one.
Bioavailability's adjustNutrient named the frontend mirror by a module
path that no longer exists; it now names
Features.Enaychi.Nutrition.FoodDiary.Bioavailability.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each sender's header names the token lifetime its copy promises and the
handler that sets it, so the two change together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Headers name the routes each module speaks to and its wire constraint.
Shared.Summary's decoder comment pointed at a Server.Types.DailySummary
that no longer exists; it now names Api.Types.DailySummary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The doc comments are in; drop the plan and its table rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Determinate Nix 3.24.2 rejects the locked tarball URL when it carries
?rev=...&revCount=...; re-locking writes the bare URL. Same revision
(558e026d, 3.24.2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The ratio cards and their explainers list the six pairs each section
draws, and the oxalate labels show the encoded optima (<0.05:1, <0.1:1).
The Settings absorption blurb names absorption pairs, the tutorial ranks
PRAL lower-is-better as scoring does, and the explainers drop the 0.8 g/kg
protein rule, a vitamin K UL and the omega-3-only ALA factor, none of
which the code has. No value changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Each getDri/getUl section names the table its values match, checked cell
by cell, and points at the VALIDATION row where a band differs. Dri.elm
cites WHO beside the saturated-fat rule, and its vitamin E and water
comments now say what the code does: no floor under the formula, and one
3,700 g water target for everyone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The RPE scale cites zourdos2016, the weekly muscle target says two is
Schoenfeld's floor rather than canonical, and the pound conversion cites
NIST SP 811.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Haversine sites cite the IUGG mean radius, the flat-frame 111,320 m per
degree and metres-per-pixel cite WGS 84, the tile formulas cite the OSM
slippy-map convention, and the mile and foot cite NIST SP 811.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Biometric display units and kilojoules cite NIST SP 811, noting that the
pound factor is rounded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Password hashing names the pinned password 3.1.0.2 defaults, the session
token's 256 bits cite OWASP's floor, and the OIDC key size cites RFC 7518.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The starting responsibilities, late shape and flat share say where they
are specified and that the late scales are judgement constants.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Each backend guest now takes APP_BASE_URL and CORS_ORIGINS only from
/etc/backend-env. smtp-env loses APP_BASE_URL and cors-env, which held
nothing else, is gone from sops, the backend-secrets copy and the
EnvironmentFile list. Prod's list drops the localhost:4321 and :3000
leftovers; dev's names the two sites as mars serves them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
The NixOS firewall moved each dev guest onto its own VLAN and /31,
routed and filtered by the firewall rather than NATed by mars.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
docs(uprootnutrition): give the prod guests their link addresses
Some checks failed
CI / build (ceres) (pull_request) Has been cancelled
CI / build (deimos) (pull_request) Has been cancelled
CI / build (eris) (pull_request) Has been cancelled
CI / build (firewall) (pull_request) Has been cancelled
CI / build (lamdagibson) (pull_request) Has been cancelled
CI / build (mars) (pull_request) Has been cancelled
CI / build (phobos) (pull_request) Has been cancelled
CI / check (pull_request) Has been cancelled
6aed031270
Checked on ceres: each prod guest is on its own VLAN and /31, as the
dev guests are, with its gateway on the NixOS firewall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eMiG93gcJ3PG8jnkqe
nick merged commit 0686b203cc into main 2026-11-16 15:03:11 -05:00
nick deleted branch references-conformity 2026-11-16 15:03:12 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
upRootNutrition/dotfiles!126
No description provided.