You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C4: quota-arrival.ts has its own renderPredictionRange without the §4 compound/calendar forms #13408
Found while landing #13357 (PR #13406): the design (§4) says rendered is produced by one formatter, but there are two renderPredictionRange functions with the same name:
pm-stack/aggregator/src/quota-arrival.ts — its own copy, ms-number signature, duration and day forms only. Its header comment says "the calendar form (day names / dayparts) is not yet", and it has no compound form either.
Unifying them on the shared formatter would change arrival records' stored rendered strings (e.g. "between 2.5 and 5.7 days from now" → "2.5 to 5.7 days"), so it is a methodology-visible change: it needs a §6 methodology-log entry and a version bump, not a silent edit. The arrival kind's records currently name c4-meth:1 via their own ARRIVAL_METHODOLOGY_VERSION constant.
Suggested slice: point the arrival builder at the shared formatter (adapting the call site from ms numbers to ISO strings), update the arrival §4-form tests to the shared renderings, bump the methodology version with a log entry. Do not close #13357's follow-up until the arrival tests pin the shared forms.
Activity
developing-today commentedon Nov 23, 2026
CODE-4884