Skip to content

chore: pay down audited tech debt across deps, data, bundle and CI - #442

Merged
sydevs-bot merged 56 commits into
mainfrom
claude/lucid-brahmagupta-0v1c16
Nov 20, 2026
Merged

sydevs-bot merged 56 commits into
mainfrom
claude/lucid-brahmagupta-0v1c16

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This pays down the technical-debt items chosen from the audit, in five groups: dependencies and lint, the data layer, bundle headroom, the build gates, and CI and docs.

Five changes can be seen by a host or a visitor, and each has an entry under [Unreleased] in CHANGELOG.md:

  • The widget's first download is 44 KiB gzipped smaller (the embed ships 335.8 → 292.1 KiB).
  • A map that opens in Japanese now gets Mapbox's Japan worldview.
  • A cluster tapped after the bottom sheet moved zooms around where the sheet is now.
  • Registering with no connection fails and says so, instead of spinning and sending later.
  • An event's structured data names the host's own organization as the organizer, which it never did.

Everything else is tooling, specs and documentation. No visitor-facing copy changed, and nothing under .claude/, src/types/payload/ or src/config/translations.en.json is touched.

The branch holds four merges of main: a1ce36b (#434, #436, #437, #438), 049ff3c (#439, #441, #443, #445), 49495ca (#435, #451) and 2134803 (#450, #453). The first was needed — #438 put tailwind-merge in the eager graph, and a spec this branch adds fails on the merged tree until it names that package. The second resolved three hunks and one semantic conflict. The third resolved three hunks and two breaks no conflict marker showed: #435 added actions/cache by tag, which this branch's own pin spec refuses, and its pnpm test:a11y step read as a second vitest lane to ci-workflows.test.ts. The fourth was clean. The comment on each merge says what it gave each side. The branch is level with main at 75a9e18.

Three things need a decision before or soon after merge. They are the first three follow-ups below.

What changed

Dependencies, lint and coverage

  • Removed eslint-plugin-node and @radix-ui/react-label, which nothing imports, and deleted .npmrc, whose one line hoisted a package this repo never installs. The undici override stays: without it pnpm audit goes from 2 findings to 10. The reason is now written beside the patch register.
  • react-hooks/exhaustive-deps is on and fails lint. Of its 17 reports, one was a real bug (the cluster tap above, fixed with a spec), four arrays were corrected with no change in when they recompute, and nine are deliberate and carry a one-line reason each.
  • The map's worldview table keyed Japanese as jp. No locale uses that code, so it never matched.
  • vite.config.ts and the other config files are now type-checked and linted. tsconfig.node.json, which checked nothing, is gone.
  • The unit lane's coverage is measured, not gated. CI runs the lane once through pnpm test:coverage and writes the totals to the job summary. A spec fails if a threshold is ever added.

Data layer

  • Mutations default to networkMode: 'always', which is what makes an offline submit fail at once.
  • The events feed had six hand-written copies of its query options and the region tree two. Each is now one factory. One deliberate difference: a feed entry a screen builds before the loader is now kept for an hour like the others, not five minutes.
  • pnpm types:cms is a script that resolves one SahajCloud commit and fetches every file at it, so a snapshot can no longer pair files from two commits. It can also keep a provenance record, but starts one only with --record (see follow-up 2).
  • The zod schemas that mirror SahajCloud types are pinned to them at compile time, by field name and by enum member, so a renamed field fails typecheck instead of parsing as undefined. Both pins are satisfies over keyof, Record or Pick — TypeScript's own operators, after a review asked for a built-in rather than a mechanism of our own. The enum pin now sits on each z.enum declaration, in its object form, which cost 0.1 KiB and deleted the two tuples that could drift from the enums above them. weekdayOfMonth and weekdays are two separate option lists upstream, so that enum's pin is an intersection of two Records rather than one. zod's own z.ZodType<T> cannot do either job, and src/types/zod-shape.ts says why beside the type. The field-name pin is named for what it does, PartialZodShape<T>, and not for a producer it does not depend on: it constrains a zod shape to any T's field names. The pin found two names the synced Client type does not have, and both are fixed rather than admitted: client.name was never answered, so the JSON-LD organizer and the report form's client context line read title now, and canonical.enabled had no reader and is gone. No schema widens the pin.
  • ReportContext.client said it was what identifies the site a report came from. sendReport drops it instead, and says why, so the field's comment now says that.

Bundle headroom

  • The shell imported three fallbacks through the molecules barrel, which carried the filter form, the settings menu and the event cards into the first download: 30.9 KiB. It now imports them by folder path.
  • framer-motion ships its animation features alone, through m and LazyMotion: 13.2 KiB. No call site used drag, gestures or layout.
  • The budgets are unchanged at 336 / 336 / 3.6, so the win is kept as headroom. Because that much slack can no longer catch a newly eager view, a spec now holds the eager graph's barrels and packages by name.

Build gates

  • The CSS scoping gate and the size gate's import walkers had no specs. Both are now functions of their input with specs over synthetic builds, and each gate's output was compared before and after on deliberately broken builds.
  • One real defect in the size gate is fixed: when it could not read the shell's entry script, it walked from the first preload hint and could pass on a payload it had under-counted. It now refuses.

CI and docs

  • Every third-party action in this repo's workflows is pinned by commit SHA, a spec fails on a tag, and Dependabot (GitHub Actions only, weekly) moves the pins.
  • A Smoke run that Dependabot triggers now says why it read nothing. It used to ask for Actions secrets that already exist.
  • docs/rules/deployment.md gains a rollback runbook, and the production-red alert links to it. The runbook says in its first line that it has not been rehearsed.
  • The host guide and changelog now say sahajatlas.pages.dev was deleted and can be claimed by anyone.
  • Several dozen statements in the guides and code comments that no longer matched the code are corrected, each checked against the tree first.

Verification

The figures below are from c0d5440, the tree carrying the fourth merge and the pin's rename, except the ladle:build, check:wrangler, test:coverage and test:smoke rows, which were last run on 18bbf81, and any row that names an earlier tree. CI runs all four.

Check Result
pnpm install --frozen-lockfile exit 0
.claude/skills/pr-prep/check.sh --full exit 0: lint, typecheck, 184 spec files (2294 passed, 1 skipped), build with its three assertions, size
pnpm ladle:build exit 0
pnpm check:wrangler exit 0, both configs
pnpm test:coverage exit 0
pnpm test:smoke 22 skipped: no preview to read here

The one skipped spec is the provenance pin, which stays skipped until a record is checked in (follow-up 2).

Bundle size, gzipped KiB, measured / shipped, with main built at a1ce36b for the comparison:

Graph main This branch Budget
standalone 333.5 / 334.7 289.8 / 291.0 336
embed 334.6 / 335.8 290.9 / 292.1 336
loader 2.8 / 3.3 2.8 / 3.3 3.6

On the earlier tree, a credentialed build under ci.yml's offline dry-run environment measured the shipped figures directly at 290.5 / 291.6 / 3.3.

Coverage headline: lines 69.56% (3310 of 4758), statements 68.73%, functions 61.32%, branches 63.82%. No threshold is set.

Also checked:

  • New assertions fail against the defect. Every assertion the branch adds was watched failing first, by undoing the fix or mutating the code and restoring it. Two reviewers repeated that independently across 67 mutations; the one that stayed green is now pinned.
  • Browser, after the merge. Real Chromium, main against this branch, a mocked API, reduced motion: 51 steps across desktop, mobile, a failed boot and the shadow-root embed. Text is identical in 48. The other 3 are the share step, where only the test server's port in the URL differs. Console errors are identical.
  • Browser, before the merge. The offline registration fix, the animation sites with motion on, and a throttled load were compared against the earlier main in Chromium.
  • Workflow logic. The Smoke plan and report steps were extracted from the YAML and replayed through bash for seven states. The coverage summary step was run the same way.
  • Type sync. pnpm types:cms was run for real in each mode. At SahajCloud commit 27f53951 it reproduced the previously checked-in types byte for byte.

Not done / not verified

  • No real map. There is no Mapbox token here, so map mode ran over a blank canvas. The worldview fix and the cluster-tap fix rest on their specs and on reading the code.
  • Chromium only, against a hand-written mock of the API. No WebKit, Firefox or device.
  • Nothing ran on a GitHub runner. The coverage summary, the new dependabot reason and Dependabot itself were exercised locally from the YAML only.
  • The smoke lane did not run. It needs a published preview, which CI makes.
  • The rollback runbook is unrehearsed. Its steps come from Cloudflare's documentation and wrangler 4.150.0's own help.
  • No provenance record is committed, so the snapshot still does not say which SahajCloud commit it came from (follow-up 2).
  • .ladle/components.tsx and .ladle/i18n.ts are in no typecheck project. The first has one type error. tsconfig.test.json now says so, with a TODO.
  • The report form is still in the first download. Loading it lazily measured 37.6 KiB more, but it is reached mostly from a failure, so that is a product call.
  • Lane times in docs/testing.md were not re-taken. Another checkout was using the machine. The per-edit hook was timed (5.2 to 5.8 seconds against a 12-second budget) and is recorded as an upper bound.
  • The undici override range is still ^7.29.1, which admits the vulnerable versions by range; only the lockfile holds 7.30.2.
  • The accessibility gate has not run on this tree. pnpm test:a11y arrived with feat(a11y): the atlas widget can be used with a keyboard and a screen reader #435 in the third merge and needs pnpm ladle:build and a browser. CI's gate job runs it.

Follow-ups for the maintainer

  1. Dependabot secrets. A run Dependabot triggers reads Dependabot secrets, never Actions secrets, so each of its pull requests fails Smoke until the five are entered there. Entering them lets a bumped action run in a job holding the Cloudflare token before anyone has read the bump. docs/rules/deployment.md states the trade-off.
  2. Provenance record, in two steps. First add src/types/payload/provenance.json to contractSync.consumers.SahajAtlasWeb.paths in loop-config.json in sydevs/claude-workflow. Then run pnpm types:cms --record on main and commit the file. In the other order, the bot's next re-sync commits new types beside the old record and fails its own pull request.
  3. The size budget is held at 336 on purpose and sits close to its own floor. standalone ships 291.0 and the gate fails under 285.6, so a change that removes about 5 KiB more will ask for a lower budget. The React 19 and i18next 27 upgrades are to be stacked on this branch, which is what lets them land without raising the budget.
  4. Add this pull request's number to the five new CHANGELOG.md entries and the two new history rows beside BUDGET_KIB.
  5. Four .claude/ statements are stale and were not edited, because that directory is protected:
    • .claude/skills/pr-prep/check.sh lines 9 and 73 say CI runs test:run; it runs test:coverage.
    • .claude/workflow.json generatedFiles: the reason for src/types/payload/ says types:cms curls from the main branch.
    • .claude/workflow.json prAllowlistGlobs: public/locales/** matches nothing since feat(i18n): source translations and the language set from SahajCloud #198.
    • .claude/settings.json line 8: WebFetch(domain:nextui.org) is a leftover.
  6. The two shared sydevs workflows run third-party actions by tag, one under secrets: inherit. Pinning them is a change in sydevs/claude-workflow.
  7. Two commits are separable if you want them out: eded603 (framer-motion through m, which overlaps the queued framer-motion major) and 3a46edc (the size gate fix, which makes one previously passing shell shape fail).
  8. Two passages put policy into words you did not write: the note beside ReportIssueModal in src/App.tsx, and the held-headroom paragraph beside BUDGET_KIB and in scripts/AGENTS.md. Please read both.
  9. Seen and left alone, all present on main too: the compact dialog shows one frame at opacity 0 shortly after opening; under reduced motion the dialog fade and view cross-fade still play; ladle serve answers /flags/*.svg with 404.
  10. ReportContext.client is now dead weight. Nothing sends it and nothing renders it, so it is a cache read on every report-modal open for a value no one can see. Deleting the field, or sending the client's clientId so a report names its site, is yours.

… nothing imports

Neither has an importer: eslint.config.js never loaded the node plugin, and no
module under src/ or .ladle/ reads the label primitive. The lockfile loses only
their own subtrees.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…o never installs

Its only line was public-hoist-pattern[]=*@nextui-org/*, and NextUI is not a
dependency. pnpm install --frozen-lockfile still succeeds and pnpm-lock.yaml is
untouched.

Setting the key at all had replaced pnpm's default pattern, so with the file
gone the default returns: transitive *eslint* and *prettier* packages are
linked at the root of node_modules again, as in any stock pnpm 9 checkout.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The override had no stated reason anywhere. It is not a no-op: miniflare (under
wrangler) pins undici at exactly 7.29.1 and payload at exactly 7.30.1, and the
override resolves both to one 7.30.2. Resolved without it, the lockfile carries
7.29.1 again and pnpm audit goes from 2 findings to 10: eight undici advisories,
four of them high, all fixed in 7.30.1. So it stays, with its reason and its
removal condition beside the patch register.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
MAP_WORLDVIEWS is looked up with the locale's language subtag
(useLocale().languageCode, locale.split('-')[0]) and listed Japanese under jp,
the country code, which no locale produces. The lookup missed and a map built
in Japanese got the default US worldview.

The table moves into map-language.ts behind mapWorldview() so the node lane can
reach it: Map.tsx imports react-map-gl, and so the whole of mapbox-gl. The spec
pins ja to JP and refuses any key ICU cannot name as a language; both
assertions were watched failing on the old key.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…files

vite.config.ts holds the custom build plugins and was in neither pnpm typecheck
project; tsconfig.node.json named it, but nothing ever built that composite
project, and checked by hand it failed with two TS7016 errors on the
scripts/*.mjs plugin imports. tsconfig.test.json already types scripts/ with
allowJs, so both Vite configs are checked there now and tsconfig.node.json and
its reference are gone. Running the dead project also left an untracked
tsconfig.node.tsbuildinfo behind.

eslint.config.js no longer ignores *.config.ts and *.config.js. What surfaced
was import order in vite.config.ts and one Prettier line in eslint.config.js.

dist/ is byte-identical before and after (311 files), and pnpm size reports
the same figures.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…op re-rendering on every camera stop

selectFeature listed [navigate, mapbox, zoom, latitude, longitude] and read
moveMap, which it did not list. useMapbox hands out a new moveMap whenever the
camera padding changes, and a sheet snap or a layout flip changes the padding
with no navigation and, in a view that leaves the camera alone, no camera move.
The handler then eased a cluster open with the padding from before.

zoom, latitude and longitude were selected from the store only to sit in that
array: the map is uncontrolled and draws from none of them. Selecting them
re-rendered the map and every source and layer under it on each moveEnd.
react-map-gl syncs an uncontrolled map's transform on its own move events
(_fireEvent -> _updateViewState), so no render was doing work there.

Map.click.test.tsx mounts the component over a stubbed react-map-gl. Both new
assertions were watched failing on the old code: the click reached the stale
moveMap, and a setViewState write rendered the map a second time.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The rule was off, so nothing checked a hook's dependency array. It is on at
warn, which pnpm lint's --max-warnings 0 already fails.

Sixteen reports stood behind it besides the map's click handler, each settled
on its own reading:

- Corrected, where the listed values provably do not move: use-mapbox's
  changePadding is memoised on the store's own stable setter and listed;
  DrawerStack's control drops location, since every value it reads is already
  listed, and overlayControl lists depth, a pure function of the location it
  already lists; DrawerChrome hoists its slug expression into a variable.
- Suppressed with the reason, where the array is the design: the mount-only
  effects, the content-keyed and caller-supplied arrays, and the two
  dependencies listed purely as re-read triggers.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
No coverage tooling existed. pnpm test:coverage is the unit lane with V8
coverage on (@vitest/coverage-v8, pinned at the installed vitest's exact
version, which its peer range requires). vitest.config.ts names src/** as the
denominator so a file no spec loads counts as uncovered, and leaves out the
generated SahajCloud types, stories and their harness, mocks and test support.
It sets no threshold: this measures and fails nothing.

CI's gate job runs the lane through that script instead of pnpm test:run, so
the suite is paid for once, and appends the totals to the job summary. A red
spec still exits non-zero. ci-workflows.test.ts pins the step: one run of the
lane, no tolerance on it, and a summary that reads the file the config writes.
Each assertion was watched failing against a mutated workflow or config.

coverage/ is git-ignored. The per-edit hook and the lean gate stay on
pnpm test:run.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…ord two changelog entries to what the code guarantees

src/AGENTS.md gains the rule the lint config now enforces, with the two call
sites where adding the reported dependency would change when an effect runs.

Neither changelog entry was observed in a browser, so each now states what the
code does: the widget asks Mapbox for the Japan worldview, and a cluster tap
could land under or above a moved sheet.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
React Query's default networkMode pauses a mutation fired while the browser
reports itself offline: no request, no onError, and a send by itself on the
online event. The report form set networkMode 'always' for itself; the
registration form did not, so an offline registration spun with no message,
could be delivered after the visitor had left, and could never reach the
'You appear to be offline.' sentence its failure copy already had.

Both mutations are unsafe to repeat and unsafe to resume later, so the rule
moves to the client's mutation default, beside retry: 0, and the per-form
option goes. Each form's submit spec now drives an offline submit through the
shared client; both were watched failing with the default removed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The ['geojson'] key was written out in six places: the loader and five
observers, each restating the fetcher and staleTime, with gcTime and
retry: false on the loader's copy alone. geojsonQuery() now holds the key,
the fetcher, staleTime and gcTime beside getGeojson, and all six spread it.
The loader adds only revalidateIfStale and retry: false, which stays out of
the contract because a loader runs inside a query that already retries.

gcTime moves into the contract on purpose. React Query keeps the longest one
any writer of a key has stated, so with the pin on the loader alone an entry
a screen built first sat on the 5-minute default until the loader next
fetched for itself. A spec holds that against a real QueryClient.

regionsQuery() takes the same move: its two definitions were identical in
every option, so it is declared beside getRegions and loadRegions spreads it.
index.ts re-exports both, as it does eventTitlesQuery, so no import changes
for a caller and no cycle opens.

reads.inventory.test.ts fails on one of the three wholesale keys written out
anywhere but its contract.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…d which

pnpm types:cms was two curls of refs/heads/main followed by the strip step.
Two fetches of a moving ref can straddle a push, and nothing recorded which
upstream commit the checked-in snapshot came from.

scripts/sync-cms-types.mjs resolves the ref to a commit once with
git ls-remote, fetches every file at that commit before writing any, runs the
existing strip step, and records the commit with a hash of each generated
file in src/types/payload/provenance.json. An optional branch, tag, ref or
40-character SHA argument reproduces a snapshot. The command name and its
no-argument behaviour are unchanged, and the output is byte-identical to the
old command's at the same upstream head.

The record moves only when a generated file does, so a run that finds
upstream's types unchanged leaves the tree clean.

No record is committed here: upstream main (4037f5f) has moved past the
checked-in snapshot, so the regenerated types were restored and the first
re-sync that changes a type writes it. The spec that holds the snapshot
against its record is skipped until then.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…ahajCloud types

The schemas in src/types are hand-kept parallels of the generated types, and
only four places held one to the other. Most fields are .nullish(), so a field
SahajCloud renames parses as undefined in silence (#191), and a strict enum
refuses a value SahajCloud adds only at runtime.

Two type-only pins, in src/types/pinned.ts:

- satisfies SahajCloudFields<T> on a zod shape, so it can name only fields the
  generated type declares. On the event, address, schedule, exclusion, image,
  feed, title, region, region node, client, atlas config and geojson shapes.
- SameAsSahajCloud<Ours, Theirs> in a per-module tuple, exact in both
  directions, for event type, recurrence, weekday, monthly mode, week number,
  ending type, registration mode and region level.

Names only, never value types, so firstDate_tz stays nullish as documented.

FEED_SELECT is typed against AgnosticFeedEventSchema: every top-level field
the schema parses, nothing it would strip, and a subset of each group.

The client pin found two names the synced Client does not have: name (it has
label and title) and canonical.enabled (it has owned). Both are admitted by
name with a warning, and neither is changed here.

dist/ is byte-identical with and without this commit (311 files).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…el leaves the eager graph

`App.tsx` and `Widget.tsx` imported three fallbacks through `@/components/molecules`.
Rolldown places a module by which entries can reach it, not by which exports they use,
so that one barrel edge carried every molecule into the first download: the filter
form, the settings menu and the event cards, with cmdk, Radix's menu and
`@floating-ui/react` behind them. Only the interface behind `lazy` renders any of them.

Measured with `pnpm build && pnpm size`, before and after:

  standalone  332.1 -> 301.3 KiB measured, 333.3 -> 302.5 shipped
  embed       333.2 -> 302.4 KiB measured, 334.4 -> 303.6 shipped
  loader      2.8 / 3.3, unchanged

Each graph keeps its chunk count (8, 3, 8), so `SENTRY_GAP_KIB` stands. `BUDGET_KIB` is
held at 336: the space goes to headroom, and the note beside the constant says so.

That headroom hides a regression of this size from the gate, so
`Widget.standalone.test.ts` now walks each entry's static value imports and fails on a
tier barrel, on the interface reached without `lazy`, and on a package the shell did
not import before. The walk reproduces rolldown's own static closure module for module
(107 for the embed entry, 110 for the standalone one). It reads a type imported without
`import type` as a value, which is the one-word change in `config/store.ts`.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…ts today

The note beside `ReportIssueModal` said its dependencies were already eager through the
registration form, and that splitting it measured 0.6 kB larger. The registration form
went lazy in #96, so this form is now the only eager importer of react-hook-form and of
Radix's select, checkbox and switch: 37.6 KiB gz, measured by putting the form behind
`lazy` in a scratch build. It stays eager; the note now gives the reason that still
holds and the price.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…and `LazyMotion`

Each `motion.*` component bundles every feature framer-motion has. The app's three
motion sites use `initial`, `animate`, `exit` and `transition` and nothing else, so the
drag engine, the pan session and the layout projection node were 13 KiB gz of eager
graph for nothing. `m.*` draws its features from a `LazyMotion` instead: `Providers`
now loads `domMin`, synchronously, so the first frame animates as it did.

Measured with `pnpm build && pnpm size`, before and after:

  standalone  301.3 -> 288.1 KiB measured, 302.5 -> 289.3 shipped
  embed       302.4 -> 289.2 KiB measured, 303.6 -> 290.4 shipped
  loader      2.8 / 3.3, unchanged

Chunk counts are unchanged (8, 3, 8) and `BUDGET_KIB` is held. Both graphs now sit about
14% under budget, and the gate's own ratchet bites at 15%: the note beside the constant
says how close that is.

An `m.*` with no `LazyMotion` above it never leaves its `initial` values and has no exit
to play. `ViewLayer.test.tsx` showed it: mounted bare, the outgoing layer was gone
before it could overlap. It now mounts through `Providers`, and goes red if `Providers`
stops supplying the features. Lint refuses a `motion` import in shipped code.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The two figures were read off `pnpm size`'s one-decimal table by subtraction. Measured
to three decimals, the barrel change is 30.864 KiB on both graphs and the framer-motion
change 13.212, so the notes that quote them say 30.9 and 13.2.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…emitted files

`assert-css-scoped.mjs` ran its six checks at import time, so no spec could
load it and none existed. Each check is now an exported function of the text
it reads, composed by `auditBuild(files, read, fail)`, and the command-line
entry runs only when the file is invoked directly.

The gate's own behaviour is unchanged. `auditBuild` calls `fail` in the order
the old top-level code did, and the command line still passes one that exits,
so a run reports the first failure and stops. Checked on a real build and on
23 deliberately broken copies of `dist/`: stdout, stderr and exit code are
byte-identical before and after, apart from the stack frames of the uncaught
`CssSyntaxError` an unparseable sheet raises.

The entry guard compares real paths, as `check-bundle-size.mjs` does. Read
false, it would exit 0 having checked nothing.

`assert-css-scoped.test.ts` gives every check a build that passes it and one
that differs by a single defect, through `auditBuild` over an in-memory build
in the shape the injector emits. Each assertion was watched failing: 38
mutations of the gate and 2 of the scoping pass it reads back each turn at
least one case red.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…ilds

`check-bundle-size.test.ts` covered `score` and `hasDebugIds` only. What
decides which chunks are the eager payload is three regex walkers over
rolldown's output, plus the loader/embed seam checks, and none of it could be
imported: the walkers closed over `DIST` and the checks lived in `main()`
between `process.exit` calls.

The walkers now take the output directory as an argument, defaulting to
`dist/`, and the graph-building half of `main()` is `eagerGraphs(dist)`,
which returns the graphs or the first reason they cannot be measured. `main()`
annotates that reason and exits, so the gate reports what it did before:
stdout, stderr and exit code are byte-identical on a real build and on 13
mutated copies of `dist/`.

The spec writes small builds to temp directories in the shapes `dist/` holds
today and covers: an entry with its modulepreload closure, a chunk the shell
does not hint, a dynamic import that must not be counted (and the same chunk
once a static edge reaches it), a chunk shared across the loader/embed seam,
the bundler helpers that may be shared, a shared helper under an unknown
name, a statically imported `embed.js`, a missing entry, a blind walker, the
containment rule, and an import cycle. 22 mutations of the script each turn
at least one case red.

An unknown helper name is not mis-scored: every chunk is counted whatever it
is called, and the name only feeds the seam exemption, where an unknown one
fails the gate and the message names `BUNDLER_HELPER`.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
`htmlGraph` returned the entry scripts and the modulepreload hints as one
list, and `main()` walked the import closure from its first item. So when the
`<script type="module">` pattern matched nothing, the first hint stood in for
the entry, and "Found no entry script" could only fire on a shell with no
hints either.

Today that is caught by the order Vite happens to write: the first hint is
`rolldown-runtime`, which imports nothing, so the one-file-graph guard fires.
With a hint that has imports first, the gate passed. On this commit's build,
with the script tag's attributes reordered and the `overlay` hint moved
first, `pnpm size` exited 0 and scored `standalone` at 286.2 KiB against the
real 288.1: the entry chunk was missing from the total.

The entries and the hints are now returned apart, and the walk refuses to
start without an entry. The spec case was watched failing first, and across
14 mutated copies of `dist/` only two outcomes moved: that shell is now
refused, and a shell with no script tag gets the message that names it.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The spec covered `importClosure` and `flattenedImports`, never the hook that
calls them. The hook is where the output-shape assumptions sit: it finds its
entry by rolldown's `isEntry` and `name`, and tells a hashed filename from a
stable one by an eight-character pattern. Either can stop matching with every
gate green, since flattening changes discovery and not bytes.

These cases run the hook over a bundle shaped as rolldown's `OutputChunk`
names its fields, with a `this.error` that throws as the real one does: the
append and the extended import list, an entry that needs nothing, no entry of
that name, a lazy chunk sharing the name, three real hash shapes refused, and
the three stable names accepted. 11 mutations of the plugin each turn at
least one case red.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The per-edit selector already reaches each new spec: by stem for the three
gates, and by reference for `postcss-scope-widget.mjs`, whose output the CSS
gate reads back and whose pass that gate's spec now runs. Nothing imports a
gate but its spec, so the selection is the gate's only per-edit signal, and
`select-unit-specs.test.ts` now holds the four pairs. Each was watched
failing: with the spec renamed off its stem, with the spec no longer naming
the pass, and with the selector refusing `.mjs` sources.

`docs/testing.md` said `scripts/` holds eight specs, selects at most two per
edit and has 21 sources. It holds twelve, selects at most four and has 29;
the time beside those figures is re-measured.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
…e pins

`actions/checkout`, `actions/setup-node` and `pnpm/action-setup` were
named by tag in both workflows, so each run executed whatever the tag
pointed at that day, with this repository's secrets in reach. They are
now pinned to the commits those tags resolve to today (checkout v7.0.1,
setup-node v7.1.0, action-setup v6.1.1), in the shape
`cloudflare/wrangler-action` already had.

`scripts/ci-workflows.test.ts` now fails on a third-party `uses:` in any
workflow that is not a 40-hex SHA, or that carries no version comment on
its line. `sydevs/` references stay at `@main`. The spec lists
`.github/workflows`, so it joins the selector's walker register.

`.github/dependabot.yml` opens the pull request that moves a pin: weekly,
GitHub Actions only. A run Dependabot triggers reads Dependabot secrets,
not Actions secrets, so until the Smoke job's five exist under both, each
of those pull requests fails Smoke as `no-credentials`
(`docs/rules/deployment.md`).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
Nothing in the repo said how. The section covers how a responder learns
production is red, the way back to the last good version of
`sahajatlas-web` from the dashboard or with wrangler, why a revert pull
request has to follow, what a rollback restores and what it cannot, how
long `public/_headers` lets a browser keep what it already holds, and how
to confirm recovery by running the production smoke lane by hand.

Two things are specific to this repo. Every pull-request push uploads a
version to the app Worker, so `wrangler rollback` with no version ID can
select a preview build. And Workers Builds redeploys `main` on the next
push, so a rollback alone lasts until the next merge.

The steps come from Cloudflare's documentation and wrangler 4.150.0's
`--help`. They have not been run against this account, and the section
says so in its first line.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
… demo.html

The host guide and the changelog both said the old host becomes claimable
"once the project behind it is deleted". It was deleted on 2026-10-30
(#283). Both now state the present: nothing redirects the name, anybody
can claim it, and a snippet or a CSP that still names it trusts a third
party. The changelog entry is amended in place. `docs/rules/deployment.md`
no longer says the Pages project "goes later".

`demo.html` called the widget "deliberately shadow-DOM-free"; it has
mounted in an open shadow root since #236. Its caveat now says what the
boundary stops and what still crosses, as `docs/embedding.md` does. Its
two snippets loaded `auto.js` from port 4173, and `vite.config.ts` serves
dev and preview on 5174.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
`src/lib/shape/routing.ts` says `src/loader/literals.test.ts` holds its
`ROUTE_PARAM` and the copy in `src/loader/config.ts` together. Nothing
did. The widget writes the route into that parameter and the loader reads
it back off the same page URL, so a drifted copy throws nothing: the
loader stops recognising a deep link the widget wrote.

Watched failing with each copy changed in turn.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
Each statement was checked against the tree before it was changed.

- README: `pnpm build` runs three output assertions, not two.
- STORYBOOK: `.ladle/i18n.ts` offers English only.
- architecture: the loader parses six script-URL parameters; the list
  named five inputs that no longer exist. The translations paragraph
  was garbled, and it and `docs/environment.md` sent readers to a root
  guide section that never mentions Accent.
- DESIGN_SYSTEM: `EventSummary`, `showTimeZone` and `backHref` are not in
  `src`. The inventory gains `AddToCalendar/` and `ReportIssueForm/`.
- rules/mapbox: the zoom constants live in `use-map-controller-real.tsx`;
  `LEFT_DRAWER_PX` is gone.
- rules/deployment: there is no `/countries/:code` route.
- security-triggers: it is a reference document, not a loaded rule, so
  its `globs:` front matter did nothing and is removed. The widget has no
  privacy opt-outs, and its stylesheet is adopted by its shadow root.
- testing: the smoke lane is 22 cases from 15 declarations. Counts that
  added nothing are gone, the alert issue's "18 specs" among them, and
  the jsdom trade's file counts carry the date they were taken on.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
Each claim was checked against the tree, and nothing but comments
changes.

- Eight comments said a `useTranslation()` call passes
  `useSuspense: false`. None does. The read cannot suspend for a
  different reason, which they now give: the English snapshot is bundled
  and i18next initialises synchronously with no backend. `DrawerChrome`
  said a language switch suspends it; it no longer can.
- Fallbacks: "Nothing is bundled" (the snapshot is); six classified
  failures, not five; eight of fourteen policy rows set `onward: false`,
  not six of eleven; `ResetErrorBoundary` has eight call sites, and five
  boundaries do not go through it, two of which report nothing.
- App, Link, Widget: the embed routes off `?atlas=` or the path, never
  the hash; memory mode is taken where the document refuses
  `replaceState`, which a sandboxed iframe does not; `supportedLngs` went
  with #198, and `preferredLocale` does that narrowing. The same word is
  corrected in `locale-param.ts` and its spec.
- fetch: the leaf region level is `venue`, not `center`.
- strip-payload-augmentation: the client is `@payloadcms/sdk`, not axios.
- attribution.test: under RTL the cog's `start-3` is the attribution's
  corner, as the Drawer atom's note already says.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The loader's header gave the payload it defers as about 370 KiB gz. This
branch takes it to about 290 (`pnpm size`: 289.2 measured, 290.4
shipped, for the embed). The literals spec quoted the same 370 where the
figure added nothing, so it goes.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
The pin paragraph named the consequence of leaving the Smoke job's five
secrets out of Dependabot's set, which reads as a chore to finish. It is
a choice: with them entered, a bumped action runs in a job that holds the
Cloudflare token before anyone has read the bump.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVeNzer8ue5c7JRsZk
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 20, 2026
@Ardnived

Copy link
Copy Markdown
Contributor

@sydevs-bot the earlier sessions stalled on a usage limit — please pick this up again.

…ity type

`SameAsSahajCloud` was the one pin in this repo that was a mechanism of our
own rather than a composition of TypeScript's. It is gone. Each zod enum is
now declared in `z.enum`'s object form carrying
`satisfies Record<Theirs, Theirs>`, which holds its members to the synced
SahajCloud union in both directions: a member upstream adds is a missing key,
and one it renames or drops is an excess property on a fresh literal.

That moves each pin onto the declaration it pins, so the two
`…PinnedToSahajCloud` tuples -- which could drift from the enums above them --
are deleted. `WeekdaySchema` keys from `weekdays` and values to
`weekdayOfMonth`, so the two schedule fields carrying that union are now
pinned to each other as well, which the tuple's two separate entries never
checked.

Six drift shapes were mutated into `payload-types.ts` and watched failing
typecheck, naming the file and line: a region level added and renamed,
`eventType` dropped, `weekdayOfMonth` diverged from `weekdays`, `monthlyMode`
renamed, `registrationMode` added.

`SahajCloudFields` stays. It is already `satisfies` over
`Partial<Record<keyof T, …>>`, named once instead of at sixteen shapes, and
zod's own `satisfies z.ZodType<T>` cannot replace it: that pins the whole
output type, which every shape here fails by design, since each is the subset
a `select` asks for. `z.ZodType<Partial<T>>` admits the subset but also admits
a field name SahajCloud does not declare, which is the one thing the pin is
for. Both findings are recorded beside the type.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjWjgWnd7T9i7BFVhf5
e9c3c7e's `satisfies Record<weekdays[number], weekdayOfMonth>` checked the key
set against `weekdays` both ways, but only checked that our members are
assignable TO `weekdayOfMonth`. A member added to `weekdayOfMonth` alone
compiled clean, where the deleted `SameAsSahajCloud` entry for it had not.
That commit's claim that the two fields are pinned to each other held in one
direction only.

They are two separate option lists upstream, which is why the old tuple
carried two entries for this union. The pin is now an intersection of two
`Record`s, each keying from one field and valuing to the other, so a member
added to either is a missing key and one dropped from either is an
unassignable value.

All four directions were mutated into `payload-types.ts` and watched failing
typecheck. Before this commit the third of them produced no error at all.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjWjgWnd7T9i7BFVhf5
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Both threads answered. The branch was already level with main.

The pin's mechanism — adopted, partly (e9c3c7e). SameAsSahajCloud is deleted. Every zod enum is now z.enum's object form carrying satisfies Record<Theirs, Theirs>, which holds its members to the synced union both ways, and sits on each declaration, so the two …PinnedToSahajCloud tuples are gone.

Left open on that thread: SahajCloudFields stays. zod's z.ZodType<T> pins the whole output type, which every shape here fails by design, and z.ZodType<Partial<T>> admits an undeclared field name. Only you settle that.

The embed budget — A, already built. Resolved.

8633992 closes a gap e9c3c7e opened: weekdayOfMonth gaining a member compiled clean, where the deleted tuple had caught it. Ten drift shapes watched failing typecheck in all.

Costs 0.1 KiB: standalone 291.0, embed 292.1 shipped. Lean gate, build and size green.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 20, 2026
`SahajCloudFields<T>` named a producer it does not depend on. The type is
`Partial<Record<keyof T, z.ZodTypeAny>>` — it constrains a zod shape to the field
names any `T` declares, and nothing in it knows what SahajCloud is. The name read as
a claim about where it may be used.

It is `PartialZodShape<T>` now, in `src/types/zod-shape.ts`. `SahajCloudFormField`
and `SahajCloudBlock` keep their names: each indexes into a synced SahajCloud type, so
the producer is part of what they are.

`src/AGENTS.md`'s naming rule and `docs/rules/data-layer.md` carry the distinction, so
the next helper lands on the right side of it.

No value type, no schema and no pin changed. Lean gate green.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVYwpX1oLybPGnt7PW
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

One thread, adopted.

The pin's name — adopted (c0d5440). SahajCloudFields<T> is PartialZodShape<T> now, in src/types/zod-shape.ts. You were right that nothing in it is SahajCloud's: it holds a zod shape to the field names any T declares, and the old name read as a claim about where it may be used.

SahajCloudFormField and SahajCloudBlock keep theirs — each indexes into a synced SahajCloud type. src/AGENTS.md and docs/rules/data-layer.md draw that line now, so the next helper lands on the right side of it.

Merged main at 2134803 (#450, #453). Clean, no conflicts.

No value type, no schema and no pin changed. Lean gate, build and size green on c0d5440: standalone 291.0, embed 292.1 shipped, both budgets 336.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
Ardnived and others added 2 commits November 20, 2026 16:17
#442's doc commits re-counted the lane, re-timed the hook and re-measured the
bundle into prose, and copied lists the code already holds. Each would need
the same edit at the next change. Kept every ⚠ and its reason; dropped:
- figures: lane, spec and source counts, hook timings, KiB savings, budget
  percentages, advisory counts, the six FallbackKinds
- copied lists: the loader's parameters (docs/embedding.md owns them), the
  factory and wholesale-key lists, the zoom constants' values, the coverage
  excludes, another repo's action list, the _headers max-ages
- restatements: the zod-shape and eager-shell explanations their own homes hold
- the hook re-measurement chain, collapsed to its conclusion (drops #389)

Rule: sydevs/claude-workflow docs/documentation.md (#284, #289).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ardnived

Copy link
Copy Markdown
Contributor

Pushed c2dbb1c (after merging main): this PR's doc edits, held to the documentation rule from sydevs/claude-workflow#284 (docs/documentation.md). Docs only, −24 net lines across 9 files; no code or spec touched.

Kind Removed Why
Figures in prose Lane, spec and source counts; hook timings; the 30.9 / 13.2 KiB savings; the 13 % / 15 % / 5 KiB budget headroom; undici's advisory count and versions; "six" FallbackKinds; "three" output assertions Each was re-counted by a commit on this branch and would be again at the next change. docs/testing.md already says "read the figures off a run, never off a doc"
Copied lists The loader's six parameters (docs/embedding.md § Parameters owns them); the fetch-side factory list and the three wholesale keys (reads.inventory.test.ts names them); the zoom constants' values; the coverage excludes; claude-workflow's action list; the _headers max-ages One home per fact
Restatements The z.ZodType explanation (src/types/zod-shape.ts holds it); the eager-shell rule in src/components/AGENTS.md (now points at DESIGN_SYSTEM.md); the ClientSchema drift story (the rule stays) Same
History The per-edit hook's re-measurement chain, collapsed to its conclusion. This drops one breadcrumb, #389, along with the history line it sat on Each new measurement added a sentence

Every ⚠ line and its reason stays, and so does the ## … heading ci-workflows.test.ts reads out of docs/rules/deployment.md. The six files Prettier flags were already unformatted at the branch head.

@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 20, 2026
Merged via the queue into main with commit 56b1245 Nov 20, 2026
18 checks passed
@sydevs-bot
sydevs-bot deleted the claude/lucid-brahmagupta-0v1c16 branch November 20, 2026 23:35
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 20, 2026
sydevs-bot pushed a commit that referenced this pull request Nov 20, 2026
Five resolutions:

- `src/config/api/fetch.ts` — main's `geojsonQuery()` contract replaces this
  branch's `GEOJSON_QUERY_KEY`. `use-feed-hints.ts` now spreads the factory with
  `enabled: false`, which is the rule `reads.inventory.test.ts` enforces: a
  wholesale key written out anywhere but its contract misses in silence.
- `src/components/molecules/SearchFilters/SearchFilters.tsx` — the same contract
  wins the import block, and `fieldChrome` goes with the hand-rolled language
  select this branch replaced with `MultiSelect`.
- `scripts/check-bundle-size.mjs` — both sides added a history row, and both
  stay. #442 cut 44 KiB and took `embed` back to 336, so this branch's row is
  re-measured on the merge: 292.7 standalone and 293.8 embed shipped, +2.9 KiB
  on both graphs. Both budgets hold, and the column now pairs them because the
  two differ.
- `DESIGN_SYSTEM.md` — main's rows for `AddToCalendar/` and `ReportIssueForm/`
  join this branch's `ProposalForm/`. `EventFacts` loses `EventSummary`: main
  removed the export, and nothing here reads it.
- `docs/testing.md` — main collapsed the hook re-measurement chain to its
  conclusion on purpose, so this branch's entry goes with the rest of the chain
  rather than reinstating it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXf5inXJLHfcMQqTt9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants