Every change, newest first
TheoCompass is built in the open, one commit at a time. This page is generated from the history of main, so it holds what actually shipped rather than what a release note remembered to mention.
- 1 Dec 2026
- 154
- v2.0 · Open beta
December 2026
- cursor
the hand is one rule, and a clickable cannot leave it out
The landing page was full of hands and every other page was full of arrows. The landing page is mostly links, and `a[href]` gets its pointer from the browser; Tailwind v4's preflight no longer puts one on a `button` the way v3 did, so every real control — a `<button>`, a `<select>`, a `<summary>`, a checkbox — inherited the arrow. The affordance was not wrong at a hundred call sites. It was missing at the one place it belongs.
November 2026
- depth
a card stands on a plate, and controls press into it
Depth had a ratchet and no scale. `check:tokens` failed any `shadow` at all and its hint pointed at one sentence saying depth comes from lightness - but the product kept asking for a raised edge: results cards, the dialog, the phone drawer, the consent bar, a filled button, the slider thumbs. Each of those was either flat or an exception nobody had written down.
- fingerprint
the axis name is the title, and the lean keeps the only gloss
The panel skipped the middle rung of the type system. Every row printed seven runs at 10-11px - two poles, two glosses, a topic caption, a score and a "Details" cue - while `text-control` never appeared inside a row, so the fourteen axes read as one grey block under a 28px title.
- type
the whole app is on the six steps, and the ratchet is shut
`--text-2xs` and `--text-3xs` are gone. They were the last two pre-consolidation names, kept only because `/mod/feedback` still used them; that surface is migrated, so a size that is not one of the six no longer resolves to a leftover, and `check:tokens` reports zero pinned occurrences against an empty baseline. From here the ratchet only reads new mistakes.
- design
the recipes in the order the stylesheet runs them
Shape names the three class lists that replaced hand-written ones — `.card`, `.well`, `.field` — in the order `globals.css` defines them, so the document and the stylesheet are read the same way: the two grounds a plate can have, then the edge-only recipe for controls.
- shape
a well is the other ground, and it has a name now
Thirteen plates wrote out `rounded-card border border-rule bg-paper` by hand: the figures inside the live-stat panel, five panels of the quiz, the feedback card's chosen row, the compass plot. The paper ground is what makes them read as cut into the surface above - a rule nobody had written down, only copied, which is why the fourteen near-misses had drifted.
- shape
a field is a hairline and a ring, and now it is one class
Ten controls wrote out `rounded-card border border-rule-strong` by hand, and disagreed about the part that matters. Two selects, a textarea and three inputs had no focus state at all - tabbing through the roadmap's unlock dialog or the chart's axis pickers showed nothing. The feedback queue's input turned its border cerulean, the label cloud's search drew a soft accent ring, and the feedback card's textarea drew a cerulean outline. Four spellings of one state, on the surfaces where a keyboard user spends the most time.
- shape
a raised plate is called `card`
Nineteen surfaces wrote out `rounded-card border border-rule bg-paper-raised` by hand. The utility in globals.css had said the same three things since it was added; they now say `card`, and the recipe leads the class list, the way the four surfaces that already used it did.
- design
a state is a fill or a tint, and the ladder has six rungs
Three commits in a row settled questions this document was meant to have answered:
- tokens
a segmented control fills with accent, not with navy
The label cloud's view toggle filled its selected segment with `bg-ink`, while the density dial beside it - the same control, in the same header - fills with `bg-accent`. Two toggles, two answers to "what does selected look like", and the navy one was the only control on the site borrowing a ground colour: navy is the plate the results card is printed on.
- chrome
the band is opaque, so the blur goes
`chrome-band` is a gradient whose three stops all resolve to opaque colours, yet three surfaces asked for `backdrop-blur` over it. Blurring an opaque surface blurs nothing: it only bought a compositing layer and, in `_PageHeader`, a containing block that would have scoped any `fixed` descendant to the header.
- type
serif headings keep the leading the tokens gave them
Four headings overrode the retuned leading with `leading-tight` or `leading-snug`, so the type-scale commit never reached the names it was done for: the export card's top family, the runner-up heading in Matches, the calc-error alert, and the wordmark in the results header.
- type
the type scale is retuned and a caption can be a heading
A face change leaves the numbers behind, and these had been tuned by eye for the old one. Source Serif 4 sets a larger x-height and shorter ascenders, so the leading that was comfortable before started to crowd: display moved from 1.03 to 1.08, and the heading step from 1.15 to 1.2. Its sidebearings are tighter, which is why display tracking *relaxed* to -0.015em instead of tightening further, and Inter's wider caps are why the 11px `.meta` line eased from 0.1em to 0.09em. The sizes themselves did not move: a scale that survives a change of face is a scale of steps, and these are the ratios inside them.
- type
Fraunces gives way to Source Serif 4, Archivo to Inter
Fraunces was picked for this app because it had an optical-size axis, and then requested without one. `axes` is empty by default in `next/font`, so the build asked Google for the weight axis alone and Google answered with a file whose `opsz` sat pinned at its default: the hero h1 at 54px and the 11px `.meta` line were the same drawing, which is the exact problem the family was chosen to solve. No stylesheet could have rescued it — `font-optical-sizing: auto` is already the default, and it adjusts an axis that is present, never one that was not requested.
- tokens
the checker knows a shadow and a bare display serif
Two properties of this design system were being enforced by memory rather than by the checker, and both had already failed. Sixteen headings spelled out `font-display text-heading` and rendered at 400 because the size was right and the weight was simply forgotten — the rule the checker did have, `display-off-step`, inspects the step, and a class list that is missing one property still looks correct to it. `display-weight` closes that: a class list carrying `font-display` and no `font-semibold` is a finding. It would have had sixteen to report before the previous commit; it has none now, and the baseline stays at 28.
- type
the display face carries its weight everywhere
Sixteen sites wrote `font-display` by hand and not one of them said which weight, so the serif set a 400 line for the hero h1 on the export card, the compass and fingerprint panels, the dialog title, the quiz question and both halves of the mode plates. The 600 that makes a heading a heading lives in `Heading`, and `Heading` is what those sites were avoiding — so the one property the design system insisted on was the one that drifted, in exactly the places a reader looks first.
- quiz
the answer list fades on the click, not on the hover
Pointing at one of the three no-answer controls receded the answer list to 40% before anything was pressed. The doors sit below the list, so the pointer reaches them while the reader may still be reading the rows above it: the preview dimmed the very thing it was advertising the way back from, at a step far under AA, and holding it together needed a question-scoped latch released only when the pointer or the focus left the whole question, because a per-card `pointerleave` fired as soon as the page scrolled under a still pointer.
- quiz
the no-answer controls acknowledge quietly
The question screen had four ways to answer and a paragraph explaining each of them. Now it has one quiet gesture: choosing any of the three no-answer doors fades the answers to 80% and hides the sliders, and the reader comes back by pressing a row or by pressing the same door again. The "Choose an answer instead" button goes with the consequence lines — pressing a row was already the way back, and the button was a fourth control that existed only to undo the other three.
- quiz
the three modes are plates, not tabs
Each mode card's only border was a 2px accent rail down the left edge, so the three of them read as tabs glued to the page edge rather than as cards; and the two modes that cannot be started were the same card at 70% opacity. That fade took their blurb to 3.60:1 and their "Coming soon" line to 2.96:1, both under AA, and a translucent card reads as broken rather than as "not yet".
- home
the beta accordion comes off the landing page
The "What the beta adds" section sat between the live product card and the roadmap: four native `<details>` whose panels held a miniature of a screen one click away. It was the third telling of the same four claims — the hero makes them, the product card counts them, the changelog dates them — and it pushed the roadmap, which is the answer to "what am I getting into?", below a demo of the app itself.
- home
three lines come off the landing page
The hero's collective figures no longer end with "See how that's counted". It was the one non-numeric piece of a strip whose job is the numbers, and below `sm` it was already `sr-only` so the three figures would fit on one line. The line itself is still the link to `#collective-results`, and the words stay in the tree for the accessible name, which is where a link's purpose belongs.
- results
the phone download rides the row, and chips stop naming their topic
The share card's download goes back to the right edge of the row on a phone and stays the card's footer from `md` up. It is one `Button` either way: the card is a row that becomes a column, so the button is its third child at every width and no breakpoint can render it twice. Placement is a flex direction, not a display toggle — `hidden` cannot switch off the button recipe's own `inline-flex`, which is how the previous square-plus-pill pair appeared.
- share
one download per card, not one blue and one white
A phone rendered two download controls in the same row: the labelled navy button, which was meant to be `md` and up, and the square secondary icon button that replaced it below `md`. `hidden` hid nothing -- Tailwind emits `.hidden` before `.inline-flex` in the utilities layer, so the component's own `inline-flex` base class won the cascade and the desktop button showed at every width.
- copy
the exploring note and the queue intro go altogether
Both explained a denominator, and both denominators are already on screen. The stats band said "N of M said they were exploring -- no church to compare -- so they count as their own answer, not a miss" under a figure that prints its own population ("% of 16 readers who compared") and above an average that prints its count ("4.2 out of 5, from 118 ratings"). Nothing needed subtracting, so the note explained a number the reader never had to work out. The tile keeps the histogram; the exploring rows are still counted in stanceJudged and still published, they are simply not broken out.
- share
the desktop download spans the card it belongs to
The labelled button sat inside the text column, so the card's 14px of padding made it narrower than the preview strip above it on both sides -- aligned with neither the strip nor the card: a pill floating in white space, and the first thing the eye read as "placed wrong".
- footer
the footer is one size on every screen
The desktop footer was still a masthead: at md the verse was `text-heading` in the display face -- 28px at 1440 -- the links a rung above body, 40px of padding above and below, and a 32px gap before the support paragraph. It is the last line of the page, under a page that has just asked a reader to scroll less, and it was the tallest block below the fold.
- footer
a phone footer that fits under the page
The verse was `text-heading` in every viewport, the links were body type, and the vertical padding was 40px rising to 48px -- so on a 375px phone the block ran to roughly 440px, two thirds of the screen, sitting directly under a results page that had just been given a density pass.
- share
the download sits at the row's edge on a phone
`w-auto self-start` sized each button to its label, but the button still sat under the clamped description, indented past the 48px thumbnail -- so it read as a caption on the description rather than an action on the row, and the empty space to its right was the widest thing in the card.
- copy
say the exploring note and the queue intro once
Two paragraphs explained themselves twice. The stats note read "N of M readers who answered said they were exploring -- no church to compare the match against -- so they are counted as their own answer, not as a wrong match": the clause after the dash repeats what "exploring" already means, and "their own answer, not a wrong match" says one thing in two ways. It reads "N of M said they were exploring -- no church to compare -- so they count as their own answer, not a miss."
- stats
the reader ratings stay, the rank curve goes
The five-bar experience chart comes back and "Where the closest denomination sat" goes. The chart is the reader-experience figure the tile is named for: a reader can see whether the average is everyone at four or half at five and half at three. The curve answered a question the results page answers better -- a reader's own place in the list, beside their own match -- and cost the band twice its height for a shape most readers had to be told how to read.
- roadmap
the beta's "still in the beta" list had already shipped
The landing page's Beta card ended with a dashed "Still in the beta" section listing multiple choice answers (with "none of the above") and reporting an issue from inside a question. Both are live: `_QuizQuestionView` caps multi-select at three and renders the none-of-the-above row, and `_ReportIssue` sits under every question. So the card said two working features did not exist yet, in the one place on the page that is specifically about what has not been built.
- footer
one footer, so the verse cannot be two fonts
The landing page and the results page each carried their own. Same verse, same links, different type: Fraunces at `text-heading` on `/`, sans at `text-body` under a result; a raised band on one and a flat `bg-paper` strip on the other; and the project line disagreed with itself - "informed decision" on the landing page, "informed decisions" after the quiz. A reader who finished the quiz met a footer that looked like a different site.
- share
let the download buttons be as wide as their labels
The three artefacts in the share panel each carried a `w-full` button. Stacked in a column that is three full-bleed controls over three lines of explanation, and on a phone they read as the primary action of the panel three times.
- landing
say what the quiz does, not what its results contain
The card described artefacts a first-time reader has not met: "the fingerprint shows how strongly you hold it, and the label cloud names the beliefs underneath". Neither is named anywhere else on the landing page, so the sentence spent its length on the results layer instead of on the invitation.
- type
retire the second serif, the phantom mono, and 700
The complaint was that the app had too many font treatments. Measured, it had four spellings of the same idea rather than four faces:
- results
give every box a corner, and take the buttons from the button
The token check could not see this, and that is why it lasted: it fails a radius the system does not have, not one that is missing. The previous pass rewrote the quiz's `rounded-md` and `rounded-sm` onto `rounded-card`, which only reached the boxes that already had a radius. About forty boxes still had four square corners, `_ModeSelectCards` - the quiz's first screen - among them.
- header
put the drawer on the column's edge
The desktop nav carried the row's only `ml-auto`, and it is `hidden` below `md`. On a phone that nav disappears and takes its auto margin with it, so the hamburger sat hard against the wordmark while every other row on the page started at the gutter. The quiz's own header never had the bug because `_PageHeader` sets `ml-auto` unconditionally.
- changelog
the snapshot cannot contain itself
`changelog:check` could never pass on a tree that had just been refreshed. The commit that writes the snapshot is in the log being snapshotted, so the check always found one commit the snapshot could not contain - and regenerating only moved the problem one commit forward. Six had accumulated, each one an entry whose entire content was the page's own list.
- images
serve the artwork from public/
The app deploys as static output behind `@cloudflare/next-on-pages`, which does not implement `/_next/image`. With the optimizer on, every `<Image>` resolved to a `/_next/image?url=…&w=…` URL that nothing answers - the hero banner, the header logo, and the logo inside the export frame, where the failure is silent: a hole where a mark should be, baked into a rasterised PNG.
- ds
one corner, 6px
`--radius-pill` was a second radius for chips and tags, and underneath it the app had grown five: 3px pills, 2px badges, 4px inputs, 8px dialog corners and a decorative `rounded-t-[1px]` on the daily bars. The token is gone, and every box is `rounded-card`.
- tokens
the small steps stop shrinking
The root font-size is fluid — clamp(15px, 0.32vw + 13.9px, 16.75px) — so a 375px phone has a 15.1px root and every rem step computes *under* the size it declares: meta 10.4px, micro 9.4px, body 14.2px, and the density setting then multiplies that down again. The floor now lives in the token: `max(11px, 0.6875rem)` and `max(10px, 0.625rem)` hold the designed size and still enlarge at the two larger density settings, which is what the setting is for.
- landing
the banner, compressed
The redesign deleted the hero photograph instead of fixing the file. It was a 2.4 MB, 4912x2048 PNG drawn at 40-50% opacity behind a navy gradient, so almost every byte in it was either downscaled or hidden, and the hero lost the one image that says what this project is.
- ds
the drawer shares the masthead's rung, not the consent bar's
The drawer is a child of a `sticky` header, so it renders inside that stacking context: it cannot outrank the header it hangs from, and the consent bar at z-40 paints above it. The doc claimed they were level. They are not, and the behaviour is the right one - the scrim stopping beneath the consent bar keeps a control the reader has not answered yet readable and reachable.
- ds
write the system down, and put a ratchet under it
`docs/DESIGN_SYSTEM.md` is the page the refactor was missing: the five type steps and where each belongs, `.meta` and why it sits in `components`, the container widths and the negative-gutter rule, the two radii, the button vocabulary, the z-ladder (30 / 40 / 50, and why there is no 60), motion, and the list of things that are deliberately outside the system.
- a11y
the drawer is a modal, and the bar under it is gone
`_Dialog` had the only correct modal behaviour in the app - Escape with `defaultPrevented` respected, focus into the panel and back to its trigger, Tab trapped, body scroll frozen, `role="dialog"` and `aria-modal` - and it kept that behaviour to itself. The phone drawer had one of the five: Escape. A keyboard user tabbed straight past the four links into the page behind the scrim, and a screen reader never heard that the menu was a boundary at all.
- landing
drop the 3.4MB of PNG
`banner.png` was 2.4MB at 4912x2048 to fill a hero that no longer has one. `logo.png` and `icon.png` were the same 617x617 file at 512KB each and are displayed at 28-40px, so 96px covers every one of them at 2x - including the export canvas, which is why the logo stays a same-origin PNG instead of becoming a WebP that the rasteriser would have to decode.
- landing
a server component, on paper
Two booleans kept `/` on the client. The drawer became `_MobileMenu` in the header commit; the accordion becomes four `<details name="beta-features">`, which gives the same one-open-at-a-time behaviour, the same keyboard handling and a real expanded state to a screen reader - without an `aria-expanded` / `aria-controls` / `aria-hidden` trio that had to be kept in sync by hand.
- ds
the buttons come from the button
Five hand-rolled calls to action on the landing page - the hero's paper plate, the sticky phone bar, the product card, the drawer and the masthead - plus three moderator controls and a "try again" on `/roadmap`, each with its own padding, weight and hover. They agreed on nothing, and none of them was a touch target on a phone: `py-1.5` is 28px.
- ds
one masthead for three pages
Three headers: the landing page's full-bleed row with its own drawer and its own wordmark size, `/roadmap`'s paper band with moderator buttons, and `/changelog`'s copy with one link on the right. Each said "TheoCompass" at a different size above a page that used a different column, and only one of them could reach the quiz at all.
- ds
one Container, and a header that sits on it
Five page widths and five gutters: `max-w-3xl` on the landing page, `max-w-[64rem]` on `/roadmap`, `max-w-3xl` again on `/changelog`, the quiz's fixed set, and a header on each that used none of them. The landing header was a full-bleed row with `md:px-12`, so at 1440px the wordmark sat 288px to the left of the column it belonged to - the misalignment this pass set out to fix.
- ds
one Heading recipe, one Section band
Eighteen headings across the landing page, `/roadmap` and `/changelog` spelled their own type, so two headings at the same level could disagree and every new section had to pick a size from memory. `Heading` takes a `level` and a `size`:
- type
one five-step scale on every marketing surface
`text-2xs` and `text-3xs` were already the size of `meta` and `micro`, so those sites are a rename. The rest is the mapping the tokens describe: an h2 at `text-2xl md:text-3xl` is `heading`, body copy at `text-sm`/`text-base` is `body`, a dense label is `meta`, the hero's `clamp(1.9rem,7vw,3.5rem)` is `display` - the one place in the app that spelled its own type ramp.
- tokens
five type steps, two radii, one family
The scale had grown to nine sizes and five spellings of them (`text-3xs`, `text-2xs`, `text-mini`, `text-sm`, `text-xs`, `text-base`, plus three arbitrary brackets). Nothing said which step a surface was allowed to use, so every new panel invented one.
- quiz
trim the results copy and put the filters behind one line
The results page answered every question a reader might have and then some, which put a wall of prose between the match and the list it explains.
- quiz
keep fallbacks in place and align tutorial nav
- quiz
keep fallback answers visible as the list recedes
Use a real GOD_01 sample in the tutorial, move Context to a quiet inline link, and keep the full answer list visible and clickable beneath a chosen fallback. Shorten the help and multi-select copy, and update the developer docs to describe the receded state.
- feedback
ask only for the closest denomination, and read its tradition
The card asked two questions about the same match -- which family, then which church inside it -- and coupled them: a family that did not contain the chosen church dropped the church, so a mis-picked family turned an answerable question into an unanswerable one. The second box also only fired for readers whose church was missing, and the denomination question now answers itself for them, so it was collecting a fact the card already held from the people least able to spare a tap.
- feedback
publish where their own church sat, and count only "exactly right"
The card now asks the reader to name their own family and their own church from the lists the results page prints, and `/api/stats` publishes where those two answers landed as a distribution instead of four buckets: the landing panel draws a cumulative curve from it, with the median, the interquartile range and the share past a round place. The top-1 figure stops dividing the pooled yes/no -- only `fit` ("exactly right") counts as a hit, `close` and `off` are the denominator, and the sentence that prints the percentage prints the near-miss share beside it.
- quiz
ask before leaving the results from any link on the page
Only the header's buttons asked: the footer's Changelog, Share's "See what's planned" and the feedback card's "see what changed" were plain links, so one click could drop the report with no chance to keep it. The results container now intercepts the click in the capture phase -- before Next's Link starts a navigation of its own -- and opens the leave dialog, remembering the destination so "Save results" lands on the link that was clicked instead of on the home page, which is what the header asks for.
- changelog
quote one bullet when a body opens with a list
Thirty commit bodies on main open with `- `, and the extractor quoted the opening paragraph verbatim, so twenty-one entries published a run-on of every bullet -- up to 993 characters, most of it after the first sentence. When the opening paragraph is a list, the lead is now its first item with the marker stripped; prose bodies are quoted exactly as before, and the nineteen empty leads all belong to commits that have no body at all. The digest reads the same field, so its bullets shorten with the page.
- roadmap
bump updated_at only when a seed row's content changed
The upsert set `updated_at = datetime('now')` on every run, so re-syncing the spreadsheet re-dated all ~60 tasks and overwrote the timestamp a moderator PATCH had just written — "safe to re-run" was not true for anyone reading the date. Each statement now watches the columns it is allowed to write and leaves the date alone when none of them differ; `IS NOT` is null-safe, so a task whose owner_role is NULL on both sides does not count as a change forever.
- changelog
publish the build log and draft the Reddit post from it
/changelog renders the merged git+API history by month, with an anchor per month and per commit; /roadmap rows link back through `Task:` trailers, which stay dormant until the convention is used (0 of 99 commits today)
- stats
pair the breakdown tiles by height, and state the totals above the buttons
The expanded panel auto-placed five tiles in reading order at two columns, which put its tallest tile -- feedback: a rating, a histogram, the stance split and two rank ladders -- beside a short one. CSS grid stretches every row to its tallest card, so the short card grew a hollow half and its footer sank to the bottom of it, and `PostureTile` was left alone in a half-empty last row. The gaps were card, not content.
- labels
rank each tier card in rail, numeral and ground
The importance view has always sorted its five groups, and only ever said so in words: five cards on one shared blue, differing by a title like "Core Dogma" or "Tertiary" in an 11px line. The frame now carries the ranking, because the chip cannot - a chip spends three channels on topic, certainty and tier at about 24px tall, and it is the element whose legibility the whole view depends on.
- ux
let every rail and no-answer button explain itself
AXIS_LABELS has carried a `desc` per axis since the fingerprint was built, and nothing ever rendered it: a row printed "Progressive ... Orthodox" with a 16 on it, and left the reader to decide what "Orthodox" meant here (a tradition? a compliment?) and which end was better. "Apathetic silence" and "Hostile silence" had the same problem from the other side -- they are the engine's names for two payloads, offered as buttons.
- feedback
ask where the match landed, and how close it felt
The post-quiz card asked "was the top match accurate?" -- a yes/no that two of the four reasons for "no" cannot express, and that says nothing about how far off a miss was. Two additive phases fix that.
- copy
describe certainty as how firmly you hold your beliefs
The fingerprint desc read "How firmly a tradition asserts its doctrinal positions", which asked the reader to translate a sentence about denominations into a claim about their own answers. Say it in the second person, like the Conviction group header already does.
- copy
call the authority axis "Congregational", not "Egalitarian"
"Egalitarian" is a position in the complementarian/egalitarian debate, but this axis mostly measures something else. 14 of the 32 questions load Clerical_Egal, and only CHR_13 is about ordination: the rest ask who mediates between the believer and God, who interprets Scripture, whether the Church is a visible institution or a gathered community. A complementarian Baptist answers 0 on CHR_13 (all offices reserved for men) and then 100 on SCR_09's "the individual believer", 90 on CHR_10's "every believer has direct access" and 75 on CHR_01's gathered community. The average lands on the old left pole, so the fingerprint handed them an "Egalitarian" chip directly beside the "Strict Complementarianism" label they had just affirmed in the Labels tab. The label was the problem, not the maths.
- quiz
call the middle tolerance stop "one or a few", not "a few"
Reviewers read the step up from "no fellowship" to "a few" as the biggest jump on the scale. It is the smallest: tolerance is a stance (0-4), not a count of options, so accepting a single alternative you do not hold already lands on T=2, and |T-2|^1.5 prices that step at 1.0 against 2.83 at either end. The label was the problem -- "a few" implies a floor of two, so the bucket undercounted its own lower bound and the boundary read as two steps wide.
- feedback
ask how the run went, not whether the match fitted
"Did that match fit?" was the heading over a card whose first question is now about the quiz, so it promised one thing and asked another. It reads "How did that go?" -- the run and the match both fit under it, and each fieldset keeps its own specific question underneath.
- feedback
rate the quiz, not the match
The stars under the results asked how close the match felt, which the yes/no question right below them already answers. The same result was being measured twice, on two scales, and nothing asked how the run itself felt -- the one thing only the reader knows.
- export
print the results image with the axes the reader chose
The exported report is not a screenshot of the chart on screen: ExportCard renders a second, off-screen CompassChart for html2canvas, and that copy kept its own xAxis/yAxis state. It therefore opened on the component's defaults (Theology x Worship) whatever pair had been picked in the selects, so every PNG disagreed with the page it came from.
- quiz
trim the Report chip so its box sits a size smaller
- feedback
show the card on moderator runs, without counting them
"Skip to a result" is the only way to reach a results view without answering 30 questions, so it is also the only way to inspect the feedback card -- and the card was gated on the run being a real completion, so a moderator could never see the form at all.
- feedback
record the three-deploy order, worker and schema last
- feedback
ask how a run felt, and give the answers a queue
A card at the bottom of the results page asks three things: how close the match felt (1-5), whether the top match described the reader (yes / no / skipped), and an optional note. It is answered right after the result it describes, while the reader still remembers whether it rang true, and it sits outside <main>, so it is not part of the results anyone copies or prints. Nothing identifies the reader: no email, no IP, no cookie. The rating, the yes/no and the note are the whole row.
explain a free-tier D1 quota outage, in the API and in the UI
- api
explain a free-tier D1 quota outage instead of a 500
The free plan's daily row allowance is spent by mid-afternoon, and every query then throws until 00:00 UTC. Nothing was broken, but the site said so in the wrong language: the quiz told readers to check their database, the results view spun forever, and the roadmap blamed itself.
- quiz
report a question issue, and mail the moderator queue
A "Report" chip on every question stores what went wrong (typo, wrong mapping, framing, other) with enough context to find the question again: question id and index, mode, app and data version. Retries dedupe on the flag id and a question is capped per hour, so an open endpoint with no Turnstile cannot be turned into a spam cannon.
- copy
one placeholder per tile when a figure is missing
The "how close" and "how people answered" tiles each printed two near-duplicate placeholders whenever the stats payload arrived without a figure: "Closest-match scores are updating." above "Score distribution is updating.", and "Posture averages are updating." above "Posture answers are still arriving."
- copy
the fingerprint is 14 axes, and the count now comes from the list
The certainty axis landed and four surfaces kept saying 13 -- typed by hand, with nothing tying the number to the axis list. The landing page contradicted itself: the hero said "across 13 dimensions" two screens above a feature card advertising "a 14-axis fingerprint", and the stat tile printed 13 as a literal. The same number sat in the SEO description, so search results and link previews undercounted the product.
- quiz
count beliefs once, from a single label dedupe
Multi-select gives every ticked option its own label, but the results footer counted the raw payload while the cloud counted deduplicated label texts. A 3-tick answer that re-uses a label text ("Inner Light" sits on three options) claimed one more belief than the list below it showed.
- quiz
opt-in multi-select, capped at 3, and a tutorial that teaches it
The answer list still opens as single choices. "Hold more than one?" opens a disclaimer and turns the rows into checkboxes for that question only: resetQuestionState / restoreQuestionState own the lifecycle, so a question restored with several saved ids reopens in multi-select, while turning the mode off collapses the set to its first pick -- the payload can never carry selections the UI no longer shows. MAX_MULTI_SELECT = 3 in _constants.ts is enforced in the controller and dimmed in the view: at the cap an unticked row is aria-disabled and cursor-not-allowed instead of looking live. The indicator follows the mode, a round radio while one answer is the rule and a square checkbox once the reader opts in, and "None of the above" keeps full contrast because it is the row that is now selected.
- api
score multi-select answers as a spread, not one strong pick
A quiz answer was a single id per question, so the engine could only ask "how close is this one position?". Phase 0.1 makes the answer a set: the client may send up to three affirmed options, and the engine has to say what holding several mutually exclusive beliefs costs.
- phase0
four-tile collective results from anonymous quiz stats
Extend GET /api/stats with median score, 14 zero-filled UTC days, a 20-bucket score histogram, per-metric sample sizes and paired posture averages. Render them in the landing page's new four-tile panel, with 10/50/200-run states and an explicit denominator for every percentage.
phase 0 foundations, roadmap page and quiz stats
- phase0
a real /roadmap page, and three honest milestones on the landing page
The landing page advertised phases that no longer matched the plan, and there was no page with the detail behind them.
make the roadmap CSV the source of truth, the workbook its provenance
The plan lived only in data/TheoCompass Roadmap.xlsx, a binary: a one-word fix to a task name was an opaque diff, and the statuses the site shows could not be reviewed in a pull request.
- phase0
serve the roadmap and quiz stats from D1
The /roadmap page and the landing page need two things the worker did not have: the build plan with per-task status, and aggregate quiz counts.
- frontend
lift the dialog shell out of the quiz route
The one modal lived at app/christian-denominations/_components/_Dialog.tsx, so anything outside the quiz that needed a dialog had to reach into the quiz route or grow another copy. Nothing in it is quiz-specific: it is a focus trap, a scrim, and the button vocabulary.
the doctrines export is TSV, not CSV
scripts/build_precomputed.js reads "TheoCompass (v2.0) - Denominations & Doctrines_EXPORT.tsv", so the required file list should name the .tsv that the pipeline actually opens.
- phase0
let the results page choose save or discard on exit
The "Main page" dialog claimed "Your progress is saved automatically" on a page where nothing was being saved, and the only exit dropped the result the quiz had already written once at completion.
- phase0
rebuild the frontend on one design system ("Cool Instrument")
Full visual and structural pass over the landing page, the quiz flow, the results dashboard and the three downloadable reports. No API, scoring or data-model change: the app renders the same numbers, in one visual language.
- phase0
kv:update-remote must pass --remote
Without --remote, wrangler wrote denomination_profiles to the LOCAL KV namespace (it printed 'Resource location: local'), leaving remote KV stale after a data sync. Mirrors kv:update-local which already passes --local.
- phase0
plot the certainty axis unreversed in the compass
The compass plots on reversed axes (high value -> left), which is where minLabel is drawn. That keeps the 12 survey axes consistent (Unitarian Theol=95 sits left under 'Progressive'), but certainty's affirmative pole is a HIGH value, so its dots stayed left while the 'Certain' label moved right.
- phase0
add Certainty as the 14th axis (new Conviction group)
ENGINE (scripts/build_precomputed.js): add computeCertaintyScore -- affirmed-only, priority-weighted mean of the 0-3 C values rescaled x(100/3), mirroring computeToleranceScore's shape. Emitted per mode into denomination_mode_summary.csv as a new CertaintyScore column, so certainty now varies by quiz mode like ToleranceScore.
- phase0
real active-only filtering (re-rank/refill top 10) + export consistency
API: return the FULL ranked list (all matches, was top-10) and ALL families (was top-10) so the client can hide inactive traditions AND still refill the visible top 10; also enables a future premium full-ranking view. (Needs a worker reload/deploy.)
- phase0
unify results filter (0.5) + compass empty-state guard
Replace the two scattered toggles (in-compass 'Show active only' + list checkbox) with ONE 'All traditions / Active only' control in the results header. - The single 'activeOnly' state now drives the ranked list, the fingerprint compare options, and the results-page compass (via hideInactive prop). Export compass unaffected (defaults to all). - CompassChart: hideInactive is now a prop (local button/state removed); add explicit 'Could not load landscape' guard when /api/coordinates returns no rows. - Compare <select>: filter inactive when activeOnly; show disabled 'Loading traditions...' instead of silently listing the top 10 when coords are empty.
- phase0
finish 0.5 filter UI (isActive/estMembers on results)
DenominationCard: 'Historical' badge when isActive===false; ~member count via formatMembers(). - ResultsDashboard: enrich results from allCoordinates (isActive/estMembers), add 'Active denominations only' filter for the ranked list, hero+runner-ups derive from filtered list. - _helpers: formatMembers() (B/M/K).
- phase0
'Active only' filter on theological landscape (0.5)
CompassChart: add hideInactive toggle (header, non-export) that filters inactive/historical traditions out of the scatter before centroids are computed. Uses is_active now returned by /api/coordinates.
- phase0
parse textual Est_Members_Global into numeric (0.5 prep)
Source Est_Members_Global values are textual ('~1.3 Billion', '~600,000', '~2-6 Million', '~20,000 (Monks)', 'Unknown'). clean_num -> NULL for 165/169 active denominations. Added parse_members()/parseMembers() handling ~,+ ,commas,parentheticals,thousand/million/billion/k/m/b suffixes and ranges (midpoint). Active & numeric: 4 -> 161 (remaining 8 are literally 'Unknown').
- phase0
data foundations (0.3/0.5/0.6)
Schema/pipeline:
- deploy
add frontend .npmrc (legacy-peer-deps) to resolve next-on-pages ERESOLVE
- deploy
static export instead of deprecated next-on-pages adapter
May 2026
- taxonomy
7-group restructure, live family API, compass chart pipeline fixes
Complete overhaul of the denomination taxonomy system and its full data pipeline, resolving all rendering and data integrity issues on the compass chart introduced during the refactor.
Replace `prompt()` with React-controlled input in Dev Tools modal
Removed the `prompt()` API call which caused a runtime error in Next.js/Turbopack
Fix slider thumb alignment and remove mobile-only tolerance label simplification
Adjusted slider thumb vertical positioning (`mt-1`) on certainty and tolerance sliders to center the thumb on the gradient track
Overhaul downloadable result PNGs and fix questionCount bug
__ExportCard__: Redesigned as a dual-column layout (1100px wide) — left column contains the CompassChart and conviction swatches, right column lists the top denomination matches. Added overflow and text-wrapping guards for long names.
- compass
group families into 7 categories, simplify legend, remove axis divergence
Add GROUP_COLORS and FAMILY_TO_GROUP lookup to taxonomy.ts, organizing traditions into 7 theological groups with distinct colors (Early & Ancient, Catholic, Orthodox, Magisterial Protestant, Free Church & Evangelical, Charismatic & Restorationist, Progressive & Alternative)
integrate tolerance score into Posture fingerprint category, render via generic accordion loop
_constants.ts: add AXIS_LABELS["tolerance"] with poles "Accepting" / "Dogmatic" and desc; append "tolerance" to FINGERPRINT_CATEGORIES.Posture.axes; update Posture.desc to include "theological openness"
- cd
extract quiz views, controller & leaf components from monolithic page
Split the 3,000+ line page.tsx into a layered component architecture:
database-driven denomination comparison, fingerprint cleanup, and zoom card improvements
Remove fingerprint category macro ring (Theology/Practice/Posture summary bar) as it was unintuitive and added unnecessary complexity.
Fix dev auto-fill result persistence and overhaul tier styling with gradient progress bars
Fixed `handleDevAutoFill` in `app/christian-denominations/page.tsx` to save calculation results (including `familyMatches`) to `localStorage`, ensuring the "top match" hero card correctly displays denomination family information when restoring results after refresh
Polish quiz UI — fix silence toggle, improve category transitions, update tolerance gradient, sync tutorial with quiz
This batch of polish addresses four key UX areas in the Christian Denominations quiz (app/christian-denominations/page.tsx):
UX overhaul : global.css update animations
Added CSS animation keyframes: checkmark-bounce, slide-down-in, glow-pulse, scale-in-out, and pulse-slow
UX overhaul: enhanced quiz experience with gradient controls, silence cards, category colors, and polished interactions
• Made silence options ("Apathetic" / "Hostile") full answer-style cards with icons (🤷/✋), checkmark animations, and hover states instead of small text buttons • Redesigned certainty & tolerance sliders with gradient tracks, custom thumb styling (hover:scale-110, shadow), tick marks, and value badges • Assigned 9 distinct category colors (indigo, emerald, sky, rose, violet, teal, amber, fuchsia, cyan) with colored pill badges and accent dots • Added mode selection cards with gradient backgrounds, decorative overlays, icons (⚡/🧭/🔬), clock estimates, and "Best for first-timers" badges • Replaced "Restart" text button with circular ↻ icon that rotates 180° on hover • Swapped (i) info circles for "Learn more" rounded pills with pulse animation on the first question • Added animated glow-pulse + scale effect to "See Results" button on final question • Implemented keyboard shortcuts (1-4 select, Enter confirm, S/H silence) with persistent hint bar and KBD-style badges • Added smooth slide-in/out question transitions, category transition banners, and question navigation dot indicators • Created auto-save toast notification with scale-in/out animation
- landing
refresh home page for v2.0 open beta launch
Hero: change badge to "Open Beta is Live" (amber), update copy with 230+ stat
- results
redesign results dashboard with enhanced cards, collapsible fingerprint, and flipped score axes
Overhaul of the quiz results page UI/UX: - Redesign DenominationCard and FamilyCard with tier-based left border accents, numbered rank circles, tier badges, aligned trait tags, and expandable divergence bars - Replace flat fingerprint list with categorized collapsible accordion (Theology, Practice, Posture) featuring gradient tracks, lollipop dots, comparison diamonds, gap indicators, and expandable zoom cards - Add collapsible macro-ring summary with semi-circle arc gauges - Add distinctive-views pills and comparison toggle for top match - Clean up Compass Chart and Label Cloud section wrappers with headers - Update Save/Share card with Ko-fi link and Reddit posting link - Add Ko-fi support link and Retake Quiz button to Support card - Flip fingerprint score axes: score 0 now maps to right pole, score 100 to left pole (was the reverse), for intuitive visual alignment - Fix export card labels: left/right pole labels now match their visual positions correctly
April 2026
- taxonomy
finalize 30-cluster hybrid taxonomy and extract constants
Replaced the legacy 19-family taxonomy with 30 highly precise, hybrid clusters by merging historical curation with t-SNE mathematical groupings.
add family-first results support and chart tooltip props
Add `displayFamilies` prop to `CompassChart` so the results page can toggle between denomination families and specific traditions without TypeScript build errors
launch v2.0 Open Beta with 230 denominations, family-first matching, and optimized D1/KV engine
### Engine & Architecture - Scale database to the full 230 denominations for the v2.0 Open Beta. - Implement Denomination Families as the core alignment result, shifting the primary matching logic for "Quick Mode" to group users by overarching theological traditions rather than single denominations. - Refactor and optimize `/api/calculate` to use precomputed denomination baselines from KV (`denomination_profiles.json`) plus D1 scoring data. Hoisted user-profile pre-calculation out of the loop, dropping Math CPU Time from ~400ms to ~50ms. - Correct Methodology v2.0 math in the API engine (fixed tAmp fraction logic and fully implemented proper `F_schism` structure). - Add `/api/dev/profile` Worker endpoint to pull a denomination’s per-question answers directly from D1 (joining `denomination_selected_options`, `denomination_answers`, and `answer_options`). - Implement developer tools modal with secret `mod` code unlock and auto-fill options (random answers, perfect denomination profile, custom ID testing).
March 2026
- ui
Purely quantitative tolerance slider + perfect slider thumb alignment
## 🎯 **Problem Solved** Removed theological triage terminology (Core Dogma, Primary, etc.) from quiz input phase per Reddit feedback, making the slider purely objective/mathematical.
- ui
Refactor tolerance slider to "Dogmatic Weight" with explicit multi-option clarity
Fixed critical UX confusion in tolerance scoring where users couldn't decide how to rate their stance when multiple "acceptable" options exist alongside "heretical" ones.
Randomize answer order per question to reduce order bias
Landing page roadmap timeline + hero improvements
Vertical timeline roadmap design (clear Alpha → Beta → v2.0 progression)
v2.0 Alpha branding + bigger user dot on compass
Updated title to 'TheoCompass Denomination Alignment Quiz v2.0 Public Alpha'
Centralized GA4 tracking lib/gtag.ts
trackEvent() helper (TypeScript + SSR safe)
'use client' AFTER metadata export for CookieConsent
Preserved SEO metadata (title/description)
Google Analytics tracking for pre-demo launch
Added G-4S4RJ1Y66Z to RootLayout (manual install)
Move favicon to public
TheologicalLabelCloud tolerance colors + favicon update
updated the description of hostile and apathetic silences
add sticky quiz progress bar with question counter
Visual progress indicator across top of quiz screen (blue fill bar)
persist final quiz results to localStorage across page refresh
Save complete results dashboard data (matches, user coords, tolerance, labels)
persist final quiz results to localStorage across page refresh
Save complete results dashboard data (matches, user coords, tolerance, labels)
improve CompassChart mobile responsiveness with ResponsiveContainer aspect ratio
improve CompassChart mobile responsiveness with ResponsiveContainer aspect ratio
declare apiUrl const before fetch calls"
add non-null assertion to apiUrl TypeScript errors
replace hardcoded localhost API URLs with NEXT_PUBLIC_API_URL
implement functional mobile nav and refine UI spacing
Added 'use client' and state management to enable the mobile hamburger menu toggle.
Add quiz progress persistence, UI overhaul, and hidden dev tools
Implemented LocalStorage Persistence - Added automatic save/load functionality for quiz progress (questions, answers, index). - Users can now resume their quiz mid-way if they close the tab or refresh. - Clears storage automatically upon quiz completion or manual restart.
Overhaul Results Dashboard, Export PNG, and Fix Label Cloud
This commit represents a major visual and functional update to the Results Dashboard and core UI components.
Enforce strict silence calculations & visually merge duplicate denomination scatter points
API: Hardcoded C/T overrides (0/2 for apathetic, 3/1 for hostile) to strictly enforce the "Interpreted Silence" methodology regardless of frontend payload.
- frontend
implement full results dashboard with dynamic compass and tooltips
Built the Results UI to handle the payload from the `/api/calculate` endpoint.
implement 12-dimensional calculation engine & resolve frontend git tracking
BACKEND: - Built POST /api/calculate endpoint in Cloudflare Worker. - Implemented DB.batch() for high-performance D1 SQLite querying. - Ported the complete Euclidean math engine from app.js to TypeScript (Silence mechanics, Posture Amplifiers, Schism Drag). - Added bulletproof data normalization to protect against SQLite casing/underscore changes. - Filtered calculation loop to target the 30 Pre-Demo denominations.
- db
add reset.sql to handle remote D1 seeding foreign key constraints
Added `reset.sql` to safely drop all tables in the correct dependency order (children first, then parents).
add methodology and calculation math guide
Added METHODOLOGY_GUIDE.md to explain the 12-dimensional alignment algorithm, the Posture Amplifiers (Certainty/Tolerance), and the Schism Drag logic so developers can build the calculation engine.
add developer onboarding guide and update repository readme
Created a `/docs` directory to house project architecture and onboarding documentation.
implement dynamic quiz sequencing, silence modifiers, and full frontend state
Updated `generate_sql_seed.py` to correctly drop/recreate tables, parse CSV booleans into SQLite integers (1/0), and include sequencing data (Quick/Standard/Deep).
Finalize D1 schema generation and implement /api/scoring endpoint
Updated python SQL generator to include 'CREATE TABLE IF NOT EXISTS' schemas for all database entities.
Migrate data architecture to Cloudflare D1 & restructure monorepo
Reorganized repository into a clean monorepo structure (/data, /scripts, /theocompass-api).
- ui
add pre-demo site scaffold
Set up TheoCompass-PreDemo repo structure with landing, quiz, and about pages .
add scoring engine (app.js) and generated data.js v2.0
data.js: 30 pre-demo denominations, 120 questions, full answerKey and hiddenDimensions, three quiz sequences (quick/standard/deep)
Housekeeping (8)
Dependencies, configuration, builds and merge commits: real work, but not changes a reader can use. Kept here so the list above stays honest.
- tokens
make the checks able to see what they were missing
The token file no longer carries `--font-serif`, `--font-mono` or the 8px and 13px aliases: two families, one display face, and four names nobody should use. `--text-2xs` / `--text-3xs` stay as pins for `/mod/feedback`, the one surface still on the old vocabulary, and the comment says so rather than describing a migration that has half happened.
- phase0
make the worker test suite runnable and green, fix API typecheck
vitest.config.mts: the production KV namespace is declared remote:true, so the workers pool (remoteBindings defaults to true) tried to open a remote preview session on every run, which requires Cloudflare auth. That made the suite impossible to run at all - even offline. Disable remoteBindings and bind local KV/D1 instead.
track Serena project config (cache & local overrides git-ignored)
Portable project.yml (typescript LSP, utf-8, no absolute paths) plus Serena's own .gitignore, which keeps the machine-specific cache/ and project.local.yml out of the repo. Root .gitignore intentionally unchanged. Enables shared memories/ later.
document git workflow and exclude regenerable dirs from editor search
Merge chore/repo-hygiene: reattach local working copy and ignore regenerable artifacts
reattach local working copy and ignore regenerable artifacts
Merge pull request #1 from TheoCompass/beta-v2-prep
feat(beta): v2.0 Open Beta launch — 230 denominations, taxonomy refactor & full component architecture
add missing recharts and html2canvas dependencies