Changelog
Release history for SPERT® Forecaster
v0.54.5
December 1, 2026Fixed
- An accepted invitation to a project with a blank name no longer reads as a failure. The invitation takes the project's name as it is when the invitation is sent. If that name was empty, the banner had no project to name. It ignored the server's answer that the invitation was accepted, and thirty seconds later said "We couldn't confirm your invitation", although you had been added. A name made only of spaces showed as a blank. A blank name now shows as "Untitled", the same name the invitation email uses for a project with no name, and every project the invitation added is named. Forecaster does not let you save a project without a name, but an imported file can carry a name made only of spaces.
Internal
- The hydration error is gone from the development server. Opening Forecaster from an invitation link under next dev logged "Hydration failed" for the invitation banner. Users never saw anything, not even in the browser console. Only the development server logged it. In production the page is built ahead of time, and the banner is drawn only in the browser, so there was nothing to mismatch. The banner now draws nothing until the page is running in the browser (useIsClient), so the server's markup and the browser's first render agree under next dev too. That also keeps it correct if the page is ever rendered on the server per request in production. The invitation logic is unchanged.
- displayModelName and UNTITLED (claim-wording.ts): a blank name is one whose trim() is empty. Any row the server returns for this app now files as claimed.
- 7 new tests, 1 changed on purpose. A new hydration test renders the banner's server markup with no window and no invite key, hydrates it with the key set, and records React's recoverable errors. A must-find control in the same file shows the test can see a mismatch. R9's tests cover an empty name, a name made only of spaces, a mix, and an answer whose names are all blank. The changed test, "filters out empty modelNames", expected a blank name to be dropped. Removing the useIsClient gate turns the hydration test red, and restoring the old name filter turns the five name tests red. No dependency, Firestore rules, server or legal-document change. Tests: 3,573, up from 3,566.
v0.54.4
December 1, 2026Fixed
- Accepting an invitation now works when you sign in with Microsoft. Firebase records every Microsoft sign-in as having an unverified email address, work and school accounts included, not only personal ones. In that state the app did not even ask the server to look for your invitation. The banner waited thirty seconds and then disappeared, and the project never appeared. Your address was never compared. The app no longer decides this: it always asks the server, which is the only place that knows whether an invitation matches you, and which has accepted Microsoft accounts since September. Signing in with Google is unchanged.
- The invitation banner now tells you what happened, as soon as it is known. While the app checks, it says "Verifying invitation…". There are then five outcomes, each with its own message. The invitation was accepted here, naming the project, as before. It was accepted in a different SPERT app, which happens when you open, say, a Story Map invitation and land in Forecaster; the message names that app so you know where to go. No pending invitation was found for the address you signed in with; the address is shown so you can check it against the one the invitation was sent to, or ask the person who invited you to send a new one. The server refused or could not be reached, with a message for the reason. Or no answer came within thirty seconds, and the message says that rather than guessing. Before, only the first of these had a message: the rest vanished after thirty seconds without a word.
- The banner no longer says you were added to a project in another app. The server accepts your pending invitations for every SPERT app at once, and Forecaster showed every one of them as "You've been added to" a project here, including projects that live in Story Map or MyScrumBudget. It now names only this app's projects, and names the other apps separately.
- The message about Microsoft personal accounts is gone. When a check failed, a pop-up said that Microsoft personal accounts (@outlook.com, @hotmail.com) are not supported for invitations. That was never the cause, and personal Microsoft accounts cannot sign in to SPERT at all. The banner now gives the real reason. The same wrong sentence could not appear when sending invitations, and has been replaced there too.
- A screen reader now hears the result. The outcome arrives without any page change, so the banner announces each new message.
Internal
- The emailVerified guard is deleted, and only that line. The claim moved out of AuthProvider.tsx into src/shared/firebase/claimPendingInvitations.ts, which keeps the INVITATIONS_ENABLED kill switch and the functionsInstance guard and calls the callable unconditionally. Its answer settles as exactly one event: spert:models-changed with every app's rows, unfiltered and unchanged, or the new spert:invite-claim-settled with { outcome: 'none', email } or { outcome: 'error', code }. The event's name and type are declared once, in types.ts. Only functions/failed-precondition is logged at debug; every other code stays at error. The invitation document is never read. MyScrumBudget made the same fix in v0.38.1; this is the first of six apps.
- useInvitationLanding has six states: idle, pre_auth, claiming, claimed, claimed_elsewhere and failed. Rows are filed by the callable's app id, spertforecaster, never the consent id spert-forecaster. The failure outcomes are shown only to a tab that opened an invite link, and the gate is that tab's invite key, never the state, because the claim fires before the signed-in user is set. The success outcomes keep Forecaster's existing behaviour of showing without the key. The thirty-second timer now runs from claiming and is the last resort. Signing out mid-claim returns to idle and drops the key, so the next person in the tab inherits nothing.
- The wording lives in src/features/auth/lib/claim-wording.ts, with a copy of the server's app-name map (spert-landing-page functions/src/invitationMailer.tsx at da59618). Claim codes are mapped by their own function, never through mapInvitationError; a code it does not know gets the thirty-second wording, never the server's message. mapInvitationError's send wording for failed-precondition now falls to the ordinary send message, since sendInvitationEmail never throws that code.
- Known and accepted: with two Forecaster tabs open at a first sign-in, both tabs ask the server, and one wins. If the tab without the invite link wins, it shows the project as added, and the tab with the link says no invitation was found.
- 61 new tests, 4 changed on purpose. The new tests cover the claim module, the wording, the hook's states and gates, the banner's words and live region, and one test that drives the real claim module into the real hook. Four existing tests changed: the hook's timeout test (it expected a silent return to idle), H2 (sign-out mid-claim), notices.frame.test.tsx (three new states; its existing rows unchanged), and the "send" wording test. The four claim mechanisms (the guard, the filter key, the debug code and the event's name) were each broken on their own, and each turned its tests red. No dependency, Firestore rules, server or legal-document change. Tests: 3,566, up from 3,505.
v0.54.3
November 29, 2026Fixed
- Replacing a shared project no longer puts back someone who was taken off it. When a file import or a Story Map send replaces a project of yours that has the same name, the new project keeps the old one's sharing. It took that sharing from your browser's last view of the project, so anyone taken off the project since, from another device or by an account deletion, was put back on the new one. While your browser was offline, that view could be any age. The app now reads the project's sharing from the cloud at the moment of the Replace, and the new project keeps exactly the people who share it then.
- A Replace now happens completely or not at all. The old project was deleted first and the new one created after it, as two separate writes. If the cloud refused the new one, the project was gone, for you and for everyone it was shared with, and the message said only that the new project would leave your list. If the cloud refused the delete, both projects stayed, under the same name. The two are now one write: both happen, or neither does.
- A Replace that cannot be done says why, and puts your list back. If you are offline, if the project was deleted elsewhere, or if you are no longer its owner, nothing is written. Your list goes straight back to what the cloud holds, and a message says what happened and what to do. Before, an offline Replace waited in the browser, and it was lost without a word if the tab was closed before you reconnected. The rest of an import (the projects it adds, updates or copies) still saves as before, offline too.
Internal
- readProjectFromServer and commitReplace (firestore-driver.ts). The first reads with getDocFromServer, never the cache. The second writes the winner's full document and the original's delete as one WriteBatch. It is a batch rather than a transaction because a batch is latency-compensated, so every snapshot after it already shows the winner and not the original, and the snapshot merge needs no new state. A transaction commits straight to the server: the listener sees its writes only later, and it retries an unreachable server several times before failing.
- replaceFromServer (useCloudSync.ts) handles each name-conflict pair that passes the old pre-seed's gate (this user owns the original, in the latest view; the winner is not in it), in parallel. Until it settles, the original is tombstoned and the winner counts as a create in flight. The Replace's promise sits in inFlightCreatePromises, so an edit or delete of the winner meanwhile chains behind it, as behind any create, and never becomes a create with no members. A refused read writes nothing and raises no snapshot, so applyLatestView(), now shared with the snapshot handler, re-merges the latest converted cloud view. A pair that fails the gate keeps the plain create and the ordinary delete. The four texts are in firestore-errors.ts (replaceRefusalText, replaceReadRefusal). This closes the residual recorded in v0.54.2.
- Known and accepted: one round trip remains between the read and the batch, and a member removed inside it is still carried over. A refused Replace does not undo the import's other local changes (forecast inputs and project preferences moved to the new project, burn-up settings and forecast results cleared), and the old project comes back at the end of the list.
- 11 new tests, 4 changed, all seen to matter. The new tests cover a member removed elsewhere, a member added elsewhere, offline, gone, no longer the owner, a refused batch, a snapshot during the read, two Replaces at once, an edit during the read, the driver's read and batch, and the texts. Four existing tests pinned the old write and were changed on purpose (B5, B39-U7, E2-U1, and the pre-seed test). Each was seen red on the fixed code before it was changed. Ten mechanisms were each broken on their own, and each turned its tests red. No dependency, Firestore rules or legal-document change. Tests: 3,505, up from 3,494.
v0.54.2
November 29, 2026Fixed
- A shared project with no owner shows its members again. When the account that owns a shared project is deleted, the project can be held until a new owner is chosen, and its collaborators keep working on it. While it was held, the sharing details showed every collaborator "Couldn't load sharing details. Refresh the page to try again." and hid the member list, and refreshing never helped. They now list every member under the line "No owner right now. This project is held until a new owner is chosen. You can keep working on it." Nobody can change a held project's sharing, so no one sees role or Remove controls on it. The project's content and editing were never affected.
- One unreadable member no longer hides the whole member list. A member entry the app could not look up stopped the sharing details from loading for everyone. That member now shows as a blank row, and the owner and the other members load as before.
- Importing into a project already in the cloud no longer writes its sharing. Importing a file, or a Story Map Update, into a project you own saved the project's whole sharing list as your browser last saw it. If someone had been taken off the project from another device, or by an account deletion, and your browser had not caught up yet (it was offline, for example), the import put them back. And if the project had just been handed to you as its new owner, an import from the earlier view could hand it back to no owner at all. An import now saves the project's content only, as an ordinary edit does, and never its owner or members. A project an import creates is unchanged: you own it, with no members, or, when it replaces a project of yours with the same name, with that project's members.
Internal
- getProjectMembers (firestore-sharing.ts) reads each profile inside an async function, so doc() cannot throw out of the map. The SDK's doc() throws invalid-argument synchronously for an id that leaves an odd path (an empty one, or one holding /), and that throw escaped before Promise.allSettled ran. isHeldOwner() treats an owner that is not a non-empty string, or is DELETED_USER_MARKER ([deleted-user]), as held: the owner is not read, and its row carries held: true (a new optional field on ProjectMember). The member list moved out of SharingSection.tsx into SharingMemberList.tsx unchanged, with HELD_OWNER_TEXT for the held row.
- saveProjectUpdateImmediate (firestore-driver.ts) is saveProject's masked write, sent at once. saveImportedProject (useCloudSync.ts) uses it for a project in the latest cloud view, and keeps saveProjectImmediate's full setDoc for creates only. A new test asserts that PROJECT_MERGE_FIELDS plus owner and members is all 16 allowlisted project fields. A name-conflict winner is still created with the replaced document's members as this browser last saw them; that is a known residual, for a later release.
- 13 new tests, 10 seen to fail on the unfixed code, and three controls. firestore-sharing.test.ts's doc fake now throws as the SDK's does: the old fake never threw, so a held-project test passed on the broken code. A calibration test checks the fake against the real SDK's doc() for six ids, with no network. Each mechanism was broken on its own and its tests turned red: the held check, the async read, the held row, the import's routing, the driver's mask and the 16-field set. Three existing import tests changed with the import's update path (B5, K01-U1, W3-U5); B5 now checks the name-conflict winner, the one import path that still writes members. No dependency, Firestore rules or legal-document change. Tests: 3,494, up from 3,481.
v0.54.1
November 28, 2026Fixed
- Update's reason now shows for a project matched by name. When a Story Map file matches one of your projects by name and shares a sprint with it, but your project also has a sprint the file doesn't, Update is withheld, for the same reason as when it matches by ID: keeping that sprint would duplicate a sprint number and shift the forecast dates. A match by ID said so; a match by name left Update out without a word. Both now give the same reason, to screen readers too. If you can edit the project but not delete it, Replace isn't offered to you, so the reason names only the other way out: delete that sprint on the Sprint History tab. A project that only shares a name, with no sprint in common, still gets neither Update nor a reason, as before.
Internal
- ImportPreviewSection: the reason shows whenever §4.1 alone withholds update. It asks availableActions again with no unmatched sprint, so it composes through the one predicate instead of mirroring it. The old conflict.type === 'id' guard dated from v0.41.0, before v0.43.0 offered Update on a name match with a shared sprint. The Replace exit is said only when replace is offered. 7 new tests, each seen to fail on purpose. No dependency, Firestore rules or legal-document change.
v0.54.0
November 27, 2026Changed
- One About page across the suite. About now has seven sections, in the order every SPERT® app uses: What is SPERT® Forecaster?, How it works, About the simulation, Connect AI, Guides, Your data and storage, and Version and license. It sits in a 672-pixel column under the page heading, in the frame's own type: section headings at 18 pixels, text at 16. The blue section headings, the line under the title ("Agile Release Forecasting with Monte Carlo Simulation", which still shows beside the title in the header) and the large blue buttons are gone.
- What Forecaster does, first. The page opens with a new sentence: "SPERT® Forecaster forecasts when your team will finish its remaining backlog, and how likely each date is, from your sprint history or, before you have one, your own estimate of your velocity." Today's paragraph about Statistical PERT follows it, unchanged except that "Statistical PERT" is no longer bold. How it works is now a numbered list, with the same four steps.
- Guides, as the Help Center lists them. The Quick Reference Guide and the Connect AI User Guide are two rows, each with the Help Center's title and description and an "Open PDF" button that opens the guide in a new tab. A "More help in the Help Center" link follows them. The Connect AI section keeps its own line and adds the suite's paragraph on connecting: where to find the setup steps, the Connect AI User Guide, and the AI Privacy Notice.
- Your data and storage, said accurately. The old lists said your data "never leaves your device" in local mode, which was not true while Connect AI is connected. The section now says, in the words every SPERT® app uses, that without cloud storage your projects stay in this browser and go to no server except through Connect AI while an assistant is connected, and that with cloud storage they are saved to your account in Google Firebase over encrypted (HTTPS) connections.
- Version and license in one place. The version, a "What's new" link to this changelog, the author and the source code, the copyright and license with the additional terms in LICENSE, the trademark notice and the GPL's warranty disclaimer are now one short section in small type at the end, replacing five separate sections. The trademark notice names all of the SPERT® Suite's marks.
- Every ® on the page, the heading included, is the small, light mark the header's title uses.
- The page behind New Project, Edit Project, Keyboard Shortcuts and Connect AI's consent no longer scrolls. These dialogs never stopped it: a mouse wheel or trackpad over their dark overlay moved the page underneath. Now they hold it still, as the other dialogs do.
Fixed
- Cancelling the sign-in agreement no longer lets the page scroll behind the Cloud Storage window. Choosing Google or Microsoft in the Cloud Storage window opens the agreement over it; cancelling the agreement unlocked the page while the Cloud Storage window stayed open, so scrolling moved the page behind it. All seven of Forecaster's dialogs now share one lock: the page stays still until the last open dialog closes, and then scrolls as before.
- The copyright year on the footer and on About comes from one place, so the two can never differ. The page is built ahead of time with that year in it; after 1 January the year shown is your browser's, not the year the page was built, and the browser no longer reports a mismatch between the two.
Internal
- The suite frame's stylesheet is re-vendored at version 4 (src/styles/spert-frame.css, md5 7f8e40a37b008027e06123fe13e1b2f8), byte for byte from the canonical copy; its addition is the About page, .sf-about and its parts. The md5 and version pins in frame-stylesheet.test.ts moved with it.
- AboutTab.tsx is rewritten as .sf-about (data-sf="about"), with data-sf="guides" on the guide list and data-sf="about-legal" on Version and license, and no utility classes: the frame styles the page. AppShell renders it as main's next child after the heading row, without the .sf-below wrapper, and the heading's ® is the brand row's .sf-mark. TrademarkedName is gone.
- src/shared/hooks/useScrollLock.ts is SPERT® CFD's counted scroll lock: the first hold sets overflow: hidden on body, and the last release restores the value it found. ConfirmDialog, CloudStorageModal, ConsentModal, ConnectAiPanel, ProjectDialog, KeyboardShortcutsHelp and ConnectAiConsentModal take it; none of them writes body.style.overflow any more.
- src/shared/lib/copyright.tsx: copyrightYear() and <CopyrightYear />, read by the footer and by About. The year's own span carries suppressHydrationWarning, and its key changes once hydration is over, so React mounts it again with the browser's year.
- 30 new tests: 28 seen to fail on purpose and two controls (26 deliberate breaks, among them the old About page, the body back in .sf-below, the first sentence without its second half, a bold "Statistical PERT", the data paragraph without its Connect AI clause, curly quotes in the warranty, a ™ as plain text, a missing screen-reader warning, a utility class, each year read from its own clock, no suppressHydrationWarning, no remount after hydration, an uncounted lock, and each of the seven dialogs with its old lock or none). A hydration test renders the footer and About to HTML with the clock in 2026 and hydrates it in 2027: no mismatch, no console error, and both say 2027. Two controls show that the test can see the fault: the year written plainly is reported as a mismatch, and with suppressHydrationWarning alone the page keeps saying 2026. AboutTab.test.tsx now checks the guide rows and every PDF link on the page, three in all. Checked with the suite's frame-check in headless Chrome against a local production build, the About page included. No dependency, Firestore rules or legal-document change. Tests: 3,474, up from 3,444.
v0.53.0
November 26, 2026Changed
- Load Sample opens the sample on the Forecast tab. The toolbar's Load Sample, the welcome panel's Load Sample Project and the Forecast tab's own empty card used to add "Sample: Mobile App Launch" and leave you where you were (on Projects, the new tile among the others). Now all three do the same thing: add the sample, select it in Forecast's project picker and open the Forecast tab on it, where its eight sprints are ready to simulate. A second load still adds "Sample: Mobile App Launch (2)", then (3), the lowest number free; archived projects hold their names, so an archived sample is never reused. Samples you already have keep their names.
- What Load Sample says. Its message, shown at the bottom right and read by screen readers, is now "Added “Sample: Mobile App Launch” to your projects and opened it.", the same sentence every SPERT® app with a sample uses. It replaces "Loaded … — eight sprints, four milestones, one productivity adjustment."
- The empty Projects screen is the suite's welcome panel: "Welcome to SPERT® Forecaster" (the ® was missing), the same line about the app, Create New Project and Load Sample Project, and the note about the sample. It runs the full width of the page 16 pixels under the heading, on the page's own background in both themes (it was a near-black card in dark mode, 8 pixels lower), with the toolbar's 36-pixel buttons. Its note was hard to read in dark mode (3.7:1) and now measures 6.8:1. The Forecast tab's own empty card ("You'll need a project to forecast") keeps its look; its note's dark-mode colour is fixed the same way (6.9:1).
- "Page not found." An address Forecaster does not have showed Next.js's own "404 / This page could not be found." inside the frame, with no heading row. It now shows the frame's heading "Page not found", the line "There's no page at this address." and a "Back to Projects" link, as SPERT® CFD, MyScrumBudget and Scheduler do.
- If Forecaster itself fails, it says so and offers Reload. A failure in the frame, a notice or the app's storage used to leave Next.js's "Application error: a client-side exception has occurred" page, with no way back but the browser's own reload. Now a "Something went wrong" screen says "SPERT® Forecaster could not display this page. Reload to try again." with a Reload button, on the page's own background and text colours in both themes. Every SPERT® app with such a screen now says the same. A failure inside one tab still shows that tab's own message, with the rest of the app working.
- If the project tiles fail to show, the Projects heading and its toolbar now stay on the page, with the error message below them, as on Sprint History, Forecast, Settings and About.
Fixed
- Easier to read, in both themes: the Terms of Service and Privacy Policy links in the Cloud Storage agreement (3.8:1 light and 3.9:1 dark before, now 5.3:1 and 5.6:1); the "✕" that closes an invitation banner, in both its states (2.4:1 light before, now 4.4:1); the hint "Microsoft sign-in requires a work or school account…" on the invitation banner (4.4:1 light before, now 6.9:1); and the "Try again" button on the Connect AI notice (3.2:1 before, now 5.0:1). Their names and wording are unchanged.
- "Show archived (N)" sits where the suite frame puts a collection's filters, 16 pixels under the heading (it was 12), with the tiles 16 pixels below it. With archived tiles shown, the suite's layout check read the grid as 31.5 pixels too low; it now reads it in place.
Internal
- The suite frame's stylesheet is re-vendored at version 3 (src/styles/spert-frame.css, md5 b00d0759ec0a0a4d2db6ba10b16678f0), byte for byte from the canonical copy; its one addition is the welcome panel, .sf-empty and its parts. The md5 and version pins in frame-stylesheet.test.ts moved with it.
- One Load Sample handler, in AppShell.tsx. handleLoadSample calls loadSampleProject(), which now returns the new project's id and name (or null), then sets the viewed project and selects the Forecast tab. ProjectsTab takes it as a required onLoadSample prop, and ForecastTab as an optional one. sampleLoadedText() in sample-project.ts holds the sentence; sonner's toast region is aria-live="polite", so the toast is the announcement and nothing reads it twice.
- The welcome panel is the welcome variant of ProjectsEmptyState (.sf-empty, data-sf="empty" on the panel itself, the title's ® in the brand row's .sf-mark); the mt-6 wrapper that held the hook is gone. The filter row is ShowArchivedFilter's div, hooked data-sf="filters" with the frame's .sf-below.
- New files: src/app/not-found.tsx (the framed 404) and src/shell/components/AppCrashScreen.tsx, the fallback of a new outermost ErrorBoundary in src/app/layout.tsx, around AuthProvider. The crash screen stays outside the frame on purpose: drawn inside it, a fault in the frame would take the crash screen down too. ProjectsTab wraps everything below its heading row in its own ErrorBoundary.
- 22 new tests, each seen to fail on purpose (20 deliberate breaks, one per fix, among them the old toast, Load Sample staying on Projects, the old empty card, the unhooked filter row, each old colour, no 404 page, no outer boundary, and a crash screen that loses the dark theme or throws itself), and nine existing test files updated where Load Sample became a prop, plus the "Try again" and stylesheet pins. Checked with the suite's frame-check in headless Chrome against a local production build: no unregistered deviations on any screen, the first visit included. No dependency, Firestore rules or legal-document change. Tests: 3,444, up from 3,422.
v0.52.2
November 26, 2026Fixed
- Replace from Story Map keeps your productivity adjustments. Replacing a project from a Story Map send took Story Map's copy of the project whole. Story Map's copy never has productivity adjustments, so the holidays and vacations you had entered in Forecaster were gone after every such Replace, by file or by "Send to Forecaster". Replace now takes the sprint history, milestones and sprint cadence from Story Map and keeps the adjustments you entered here. It also keeps the project's start and finish dates and its unit of measure: Story Map sends neither date and always says "Story Points", so a project measured in hours went back to story points on every Replace. These are the same four settings that Update already kept. Burn-up configurations and sprint-exclusion choices are still cleared by Replace, as before; Update keeps those too.
- Replace mattered more than its name suggests. Update, which keeps your whole forecast setup, is not offered when Forecaster holds a sprint the Story Map send does not, or when the project matches only by name and shares no sprints with the send. In those cases Replace was the only way to take Story Map's new progress, and the import screen pointed you to it. It now says that Replace keeps your productivity adjustments, project dates and unit of measure.
- Replacing from a Forecaster file is unchanged. A file exported from Forecaster carries its own productivity adjustments, dates and unit, and Replace still takes all of them from the file.
Internal
- One rule, in import-utils.ts. replacementProject builds the project a Replace writes. For a Story Map payload it restores the four fields listed in STORY_MAP_REPLACE_KEEPS from the existing project; for any other payload it returns the incoming project unchanged. The rule reads the payload's type, never how it arrived, so a file and a "Send to Forecaster" of the same data give the same result. A Story Map payload that somehow carries any of the four fields has them ignored, as Update ignores them.
- The list is tied to Update's. The four fields are exactly the project fields that Update's field-class table marks as Forecaster's own. A test asserts the two lists agree, so a new Forecaster-only field has to be decided for both actions. The change is recorded as SD-6 in docs/SPEC_DEVIATIONS.md.
- 12 new tests, each seen to fail on purpose. Unit tests cover a Replace on a matching project ID, on a name-only match (the new project ID keeps the four fields), a crafted payload, a project with no adjustments, and two controls for Forecaster files. An end-to-end test sends a real-shaped Story Map project through both routes, chooses Replace and checks what was written. Two screen tests check the Replace description for each kind of file. Six changes to the rule (never keep, always keep, drop one field, drop the adjustments, bypass the rule, shorten the list) and two to the screen text each turned at least one test red.
- No dependency, Firestore rules or legal-document change. Tests: 3,422, up from 3,410.
v0.52.1
November 23, 2026Changed
- The Help Center link underlines on hover. It had no hover cue: the frame's own style for the link outranked the underline Forecaster gave it. The suite frame's stylesheet now draws the underline itself, the same in every SPERT® Suite app. Keyboard focus still shows the frame's focus ring.
Internal
- The frame's stylesheet, src/styles/spert-frame.css, is re-vendored at version 2 (md5 69146fd77679c71e03d2f06cfea96cf1), byte for byte from the suite's canonical copy; its one new rule is .sf-help:hover { text-decoration: underline; }. The md5 and version pins in frame-stylesheet.test.ts move with it.
- The empty Projects screen carries the frame's empty-collection hook, data-sf="empty": on the welcome panel when there are no projects, and on the "All projects are archived" line when every project is archived. The suite's frame-check now measures a first visit instead of reporting a missing tile grid. Their look and place are unchanged.
- Three new tests hold the hook: the welcome panel and the all-archived line are each the one empty panel, with no grid; and a shown project brings the grid with no empty panel beside it. Each was seen to fail on purpose.
- Checked with the suite's frame-check in headless Chrome against a local production build, on Projects with the sample, Projects on a first visit, and Forecast: no unregistered deviations.
v0.52.0
November 23, 2026Changed
- The header is one 56 px row. The SPERT® Forecaster title is 24 px bold on every screen (it grew to 33.6 px on wide windows before), still in Forecaster's blue gradient, with the tagline beside it rather than under it. Connect AI, the theme button and the sign-in button sit at the right of the same row, in the same order as before.
- The title and the icon are one link to the Projects tab. Clicking them shows Projects from anywhere, the changelog included; a Ctrl-, Cmd- or Shift-click opens Forecaster in a new tab or window, as any link does. Screen readers announce it as the link "SPERT® Forecaster", and the icon beside it is no longer announced separately. The title is no longer a heading: each page's own heading is.
- The navigation row has two sides. Projects, Sprint History and Forecast are on the left; Settings, About and Help Center ↗ on the right. The tab you are on is marked by a blue line under it, at the same weight as the others, instead of a filled blue tab, whose white text measured 3.68:1 in the dark theme, under the 4.5:1 that text needs. The keyboard shortcuts 1 to 5 still choose the five tabs, in the same order.
- Every page starts with its own heading. Projects has "Projects" with its four buttons on the right, as before. Sprint History and Forecast now open with the name of the project they show, the one in their project picker, so you always see which project you are in; with no project to show they read "Sprint History" or "Forecast". Settings and About keep their headings, and the release notes have "Changelog".
- The Projects buttons are all the same size. Export All, Import, Load Sample and New Project are 36 px tall with 14 px text at the same weight in every SPERT app; their colours and corners are Forecaster's own. Disabled buttons look and behave as before.
- The project tiles fill the page. On a wide window (1920 px) the Projects page shows four tiles in a row instead of three; at 1280 and 1440 px it still shows three. The tiles themselves are unchanged.
- The notices are one width, in one place. The first-visit notice, the "data exists only in this browser" caution and the other app-wide notices sit directly under the navigation, as before, now at the full width of the page and 12 px apart, with one shared look and a "Got it" or "Dismiss" button of one size. The invitation notice, which was a narrower box in the middle of the page, is full width too: the suite now uses one notice box for every notice in every app. The wording is unchanged.
- The release notes are inside the frame. The changelog page has the same header, navigation and footer as every other page, with no tab marked, since no tab leads there. Its own "← Back to SPERT Forecaster" link is gone: the title link and the navigation replace it, and choosing a tab there takes you back to that tab. The keyboard shortcuts work there too.
- The sign-in button's hover shade is the frame's. Pointing at it turns it the frame's pale grey, #f9fafb in the light theme and #1e2939 in the dark one (it was a lighter grey in the dark theme), where "Local only" and "Sign in" measure 4.63:1 and 5.02:1 at worst.
- Settings, About and the release notes keep a readable width. Their text stays in a column of at most 896 px, aligned with the page's left edge, while the heading row above them spans the page.
Fixed
- The page no longer scrolls behind an open dialog. The confirmation dialogs, Cloud Storage, the Connect AI consent and the Connect AI panel each tried to stop the page behind them from scrolling, but a page-wide style setting made that attempt do nothing: on the live site the page still scrolled when you turned the mouse wheel over an open Delete confirmation. That setting is gone, so the page now stays put while you scroll over an open dialog (measured on this release: the wheel left the page where it was).
- Connect AI's label is readable. At rest it was a pale grey, 2.60:1 on the light page and 3.67:1 on the dark one, under the 4.5:1 text needs. It is now the frame's grey, 4.84:1 and 6.82:1, and darkens when you point at it. Its text is 13 px, the size of the other header labels.
- The theme button's icon can be seen. The sun was drawn in a fixed amber at 70 % opacity, 1.72:1 on white. The sun, moon and screen icons now draw in the frame's grey at full strength, 4.84:1 and 6.82:1, and darken when you point at them.
- The release notes page uses the dark theme's own background, #101828, like every other page; it was a near-black before.
Internal
- The frame is one shared stylesheet. src/styles/spert-frame.css is a byte-for-byte copy of the SPERT® Suite frame's canonical stylesheet, imported once by globals.css and never edited here; src/styles/frame-stylesheet.test.ts pins its md5. It is deliberately outside Tailwind's layers, so its rules beat any utility class on the same element. Each frame element carries a data-sf hook, so the suite's live conformance check finds it without guessing.
- The frame is held by the root layout, not by a page. src/app/layout.tsx renders AppShell around every route, so the shell is not rebuilt when you open the release notes: the tab you were on, an import you were reviewing, a transfer arriving from SPERT Story Map, a Connect AI session's heartbeat and a dismissed notice all survive the visit. On / the shell shows the tabs; on any other route it shows that route's page inside the frame, with no tab marked. A tab chosen there sets the tab and returns to /, so the tab travels in the app's state, never in the address.
- New files. AppHeader.tsx (the header row), HeadingRow.tsx (each page's heading row, in src/shared/components), ProjectsLoadingHeading.tsx (the Projects heading while cloud storage loads) and screen-heading.ts (the Sprint History and Forecast heading's text). While cloud storage is loading for the first time, every project tab now keeps its heading, and Projects keeps its four buttons in place; the three that would add a project to a copy that may be out of date (Import, Load Sample, New Project) are disabled until the load finishes, and Export All keeps its own rule.
- The header title's colour guard was re-pinned on purpose. AppShell.title-gradient.test.ts keeps its 16 tests and its 3:1 bar at every point of each gradient, in Oklab and sRGB. It now reads the gradient ends from globals.css, where the frame takes them, and the page colour from the shared stylesheet. The gradients are the same colours, weakest 3.03:1 light and 3.04:1 dark. In print and under a "more contrast" system setting the title is now the frame's solid heading colour, #333333 or #e2e8f0, or black on paper, one colour for every SPERT app; Forecaster's own fallback rules went with that.
- Two tests from v0.51.2 were rewritten, not loosened. Footer.contrast.test.tsx and UserMenu.contrast.test.tsx checked for colour classes that the shared stylesheet now replaces. They now check the same facts through the stylesheet's own colours: every footer link at 4.5:1 or better in both themes; "Local only" and "Sign in" at 4.5:1 and the padlock at 3:1, at rest and on the hover shade, in both themes. Connect AI's label joined them.
- Eight other existing tests were edited for the new markup only: the active tab is now marked aria-current="page", the Projects heading is level 1, the tile grid has no wrapper, the Help Center link ends the right-hand side of the navigation, keyboard shortcuts and tile clicks go through one tab-choosing function, and the colour-token test reads the shared stylesheet's import.
- Seven new test files, and the rewritten and re-pinned colour guards above, each seen to fail on purpose once: the stylesheet's md5 and import, the navigation row, every page in the real shell (with the changelog and its way back), the title link, the theme icons, the notices, and the page headings. Each fix was undone on its own, its test went red, the file was restored from a copy kept outside the project and its md5 checked, and the test went green.
- Checked against the suite's live conformance check on a production build of this release, at 1280, 1440 and 1920 px, light and dark, with "more contrast", and at 125 % and 150 % zoom, plus the other pages (Sprint History, Settings, About, the release notes, and the notices on a first visit); and in headless Chrome for the dialog scrolling and Connect AI's label change, which moves neither the theme button nor the sign-in button.
- No dependency, Firestore or legal-document change. Tests: 3,407, up from 3,346.
v0.51.2
November 23, 2026Fixed
- The footer links are readable in the dark theme. The six links at the foot of every page (the version number, SPERT® Suite, Terms of Service, Privacy Policy, AI Privacy Notice and License) kept their light-theme blue in the dark theme. On the dark footer that blue, #155dfc, measured 3.38:1, and the darker blue shown when you point at a link measured 2.60:1. WCAG asks text to stand out from its background at 4.5:1 or more. In the dark theme the links are now a lighter blue, #50a2ff, at 6.72:1, and #8ec5ff when you point at one, at 9.79:1. The light theme is unchanged, at 5.25:1 and 6.83:1.
- "Local only" is readable in the light theme. Its grey, #99a1af, measured 2.60:1 on white. It is now #6a7282, at 4.84:1, and 4.63:1 on the pale grey the button turns when you point at it. In the dark theme it keeps its grey, at 6.82:1, but the button turns a lighter grey when you point at it, which brought the words down to 3.96:1. They now turn lighter too, to #d1d5dc, at 7.00:1.
- "Sign in" follows the theme. The words kept the same blue, #0070f3, in both themes, because the colour was written directly on them, where no theme setting could reach it. On the dark page it measured 3.90:1, on the dark button's pointing colour 2.26:1, and on the light button's 4.36:1. In the light theme it is still #0070f3 (4.55:1), and turns #155dfc when you point at the button (5.02:1). In the dark theme it is #50a2ff (6.72:1), and #8ec5ff when you point at it (5.68:1).
- The padlock beside "Local only" can be seen in the light theme. It was drawn in a fixed grey, #9CA3AF, at 2.54:1 on white. A symbol that shows something, as this one shows that your data is kept in this browser, needs 3:1. It now takes the same grey as "Local only": 4.84:1 in the light theme and 6.82:1 in the dark, and at least 3.96:1 when you point at the button. The same padlock appears on the button when you are signed in but keep your data in this browser, and it changes the same way there.
Internal
- Where it lives. The footer links are in src/shell/components/Footer.tsx; the button, its two labels and the padlock are in src/features/auth/components/UserMenu.tsx. The signed-out button is now a Tailwind group, so its labels can change colour when the button as a whole is pointed at. "Sign in" now takes its colours from classes, and the padlock strokes in the text colour set on it. The cloud icon, the dividers and the signed-in avatar are unchanged.
- Why there is no inline colour on "Sign in". A colour written as an inline style outranks every class, the dark-theme ones included, so before this release no class on those words could ever have taken effect. The new tests fail if an inline colour comes back, even with the classes still in place.
- Two new test files, 8 tests. Footer.contrast.test.tsx checks that the footer has six links, that each carries its light and dark colours for rest and for pointing, and that none sets an inline colour. UserMenu.contrast.test.tsx checks the button's group, the colours of "Local only" and "Sign in", that neither has an inline colour, and that the padlock strokes in the text colour with its theme colours, both signed out and signed in on local storage. The test environment draws nothing, so these check that the colours can apply, not how they measure.
- Each fix was undone on its own, and its test was seen to fail. That was done for the footer colours, the "Local only" colours, the "Sign in" colours and the padlock's fixed grey, each in turn. So was putting the inline colour back on "Sign in" beside its new classes, and taking the group off the button. Each time the expected test went red, and the files were restored and checked against their saved fingerprints.
- Measured in headless Chrome over the DevTools protocol, on a production build, at 1280 × 900 and a device pixel ratio of 1. The theme was chosen with the app's own Settings → Theme control, and "pointing" was forced through the protocol. Each ratio compares the colour Chrome computed with the background actually painted behind it. The same measurement on the live v0.51.1 site gave the "before" numbers above. Chrome draws Tailwind's blue-400 as #50a2ff, one step from the #51a2ff in Tailwind's documentation, so it measures 6.72:1 rather than 6.73:1. The padlock beside "Signed in" could not be measured this way, because that needs signing in; the tests cover it.
- No dependency, Firestore or legal-document change. Tests: 3,346, up from 3,338.
v0.51.1
November 21, 2026Changed
- The title is a gradient in Forecaster's own blue, and it now clears the contrast that large text needs, in both themes. Each word, "SPERT" and "Forecaster", runs from a lighter blue on its left to a darker blue on its right, as before, but the blues are new. They are built from the icon's blue, #0070f3, with the same steps of lightness and saturation as the old gradient, and without its turn in hue. In the light theme the title runs from #4a93ff to #0056bf on white; in the dark theme from #5f9fff to #0060d2 on the dark page (#101828).
- Why the blues moved. The title is large text (at least 24 px, and bold), which WCAG asks to stand out from its background at 3:1 or more. The old gradient, #0099ff to #0051cc, reached only 2.99:1 at its light end on white, and 2.57:1 at its dark end on the dark page. The new one measures at least 3.03:1 at every point in the light theme and at least 3.04:1 in the dark theme. Both are just above 3:1 on purpose, so the title stays as close to the old look as the contrast allows.
- Nothing else about the title changes. It has the same words, size, weight and position. The ® keeps its grey and its raised position. Measured in Chrome, each word is where it was to within a 64th of a pixel, and the space before "Forecaster" is exactly as wide as before. This is the same change the other SPERT® apps are making, each in its own icon's colour.
Fixed
- The title now prints. Before this release, printing a Forecaster page with the browser's "Background graphics" setting off, which is how browsers print by default, left a blank space where the title should be, because the title's colour was drawn as a background. Now, when a page is printed, the title is drawn as solid near-black text (#101828) in either theme, with or without background graphics.
- A system setting for more contrast now gets a solid title. If your computer is set to increase contrast (on a Mac, System Settings → Accessibility → Display → Increase contrast), the title is drawn as solid text instead of a gradient: near-black (#101828) in the light theme, at 17.74:1, and near-white (#f3f4f6) in the dark theme, at 16.12:1.
Internal
- Where it lives. The gradient is one class string, TITLE_GRADIENT in src/shell/components/AppShell.tsx, used by both words. The bold weight moved from the two words to the <h1>, and the space before "Forecaster" is now the <h1>'s own text rather than the start of the second word. In this app's system font a space is narrower in bold, so keeping it in the bold <h1> keeps its width (7.0469 px at 33.6 px, before and after).
- Why the print rule has a dark-mode twin. This app's dark variant is written &:is(.dark *) in globals.css, so every class with dark: in front outranks a plain one. The near-white for more contrast in the dark theme would therefore beat the near-black for print, and a dark-theme page printed from a computer set to more contrast would put near-white on paper. dark:print:text-gray-900 matches its weight and comes later in the stylesheet, so print wins. Checked in headless Chrome with print, the dark theme and more contrast all emulated together: the title computes to #101828, with no background image.
- A known limit, accepted. Printing in the dark theme with "Background graphics" turned on prints the dark page behind the title, and the near-black title on it measures 1.00:1, so it cannot be seen. The old title printed at 2.57:1 in that case. This was accepted for every SPERT® app making this change: the usual print settings now show the title where they showed nothing before.
- A new guard, AppShell.title-gradient.test.ts (16 tests). It reads the two end colours of each theme from AppShell.tsx, checks that exactly two spans carry the gradient and that they agree, and resolves the page's background from the root <div>'s classes through the installed Tailwind's theme.css, which must still be white and #101828. It then checks 41 points along each gradient, mixed both the way Tailwind mixes colours and the plain way, against 3:1. It also checks the print and more-contrast classes, the dark-mode print class and the reason for it, the space's place, the bold <h1>, and that the title never drops below 24 px.
- Each check was seen to fail on purpose. One-line edits of the real AppShell.tsx were tried in turn: the old blue put back in both themes (2.99 and 2.57, two tests red), the dark page one shade lighter (one red), the two words given different blues (one red), a more-contrast class removed (one red), the dark-mode print class removed (one red), the space moved back inside "Forecaster" (two red), and the bold taken off the <h1> (one red). Each red test was the one named in advance. The file was restored byte for byte after each, and with nothing changed every test passed.
- Checked in headless Chrome over the DevTools protocol, on a development build, at 1024 and 800 px wide, in both themes, switching theme live with no reload both through the system setting and through the app's theme button, and in print. The check emulated "no preference" for contrast, because the computer it ran on has Increase contrast turned on, and any browser there shows the solid fallback rather than the gradient.
- The spert-blue-light colour token is no longer used by any class. It stays in globals.css, with the other spert-blue tokens.
- No dependency, Firestore or legal-document change. Tests: 3,338, up from 3,322.
v0.51.0
November 16, 2026Added
- A "Help Center" link at the right-hand end of the tab bar, after About. It opens Forecaster's page in the SPERT® Suite Help Center, https://spertsuite.com/help/forecaster, in a new browser tab, and Forecaster stays open in the tab you were using. That page lists Forecaster's guides, the Quick Reference Guide and the Connect AI User Guide, with a sentence on what each is for, links to the terms, privacy policy and AI privacy notice, and says how to send a message if you are still stuck. Before this release the app had no link to the Help Center: the guides could be opened only from the About tab, which still offers them as before.
- It is a link, not a sixth tab. The five tabs (Projects, Sprint History, Forecast, Settings, About) are unchanged. The link sits apart from them at the far end of the bar, as smaller grey text with a small ↗ arrow, and is underlined when you point at it. It never takes the blue fill of the active tab, and it stays in the same place whichever tab is open. Keys 1 to 5 still select the five tabs, and the link has no key of its own. Pressing Tab moves through the five tabs and then to the link.
- Screen readers announce it as "Help Center (opens in a new tab)". The arrow is hidden from them, and the words "(opens in a new tab)" are read aloud but not shown. It is a plain web link, added in src/shell/components/TabNavigation.tsx, and it opens with rel="noopener noreferrer", so the Help Center page gets no hold on the Forecaster tab and is not told which page you came from.
Notes
- Why the link is at the end of the bar. Between Settings and About it would split the tabs and look like one more view inside the app. At the end it reads as what it is: a way out to the wider SPERT® Suite.
- New tests. TabNavigation.help-center.test.tsx (12 tests) checks the exact address, the new tab, the screen-reader name, and that the link comes directly after About as the bar's last item, with each tab active in turn. It also checks that the link is not a tab: the bar holds exactly five buttons, the five tabs in order, and only the active tab is marked as current. These checks count every button in the bar. The older tests in TabNavigation.test.tsx count only buttons labelled with one of the five tab names, so they could not see a sixth tab. A new test in AppShell.test.tsx checks that keys 1 to 5 select the five tabs in order and that no other shortcut selects a tab. Nothing checked that before.
- Each new test was seen to fail on purpose. The changes tried were: a wrong address (/help/spert-forecaster, which does not exist), the new-tab setting removed, the screen-reader text removed, the screen-reader text made visible, the link turned into a sixth tab (both instead of the link and beside it), a sixth number key, and two number keys swapped. Each one turned at least one named test red, and the code was restored byte for byte after each. With the link turned into a sixth tab, none of the older tab tests failed, which is why the new ones count every button.
- A screen-reader name problem was caught before release. The first version put the space before "(opens in a new tab)" inside the hidden words, and the tests' name check read the link as "Help Center(opens in a new tab)", with no space. The spaces now sit outside the hidden words.
- Checked in a browser. This used the Claude desktop app's built-in browser (Chromium) on a development build, in the light and dark themes, with each tab active in turn. The link sat at the right end of the bar, its text baseline within half a pixel of the tab labels', and it did not move or change when the tabs changed. Its text contrast measured 5.74:1 on the light background and 7.87:1 on the dark one, above the 4.5:1 that WCAG AA asks for. Keys 1 to 5 switched tabs, and Tab went through the five tabs and then the link. Clicking the link made the page ask to open spertsuite.com in a new tab, and the first tab stayed on Forecaster. The built-in browser does not let an automated click open a new tab, so the new tab itself was not seen there.
- Not checked in the browser: the name a screen reader actually announces. The built-in browser's page reader does not report it, so the tests are what check it.
- A note for whoever adds a guide. A comment at the top of the new test file, and of src/features/about/components/AboutTab.test.tsx, says to add any new guide in public/ to the Help Center's guide list as well (src/data/help.ts in the spert-landing-page repository). The landing page's daily check that its guide list matches the apps stays red until that is done.
- No dependency, Firestore or legal-document change. Tests: 3,322, up from 3,309.
v0.50.10
November 14, 2026Fixed
- A blocked sign-in window now shows a message instead of starting a sign-in that cannot finish. This is about the Google and Microsoft sign-in buttons in Settings → Account and in the Cloud Storage window (SignInButtons).
- Before this release: the browser sometimes refused to open the sign-in window, which Firebase reports as auth/popup-blocked. A pop-up blocker or an in-app browser can do this. When it happened, src/shared/firebase/auth.ts switched to Firebase's full-page sign-in (signInWithRedirect), which was added in March 2026 (506b268).
- Why that could not work: the full-page sign-in reads its result back through a hidden frame from spert-suite.firebaseapp.com, a different site from forecaster.spertsuite.com. Current browsers give such a frame its own empty storage: Chrome has done so since 2024, and Firefox and Safari did so earlier. So the result was never read, and you came back signed out with no error. This was measured on forecaster.spertsuite.com, v0.50.9, on 2026-11-14.
- After this release: auth.ts signs in with the pop-up window only, and passes every pop-up error back to the buttons. For a blocked window, the buttons now show "Your browser blocked the sign-in window. Allow pop-ups for this site and try again." under them. src/features/auth/lib/sign-in-errors.ts already had a message for this case, "Allow pop-ups in your browser to sign in.", but the fallback meant it was never reached. The wording is new in this release. It now says "for this site", so people allow pop-ups for forecaster.spertsuite.com only rather than for every site. It also matches the SPERT® AHP and CFD apps, which ask to "allow popups for this site and try again".
- Clicking a sign-in button twice no longer takes you away from the page. Before, a second click while the first sign-in window was still opening made Firebase cancel the first attempt, which it reports as auth/cancelled-popup-request. auth.ts treated that cancellation like a blocked window and started the same full-page sign-in. The page left for Google's sign-in page and came back signed out. Now the cancelled first attempt is silent, as sign-in-errors.ts already intended, and the second attempt carries on as normal.
- Forecaster no longer looks for a full-page sign-in result when it starts. The checkRedirectResult call in src/shared/providers/AuthProvider.tsx is removed, because nothing can start a full-page sign-in any more. The comment on frame-src in next.config.ts now names the pop-up sign-in only. The Content Security Policy itself is unchanged, because the pop-up sign-in uses the same Firebase helper frame.
Notes
- Why the full-page sign-in was removed rather than repaired. Making it work would mean serving Firebase's sign-in helper from a spertsuite.com address. That needs new DNS records, new Google and Microsoft sign-in settings, and a change to every SPERT® Suite app that signs in. Signing in with the pop-up window is unaffected by this release.
- What was checked in a browser. The check used the Claude desktop app's built-in browser (Chromium), on a production build of this release (next build, then next start). That build sends the same Content Security Policy as the live site, and the footer read Version 0.50.10. In Settings → Account, the browser was made to refuse every new window the way a pop-up blocker does.
- Browser check, one click: clicking Google tried to open Firebase's sign-in window and showed "Your browser blocked the sign-in window. Allow pop-ups for this site and try again." under the buttons. The page stayed where it was, and nothing was stored for a full-page sign-in.
- Browser check, two quick clicks: this showed the same single message, and the page stayed where it was too. During the two clicks, Firebase logged one internal error to the console ("INTERNAL ASSERTION FAILED: Pending promise was never set"). It comes from Firebase's own handling of the cancelled first attempt, and changes nothing on the page.
- Not checked in the browser: completing a sign-in, which needs a person to sign in on the live site.
- New tests. SignInButtons.popup-errors.test.tsx runs the real auth.ts, sign-in buttons and agreement with only Firebase itself faked. It covers a blocked window for Google and for Microsoft, a blocked window after a first-time agreement, a double-click, and a window the person closes. With the v0.50.9 auth.ts put back, 4 of its 5 cases fail, and so do the same 4 if the blocked-window message is switched off. Tests: 3,309, up from 3,304.
v0.50.9
November 14, 2026Security
- brace-expansion 1.1.15 → 1.1.21, and its three 5.x copies → 5.0.12: fixes 6 advisories. brace-expansion expands file patterns such as src/**/*.{ts,tsx}. ESLint uses the 1.x line, through minimatch 3. The mutation-testing tool Stryker, the TypeScript parser that ESLint uses, and the SonarJS lint rules each have their own 5.x copy, through minimatch 10. Each copy moves only within the major line its parent asks for. Forcing brace-expansion 5 onto ESLint's minimatch 3 with a package override is known to break ESLint ("expand is not a function"), and this release does not do that. ESLint still reports exactly its accepted 9 problems, and Stryker still finds its 3 configured files.
- undici 7.28.0 → 7.29.1: fixes 15 of its 23 advisories. undici is the web client inside jsdom, the simulated browser the tests run in. The other 8 are fixed only in 7.30.1, which reaches the 60-day mark around 2026-12-14 and is planned for a later release.
- fast-uri 3.1.5 → 3.1.8: fixes 6 of its 10 advisories, including all 5 rated high. fast-uri is used by ajv, which Stryker uses to check its own configuration. The other 4 (2 moderate, 2 low) are fixed only in 3.1.9, which reaches the 60-day mark around 2026-12-18.
- js-yaml 4.3.0 → 4.3.2: fixes 2 advisories. js-yaml reads YAML configuration files for ESLint's older-style configuration support. Forecaster's ESLint configuration is a JavaScript file.
- browserslist 4.28.4 → 4.29.0, with its browser data: fixes 2 advisories. browserslist turns a list like "the last two versions of each browser" into specific browser versions. Here it is used by the Babel compiler inside the test runner's React plugin. Its data packages move with it: caniuse-lite 1.0.30001799 → 1.0.30001810, electron-to-chromium 1.5.379 → 1.5.428, node-releases 2.0.50 → 2.0.55 and update-browserslist-db 1.2.3 → 1.3.3. caniuse-lite is also read by Next.js while the app is built. The built stylesheet was compared with v0.50.8's and is byte-identical.
Notes
- What the dependency audit shows (npm audit, counted as distinct advisories): 59 before this release and 28 after, with none critical and no advisory added. The 2 in the packages the app ships or builds with are unchanged since v0.50.8. Both are in @grpc/grpc-js, which Firebase's Firestore library holds at a version without the fix.
- The other 26 are all in testing and checking tools. 21 of them are waiting for their fixed releases to reach 60 days (vite 5, undici 8, fast-uri 4, the Vitest test runner 2, esbuild 1 and zod 1), and are planned for a release around 2026-12-18. The remaining 5 have no fixed release that the packages depending on them accept yet (qs 4, through Stryker, and minimatch 1).
- How it was installed: one command that changes only package-lock.json (npm update brace-expansion browserslist js-yaml fast-uri undici --package-lock-only --ignore-scripts), limited to versions published at least 60 days earlier (--before). It moved 12 lockfile entries, the same 12 measured beforehand in a separate copy of the project. Every one of the 10 distinct new versions was published before the cutoff. package.json and the lockfile's own top-level entry are unchanged apart from the version number. npm ci then installed exactly the lockfile: 0 of 883 entries differ.
- Checked beyond the release gate, because these tools are the ones that moved. npm run lint reports the accepted 9 problems, all sonarjs/cognitive-complexity, and npm run cc measures a file normally (parseChangelog at 22). npx stryker run --dryRunOnly found its 3 configured files out of 477, prepared 717 mutants, and passed its 362 tests.
- No source code changed apart from the version number. Tests: 3,304, unchanged.
v0.50.8
November 14, 2026Security
- Next.js 16.2.9 → 16.4.1: fixes 20 Next.js advisories, 5 of them critical. Next.js is the framework every page of Forecaster is built and served with (dependencies.next in package.json, pinned exactly). Version 16.2.9 was affected by 20 published advisories: 5 critical, 6 high, 8 moderate and 1 low. The five critical ones are remote code execution in the Image Optimization API when SVG or AVIF files are used, in use cache functions that return typed arrays, in next/og image responses, and on servers hosted on Windows. 16.4.1 fixes all 20. No 16.3 release can: five of the 20 are fixed only in 16.3.8 or later, and three only after 16.4.0. Forecaster does not use the features these advisories describe. It has no server actions, no middleware or proxy, no use cache functions, no next/og images, and no next/image images or image settings, and it runs on Vercel's Linux servers, not Windows. 16.4.1 was published on 2026-10-14, so it has not yet cleared the SPERT® Suite's 60-day age rule for new dependency versions; that rule lets through a security fix for a package the app ships with, and this is one.
- sharp 0.34.5 → 0.35.5, the image library Next.js installs with itself. Next.js uses sharp only for its own image optimizer, which Forecaster does not use, and Next.js 16.4.1 requires the newer release. 0.35.5 fixes sharp's three advisories, which come from the image libraries it bundles (libvips, libheif and librsvg). It is taken under the same exception to the 60-day rule.
- PostCSS 8.5.16 → 8.5.23, a build tool: the override is now an exact version. PostCSS processes the app's stylesheet while the app is being built and is not part of what reaches the browser. Since v0.35.13 the overrides.postcss entry in package.json was the range ^8.5.10, which had settled on 8.5.16. That release is affected by two advisories that let a stylesheet's sourceMappingURL comment read .map files from elsewhere on the build machine. The override is now exactly 8.5.23, the release that fixes both and the one Next.js 16.3 and later pin for themselves. It is an exact version, not ^8.5.23, because a range would let a fresh install pick up 8.5.29 to 8.5.33, which are newer than the 60-day rule allows. The override is still needed after the Next.js upgrade: without it, Next.js 16.4.1 would get its own copy of 8.5.23 and leave the copy everything else uses at 8.5.16.
- Four more packages move within their existing ranges, each fixing advisories. nanoid 3.3.15 → 3.3.19 (two advisories; PostCSS 8.5.23 requires at least 3.3.16), baseline-browser-mapping 2.10.40 → 2.11.23 (one advisory) and source-map-js 1.2.1 → 1.2.2 (one advisory) are used only while the app is being built. protobufjs 7.6.4 → 7.6.6 (one advisory) comes with Firebase's Firestore library. All except source-map-js 1.2.2 are older than 60 days. source-map-js has no older release that fixes its advisory, so it too is taken under the security exception.
Changed
- radix-ui is pinned to exactly 1.4.3. radix-ui provides the app's dialogs, popovers and other interface building blocks. package.json listed it as ^1.4.3, which let a fresh install choose 1.7.0, 1.8.0 or 1.8.1, all newer than the 60-day rule allows. It is now exactly 1.4.3, the version the app already used, so nothing installed changes. Moving to a newer release is left for a release of its own, checked in the browser.
Notes
- What the dependency audit shows (npm audit, counted as distinct advisories): before this release, 89 across every package, 32 of them in the packages the app ships or builds with. After it, 59 and 2, with none critical, and no advisory added. The 2 left on the shipped side are in @grpc/grpc-js, which Firebase's Firestore library holds at 1.9.x. Every Firestore release so far does that, and the fixes are only in 1.13.6 and later. Both concern a gRPC server, and Forecaster runs none. The other 57 are in the tools used to test and build the app, and are planned for following releases.
- The five critical Next.js advisories are GHSA-2464-fhr4-w9xw (SVG), GHSA-2xp9-vwfh-vxw4 (AVIF), GHSA-673q-mjm6-r5xr (use cache), GHSA-vcvr-r3jv-pc5j (next/og) and GHSA-p293-qw3h-jr36 (Windows).
- How it was installed: in four steps, each changing only package-lock.json (--package-lock-only --ignore-scripts). Steps other than Next.js and source-map-js were limited to versions at least 60 days old (--before); those two were limited to versions published by 2026-10-14. The lockfile was compared entry by entry after every step against a set measured beforehand in a separate copy of the project: 2, 2, 39 and 1 entries, 44 in all, and the same 44. npm ci then installed exactly the lockfile: 0 of 883 entries differ, and the 128 not installed are optional builds for other operating systems (121) or WebAssembly fallbacks (7).
- Measured on a production build (next build, then next start): the home page and /changelog carry the Content Security Policy and the other six security headers set in next.config.ts, a script file carries the Content Security Policy too, and the Content Security Policy is byte-for-byte the one forecaster.spertsuite.com sends today (v0.50.7), as are the other six. The built stylesheet differs from the live site's in three ways, none of which change what you see: the generated class names for the Geist fonts are shorter in Next.js 16.4, and the page uses the same new names; rotate-0 (used once, by the Forecast Results arrow) is written as rotate: 0deg instead of rotate: none; and rounded-full is written with a radius of 2147483647px instead of 3.4 × 10³⁸ px, which rounds the corners fully either way.
- Seen in a browser: the Claude desktop app's built-in browser (Chromium), on a development build of this release, in Local mode. The footer read Version 0.50.8, and the page reported Next.js 16.4.1. All five tabs opened with their content. The sample project loaded, and its forecast ran: "at least an 80% chance" of finishing the 460 story points "by Sprint 22 (May 28, 2027)". The Burn-Up and Cumulative Probability Distribution charts drew their lines. Copy chart as image made a PNG of the Burn-Up chart (188,581 bytes), and Generate Report built a report with three pictures (Forecast Results, Burn-Up Chart and CDF Chart) and the footer "Generated by SPERT® Forecaster v0.50.8". The pane was hidden and was driven from a script, so the browser did not let either finish. It refused to put the image on the clipboard, and it blocked the report's new tab as a pop-up. Forecaster showed its own message each time ("Failed to copy image to clipboard", "Pop-up blocked. Please allow pop-ups for this site."). No errors from the app in the console.
- Not seen: signing in with Google or Microsoft, and saving to the cloud. The Content Security Policy that governs them applies only on the live site, so they can be checked only after this release is deployed.
- For developers: Next.js 16.3 changed how next build checks types. It now runs the project's own tsc over everything tsconfig.json includes, test files among them (experimental.useTypeScriptCli, on by default). Measured on 16.4.1: a type error planted in a *.test.ts file failed next build. The release gate's type-check step was labelled "next build skips them" in shipgate.config.json, which is no longer true, and is now labelled "next build also checks them since Next.js 16.3". The step itself stays, so the gate does not depend on an option Next.js still calls experimental. npm run typecheck and npm run build both pass. Next.js also brings @swc/helpers 0.5.15 → 0.5.23, @emnapi/runtime 1.11.1 → 1.11.3, @next/env and the eight @next/swc-* compilers to 16.4.1, and two new optional sharp builds (@img/sharp-freebsd-wasm32, @img/sharp-webcontainers-wasm32). eslint-config-next stays at 16.2.9 on purpose, to be moved to 16.4.1 once that clears the 60-day rule on 2026-12-13; lint still reports the 9 accepted problems.
- No source code changed apart from the version number. Tests: 3,304, unchanged.
v0.50.7
November 11, 2026Fixed
- Forecast, Subjective mode: the estimate is used, not a Velocity or Variability override typed in History mode. In History mode the Forecast tab lets you type your own Velocity and Variability over the values calculated from your sprints, and a Reset overrides link under Variability clears them. Those overrides stayed in force after a switch to Subjective mode and won over the estimate: whatever you typed in Estimated Velocity was ignored, the greyed-out Velocity and Variability fields showed the overrides, and the forecast ran on them. Reset overrides is offered in History mode only, so there was no way to clear them from Subjective mode. Now Subjective mode uses only its own inputs: Velocity is your estimate (or, until you type one, the mean of your included sprints, shown as "Calc:"), and Variability is that velocity times the predictability you picked under "How predictable is the team?" (Somewhat variable, 35%, by default), as the Quick Reference Guide describes. The overrides are kept while the app is open, and apply again when you switch back to History mode, as the Adjust link's volatility multiplier always has. This also covers a project the app put in History mode for you: if excluding sprints takes it below 5 included sprints, it moves to Subjective mode, and the overrides stop applying there too. Connect AI's Read mode, which shares a copy of the open project with your AI assistant, now reports a Velocity or Variability override only when one set the forecast's values, so in Subjective mode it reports none.
- Forecast: five or more sprints with the same velocity start in Subjective mode, not in History mode at a Variability of 0. When you have not picked a mode, the Forecast tab starts in History mode once a project has 5 or more included sprints. It did so even when every one of those sprints had the same velocity, giving a Variability of 0: every trial drew the same velocity, every percentile gave the same date, and the History button showed as selected but greyed out, with the tooltip "Sprints have identical velocity — use Subjective mode to express uncertainty". Now such a project starts in Subjective mode, the same rule the History button already applied, with Velocity from the sprints' mean and Variability from the default predictability (5 sprints of 20 points give a Velocity of 20.0 and a Variability of 7.0). Once the velocities differ, it starts in History mode again. A mode you picked yourself is kept as it is.
- Settings → Simulation: the Auto-recalculate help text says what the setting does. The text under the Auto-recalculate checkbox read "Automatically re-run the forecast when inputs change. Takes effect after the first manual run." The second sentence was not true: with Auto-recalculate on (the default), the Forecast tab runs a forecast by itself as soon as a project has a backlog, a velocity, a sprint cadence and a first sprint start date, the first time included. Forecast results are not kept between sessions, so this also happens after every reload. The text now reads "Runs the forecast by itself as soon as a project has what it needs, and again whenever an input changes." The behaviour is unchanged, and the Quick Reference Guide (v0.50.2, Revision A) already describes it this way.
- Connect AI: the warning after a failed Disconnect no longer says you signed out. When Forecaster cannot reach the server to end a Connect AI session (for example, you are offline), an amber banner at the top of the app says "Your AI assistant may still be connected." and keeps retrying. Its explanation began "Signing out could not reach the server to end your Connect AI session.", but a failed Disconnect in the Connect AI panel shows the same banner, when nobody has signed out. It now begins "Forecaster could not reach the server to end your Connect AI session.", which is true after either. The browser keeps only which session still needs ending, not how it was ended, and the banner can come back on a later visit, so it names neither. The message written to the browser's developer console for the same failure changed in the same way, from "Sign-out could not reach the server" to "Could not reach the server".
- Projects, cloud mode: the Edit Project dialog closes when its project leaves your list. If a project you had open in the Edit Project dialog was unshared from you, or deleted on another device, the dialog stayed open and editable, and Update Project closed it as if it had saved, though nothing was saved and nothing said so. Now the dialog closes the moment the project leaves your list, nothing in it is saved, and a message says why: "\"Name\" is no longer in your list, so what you were typing wasn't saved. It may have been unshared from you or deleted." That is the message Sprint History's sprint form and Forecast's milestone and productivity adjustment forms have shown in the same case since v0.47.0. If you had the dialog open read only (a project shared with you as a viewer), the message leaves out what you were typing: "\"Name\" is no longer in your list. It may have been unshared from you or deleted." The focus goes to New Project, as it did when such a dialog was closed by hand. Local mode is not affected: there, nothing outside the open tab changes the list.
Notes
- Each problem was first shown on v0.50.6. A test failed for each of the Subjective-mode overrides, the starting mode, the Disconnect warning and the Edit Project dialog: in Subjective mode with an estimate of 20 and overrides of 50 and 2, the forecast used 50 and 2; five sprints of 20 started in History mode at a Variability of 0; a Disconnect that could not reach the server left a banner beginning "Signing out"; and with a project gone from the list, its Edit Project dialog stayed open and editable, and Update Project closed it with no message. The Auto-recalculate text was shown false by an existing test ("LOOP TRIPWIRE" in useForecastState.staleness.test.ts), which runs exactly one forecast with no run recorded and Run never pressed.
- Seen in a browser: the Claude desktop app's built-in browser (Chromium), on a development build of this release, in Local mode, with the sample project. The Auto-recalculate text reads as above. The Forecast tab showed the sample's forecast without Run Forecast being pressed. With overrides of 99 and 3 typed in History mode, a switch to Subjective mode showed Velocity 42.5 and Variability 14.9 (the sprints' mean and 35% of it), then 30.0 and 10.5 after an estimate of 30, and a switch back to History mode brought back 99 and 3 with Reset overrides. A project with five sprints of 20 opened in Subjective mode with Velocity 20.0 and Variability 7.0, and History greyed out and not selected. No errors in the console.
- Not seen in a browser: the Edit Project dialog closing, which needs a cloud project to leave the list, and the Connect AI banner, which needs a failed call to the server. Tests cover both.
- For developers: resolveForecastMode(stored, includedSprintCount, calculatedStdDev) in src/shared/lib/forecast-derivations.ts now starts in History mode only where historyModeAvailable(count, sd) holds (2 or more included sprints and a standard deviation above 0). The History button (ForecastModeToggle) calls the same predicate. useForecastState used to keep its own copy of the sprint-count rule; it now reads resolvedMode from useForecastInputs, so the mode on screen, the mode a run records in its runConfig, and the mode in the Connect AI snapshot are one value. deriveForecastInputs reads velocityMean/velocityStdDev in History mode only, and build-snapshot.ts sets velocityMeanOverridden/velocityStdDevOverridden only in History mode. useProjectDialog closes an Edit dialog whose project left the list during render, as useProjectBoundForm does for the forms, writes nothing if Update is pressed in that moment, and says why from the close's cleanup; the read-only text is PROJECT_LEFT_VIEW_TEXT (T15b) in access-texts.ts.
- 42 new tests in four new files (forecast-derivations.mode.test.ts, useForecastState.mode.test.ts, ForecastModeToggle.test.tsx, ProjectsTab.edit-left.test.tsx) and in SettingsTab.test.tsx, build-snapshot.test.ts and access-texts.test.ts. Two existing tests now check more: the banner's first sentence word for word, and the console message. Four test files of useForecastState had made a project with no sprints runnable by storing Velocity and Variability overrides, which Subjective mode no longer reads; they now use an estimate of 20 with a predictability of 20%, which gives the same mode, Velocity (20) and Variability (4) as before. Two tests about overrides in forecast-staleness.test.ts now pick History mode, and the dashboard test of focus after a tile leaves no longer presses Cancel, since the dialog closes by itself. Tests: 3,304, up from 3,262.
- Each fix was checked by breaking it on purpose, and each of these 19 changes made at least one new test fail: the old help text; the banner, or the console message, saying sign-out again; the Velocity override, or the Variability override alone, winning in Subjective mode again; starting in History mode whatever the standard deviation; a picked History mode no longer kept; a standard deviation of 0 counted as varied; History allowed from 1 sprint; useForecastState keeping its own rule; the History button always enabled; either Connect AI override flag read from the stored value alone; the Edit dialog not closing; no message; the editable message for a read-only dialog; a message even when the project is still listed; Update writing in the moment the project leaves; and a changed read-only message. A change to a comment alone left every test passing.
v0.50.6
November 10, 2026Fixed
- Cloud Storage dialog, signed out: Escape in the sign-in agreement closes only the agreement. When you are signed out, the Cloud Storage dialog (opened from Sign in, at the right of the header) offers Sign in with Google and Sign in with Microsoft. The first time you press either in a browser, an agreement titled "Enable Cloud Storage" opens over the dialog and asks you to accept the Terms of Service and Privacy Policy. Pressing Escape there closed the agreement and the Cloud Storage dialog together, and the focus went to the header's Sign in button, so to choose the other provider you had to open the dialog again. Now one Escape closes only the agreement, and the focus goes back to the sign-in button that opened it, as the agreement's Cancel button already did. A second Escape closes the Cloud Storage dialog, and the focus goes to the header's Sign in button. Escape and Cancel still sign nobody in; Enable Cloud Storage still goes on to sign in.
Notes
- Measured in Google Chrome on macOS, headless, on production builds of v0.50.5 and of this release, both built with the app's Firebase settings so that the sign-in buttons show. The browser was signed out, in Local mode, and could reach nothing beyond this computer, so nothing could sign in. With v0.50.5, one Escape in the agreement closed both dialogs and the focus ended on the header's Sign in button, whether the agreement was opened with the mouse or from the keyboard. That is what forecaster.spertsuite.com did when checked earlier the same day. With this release, one Escape left the Cloud Storage dialog open with the focus on Sign in with Google, and a second Escape closed it with the focus on the header's Sign in button, opened either way. Both builds measured the same for the agreement's Cancel, which closes only the agreement and returns the focus to Sign in with Google, and for Escape in the Cloud Storage dialog with no agreement open, which closes it and returns the focus to the header. Neither build logged an error or a warning, and afterwards the browser was still signed out, in Local mode, with the terms not accepted.
- Why the dialog closed too: the Cloud Storage dialog and the agreement each listen for Escape, and the dialog's listener stood aside only for its own two confirmations (switching to local storage, and the warning before signing out). The agreement belongs to the sign-in buttons inside the dialog, so the dialog could not tell it was open.
- Not seen in a browser: Safari and Firefox. The two listeners can run in either order. In Chrome, v0.50.5 ran the dialog's first, and this release runs the agreement's first; tests cover both orders with this release.
- For developers: SignInButtons takes an optional onAgreementOpenChange, which it calls with true when the agreement (ConsentModal) appears and with false when it leaves, by any way out. That includes the sign-in buttons themselves leaving the page, as when a sign-in lands from another tab. CloudStorageModal passes its state setter, and its Escape listener stands aside while the agreement is open, reading the flag from the render, as it has for its confirmations since v0.50.2. The report comes from a layout effect, so the dialog knows before the browser handles another key; with a plain effect, the update waits for a later task. Making the dialog skip an Escape that the agreement has already handled (defaultPrevented) would not have been enough. The dialog's listener runs first on the path that failed, because the dialog opens before the agreement does, and at that point nothing has handled the Escape yet. Settings and the invitation banner show the same sign-in buttons and are unchanged.
- 10 new tests in src/features/auth/components/CloudStorageModal.agreement-escape.test.tsx, run through the real sign-in buttons and agreement. They cover both orders in which the two listeners can run. Each test checks its order before pressing Escape, by the file that registered each listener. Before the fix, 7 of the 10 failed; the other 3 check what already worked and passed.
- The fix was checked by breaking it on purpose, and each of these made at least one new test fail: reverting it; the dialog ignoring the agreement; the dialog not asking to be told; never reporting the agreement closed; still reporting it open after a sign-in; reporting it open with no agreement shown; and reporting from a plain effect instead of a layout effect. Three changes that test the tests did too: the agreement not marking its Escape as handled, focus never being given back, and a test no longer setting its listener order. A change to a comment alone left every test passing. Each of the 10 new tests failed under at least one of these changes. The other fix, where the dialog skips an Escape already handled, was tried the same way and left two tests failing: the one where the dialog's listener runs first, and the one where Escape is pressed right after the agreement opens.
v0.50.5
November 10, 2026Fixed
- Connect AI, light theme: the dialogs' explanatory text is grey, not near black. Seven places in the Connect AI dialogs were written to use the grey the app uses for notes and hints, but named a grey that does not exist, so since v0.37.0 they have shown in the colour of the text around them instead. In the consent dialog that Connect AI opens first, they are the line under Read Mode ("Upload a copy of the currently open project…") and the four points below it, which were #333 on white (12.6 to 1). In the Connect AI panel, they are the "Pairing code" label, "Generating…" while a code is requested, "Single-use, expires in 15 minutes." under the code, the line under Read Mode, and the close button (×) in the corner. These were near-black #0a0a0a (19.8 to 1), darker than the panel's main text, such as "Waiting for an AI assistant to connect." (#333). All seven are now #666 on white, 5.7 to 1, which is above the 4.5 to 1 that text needs, so the main text stands out from them as intended. The close button now gets darker when you point at it (#666 to #333); before, it got lighter (#0a0a0a to #333).
- Connect AI, dark theme: "Generating…" is the same grey as the text around it. In the dark theme, six of the seven already had a grey of their own (#99a1af on #1e2939, 5.6 to 1), and they do not change. "Generating…" had none, so it showed in the dark theme's main text colour and was the brightest text in the panel (#fafafa, 14.1 to 1). It is now #99a1af (5.6 to 1), like the "Pairing code" label above it.
Notes
- Measured in Google Chrome on macOS, headless, in Local mode, on production builds of v0.50.4 and of this release, at 1280 and 375 pixels wide, with the same results at both widths. Four states were measured: the consent dialog, and the Connect AI panel waiting for an assistant, showing "Generating…", and showing a code. Every rendered element's colours were compared between the two builds. In the light theme the only colours that changed are those of the seven places above, including the consent dialog's four points and the close button's icon, which take their colour from them. In the dark theme the only one that changed is "Generating…". The close button was also measured while pointed at, and is unchanged in both themes (#333, and #f3f4f6 in the dark theme).
- How the panel was reached: it normally opens only after a session with the AI service has started, which needs the network, and the measurement used none. So the panel was opened on the page without a session, and its "Generating…" and code states were set the same way; no code was requested. The consent dialog was opened by clicking Connect AI and closed with Cancel.
- Not seen in a browser: the panel with an assistant connected, and with Read Mode on, when the line under Read Mode has other words. The line uses the same classes in both cases.
- For developers: the seven classes were text-spert-muted, which no colour in globals.css defines, so Tailwind wrote no rule for them. They are now text-spert-text-muted, and "Generating…" also has dark:text-gray-400, like the other six. The app's compiled CSS is byte-identical to v0.50.4's, because both classes were already in use elsewhere. SPERT® Story Map and SPERT® Scheduler use text-gray-500 dark:text-gray-400 for the same text; Forecaster keeps its own grey. A new test in src/app/theme-tokens.test.ts finds every spert-* colour named by a class or a var(--color-spert-…) in the .ts and .tsx files under src, compiles each with the app's Tailwind, and fails if one has no rule. The seven were the only such names in the app.
- The new test was checked by breaking things on purpose, and each of these made it fail: putting the misspelt class back on "Generating…"; misspelling a colour only in a pointed-at (hover:) class; misspelling one in a border class with an opacity; making the test read no colour names, or no files; making its compile check never report one, or look only for the name rather than a rule; reading only text- classes; missing a colour read through a CSS variable; and reading only the first class on a line. Two changes leave it passing, as they must: skipping test files, because no test file misspells a colour; and deleting the final check itself, which only a misspelt colour in the app can fail, as the first three breakages show.
v0.50.4
November 10, 2026Fixed
- Delete Sprint (Sprint History tab) moves the focus to the next sprint's Delete. v0.50.2 put the focus back on the button that opened a confirmation dialog, but when you confirmed a delete that button went with its row, and the focus still fell to the page. Only the most recent sprint can be deleted, so the focus now moves to the Delete of the sprint that has just become the most recent (it was greyed out until then), whichever way the list is sorted. Pressing Enter there starts the next delete, whose confirmation still opens on Cancel, so holding Enter never deletes anything. With no sprints left, the focus moves to Add Sprint. Cancel, Escape and a click outside the dialog return to the same Delete, as in v0.50.2.
- Delete Milestone and Delete Adjustment (Forecast tab) move the focus to the neighbouring row's Delete. Before, the focus fell to the page after the delete. Now it moves to the Delete of the row that took the deleted row's place, or of the row above when the last row was deleted, in the order the list shows (adjustments are listed by start date, not in the order they were added). With the list empty it moves to + Add Milestone or + Add Adjustment, and when the add form is open (which hides that button), to the panel's heading button. A delete that is refused keeps its row, and the focus goes back to its Delete.
- "Revoke invitation?" (a project's sharing panel) moves the focus to the next invitation's Revoke. After a revoke that works, the focus moves to the Revoke of the pending invitation that took its place, or of the one above, or, with none left, to the box for invite email addresses. A revoke that fails keeps its row, and the focus goes back to its Revoke.
- The import preview on the Projects tab hands the focus to the toolbar's Import button when it goes. The preview leaves the page when its import is applied ("Replace all data" confirmed, or Apply import) or when it is cancelled (its Cancel button, or Escape), and the focus used to go with it. Now it moves to Import, the button that starts an import, or to New Project while Import is unavailable (during the first cloud load). If you had already moved the focus somewhere else on the page, it stays there. Cancelling the "Replace all data" confirmation still returns to the preview's "Replace all data" button, as in v0.50.2, and the import keeps waiting.
- The Cloud Storage dialog takes the focus when it opens and gives it back when it closes. It opens from the button at the right of the header, which reads "Local only" when you are signed out and shows your name when you are signed in. Before, opening it left the focus on the header button behind it, so Tab moved through the page behind the dialog, and closing it with its × button or a click outside it left the focus on the page. Now opening it moves the focus to the dialog itself, so a screen reader reads its title, "Cloud Storage", and Tab reaches its controls. Closing it in any way puts the focus back on the header button. Signing out from inside it replaces that button with a different one ("Local only"), and the focus goes to the new one.
- The Connect AI panel and the "Connect an AI assistant" agreement do the same. Opening either moves the focus to the dialog. Closing the panel (Close, Done, Disconnect, Escape or a click outside it) or the agreement (Cancel or Escape) puts the focus on the Connect AI button in the header; after Connect in the agreement, the panel that opens takes the focus, and closing it returns to that button too. The agreement also closes with Escape now, as the app's other dialogs do; before, Escape did nothing in it.
- The keyboard shortcuts help (?) gives the focus back when it closes. It already took the focus when it opened, but closing it with Escape, its × button or a click outside it left the focus on the page. Now the focus goes back to what had it when you pressed ?.
- The agreement shown before a first sign-in gives the focus back. It opens on Cancel, as before; closing it, by Cancel, Escape or Enable Cloud Storage, now puts the focus back on the Sign in with Google or Sign in with Microsoft button that opened it instead of on the page.
- Two form fields gained the attributes browsers expect. The Read Mode checkbox in the Connect AI panel and in the agreement now has a name (aiReadMode), and the invite email box in the sharing panel has autoComplete="off", like the app's other email fields for someone else's address.
Notes
- Measured in Google Chrome on macOS on production builds of v0.50.2 and of this version, in local mode, with real key presses and clicks. With v0.50.2 the focus fell to the page in every one of these: "Replace all data" confirmed by mouse and from the keyboard, Apply import, the preview's Cancel, Escape over the preview, Delete Sprint confirmed by mouse, from the keyboard and with the list sorted oldest first, Delete Milestone (a middle row, the last row, the first row from the keyboard, and the only row with the add form open), Delete Adjustment (middle, last and only), the Cloud Storage dialog's × button and a click outside it, and the keyboard shortcuts help closed by Escape and by a click outside it. With this version each one landed where this entry says. Escape with the focus on Load Sample still left it there; Delete Project, which has moved the focus to the next tile since v0.49.0, measured the same before and after. Neither build logged an error or a warning.
- Not seen in a browser, because they need Cloud mode, a signed-in account or the Connect AI service: "Revoke invitation?", the Connect AI panel and agreement, the agreement before a first sign-in, and the Cloud Storage dialog when signed in (including signing out from it). Tests cover each of these.
- Safari and Firefox on macOS do not focus a button when you click it with the mouse, so a dialog opened with a click there has nothing to give the focus back to. Where the focus now goes to a named button (a row's Delete, the header buttons), tests show it lands there after a mouse click too; this was not checked in those browsers.
- The browser check found one thing the tests had not: closing the keyboard shortcuts help with a click outside it put the focus back and then lost it, because the browser's own response to the click, which moves the focus to whatever was clicked, ran afterwards. The help now marks that click as handled.
- For developers: the open-and-close focus rule of v0.50.2's ConfirmDialog is now one hook, useDialogFocus (src/shared/hooks/useDialogFocus.ts), used by ConfirmDialog, CloudStorageModal, ConnectAiPanel, ConnectAiConsentModal, KeyboardShortcutsHelp and ConsentModal. useRowRemovalFocus and src/shared/lib/row-focus.ts pick the focus after a row is removed, from a data-row-key attribute on each row's control (rowKey on TrashIconButton and ListRowActions). useImportFocusReturn hands the focus to Import when the preview goes; it is not returnFocusTo, because the "Replace all data" confirmation closes while the import is still being applied and Import is still disabled. CloudStorageModal, ConnectAiPanel and ConnectAiConsentModal take a returnFocusTo, and UserMenu a buttonRef that names whichever of its three buttons is shown.
- 72 new tests. The code was checked by breaking it on purpose: each of 58 such changes made at least one test fail, and a change to a comment alone left every test passing. 70 of the 72 new tests failed under at least one of those changes; the other 2 are controls, which pass whether or not the fix is there.
v0.50.3
November 10, 2026Fixed
- Dark theme: text, dividers and small surfaces that kept their light-theme colours now use their dark ones. About a hundred places in the app (103 in the code) take their colour from the app's own greys and tints. Each of those colours has always had a dark-theme value, but none of those values ever applied, so the dark theme drew the light theme's colour on its dark background. Most of it was text too dark to read comfortably. The About tab's headings were #333 on #101828 (a contrast of 1.4 to 1, close to invisible) and its paragraphs #555 (2.4 to 1). The field labels on the Sprint History and Forecast tabs and in the Add Sprint, Add Milestone and Add Adjustment forms were #555 on dark grey (2.0 to 2.4 to 1). The smaller grey notes were #666 (2.5 to 3.1 to 1): the unit after Backlog, "Mode:", "(N story points remaining)" in the forecast results, the chart toolbars' "Dist:", "Text:" and "Milestone:", the numbers in the milestone table and the reasons in the adjustment table, the "i" help buttons, and the lines shown when a list is empty. The Changelog page's section headings ("Added", "Fixed", "Notes") were #333 on near-black (1.6 to 1). Headings now use #e5e5e5 (14.1 to 1 or higher), labels and body text #ccc (9.1 to 11.2 to 1), and the notes #a3a3a3 (5.6 to 7.1 to 1, apart from one hint described under Notes). The lines between table rows, between changelog entries and under the milestone and adjustment table headings were light grey (#e5e7eb) and are now dark grey (#333). The milestone and adjustment counts beside each panel's title sit on a dark grey chip instead of a light one (5.0 to 1, was 4.8). In the Add Milestone and Add Adjustment forms, Cancel is #737373 instead of #999 (white text at 4.7 to 1, was 2.9), and Add, while it cannot be clicked yet, is #4d4d4d instead of #ccc. One thing gets dimmer: the grip at the start of each row in the Forecast tab's Milestones table, whose colour's dark value is darker than its light one (#999 to #737373 on #171717, 6.3 to 3.8 to 1). That is still above the 3 to 1 an icon needs, and above the light theme's own grip (#999 on white, 2.9 to 1). v0.48.1 had fixed the tab bar's grey text on its own, with colours of its own; this release fixes the cause, and the tab bar keeps those colours. The Projects tab's tiles and toolbar, the New Project dialog, the Settings tab and the tab bar measured no change, because they already set their own dark colours.
- Dark theme: the productivity-adjustment badges are readable. In the Productivity Adjustments table on the Forecast tab, each adjustment's factor shows as a coloured badge: red at 0%, amber below 50%, blue below 100% and green at 100%. In the dark theme they were the light theme's pale chips with the light theme's text. With the fix above, their backgrounds turn dark, so the text takes a lighter colour in the dark theme too: 0% is #ff6467 (5.1 to 1, was 3.9), 30% #ffb900 (6.5, was 2.9), 70% #50a2ff (5.2, was 4.3) and 100% #00d492 (6.2, was 3.2). Without the new text colours, the 0% and 70% badges would have been harder to read than before (3.1 and 2.6 to 1).
- Dark theme: the welcome screen's Load Sample Project button no longer shows as a bluer box. On the Projects tab with no projects, the welcome panel is a neutral dark grey (#171717), but its Load Sample Project button had the page's slightly blue dark grey (#101828) as its background. In the dark theme the button now has no background of its own and shows the panel's colour; its outline and text are unchanged (14.5 to 1, was 14.4). The Load Sample button on the Projects toolbar keeps its background, which matches the page behind it.
Notes
- Light theme: nothing changes. Measured in Google Chrome on macOS, headless, on a production build, at 1280 and 375 pixels wide, on 17 screens and states: the welcome screen; the New Project dialog; the Projects tab with the sample project; Sprint History with both panels open; the Add Sprint form; the Forecast tab with all eight panels open and a forecast run; the Add Milestone and Add Adjustment forms; Subjective mode; Settings; About; the keyboard-shortcuts dialog; the Changelog page; a project with all four kinds of adjustment badge and ten milestones; the same with a milestone name pointed at; and an empty project's Sprint History and Forecast tabs. Every element's colours measured the same before and after.
- Dark theme: measured on the same 17 screens and states at both widths, with the same results at each width. Apart from the badges' text and the welcome button, every colour that changed comes from one of the app's own greys and tints, either set on the element or inherited from the element around it. All 28 combinations of text colour and background that changed are easier to read than before, and 25 of them reach 4.5 to 1. Apart from the milestone grip, every other colour that changed without being text is a background or a divider line taking its dark colour. Three places do not, though each improves: the line under the Add Milestone form's backlog field, the scale under the Add Adjustment form's factor slider ("0% (no work)", "50% (half velocity)" and so on), both #8b8b8b on #1e2939 (4.3 to 1, was 4.1), and "(if backlog tends to grow each sprint)" beside the Forecast tab's scope-growth checkbox, #a3a3a3 on #364153 (4.1 to 1, was 1.8).
- Not seen in a browser: the close button and "(you)" in a project's sharing panel (Cloud mode only), the arrow in an import's renamed-project line, the message shown when a tab fails to load, and the scope-change figure beside that checkbox when a project's average scope change is exactly zero. They use the same grey as the notes measured above; computed against their backgrounds, the first three come to 5.5 to 7.0 to 1 and the last to 4.1 to 1.
- Also not seen: the same welcome panel shown on the Forecast tab when there are no projects ("You'll need a project to forecast"). It uses the same button.
- For developers: src/app/globals.css declared the app's spert-* colours inside Tailwind's @theme inline, which writes each colour's value into its class (.text-spert-text-muted{color:#666}), so the .dark block's overrides of the same variables could never reach them. They are now in a plain @theme, where each class reads var(--color-spert-…); no colour's value changed. The compiled CSS was compared before and after. The only changes are: the classes now reading the variables (the four with an opacity, such as bg-spert-blue/10, also keep a plain colour for browsers without color-mix()); the variables' declarations; and one new class for the welcome button. A new test, src/app/theme-tokens.test.ts, compiles globals.css with the app's own Tailwind and fails if a colour the .dark rule overrides has a utility that does not read that colour's variable. The tab bar's comment no longer says these colours are broken.
- The new test was checked by breaking things on purpose, and each of these made it fail: moving the colours back into @theme inline; restoring v0.50.2's globals.css; declaring one colour inline again on a single line; declaring the block @theme static inline; dropping one colour while keeping its dark value; and disabling each of the test's own checks in turn. Reformatting the .dark rule, writing it as html.dark, or saving the file with Windows line endings left it passing, as it should.
v0.50.2
November 10, 2026Fixed
- Closing a confirmation dialog puts the keyboard focus back on the button that opened it. The app's confirmation dialogs ("Replace all data" on the Projects tab, Delete Sprint on the Sprint History tab, Delete Milestone and Delete Adjustment on the Forecast tab, "Revoke invitation?" in a project's sharing panel, and the "Switch to local storage?" and sign-out warnings in Settings and in the Cloud Storage dialog) open with the focus on Cancel. Before, when one of them closed, by Cancel, by Escape or by a click outside it, the focus fell to the page itself and someone using the keyboard lost their place. With an import waiting on the Projects tab, for example, Escape in "Replace all data" closed the dialog and left the import waiting with no button focused, so pressing Enter again did nothing. Now the focus goes back to the button that opened the dialog, and Enter there opens it again. The Delete Project dialog keeps the rules it has had since v0.49.0: Cancel and Escape return to that tile's Delete, and a delete moves the focus to the next tile's name. When the button that opened a dialog is gone once you confirm (a deleted sprint's or milestone's Delete, or "Replace all data" after the import has been applied), the focus still falls to the page, as before.
- Escape in a confirmation opened over the Cloud Storage dialog closes only the confirmation. In the Cloud Storage dialog (the cloud button in the header), choosing Local while in Cloud mode asks "Switch to local storage?", and while your projects are still loading from the cloud, Sign out asks first too. Before, one Escape in either confirmation closed it and the Cloud Storage dialog behind it together. Now the first Escape closes only the confirmation, switching nothing and not signing you out, and the Cloud Storage dialog stays open; a second Escape closes it, as before.
Notes
- Measured in Google Chrome on macOS on a production build, with real key presses and clicks, before and after the change: "Replace all data" with an import waiting (Escape, Cancel, a click outside it, and from the keyboard Enter, Escape, then Enter again), Delete Sprint and Delete Milestone, each closed by Escape, Cancel and a click outside it, and Delete Project. Before, the first three left the focus on the page in every case; after, it was on the button that opened the dialog in every case, and the import kept waiting. Delete Project measured the same before and after.
- Not seen in a browser, because they need Cloud mode or a signed-in account: the Cloud Storage dialog's confirmations, the same confirmations in Settings, and "Revoke invitation?". Delete Adjustment was not opened either, because the sample project has no adjustment; it uses the same panel as Delete Milestone. Tests cover Escape in each of the Cloud Storage dialog's three confirmations, in both orders in which the two dialogs can receive the key.
- For developers: ConfirmDialog takes an optional returnFocusTo for a caller that needs the focus to go somewhere other than the button that opened it. It is read when the dialog closes, and returning null leaves the focus where it is. No dialog uses it yet. A test of how the app shows the cloud loading panel, which accepted code that never shows it, now matches whole lines of AppShell.tsx.
- New tests cover every way a confirmation closes (Escape, Cancel, its confirm button, a click outside it, and the dialog being removed while open), returnFocusTo, "Replace all data" on the Projects tab, and Escape in the Cloud Storage dialog's confirmations. The code was checked by breaking it on purpose: each of 17 such changes made at least one test fail, and each of the 18 new or changed tests failed under at least one of them.
v0.50.1
November 10, 2026Fixed
- About tab, "How It Works": the first step now says where the sprint cadence is set. The list's first step read "Create a project with your sprint cadence", but a project has not been given its cadence when it is created since v0.5.0: the New Project dialog asks for a Project Name, a Unit of Measure and optional Start and Finish dates, and the Sprint Cadence and First Sprint Start Date fields are on the Sprint History tab. The step now reads "Create a project, then set its sprint cadence on the Sprint History tab", so someone following the list looks for the cadence where it is. The other three steps are unchanged.
Documentation
- ARCHITECTURE.md describes the Projects dashboard. It now lists the dashboard's files (ProjectsTab, ProjectList, ProjectTile, ProjectDialog, ProjectColorControl, ArchiveControls and their hooks); explains the one New Project / Edit Project dialog that replaced the inline form, and why it is rendered once at the tab rather than inside a tile; records where each person's tile colours and archived projects are kept (the projectPrefs map, in spert-settings and in that person's cloud settings document, written there entry by entry); and describes the archive-aware viewed project that Sprint History, Forecast and Connect AI share. Its drag-to-reorder note now says that the order handed to reorderProjects is the full project list, with archived projects that are hidden kept in their own places. It also stops listing two files that no longer exist, MergeImportDialog and merge-import, both removed in v0.30.0. The file is for anyone reading the source and is not shown in the app.
- README.md's feature list mentions the dashboard. A new line says a tile can be given a colour and a finished project archived to take it out of the Sprint History and Forecast lists, that both are each person's own settings and never change a shared project for anyone else, and that exported files carry neither.
v0.50.0
November 10, 2026Added
- Tile color. The row of buttons along the bottom of a tile (the one that appears when you point at the tile, or move into it with the keyboard) now ends with a Tile color button, a small ring in the tile's colour. It opens a small panel titled "Tile color" with six choices: Blue, Teal, Slate, Purple, Pink and No color. The tile takes a light wash of the colour you pick: #e0ebfe, #d9f4f1, #e6e9ec, #f1e4fe or #fce2ef in the light theme and #1e3667, #164255, #27334f, #362c67 or #452a52 in the dark, GanttApp's own washes; No color keeps the plain tile (#f9f9f9, dark #16213e). Picking with the mouse, or with a tap on a touch screen, closes the panel and puts you back on the button. The arrow keys pick as you move between the choices and leave the panel open; Enter or Escape closes it and puts you back on the button; Tab, or a click anywhere else, closes it. Escape in the panel closes only the panel: an import waiting for you to confirm it keeps waiting. The panel opens from the tile's bottom right corner, 6 pixels in from its right edge, as GanttApp's does, stays inside the screen on a 375-pixel phone, and is drawn above the tile below it, so a click on the panel never reaches that tile's buttons. Escape in the panel, the panel over the tile below it, and every way of picking and closing were checked in a browser.
- Archive. A new Archive button sits just before Tile color. Archiving a project takes its tile out of the grid, and a "Show archived (N)" box appears under the heading. It starts unticked each time you open the Projects tab, is not saved, and goes away when nothing is archived. Ticked, it shows the archived tiles in their places: half the colour wash, a dashed border (#ddd, dark #4a5568), the name in grey, an "Archived" label after the name (after "View only" or "Not in cloud" when a project has one), and an Unarchive button that is always shown. When every project is archived and the box is unticked, the tab says All projects are archived. Select "Show archived (N)" to see them. instead of an empty grid; the welcome screen is still only for no projects at all.
- Where the keyboard focus goes. After Archive, focus moves to the next tile's name, or the previous tile's if it was the last, or New Project if no tile is left, skipping tiles that are archived and hidden. With "Show archived" ticked it moves to that tile's Unarchive, and after Unarchive to that tile's Archive. A screen reader is told what happened: Archived "Alpha". Show archived (1) lists it., Archived "Alpha". or Unarchived "Alpha". A delete skips hidden archived tiles in the same way when it moves focus to the next tile.
- A click on an archived tile brings it back. It unarchives the project and opens its Sprint History, with the message Unarchived "Alpha" and opened its sprint history. A click on Unarchive itself only unarchives it.
Changed
- Sprint History and Forecast list only the projects you have not archived. If the project you were looking at is archived, both tabs show the first one that is not; unarchive it and they show it again. With every project archived, both say All projects are archived. Unarchive one on the Projects tab to see it here. With no projects at all, each keeps its own empty screen, as before.
- Connect AI follows the same project. The AI sees the project that Sprint History and Forecast show, archive included. With every project archived the AI button is hidden, as it is when there are no projects; this hides an active session's button too.
- Where your colours and archive are kept. In Local mode they are kept in this browser, with your other settings. In Cloud mode they are kept in your own account's settings, entry by entry, so each person who shares a project chooses their own and a change on one project never rewrites another's. Signed in on two devices, a change made on one shows on the other after a reload: settings are read when the app loads. Signing out, or signing in as a different account, clears them from this browser, as it clears the export name and identifier. Switching from Cloud to Local storage keeps them, so a backup you import after the switch comes back with its colours and archive. Moving your local projects to the cloud takes each project's colour and archive with it, and if that part of the upload fails the switch to Cloud does not happen and your colours stay as they were.
- Imports and exports. Exported files carry neither colour nor archive, and what an import accepts is unchanged. A project that keeps its id through an import (a Story Map Update, or your own file imported again with Replace) keeps the colour and archive it had here; a project new to this browser arrives with neither. When an import replaces a project of the same name from the file, the colour and archive move to the project that replaced it. When an import writes a project you have archived, it stays archived and the import's message says so, for example "Alpha" is archived: Show archived lists it., whether the import came from a file or straight from SPERT® Story Map.
- Clone, Delete, Load Sample and dragging. Clone gives the copy the tile's colour but not its archive. Delete removes the project's colour and archive with it. Load Sample adds an uncoloured project. Dragging tiles while archived ones are hidden keeps each hidden project in its own place in the order.
- Archive, Unarchive and Tile color are offered on every tile, including projects you can only view and projects that are not in the cloud, because they change only your own settings. Delete is unchanged: it stays disabled, with its reason, for anyone who may not delete the project.
Notes
- Checked in Google Chrome on macOS at 1280, 1024, 768 and 375 pixels wide, in both themes, against GanttApp v0.32.1 and the reviewed mock-up, on a standard screen and with Chrome drawing at twice the resolution (as on a Retina screen). The five colour washes, the plain tile, the archived look (apart from the light archived washes named below), the border and shadow when you point at a coloured tile, the Tile color button and its panel, and Archive and Unarchive at rest, pointed at and reached with Tab measure the same as GanttApp's. The panel is 162 pixels tall on a standard screen and 161 on a Retina one, as GanttApp's is. The "Show archived" row is 19.5 pixels tall on a standard screen and 20 on a Retina one, and the all-archived line 18 and 19, as GanttApp's are; these two were measured again at 1280 in the light theme after a fix to their line height made during this release.
- The differences from GanttApp: in the dark theme the panel's background is this app's own dark grey (gray-900) rather than GanttApp's #1a1a2e; in the light theme four of the five archived washes (Blue, Slate, Purple and Pink) are one shade apart in one colour channel, for example #edf2fc against #edf2fb, a rounding of the half-and-half mix; the all-archived message on Sprint History and Forecast uses the tile's grey (#666, dark #a0aec0) where GanttApp's other tabs use a lighter grey; and at 1024 pixels and narrower the tiles are wider, as in v0.49.0. The "Archived" label's place after "View only" or "Not in cloud" was seen only in the mock-up, because those badges need Cloud mode.
- Clicked through in a browser, in the light theme at 1280 pixels (and 375 for the panel's place): picking each colour by mouse, by tap and with the arrow keys, and where focus lands; Enter, Escape, Tab and a click elsewhere; the panel over the tile below it; the bottom row staying shown while the panel is open; Archive and Unarchive with "Show archived" ticked and not, and the box going away; a click on an archived tile; a drag with archived tiles hidden, after which each hidden project was still in its place; a delete next to a hidden tile; the Sprint History and Forecast lists with one project, the viewed project and every project archived; Escape in the panel with an import waiting; a Story Map Update into an archived project; the 3 key with the panel open (the tab stays); and a reload keeping colours and archive.
- Not seen in a browser, because they need Cloud mode: the per-entry write to your account's settings, another device's change after a reload, the clears on sign-out and on an account change, the switch from Cloud to Local keeping colours, the upload of colours with your projects and its failure keeping you in Local mode, Archive and Tile color on view-only and not-in-cloud projects, and the Connect AI button. Tests cover each of them, against a stand-in for the cloud database that writes only the fields it is told to, as the real one does.
- New tests cover the colour and archive rules themselves, every way the store changes them and what each change sends to the cloud, the cloud write and upload against the stand-in database, the clears and the switch to Local, imports by file and by Story Map transfer, the Projects tab (the box, the all-archived line, focus for every position of hidden tiles, names holding quotes and backslashes, a click on an archived tile, every role), the panel, the Sprint History and Forecast lists, and Connect AI. The new code was also checked by breaking it on purpose: each of 72 such changes made at least one test fail.
v0.49.0
November 10, 2026Changed
- Projects are tiles in a grid. Until now each project was a full-width row in a list, with its summary on one line and its icons always showing at the right. Each project is now a tile, and the tiles sit side by side: three to a row in a window 1280 or 1024 pixels wide, two at 768, one on a 375-pixel phone screen. The number of columns follows the width the grid has, not the window: one column, two from 560 pixels, three from 860, with 16 pixels between tiles. A tile is a light grey (#f9f9f9) with a 2-pixel #eee border and 8-pixel corners in the light theme, and a dark blue-grey (#16213e) with a #2d3748 border in the dark; before, a row was white or dark grey (gray-800) with a 1-pixel border. You still reorder projects by dragging a tile's grip (the six dots at its top left) onto another tile, which draws the same blue box around the tile it will move to.
- What a tile says about its project. Under the name, a first line gives the number of sprints recorded, the sprint cadence and the unit, for example "8 sprints · 2-week cadence · story points" ("No sprints yet" before the first sprint; the cadence is left out until it is set). A second line says when the last sprint ended, as its row on the Sprint History tab shows it, and the project's finish date, for example "Last sprint ended Nov 9, 2026 · Finish: Dec 18, 2026". The count includes every sprint recorded, whether or not it is included in the forecast. Before, a row showed "(2-week sprints, story points, finish: …)" beside the name.
- A click anywhere on a tile opens the project's Sprint History. Before, the row's name area did. The tile's own buttons (Delete, Export, Edit, Clone and Share) do only their own jobs. This was checked in a browser: a click beside the details, away from the name, opened Sprint History for that project.
- The buttons on a tile have moved. Delete now sits at the right of the project's name. Export, Edit and Clone (and Share, for a project's owner in Cloud mode) sit in a row along the bottom of the tile, which appears when you point at the tile or move into it with the keyboard, and is always shown on a touch screen. Their size and colours are v0.48.2's, unchanged. The empty space that held Share's place in a row without Share (v0.48.2) is gone: the bottom row now starts with Export.
- Pointing at a tile gives it a blue border and a soft shadow. The border turns light blue (#93c5fd) in the light theme and a brighter blue (#3b82f6) in the dark; the tile's colour does not change and the name is underlined. Before, pointing at a row, or reaching its name with the keyboard, washed the whole row pale blue (light) or faint blue (dark). Reaching a tile's name with the keyboard now draws a blue ring around the tile instead.
- New Project and Edit open a dialog. Until now New Project and a project's Edit opened a form above the list. Both now open the same dialog in the middle of the screen, titled "New Project" or "Edit Project", with the same four fields as before (Project Name, Unit of Measure, and the optional Start and Finish dates). Cancel comes first, then Add Project or Update Project, which stays disabled while the name or the unit is empty, or once a date outside 2000 to 2050 has been entered and you leave its field. A Start Date on or after the Finish Date is refused, with a message, when you press it. A line beneath reads "Enter saves. Esc cancels." The dialog is 560 pixels wide (narrower on a phone), with 12-pixel corners, on the tile's colour in each theme. When it opens, the cursor is in Project Name, with the name selected when you edit. While it is open, the page behind it cannot be clicked or reached with the Tab key, and the number keys that switch tabs wait (checked in a browser with 3). Escape closes it, and closes only the dialog: an import waiting for you to confirm it on the Projects tab keeps waiting (checked in a browser). A project you can only view opens in the same dialog, read only, with Close as its only button.
- The toolbar buttons take GanttApp's look. Export All, Import, Load Sample and New Project are now 35 pixels tall instead of 38, with 6-pixel corners instead of 8. Export All, Import and Load Sample have a grey outline (#8a8a8a) and dark text (#333) with grey icons (#666) in the light theme, and a blue-grey outline (#8b9bb4), light text (#e2e8f0) and light grey icons (#a0aec0) in the dark; before, they had a blue outline and blue text and icons in both themes. New Project stays the one blue button, with a white icon. This reverses three choices of v0.48.0's toolbar: the blue outlined buttons, the icons drawn in the text colour, and the welcome screen's blue outlines (below).
- The welcome screen's buttons look like the toolbar's. "Create New Project" is the blue button and "Load Sample Project" has the grey outline and dark text, the same size and look as New Project and Load Sample above them; before, Load Sample Project had a blue outline and blue text, and both buttons were the older, taller size. The Forecast tab shows the same two buttons when there are no projects ("You'll need a project to forecast"), so that screen changes too, in both themes.
- The "Projects" heading is larger, 24 pixels and bold instead of 20 pixels and semibold, and the tiles start 16 pixels below its row instead of 24. A notice between them (the import message, the welcome screen, a waiting import, and in Cloud mode the loading note and the "Not in cloud" note) keeps 24 pixels above and below it, as before; the three local ones were measured in a browser, the two Cloud-mode ones and the sharing panel are checked by a test.
- In the dialog, an empty date field's mm/dd/yyyy is a darker grey, #666 in the light theme and #a0aec0 in the dark instead of #999 and #737373, as in GanttApp's dialog. This colour was not measured in a browser.
Fixed
- Focus no longer drops to the page when the Delete Project confirmation or the project dialog closes. Before, closing the Delete Project confirmation or an edit left nothing selected, so a keyboard user had to start again from the top of the page. Now, after a project is deleted, focus moves to the next tile's name, or the previous one's if it was the last, or New Project if none is left; after Cancel or Escape it returns to that tile's Delete. Closing the edit dialog (Update Project, Cancel, Close or Escape) returns focus to that tile's Edit, and closing a new project's dialog returns it to New Project, however the dialog was opened. Checked in a browser: Cancel in the Delete Project confirmation, a delete, deleting the only project, Escape from an edit, and a new project's dialog opened each of the three ways and closed with Cancel, Escape, Add Project or Enter (seven closes in all). The rest (the previous tile after deleting the last, Update Project, and Close on a read-only project, which needs Cloud mode) are checked by tests.
- A finish date that is not a real calendar date is no longer shown on a project. A stored finish date such as February 30 is now left out of the tile. Before, the row's summary formatted whatever date was stored. The same rule keeps "Last sprint ended" off a tile whenever that sprint's row on the Sprint History tab carries a warning. A tile shows with any stored date.
Notes
- Checked in Google Chrome on macOS at 1280, 1024, 768 and 375 pixels wide, in both themes, against GanttApp v0.32.1 measured the same way, both on a standard screen and with Chrome drawing at twice the resolution (as on a Retina screen). The heading, toolbar buttons and tiles measure the same on both kinds of screen, within a tenth of a pixel. The dialog differs a little: its text fields are 39 pixels tall on a standard screen and 40 on a Retina one, the same as GanttApp's; its title and labels move by half a pixel, as GanttApp's do; and its date fields stay 41 pixels tall where GanttApp's become 42 on a Retina screen. A tile is taller than GanttApp's when it shows two lines of details, and every tile in a grid row takes the height of the tallest. At 1024 pixels and narrower the tiles are wider than GanttApp's, because the page's side margins are unchanged. In the dark theme the page behind the tiles stays this app's own dark grey. The grip's dots are this app's own grey.
- Not seen in a browser, because they appear only in Cloud mode: the "View only" and "Not in cloud" badges beside a project's name (now beside it rather than inside the name), Delete shown disabled with its reason for anyone but a project's owner, Share, the read-only dialog, and focus moving to Close when your access to a project changes while its dialog is open. Tests cover each of them.
- New tests cover what a tile says for every kind of stored sprint and finish date, where focus lands after the project dialog and the Delete Project confirmation close, the dialog's keys and the page behind it, Escape with an import waiting (whichever opened first), the number keys waiting while the dialog is open, a tile's click and that its other buttons do not navigate, and the classes that make the bottom row appear, the grid's columns and the drag box work. The new code was also checked by breaking it on purpose: each of 35 such changes made at least one test fail.
v0.48.2
November 10, 2026Changed
- The icon buttons are smaller. On the Projects tab, on the Sprint History tab, and in the Forecast tab's Milestones and Productivity Adjustments panels, each Delete, Edit, Export, Clone and Share button is now a 28-pixel square instead of 32, with an 18-pixel icon instead of 20, and its corners are rounded by 6 pixels instead of 8. These buttons set the height of the rows they sit in, so in a window 1280 pixels wide each row of the Sprint History table is now 54 pixels tall instead of 57, and each row of the Milestones and Productivity Adjustments tables is 4 pixels shorter (about 45 pixels instead of 49). A row on the Projects tab stays 58 pixels tall at that width. On a 375-pixel phone screen, where the text in the rows wraps and sets their height, the Sprint History, Milestones and Productivity Adjustments rows keep their height, and a row on the Projects tab can become shorter, because the smaller buttons leave its text more room (the sample project's row: 130 pixels instead of 134). These heights are the same on a standard screen and on a high-resolution (Retina) one. The buttons' names, and what each one does, are unchanged.
- At rest, the icons are a darker grey in the light theme. They are now mid-grey (#808080) instead of a light blue-grey (#99a1af), which makes them easier to see on the white page: a contrast of about 4 to 1 instead of 2.6 to 1. In the dark theme they are #9ca3af, almost the same grey as before.
- Pointing at a button, or reaching it with the keyboard, now gives it GanttApp's colour. In the light theme, Delete turns red and Edit blue, as before; Export now turns a deeper green (#047857 instead of #10b981) and Clone a deeper violet (#7c3aed instead of #8e51ff). Each keeps the same pale background and thin ring of its colour. In the dark theme, every button now takes a lighter shade that stands out on the dark page: Delete #f87171 instead of #ef4444, Edit #60a5fa instead of #0070f3, Export #34d399 instead of #10b981 and Clone #a78bfa instead of #8e51ff, each on a faint background of its colour. Share takes GanttApp's colours too (#0e7490 in the light theme and #22d3ee in the dark), but Share appears only to a project's owner in Cloud mode, and its colours were not checked in a browser.
- Reaching a button with the keyboard now draws an outline around it. Press Tab until one of these buttons is selected and, besides its colour, it now shows a 2-pixel blue outline 2 pixels outside its edge: #0070f3 in the light theme, #60a5fa in the dark. Before, it showed only its colours and ring. This was checked on the Projects and Sprint History tabs; the two Forecast panels use the same buttons. On the Projects tab it is the outline GanttApp draws on its own Projects tab. GanttApp draws it on no other tab, so elsewhere the outline is this app's own.
Fixed
- The Edit button of the item you are editing now turns blue, as intended. While you edit a project, a milestone or a productivity adjustment, its Edit button is meant to stay blue on a pale blue background, so you can see which one is open. Before, the icon stayed grey in both themes; in the light theme its background stayed plain too, so only the thin blue ring around it showed, and in the dark theme only the ring and a faint blue background showed. Now it shows the full look: a blue icon (#0070f3) on pale blue (#eff6ff) in the light theme, and a lighter blue (#60a5fa) on a faint blue in the dark. This was checked on the Projects tab and in the Milestones panel; the Productivity Adjustments panel uses the same buttons. On the Sprint History tab the list of sprints is hidden while a sprint's form is open, so the look never appears there, before or now.
- In the dark theme, pointing at a disabled Delete button no longer turns its background red. A disabled button (Delete on every sprint but the latest, for example) now stays grey and half-faded when you point at it, in both themes. Before, in the dark theme, a disabled Delete took the faint red background of an enabled one, though clicking it did nothing.
Notes
- A correction to v0.48.1's notes on the tabs. v0.48.1 says each tab "is now 37 pixels tall instead of 43" and that the tabs of Forecaster and GanttApp "still measure the same height". That is true on a standard screen, where those measurements were taken, but not on a high-resolution (Retina) screen. Measured for this release in windows 1280, 1024 and 768 pixels wide: on a standard screen each tab is 37 pixels tall, 39 with the line beneath the tabs, the same as GanttApp's; on a high-resolution screen it is 38 pixels (40 with the line), where GanttApp's is 37.5 (39.5). On a 375-pixel phone screen, where the tab labels wrap onto two lines, a tab is 55 pixels tall on a standard screen in both apps, and on a high-resolution screen 57, where GanttApp's is 56. The difference comes from the tab labels' fonts: Forecaster's labels use the system font and GanttApp's use Arial, and on a high-resolution screen a line of Forecaster's label is 19 pixels tall where GanttApp's is 18.5. v0.48.2 does not change the tabs.
- Checked in Google Chrome on macOS, 1280 and 375 pixels wide, in both themes, on a standard screen and with Chrome drawing at twice the resolution, against GanttApp v0.32.1 measured the same way; the tabs were also measured at 1024 and 768. Every button's size and colours, at rest, when pointed at, when reached with the keyboard, when disabled and while its item is being edited, measured the same on both kinds of screen. Not everything that looks like an icon button changed: the theme button in the header stays 32 pixels, and the labelled buttons above the list of projects (New Project, Import and the others) are unchanged.
- On the Projects tab, an empty space holds Share's place in a row that has no Share button, so that the rows line up. It is now 28 pixels wide, like the buttons. In Local mode no row has Share, so two rows side by side, one with Share and one without, were not seen in a browser; a test checks that the space and the Share button have the same size.
- New tests render each of the five buttons on its own (Share appears in the app only in Cloud mode, so a test of a whole tab would never meet it) and check its size, its resting grey, its own colours when pointed at and when reached with the keyboard in both themes, that a disabled button takes none of them, the Edit button's look while its item is being edited, and that a disabled Edit button never takes that look. Another checks the Projects tab's space for Share. Each new test was checked by breaking the behaviour it guards and confirming that it fails.
v0.48.1
November 9, 2026Changed
- The header is shorter. The app's title and the line beneath it ("Agile Release Forecasting with Monte Carlo Simulation") now use the browser's normal line spacing. In a window 768 pixels wide or wider, the header is now 60 pixels tall instead of about 69, the same as GanttApp's. On a 375-pixel phone screen, where the title wraps onto two lines, it is 94 pixels tall instead of 108. The title's size, colours and icon are unchanged, and so are the buttons on the right of the header.
- The tabs are shorter, with smaller corners, and the row is no longer indented. In a window 768 pixels wide or wider, each tab is now 37 pixels tall instead of 43; on a 375-pixel phone screen, where "Sprint History" wraps onto two lines, 55 instead of 67. The labels now use the normal line spacing too; their font, size and weight are unchanged. The rounded top corners are 8 pixels instead of 10. The first tab, Projects, now starts at the left edge of the page content, in line with the app's icon above it; before, the whole row was indented by 8 pixels.
- The line under the tabs is a slightly different grey. In the light theme it is now #eee; before, it was a very slightly lighter, blue-tinted grey (Tailwind's gray-100). In the dark theme it is now a dark slate, #2d3748; before, it was a slightly lighter grey (gray-700).
- In the dark theme, the tabs now have dark-theme colours. The tabs you are not on now have light grey-blue labels (#a0aec0); before, they kept the light theme's mid-grey (#666), which was hard to read on the dark page. Pointing at one of them now shades it dark slate (#2d3748); before, it turned near-white (#f5f5f5) behind its mid-grey label. The tab you are on is now a brighter blue (#3b82f6) instead of a deep blue (blue-700). In the light theme the tab colours are unchanged: mid-grey labels, a light grey (#f5f5f5) when you point at one, and blue (#0070f3) for the tab you are on.
Fixed
- The number keys 1–5 now wait while a dialog is open. Before, pressing one of them with a dialog open switched to that tab behind the dialog. With the Delete Project dialog open and its Cancel button focused, for example, pressing 3 opened the Forecast tab and closed the dialog, deleting nothing. Now the key does nothing: you stay where you were, the dialog stays open and the focus stays on Cancel. This holds in every dialog: the confirmation dialogs (Delete Project and the others), the keyboard shortcuts help, the Cloud Storage dialog, the cloud storage terms agreement, the Connect AI agreement and the Connect AI panel. Once the dialog is closed the keys work as before, and, as before, they do nothing while you are typing in a field.
- The ? key now opens the keyboard shortcuts help. A real press of ? never did before. On most keyboards ? is typed with Shift held, and the app ignored a shortcut key whenever Shift was held, so pressing ? did nothing. Now it opens the help, which lists the shortcuts. While the help is open, ? does nothing, like the number keys; Esc, its close button (x) or a click outside closes it. The help's last line now reads "Press ? to open this help and Esc to close it" instead of "Press ? to toggle this help". For the same reason, on keyboards where the number keys are typed with Shift (French AZERTY keyboards, for example), Shift with 1–5 now switches tabs too.
- Escape in a dialog no longer cancels an import that is waiting for you to confirm it. Some imports wait for you to confirm them: the Projects tab first shows what the file contains, and Escape cancels the import. A full backup waits like this when you already have projects, for example, and so does a project or Story Map file that holds a project you already have, or one with the same name. Before, Escape pressed in a dialog opened over a waiting import also cancelled the import. In the Cloud Storage dialog, the first Escape cancelled the import and left the dialog open; a second Escape closed the dialog. In the Delete Project dialog, Escape closed the dialog and cancelled the import with it. Now, in both, Escape closes only the dialog and the import keeps waiting. The keyboard shortcuts help, which ? now opens, does the same. Escape with no dialog open still cancels the import, as before.
Notes
- Checked in Google Chrome on macOS at 375, 768, 1024 and 1280 pixels wide, in both themes, against GanttApp v0.32.1 measured the same way. The tab labels in GanttApp render in Arial and Forecaster's in the system font; at these sizes the tabs still measure the same height. For the same reason, the tabs both apps share (Projects, Settings, About) differ in width by less than a pixel. The space at the left and right of the page is unchanged, so at 1024 pixels and narrower the page's content starts closer to the window's edge than GanttApp's.
- Pressing the keys was checked in five of the six dialogs: Delete Project, the keyboard shortcuts help and the Cloud Storage dialog in a real browser, and the confirmation dialog, the shortcuts help and the two agreements in automated tests. The Connect AI panel opens only with a cloud connection, so no number key was pressed in it; it carries the same setting as the others, and a new test fails if any dialog marked as modal (aria-modal) lacks that setting, including one added later.
- New tests are the first for the keyboard shortcuts: a shortcut works with no dialog open, waits while one is open and works again once it closes, and never fires while you are typing in a field. A ? or a digit typed with Shift reaches its shortcut, a letter typed with Shift does not, and Ctrl or Cmd still stops one. In a real browser, ? and Shift with 3 were pressed as a keyboard sends them; the AZERTY case was simulated that way, not typed on such a keyboard. Other new tests check that Escape in a dialog leaves a waiting import alone, whichever of the two hears the key first; that a closed dialog leaves the shortcuts working; and that ? is the key wired to the help. Each new test was checked by breaking the behaviour it guards and confirming that it fails.
v0.48.0
November 8, 2026Changed
- The Projects tab now opens with one row: the Projects heading on the left, and Export All · Import · Load Sample · New Project on the right. Before, these buttons sat in a row of their own further down the page, below the project form, the welcome panel and any import preview. The row was right-aligned, or centred when there were no projects, and there was no New Project button, because the form for a new project was simply always there. New Project is now the filled blue button on the far right. The other three are outlined in blue, in the same style as the welcome panel's buttons, and each button has an icon before its label. Before, they were borderless grey text that turned purple, green or blue on hover, the style introduced in v0.29.0, which this release replaces. On a narrow screen the buttons wrap onto a second line in the same order.
- All four buttons are always there. Before, Export All and Load Sample were hidden until you had at least one project. Load Sample was hidden since v0.33.2 so that it would not repeat the welcome panel's Load Sample Project. Now Load Sample shows with no projects too, beside the welcome panel's own two buttons, which are unchanged. Export All shows but is greyed out until there is a project to export. No button appears, disappears or moves as projects are added, or while your cloud projects load. Load Sample's icon is now a flask; before, it was a loading-spinner shape.
- The form for a new project now stays hidden until you press New Project. Since v0.33.3, the form was always shown once you had at least one project, as the place to add another. Now New Project opens it with the cursor in Project Name. Add Project or Cancel closes it again and puts you back on the New Project button. The form for a new project now has a Cancel button; before, only the form for editing a project had one. The welcome panel's Create New Project, and the Create New Project buttons on the other tabs, open the same form as before.
- Pressing New Project while you are editing a project switches to a blank form for a new project. Changes you had typed into the project you were editing are discarded, as they already are when you press Cancel or another project's pencil.
- The two notices at the top of the app now sit just below the tabs, above the page. These are the Terms of Service notice shown to first-time visitors, and the amber caution that your data exists only in this browser. Before, they sat between the app's title and the tabs. They keep their wording, look and order, and so do the invitation banner, the Connect AI notice and the export warning that share the space with them. "Got it" on the caution still hides it until the page is next loaded, and switching tabs does not bring it back. Settings → "Warn me on startup when using local storage" still turns it off for good.
Notes
- Every condition that disables these buttons is unchanged. Import is still disabled while a file is being read or applied, and while your cloud projects are loading, with the same note below the row: "Loading your cloud projects — import will be available shortly." Export All and Import export and import exactly what they did before, and screen readers announce them by the same names as before: "Export all projects as JSON" and "Import projects from JSON".
- New tests check the toolbar's order, labels and icons, that every button is always shown, the Import gate, when the project form opens and closes and where the cursor goes, and that the notices are placed below the tabs. Each test was checked by breaking the behaviour it guards and confirming that it fails.
v0.47.6
October 29, 2026Changed
- Projects loaded from the cloud are now checked before they are shown, one project at a time. Before, a single project the app could not read stopped the whole project list from loading in cloud mode: the loading panel showed an error, and Try again failed the same way every time. Now that project loads without the parts that could not be read, or is left out when none of it can be, and every other project loads as usual. A notice names the project. Loading never changes anything in the cloud; the parts that were not shown are simply not kept the next time someone saves that project.
- Each project's sprints now come only from that project's own record, so one project's sprint history can never appear in another project, or be saved into it.
- A forecast with many productivity adjustments now runs in a fraction of the time, with exactly the same results. Before, a project with thousands of adjustments could keep the page busy for many seconds after you pressed Run Forecast. The factors are now worked out sprint by sprint without re-checking every adjustment on every working day.
- A forecast now runs on at most 1,000 milestones. Above that, the text under the Run Forecast button says why the forecast cannot run, and no milestone is changed. A file the app saves holds at most 100.
- Project sharing now shows member names and email addresses as text only, and shows any member whose role it does not recognise as a viewer.
Notes
- The checks accept everything the app has ever saved to the cloud: a sprint length of 1 to 52 weeks, sprint numbers from 1 to 10,000, and lists of sprints, milestones and productivity adjustments. A project the app saved loads exactly as before. New tests cover each check, and compare the faster forecast calculation with the previous one across tens of thousands of generated projects.
v0.47.5
October 25, 2026Added
- A security.txt file (RFC 9116), so a security researcher can find where to report a vulnerability: by email to security@spertsuite.com, or privately through SPERT® Forecaster’s GitHub repository.
Notes
- Nothing about how the app works, looks or stores data changed. A new test checks the file on every release, and fails a month before the file expires, as a reminder to renew it.
v0.47.4
October 25, 2026Changed
- When you sign in, SPERT® Forecaster asks you to accept the new Terms of Service and Privacy Policy. If you are already signed in, it signs you out first, so that you can accept them the next time you sign in. The acceptance it had recorded was for the October 5, 2026 editions (TOS_VERSION and PRIVACY_VERSION were '10-05-2026'); both are now '10-26-2026', so the record names the edition you actually accept.
- What the new editions change. They replace a personal contact address with the SPERT® Suite's own addresses (privacy@, security@ and contact@spertsuite.com), name Microsoft as the provider for email to those addresses, and clarify several disclosures.
- The copies kept in this repository, legal/TOS.pdf and legal/PRIVACY.pdf, are now byte-identical to the October 26 editions.
Notes
- Five new tests run the real sign-in against a stored acceptance. One that names the October 5 editions is signed out to accept again, whether it is cached in this browser or only on record; one that names the October 26 editions is let through, both ways; and accepting over an October 5 record writes the October 26 Terms and Privacy Policy versions. All five fail on the previous version.
v0.47.3
October 25, 2026Security
- If signing out can't reach the server to end your Connect AI session (for example, you are offline), Forecaster now tells you instead of failing silently, keeps trying on its own whenever you are back online, and lets you retry. Before, a failed teardown was only logged to the developer console, and the session would linger on the server until it expired on its own within seven days — which still happens as a fallback.
- Signing out now reliably ends the session in a timing case where it could previously be skipped, and the sign-out can no longer wait on an unreachable server.
v0.47.2
October 25, 2026Security
- Signing out now resets Terms acceptance on this browser. After you sign out, the next person to sign in on the same browser is asked to accept the Terms, instead of being treated as having accepted them because you did. Your own acceptance is unaffected while you stay signed in and across page reloads.
v0.47.1
October 25, 2026Security
- Signing out now clears a leftover invitation token. A pending "you've been added" invitation token is removed from this browser tab when you sign out, so the next person to use the same tab is not shown a banner meant for you.
- The release workflow declares least-privilege permissions. Its automation can only read the repository.
v0.47.0
October 8, 2026Changed
- Projects shared with you as a viewer are view only. Sprint History and Forecast show "View only — this project is shared with you as a viewer. You can run forecasts, export and copy charts. To change it, ask its owner for edit access." Adding, editing and deleting sprints, milestones and productivity adjustments, the sprint cadence and first sprint date, and the sprint include, milestone chart and adjustment on/off checkboxes are greyed out, with the reason. The Projects list marks the project "View only", and its edit button opens the project's details read-only, so you can still see its dates.
- Projects no longer in your cloud account are view only. A project this browser kept from an earlier session that isn't in your cloud account any more — unshared from you, deleted, or made while you were signed out — is marked "Not in cloud" and can't be changed. You can still export it. It leaves the list when your projects next update, and adding, copying or importing a project counts; the Projects list says so while such a project is listed.
- If your role changes while you are typing, what you typed stays. It stays on screen, saving it is switched off, and the reason appears beside it. If you press save at the moment the change arrives, the form stays open and a message says why the change wasn't saved.
- Only a project's owner is offered Delete. Editors and viewers used to be offered it; the cloud refused it, and the project vanished and came back. It is now greyed out with "Only the project's owner can delete it. To remove it from your list, ask the owner to stop sharing it with you."
Fixed
- A form no longer saves into the wrong project. If a project was unshared from you or deleted while you had a sprint, milestone or productivity-adjustment form open for it, saving could put a new item into another of your projects. Now the form closes when its project leaves your list, and a message says your change wasn't saved.
Notes
- Everything that doesn't change the shared project still works: forecasts with your own inputs, the burn-up chart and percentiles, CSV and JSON export, copying charts, the report, Connect AI, and reordering your own list.
- Your role updates while the app is open. If the owner changes you from editor to viewer, the controls grey out and the note appears within a moment, without a reload.
- Checked against the real Firebase SDK on the Firestore emulator. 53 cases cover the paths above. On v0.46.5, 16 of them failed; on this build all 53 pass.
- Each of 86 deliberate breakages of these changes turned a named test red.
- No Firestore rules change. No new field is written.
- Tests: 2,540, up from 2,330.
v0.46.5
October 8, 2026Fixed
- An import saves only what it imports. Importing a project file, or a project sent from SPERT® Story Map, now saves to the cloud only the projects the import added, copied, replaced or updated, and deletes only what it replaced. A change you made just before an import, to a project the import doesn't touch, is still saved.
- An import no longer brings back old sharing. Importing a backup of a project that was deleted from the cloud while the app was open could restore the people it used to be shared with. It now creates the project as a new one of yours, shared with no one.
- A refusal says what happened. When the cloud refuses a change, the message no longer tells you to check your connection. If you can only view the project, it says so. If you are an editor, it says your access to the project may have changed. If you own the project, it never says you lack permission: it says the cloud refused the change, and what to expect if the project was deleted on another device. Any other failure keeps its message.
- The import screen offers only what your role allows. When a file, or a project sent from SPERT® Story Map, matches a project you can only view, the import screen offers "Keep existing, ignore imported" and "Add as a copy", and says why. An editor is not offered "Replace existing with imported" for a project with the same name, because it deletes the original, and only its owner can. "Replace all data" is unavailable whenever your list includes a project shared with you — as an editor or as a viewer, even if you also own projects — because it would delete projects only their owners can delete; "Merge into workspace" still works. If your access changes while the import screen is open, a choice that is no longer available goes back to its default, and if you press Apply import at that moment, nothing is imported and the message says your access changed.
- Another account no longer sees the previous account's projects. If a different account signed in on the same browser without signing out first, it could see this browser's copy of the previous account's cloud projects, and its exports could carry the previous account's Export Attribution name and identifier. Both are now cleared before the new account's projects load, as a sign-out clears them, once the previous account has opened this version.
Notes
- The app now keeps track of your role on each shared project — owner, editor or viewer — from the project's sharing, and updates it while the app is open, including when the owner changes it. A project this browser kept from an earlier session that is no longer in your cloud account is recognised too: an import won't update or replace it, and a change to it isn't saved — the message says it isn't in your cloud account. Before, if that project had been deleted from the cloud, a change to it could quietly save it again as a new project of yours. Nothing new is written to the cloud.
- Changes to projects you can only view are still offered in this release, and the cloud still refuses them; the message now says why. The next release greys them out.
- Checked against the real Firebase SDK on the Firestore emulator. 37 cases cover the paths above. On v0.46.4, 23 of them failed, identically in every run; on this build all 37 pass, and the 37 cases that verified v0.46.4 still pass.
- Each of 57 deliberate breakages of these changes turned a named test red.
- No Firestore rules change. No new field is written.
- Tests: 2,330, up from 2,243.
v0.46.4
October 6, 2026Please do this now
- Reload every open tab of the app, on every device you use, and ask everyone you share projects with to do the same. A SPERT® Forecaster tab still running an older version can go on saving older copies of projects over newer ones until it is reloaded. Reloading is all it takes.
Fixed
- A change you saved stays saved. In cloud mode, a sprint, milestone, productivity adjustment, rename or any other change you had saved could be put back to an older version the next time something else in your workspace changed, and your next edit then saved that older version to the cloud, which made the loss permanent. Nothing unusual was needed: a collaborator editing another project, your second device, a project being shared with you, a refused edit to a project you can only view, or deleting one of your own projects. The app now applies every update it receives, including the ones that arrive while one of your saves is still on its way, and keeps your newest version of a project until it has reached the cloud.
- A collaborator's change is no longer lost while one of your saves is on its way. A change made by a collaborator, or on your other device, while one of your own saves was still travelling to the cloud could fail to reach your screen, and your next edit to that project then undid it in the cloud. You did not need to be offline for this; a slow connection was enough. Reordering could do the same: dragging a project saved every project to the cloud, so a collaborator's change made moments after the drag could be undone. A drag now saves nothing to the cloud.
- A project you delete stays deleted. Deleting a project while another of your saves was still travelling could bring it back to your list, and the next import could put it back in the cloud.
- An import no longer deletes a project you just created, or undoes your sharing. A project created in the same session could vanish from the list, and the next import then deleted it from the cloud. An import could also put back the sharing a project had before your latest change to it: someone you had just added lost access, or an editor you had just made a viewer could edit again.
- Opening the app no longer puts your projects at risk. In the first moment after the app opened, before your projects had arrived from the cloud, an edit was saved as if the project were brand new. For a project you own, that removed everyone you had shared it with, and on a slow connection it also saved this browser's last copy over newer work from your other devices and your collaborators. Opening the app without a connection did the same once the connection came back. In cloud mode the Projects, Sprint History and Forecast tabs now show "Loading your projects from the cloud…" until your projects have arrived, and no project is saved before then. If the cloud can't be reached, the tabs say so and keep trying, and your projects appear by themselves once the connection is back; Try again tries at once. If the cloud refuses the request, or anything else goes wrong, the tabs say so and wait for Try again. Either way, Export a backup saves this browser's copy of your projects to a file. Until your projects have loaded, switching to local storage and signing out, which both remove this browser's copy, warn you first and offer that backup. Settings and About stay available meanwhile.
- The project on screen stays the one you were looking at, and your project order holds. The list no longer re-sorts itself when an update arrives from the cloud, including when someone changes your role on a project they share with you, so the project Sprint History and Forecast show — the first in the list, unless you pick another — doesn't change under you, and your next sprint goes where you meant it to. A project you drag to the top now stays there after a reload on the same device. Each device keeps its own order.
If you noticed any of these
- What to look for: a sprint, milestone, productivity adjustment or rename you had saved that later disappeared or went back to an earlier value; a project you deleted that came back; a project you had just created that disappeared after an import; a collaborator's change that didn't appear, or appeared and was later undone; a collaborator who lost access to a project you had shared; an editor you had made a viewer who could edit again.
- First, reload every open tab, on every device, yours and your collaborators'. Do this before you repair anything; a tab still running an older version can undo the repair.
- Then repair one project at a time. Re-enter what is missing by hand where you can. To restore from an earlier export, import it and choose Replace existing with imported only for the projects that need repairing, and Keep existing, ignore imported for the rest. A workspace export opens on Replace all data, which replaces every project with the file's copy and so overwrites newer work in the projects that were fine; switch it to Merge into workspace first. A project export always merges.
- Re-share any project whose collaborators lost access, from its Share button, and check each collaborator's role.
- If something is still missing, tell us through the contact form at spertsuite.com/contact, as soon as you can. Recent cloud data can often be restored.
Notes
- Every update from the cloud is now applied, and merged rather than swapped in. The app used to skip any update that arrived while one of its own changes was still on its way to the cloud, and Firestore sends nothing when a save is confirmed, so the app's copy of a project could stay old indefinitely. Now each update is merged into the list in place: the order you see is kept, a project with a change of yours still on its way keeps your version, a project deleted or unshared elsewhere leaves the list, and an update that changes nothing is not written at all. Updates that arrive together, such as the two halves of a role change, are merged as one.
- The first load comes from the cloud's server, not this browser's cache. Offline, the old load answered "no projects" from an empty cache, which counted as a successful load. It now fails instead. When the cloud can't be reached, the load is retried after waits of 2, 4, 8 and 16 seconds and then every 30 seconds, and at once when the browser reports it is back online or you press Try again. Any other failure is shown, and is not retried until you press Try again.
- Checked against the real Firebase SDK on the Firestore emulator. 37 cases cover every path above. On v0.46.3, 22 of them failed, identically in every run; on this build all 37 pass.
- Each change above was broken on purpose, and a named test failed every time. In all, 38 deliberate breakages were applied one at a time, and each turned a named test red.
- No Firestore rules change. No new field is written.
- Tests: 2,243, up from 2,168.
v0.46.3
October 5, 2026Changed
- When you sign in, SPERT® Forecaster asks you to accept the new Terms of Service and Privacy Policy. The acceptance it had recorded was for the April 5, 2026 editions (TOS_VERSION and PRIVACY_VERSION were '04-05-2026' and had never moved); both are now '10-05-2026', so the record names the edition you actually accept.
- None of the changes alters what SPERT® Forecaster collects or does. The documents now describe database backups (daily backups kept for up to 98 days, point-in-time recovery for up to 7 days), that data is stored at rest in the United States, and project sharing and invitation emails. The AI Privacy Notice now says that Connect AI relay data expires seven days after your last activity, or sooner when you disconnect, and that the Read Mode snapshot can be read only by the relay server.
- The copies kept in this repository were out of date. legal/TOS.pdf and legal/PRIVACY.pdf still held the April 5 editions, three re-issues behind. Both are now byte-identical to the October 5 editions on spertsuite.com.
v0.46.2
October 4, 2026Fixed
- Sprint History opens, and marks every bad stored date. In Chrome, a five-digit year in a sprint's finish date crashed the Sprint History tab. Safari's engine read the same value as an ordinary date, and crashed on an impossible day instead. Now each refused date is shown exactly as stored, in quotes, after a ⚠ in its row. A notice at the top of the tab names the sprint and gives the fix that can be made from that screen. That is Edit sprint and then choose the right date or click Reset, or Edit sprint and then click Update to save the dates shown. When the sprint schedule cannot be worked out, the notice says what to set in Sprint Configuration first. A refused date is never formatted: formatting it is what printed "Invalid Date NaN" in one browser and a believable wrong date in another.
- The Forecast tab refuses to forecast from a bad date, and says why. Run Forecast is disabled, with a one-line reason, when a sprint's custom finish date or the first sprint start date isn't a valid date. It is also disabled when the sprint schedule runs past December 31, 9999. A notice with a Go to Sprint History button takes the place of the results. Until now the tab crashed, or, for February 30 in Chrome, forecast from the date the browser rolled it to without saying so: in the case measured the forecast started 15 days late, on May 12 instead of April 27. While a forecast is refused, nothing shows or exports one, not even a result that is still up to date. A refused saved start or finish date that the forecast never reads is marked in Sprint History but does not stop the forecast.
- Edit fixes a bad date, and Add works after one. Edit now opens on a sprint whose saved finish date isn't valid. It keeps that value in the field, with Update disabled, and says what is wrong. Choosing a date or clicking Reset saves a valid one. Add Sprint after a last sprint with a bad finish date no longer crashes: the new sprint's dates assume that sprint ended on its standard date, and the form says so.
- A finish date in late 9999 is blocked only where it does harm. December 31, 9999 is a valid date, but a sprint ending on it pushes the next sprint into the year 10000. Add and Update are now disabled when a save would push a later sprint, or the next forecast start, past December 31, 9999, or would make such a spill start earlier. The form names exactly which sprints would run past. Every other edit still saves, so a project whose dates already run past 9999 can be repaired one edit at a time. The notice names every sprint whose finish date causes the spill, and says which to fix first.
- Connect AI no longer blanks the app on a bad date. Building the AI's view of a project with a bad date threw, which took down the whole app while a session was publishing, and the AI kept reading the previous view. The AI's view is now written with the status "absent" and a reason naming the sprint to fix. It carries no forecast results, even if an earlier forecast exists.
Notes
- If a collaborator is on an older version, they should reload. A sprint added in this version after a last sprint with a bad finish date is valid, but an open tab still running an older version can crash on Sprint History when it receives that sprint. Reloading picks up this version.
- No stored data is rewritten. A bad date stays as it is until someone saves that sprint through Edit, and v0.46.0's export check still names it.
- One date rule, applied before any date arithmetic. The import's date rule now lives with the other date functions in src/shared/lib/dates.ts. Every stored custom finish date passes through it before any date arithmetic, in every browser. A first sprint start date that fails it is treated as if it were missing.
- Every fix text is written for whoever can edit the project. The app cannot tell an editor from a viewer, so each fix starts "If you can edit this project," and ends by telling anyone else to ask the project's owner.
- Checked in the browser, against this build, on an origin of its own. Four stored states were written into the app's own storage: a five-digit year, the year-9999 shape that earlier versions could not repair, a mid-history December 31, 9999, and a first sprint start date with a five-digit year. Each opened without an error screen, and no page showed "Invalid Date". The five-digit year was fixed by choosing a date in Edit. The year-9999 shape was repaired in three edits, in the order the notice gives. Moving sprint 2 of the mid-history project to December 31, 9999 was refused, naming sprints 3–8, while a change to sprint 1's Done figure saved. The Forecast tab refused all four, each with its own reason. The browser pane was hidden, so this evidence is the page's text, not screenshots.
- Each change above was broken on purpose, and a named test failed every time. There were 23 breakages, among them the date guard removed, a forecast that ignores the bad date, Edit blanking the saved value, an edit refused whenever any date runs past 9999, and a spill described as running to the last sprint. The same tests, run against v0.46.1's code, fail 43 times out of 51. The 8 that pass there check that nothing is refused that should not be.
- Mutation testing of dates.ts finds nothing new in the earlier code. The 21 mutants that survived before this release are the same 21, one for one. The new code adds 8 survivors, all equivalent: 7 in the moved date rule, which is unchanged, and 1 in a check that cannot be reached.
- Tests: 2,168, up from 2,038.
v0.46.1
October 3, 2026Fixed
- A project name and a unit of measure stop at 200 characters. Typing stops at the limit. A project whose stored name or unit is already longer, saved before this release or by a collaborator on an older version, still opens for editing, but Update Project stays disabled until the field is cut to 200 characters or fewer. Until now that save went through, and every export holding the project was refused on import. Spaces at either end do not count, because the project is saved without them.
- A milestone's Remaining Work stops at 999,999. The field had no maximum, so a figure of 1,000,000 saved and the project's exports were refused. Add and Update now stay disabled for any figure above 999,999, including one already stored.
- A sprint's Finish Date must be a date the import accepts. A five-digit year such as 20276-01-16 passed the form's only check on that date, that it falls on or after the start date, and was saved. The date field now has a latest date of December 31, 9999, so in Chromium a fifth digit typed into the year pushes the first one out instead of adding a digit. Add and Update also stay disabled for any finish date the import's own date rule refuses, including one already stored. A five-digit year saved before this release can still crash Sprint History and Forecast for that project; this release does not fix that.
- Cloning a project keeps the copy's name within 200 characters. The clone now shortens the original name to leave room for " - Copy (1)", as importing a copy of a project already did. Until now a clone of a 200-character name was 211 characters long, and a chain of 16 clones, each of the one before, took a 25-character name past 200; either way the workspace backup stopped restoring.
- Done and Backlog at End keep the Add and Update buttons disabled outside 0 to 999,999. The browser already refused those figures when the form was submitted; the buttons now show it before you try, and a Backlog at End below 0 is refused the same way.
Notes
- Each of these limits is stated once. The 200-character and 999,999 limits now live in src/shared/state/import-limits.ts with the milestone limits, and the forms, the clone, the import copy, the import's own checks and the export check's messages all read them from there. A test changes both limits and checks that every one of those places follows.
- Checked in the browser, on an origin of its own, against this build, by typing. Typing 204 characters into Project Name left 200, and Unit of Measure also stopped at 200. A project whose stored name was 245 characters opened with Update Project disabled; Enter saved nothing, and replacing the name saved it. Cloning a 200-character name made a 193-character copy. A milestone figure of 1,000,000 kept Add disabled, and 999,999 was added. Typing the year 2, 0, 2, 7, 6 into a sprint's Finish Date produced 0276, which the form refused as earlier than the start date. With the date's latest-date limit taken out on purpose, the same keys produced 20276-01-16 and the form still refused it; with the form's own date check also taken out, as in v0.46.0, Add was enabled. A workspace holding a 200-character unit of measure, three 193-character clones and a 999,999 milestone exported with no warning, and seeding one 245-character name made the warning appear.
- Each change above was broken on purpose, and a named test failed every time. There were 32 breakages, among them a length limit on the field without the form's own check, a finish date checked without the import's date rule, a clone with no length limit, and a literal 200 or 999,999 written in place of the shared limit at each place that enforces it.
- Values already stored are not rewritten. A name, unit, figure or date that is already out of bounds stays as it is until you edit it, and v0.46.0's export check names each one.
- Tests: 2,038, up from 1,991.
v0.46.0
October 3, 2026Changed
- Files this app wrote import projects of up to 100 milestones. A workspace export (Export All) and a project export (the project row's download, or Settings → Export Projects) are recognised by what they carry: a project export by its export type, a workspace export by its two workspace reconciliation tokens. Every workspace export has carried both since v0.20.0, so backups already on disk, including ones this app used to refuse, now import as they were written: each milestone in the same order, with the same name, figure, colour and chart setting.
- Files from SPERT Story Map, and files that do not say where they came from, keep the limit of 10. A file declaring Story Map as its source is held to Story Map's limit whatever else it carries. Story Map files from before it began declaring its source (v0.52.10) carry none of the markers above, so they stay at 10 too, and the message for one past the limit is unchanged.
- An import that is still refused names the project. "Import failed: Project at index 1 has more than 10 milestones." now reads, for example, "Import failed: "Growth Product" — 13 milestones; this file can hold at most 10 per project." A sprint's problem names that sprint's own project and number. The text is the same whether the file was opened or sent from Story Map, where it follows Story Map's own "did not accept the transfer" message. A refusal with no single project to point at, such as two projects sharing an ID, keeps its old wording.
- The Milestones panel explains why its Add button is gone at 10 or more. "Maximum of 10 items reached." is replaced by: "You can add up to 10 milestones by hand — more than that makes the charts hard to read. The + Add Milestone button comes back when this project has fewer than 10. Story Map updates can still bring in more, and the project keeps them." The advice to keep under 5 milestones for readability used to disappear at the cap; it now stays visible below that text.
Added
- Every JSON export checks that its own file will import again. Export All, the project row's download and Settings → Export Projects each save the file first, then run the import's own checks on exactly what was saved, and compare its size with the 10 MB import ceiling. If the file would be refused, a warning appears above the tabs: "Your file was saved, but it will not restore." It lists every affected project by name, each with its problem in plain words (a name over 200 characters, a figure over 999,999, a finish date that is not a valid date, more milestones than the file can hold), and says what to do, including how to back up the other projects on their own. It stays until you dismiss it, survives switching tabs, and is replaced by the next export's result. A file that will import shows nothing, and the "Project data exported" message is unchanged.
Notes
- Why a project could pass 10. A Story Map Update keeps every milestone your copy holds that the incoming file does not, so a release deleted, emptied or merged in Story Map stays here with its last figures, and it adds the releases Story Map sends. Story Map sends at most 10, so the first Update after a product's 11th release held 11, and repeated Updates grew further. Update itself is unchanged; the ceiling of 100 leaves room for it, and the export check reports a project that passes even that.
- The cloud was never the limit. It saves projects of any milestone count; a 100-milestone project was checked against the suite's Firestore rules in the emulator, on create and on update.
- Checked in the browser, on an origin of its own, against this build. A 13-milestone workspace file written by v0.45.0, which v0.45.0 refused, imported with all 13. The warning appeared at all three export points, stayed across tab switches, and cleared on the next clean export. At 100 milestones the forecast ran in under a second, every picker listed all 100, and the CSV and the Connect AI snapshot carried every milestone, with no console errors.
- Each change above was broken on purpose, and a named test failed every time. There were 21 breakages, among them an export that drops milestones past 10, a limit keyed on the export type alone, a warning that stops at the first project or blocks the save, and a reason that names an array position.
- The Quick Reference Guide's "Up to 10 milestones per project." is now true of adding milestones by hand only. It will be corrected in the next guide update.
- Tests: 1,991, up from 1,857.
v0.45.0
October 1, 2026Changed
- "Entire Project" is dated at the whole remaining backlog when the milestones fall short of it. This covers the "Your forecast" headline, the summary sentence, the Deadline Probability panel's Entire Project scope, the burn-up chart and the CSV export. On the sample project with its last release finished (milestones of 0, 100, 150 and 0 against 460 points), the headline used to read January 20, 2027, the date of the 250 points of milestone work. It now reads April 14, 2027, the date for all 460. With every milestone finished it used to say the 460 points would be done the next sprint, and the burn-up drew 460 points in a single sprint; both now run to April 2027. The forecast for the whole backlog comes from the same simulated trials as the milestones, so no milestone can be dated after the project. When the milestones do add up to the backlog, or Story Map's two-decimal rounding is the only difference, nothing changes.
- The chart and Custom Percentile pickers offer "Entire Project (Total)" when there is one. It is selected after each run, so the Cumulative Probability chart, the Histogram and the custom percentile cards open on the whole project. No milestone is marked "(Total)" then, because none is. When the milestones cover the backlog, the last milestone keeps "(Total)" as before.
- Forecast Results shows an Entire Project table after the milestones' tables, marked Total, and the CSV export adds an "Entire Project (Total)" row after the per-milestone rows. In both, the last milestone loses its Total mark in that case.
Added
- A notice when your milestones add up to more than the remaining backlog. It appears in the forecast summary, under the summary sentence: "Your milestones add up to 500 story points, more than the 460 story points remaining backlog. Any milestone past the backlog is dated at project completion." A milestone past the backlog is never reached in the simulation, whose trials end at the backlog, so it is dated at completion, and several of them can share that one date. Nothing on the Forecast tab said why until now. Rounding never triggers it: it uses the same allowance for Story Map's rounding as every other comparison of milestones with the backlog. It is included when you copy the summary as text.
Notes
- Connect AI sees the new scope as kind: "project", last in the list. Its finalScopeCoversBacklog and backlogDivergence fields still describe the milestones themselves, so they still report the shortfall, and the deadline block is computed for the project scope. When every milestone is complete, the snapshot keeps the project scope instead of a placeholder, because it is the only date that means anything then.
- The engine is unchanged. The whole backlog is added to the list of points the same run already dates. A committed test pins that the result is identical, trial for trial and for every distribution, to a run without milestones from the same random sequence, with productivity adjustments and scope growth both ways.
- Checked in the browser on the sample project, against the release before: the finished-last-release case moved from January 20 to April 14, 2027; every milestone finished moved from the next sprint to April 14, 2027, with the burn-up running to Sprint 22 instead of Sprint 9; and v2 Release set to 500, past the 460-point backlog, showed the notice.
- Each change above was broken on purpose, and a named check failed every time. The 23 breakages are committed in scripts/falsify-spec-entire-project-scope.mjs, including the strict comparison that would show the notice on rounding. The v0.44.1 breakages still fail their checks against this release.
- Tests: 1,857, up from 1,814.
v0.44.1
October 1, 2026Fixed
- "Entire Project" no longer follows the chart pickers. It covers the "Your forecast" headline, the summary sentence under it, the Deadline Probability panel when its Scope reads Entire Project, the single table Forecast Results shows when no milestone has a table of its own, and the CSV export's percentile, frequency and raw-trial sections. Each of these used to read the scope selected in the Cumulative Probability, Histogram or Custom Percentile "Milestone:" picker. On the sample project, picking Beta Release in the Cumulative Probability chart changed "94% chance the project will finish by April 14, 2027" to "81% chance … November 11, 2026", and the deadline panel's 79% to 99%, directly above a milestone list still showing v2 Release at Sprint 22. Picking the completed MVP Release in the Custom Percentile panel had the 460-point sample "finish" the next sprint. All of them now read the run's overall scope, which the burn-up chart already used, and the pickers steer only the charts and the custom percentile cards. The selection still changes the charts exactly as before.
- The Custom Percentile picker no longer offers completed milestones. It kept its own copy of the milestone list and missed the change in v0.32.1 that hid completed milestones from the two chart pickers. It went on listing a milestone with no work left (a remaining figure of 0), and choosing one charted a threshold of zero, which is always the first forecast sprint. With a chart also open, the chart's picker snapped the choice straight back. All three pickers are now built by one function, buildMilestonePickerOptions in src/features/forecast/lib/milestones.ts, and offer the same list.
- When a picker's selection disappears, it moves to the last milestone offered, not the first. After a run the pickers point at the last milestone. If that milestone is complete, opening a chart used to move the selection to the first milestone in the list, which is a different forecast entirely: on the sample with v2 Release set to 0, it jumped to Beta Release. It now moves to the last milestone still offered, the one marked "(Total)". A completed milestone adds no work to the running total, so that milestone's chart is the one that was showing.
- Milestone figures that differ from the remaining backlog only by rounding are no longer reported to Connect AI as a mismatch. Story Map rounds each release's figure and the backlog to two decimals separately, so a fully planned project can arrive as 0.13 + 0.13 against a backlog of 0.25. Connect AI was then told the second milestone could not be reached, and the backlog was reported as diverging from the milestones. Plain arithmetic did the same to hand-entered figures: 0.1 + 0.2 does not exactly equal 0.3 in a computer. Every comparison between milestone figures and the backlog now allows for that rounding, through one shared rule in src/shared/lib/backlog-tolerance.ts. The allowance is 0.005 × (k + 1), where k is the number of milestone figures added together. It grows with k because the rounding can, and it is measured to be exactly enough: the worst case Story Map's rounding can produce, in either direction, for every k up to 13. A real overshoot just past it, such as 6.02 + 6 against 12, is still reported.
- Connect AI's divergence fields describe the milestones themselves. finalScopeCoversBacklog and backlogDivergence read the run's last scope, which only works while the last scope is a milestone. They now compare the milestones' own total with the backlog, through the same rounding rule, so they stay true when a later release gives the project a scope of its own.
- Connect AI's renderedOnScreen marks what the forecast summary shows. Once the summary stopped reading the picker's selection, the selection rule no longer covered it. The overall scope is now marked whenever the summary shows Entire Project, so is a milestone the summary is set to even when it is hidden from charts, and so is the overall scope when Forecast Results falls back to its single table.
- Two Connect AI notes that had become false were corrected. The deadline note said the panel's Entire Project received a milestone-swapped series. That was true until this release; it now says the panel keeps scope and distribution choices of its own, which the snapshot does not carry. The note for a project whose milestones are all complete said every scope resolves at the first sprint. That is false when modelled scope growth outruns a sprint's delivery, and the note now says when a zero threshold is reached.
Notes
- What is still to come. When the milestones add up to less than the remaining backlog, for example because a Story Map project has work outside every release, "Entire Project" is still dated at the milestones' total rather than the backlog. This release makes the headline stable, so it can no longer move with a picker. The next release makes it right.
- Checked in the browser on the sample project. Picking Beta Release in the Cumulative Probability chart, and GA Release in the Custom Percentile panel, left the headline, the summary sentence and the deadline panel's sentence byte-for-byte unchanged. MVP Release is no longer offered in the Custom Percentile picker. With v2 Release set to 0, opening the chart left the headline unchanged, and its picker landed on "GA Release (Total)".
- Each change above was broken on purpose, and a named check failed every time. The 21 breakages are committed in scripts/falsify-spec-entire-project-overall-scope.mjs. They include a fixed half-hundredth allowance and a strict comparison, the two rules the shared allowance replaced or rejected; each of the five Entire Project surfaces put back on the picker's selection; each picker and Connect AI change undone; and a second private copy of the allowance, which a scan of the source now refuses.
- The Story Map sample-file check uses the shared rule too. It had carried a private allowance of its own. None of the 17 sample files exercises the allowance, because every one with milestones sums exactly to its backlog.
- Tests: 1,814, up from 1,774.
v0.44.0
October 1, 2026Changed
- Update takes Story Map's milestone figures from a Story Map v0.53.8 or later export. When a project you already have arrives from Story Map again and you choose Update (the default), each milestone that matches a Story Map release takes Story Map's remaining work. Before this release Update kept the figure already here, so a send after the next sprint left every milestone describing the old position: on a three-release project, 30/50/20 stayed 30/50/20 while Story Map sent 10/30/20, and the later milestones ended up beyond the remaining backlog. A figure you changed by hand on a Story Map milestone is now replaced by Story Map's, as hand-edited sprint progress already was. Milestones you created here never match a Story Map release and are never touched.
- Files from Story Map before v0.53.8 behave exactly as before. They carry no mark, so Update keeps your milestone figures, and a milestone they add still arrives with the warning that its figure is the release's total size, to check.
- The summary after an Update names every milestone figure it replaced, old → new, and says when that completed a milestone (its figure went to 0) or reopened one (it went from 0 to more). Sending the same file twice names nothing the second time.
- The import preview says this before you choose. For a v0.53.8 or later file, the note under the choices adds that Updating replaces each matched milestone's remaining work with Story Map's figure. The Milestones panel's description says the same.
Fixed
- The summary after an Update no longer says your forecast deadline and scope-growth settings were reset. They never were: Update keeps them, and clears only the previous forecast run because the sprints changed. This was checked in the browser before the wording changed, and a test now ties the wording to that behaviour.
- The summary no longer says a kept milestone "moves later than where you had it". That was wrong whenever the milestone already sat last, when it did not move at all, and with Story Map's new figures it is often wrong the other way, because smaller figures ahead of it move it earlier. The line now says only what is true: kept milestones are placed after the imported ones, and each one's target includes the imported milestones' figures ahead of it.
Notes
- The Quick Reference Guide is out of date until a separate documentation pass. It still says Update keeps your milestone figures and that a milestone arriving from Story Map carries its release's total. Both are now true only of files from Story Map before v0.53.8.
- The Story Map sample files this app checks itself against were refreshed to v0.53.8. All 17 sample payloads and their manifest were copied again from Story Map's release, and two new checks run on each: it must declare remaining work, and its milestones must add up to no more than its last sprint's remaining backlog. Run against the previous copies first, the declaration check failed on all 17 and the sum on five; both pass on the new ones.
- The mark is read, never stored. It describes a file, not a project, so it is not saved with the project, sent to cloud storage or written into any export.
- Each behaviour above was broken on purpose, and named checks failed each time. Taking Story Map's figure from every file, keeping the local one for every file, taking only the smaller of the two, matching the mark loosely, and dropping the mark before the merge each turn checks red, and so does putting back either of the two corrected summary lines.
v0.43.8
September 30, 2026Changed
- The tool keeps up to 64 MiB of a run's output, as the suite's mutation-testing script already does.
- When a run still overflows, the tool says so. It names the buffer as the cause, whether the overflow is in the first run, a breakage's run, or the last run that checks everything was put back, and it never says the code failed to compile. A run with no summary that did not overflow keeps the compile message.
- Three new checks, each with its own control: an overflowed run with no summary is reported as an overflow, and the same run without the overflow gets the compile message; an overflow is refused even when a summary survived, and the same run without one is accepted; the message names the buffer's size.
Notes
- Found in SPERT Scheduler, which carries the same tool byte for byte. There a passing whole suite prints 1,005,236 bytes, 43,340 under the old limit, and a breakage that fails fourteen checks printed 1,121,581 and was reported as a compile failure. With the change it runs to a verdict: fourteen failing, exactly the fourteen named before the run. The two copies are changed in the same pass and are still identical.
- Here it had not bitten yet. This project's whole suite prints 253,686 bytes (1,659 tests), about a quarter of the old limit, and both committed breakage specs run a single test file. Both were rerun with the new tool: 8 breakages of 8 and 9 of 9 fail their named checks, as before.
- The change was itself broken on purpose. Giving an overflow the compile message again fails all three new checks; dropping the overflow from the comparison fails the two that go through it; and, in SPERT Scheduler, taking the new limit out brings the overflow back, now reported as an overflow.
v0.43.7
September 13, 2026Changed
- The note now says eight, and says why. The note now says eight, and says why. It also warns against “correcting” the references to nine that remain in the same note: those describe the July 2026 audit, when there really were nine, and changing them would make them false.
Notes
- Why this is a release. Worth a release on its own because the note is an instruction, not decoration. It tells whoever changes the licence next how many projects to update in the same pass, and a wrong number there sends them hunting for a project that no longer carries the file.
v0.43.6
September 13, 2026Changed
- The trademark clause now names famousdavis, LLC. Fifteen lines, all inside that one clause. The file is still 756 lines and the clause is still what it was: a declination to grant trademark rights, permitted by Section 7(e) of the GPL.
Notes
- ⚠️ Copyright in the software did not transfer, and the licence still says so. It is held by William W. Davis, MSPM, PMP personally and licensed to the company. The clauses requiring his name to be kept as the author, and withholding his name from promotional use, are unchanged — as are the copyright notices in every source file, the footer, and the About tab's credit. Two different names now appear in the licence and both are correct: the company operates the service, the individual owns the code.
- Nothing you may do with this software changed. Still GPL v3 with the same additional terms — free to take, change and share; a modified version must still be released under a different name; credit to the original author must still travel with it.
- Eight projects, one file, one pass. The licence is copied byte-for-byte into eight projects and each pins a checksum of it, so changing it in one place alone fails the other seven at once. All eight were updated together and are released separately.
v0.43.5
September 3, 2026Changed
- The two reasons are now told apart. On the build server the check skips as before. Otherwise it looks for the notes file in the main working copy and reads it from there, so the check runs even when the release is being prepared elsewhere.
- An absence that is neither is now a failure. A check that cannot run should say so rather than pass quietly.
Notes
- Preventive here, not a live fix. This project declares an empty list of version patterns, so that check never runs in it. The corrected script is taken because it is deliberately identical in every project in the suite; four of the nine switch the check on and five, including this one, do not.
- This entry's first draft was prose-only and this repo's own guard rejected it — the same trap that once let two entries here render as empty headings for weeks.
v0.43.4
September 3, 2026Changed
- Every project now carries the corrected form of the post-release check. This one included; the pre-release gate script is unchanged.
Notes
- The lesson kept rather than the fix. A file that must be identical everywhere should be corrected at its source and re-sent, not corrected where the problem happened to surface. Fixing it in place is what produced two forms.
v0.43.3
September 3, 2026Added
- A pre-release check that the release is not being cut on a stale base. The gate now refuses to proceed if the local copy is behind the server. No other gate check can see that, because they all read the working tree, which looks entirely correct. Being ahead is normal and is not reported.
- A post-release command that verifies the local copy actually advanced. It compares three sources — the local copy, the local record of the server, and the server's own answer — and reports which one disagrees. Three rather than two, because the first two can be stale together and agree with each other while both are wrong.
Notes
- The pre-release check deliberately does not require a clean working copy, and must not start to. It runs partway through a release, after the version and changelog edits and before they are committed, so uncommitted work is expected at that exact moment; requiring cleanliness there would fail every release. That check belongs to the post-release command, where it is correct.
- Both compare fingerprints rather than reading a command's own message. The step had once been reported as done elsewhere in the suite from the tail of a command whose informative line had been trimmed away, and a message saying everything was already current cannot distinguish a real check with nothing to do from no check at all. Running a command is not the same as checking its effect.
- A fetch failure fails the pre-release check rather than skipping it. The comparison reads a remote-tracking ref, so a swallowed error would compare a stale ref with itself, agree, and read as a pass.
- The release script stays byte-identical across the suite. It is deliberately the same file in every SPERT® repo so no one app can drift onto its own rules; this repo now carries the same version as the others.
v0.43.2
August 30, 2026Fixed
- The written merge rules are now checked against the merge itself. A rule recorded wrongly, or code changed out from under a correct rule, fails the build instead of passing quietly.
- Fixtures used by that check are verified to be plain data, so a hand-written test object cannot smuggle in behaviour that makes the check pass for the wrong reason.
Notes
- Six field-and-rule combinations cannot be distinguished by observing the merge, for structural reasons — an identifier that is both the thing being matched on and the thing being checked, for instance. They are listed explicitly rather than left as a silent gap, and the reasoning is recorded in docs/SPEC_DEVIATIONS.md (SD-4).
- No behaviour changes. Nothing about importing, merging or forecasting works differently.
v0.43.1
August 30, 2026Fixed
- The import field lists can no longer fall out of step with the app's own data. Adding a field without deciding whether it may be imported is now a build error rather than a silent omission.
- Three leftover labels from the previous release's terminology cleanup, missed because the search pattern used to find them did not match a hyphenated spelling.
Notes
- Excluding a field from imports is still possible and still a deliberate choice — it now has to be written down where it is made, rather than achieved by leaving it off a list.
- The reasoning is recorded in docs/SPEC_DEVIATIONS.md (SD-3), including how the protection was verified by deliberately breaking it.
v0.43.0
August 30, 2026Added
- Update is now reachable for a project whose identifier changed during a cloud migration. The app treats a shared sprint identifier as evidence that an incoming project is the one you already have, rather than relying on the internal identifier alone.
- A written record of how every field is merged, covering all twenty-nine fields across projects, sprints and milestones. This is the rule the app has always followed; until now it existed only outside the codebase, and four fields had quietly slipped past it over three revisions. Adding a field without saying how it merges is now a build error.
Changed
- The pre-selected choice for an evidenced name match is now Update, not Copy. Only where the shared-sprint evidence is present; every other case keeps the choice it had before.
Notes
- Where two projects genuinely collide on name alone, nothing changes — Update is still withheld, and Replace still asks before it does anything.
- The rule deciding whether Update is available now has exactly one definition in the code. It previously existed in several hand-copied places, and all of them had drifted out of date.
- The deviation from the import specification is written down in docs/SPEC_DEVIATIONS.md (SD-2), alongside the reasoning and the trade-offs it carries.
v0.42.1
August 29, 2026Fixed
- Sprint history now moves with a project when its identifier changes during cloud migration. The sprints are re-tagged to match the identifier the project is actually saved under, so they arrive with it instead of being dropped. Sprint identifiers themselves are left alone — the project is being moved, not copied.
- A migration that could not check for a clashing identifier now tells you it assigned a new one. Previously only an outright clash was reported; the case where the app was not permitted to look reported nothing at all, so a project whose identifier changed for that reason looked like an ordinary successful upload.
Notes
- The safety check that is meant to stop a cloud load from wiping local data counts projects, not sprints. It is why an empty-but-present project passed straight through. Widening it is a genuine design question — a project with no sprints yet is perfectly normal — so it has been recorded rather than changed here.
v0.42.0
August 29, 2026Added
- A direct handover from SPERT Story Map, in the same browser. The sending tab opens this app, the two exchange a short handshake, and the project data crosses in one message. Both sides check the other's exact web address before anything is read, and a transfer from anywhere else is ignored without reply.
- A held transfer, for the case where your cloud projects are still loading. In cloud mode the app cannot safely accept an import until Firestore has finished its first load, which is exactly when a freshly opened tab arrives. The transfer is held rather than refused, and applied as soon as loading finishes.
- A time limit on a held transfer, so a stale one can never apply late. The hold expires shortly before the sender stops waiting, and Story Map is told why. Without it, a transfer that had already given up could be applied minutes later — after you had given up on it too and imported the file by hand — leaving the same project in twice.
Changed
- An import preview or result banner now survives leaving the Projects tab and coming back. Previously, switching tabs mid-import discarded the preview and you started over. This is a change to the existing file import as well as the new route, and it is the visible half of moving import handling up into the app shell so a transfer arriving during a tab switch has somewhere to land.
- The size ceiling is now measured on the data itself rather than only on the file. A transfer never has a file to measure, so the 10 MB limit is applied to the content in both cases. The file check remains as a cheap first pass.
Notes
- The receiving tab accepts a transfer only from the web address it was opened by, and only for the one exchange it was opened for. A hand-typed transfer address does nothing at all. In production the app accepts transfers only from Story Map's real address; local addresses are never accepted outside development.
- A refusal now carries its reason back to Story Map rather than only appearing here, so a transfer that fails tells you why in the tab you were looking at.
- The internal register of import refusals gained a completeness check, which immediately found one refusal that had gone unrecorded since the importer shipped.
v0.41.0
August 29, 2026Added
- An Update action on the import screen, offered when a Story Map file carries a project you already have. It merges rather than substituting: sprint progress and any new sprints come from Story Map, while your project dates, productivity adjustments, custom sprint finish dates, sprint-exclusion choices, burn-up configurations, unit of measure and milestone backlog figures all stay as you left them.
- A plain summary after every import, built from what was actually written rather than from what was previewed. It names what was kept, names any milestones added from Story Map and warns that their figure is total scope, names any milestones kept that Story Map did not send, and explains the ordering effect on your own milestones.
- A stated reason when Update is not available, attached to the choices rather than sitting beside them, so it reaches screen readers rather than only sighted users. It names both ways forward: delete the local sprint, or use Replace.
Changed
- Update is the default for a Story Map re-import, replacing skip. Skip was safe only in the sense that it did nothing; it discarded the progress you had just exported. Update is the non-destructive action that also does the thing you came to do. Skip, Replace and Add-as-a-copy are all still offered.
- The note under the import choices no longer says burn-up configurations are cleared and forecast inputs may need re-entering. That was accurate for Replace and wrong for Update, and it was shown for every import. It now describes both.
- Your forecast run is cleared after an update, but your forecast view is not. The run is genuinely out of date once the sprints move. Your target date, selected milestone and scope-growth settings are your own configuration, and they stay.
Fixed
- Your project's creation date and unit of measure survive an update. Story Map sends both in every export — it always reports Story Points regardless of what you use — so without deliberate handling a project measured in Hours or Ideal Days would have been silently relabelled, and every number with it.
Notes
- Update is withheld when this project has a sprint the imported file does not. Story Map renumbers sprints on every export, so a sprint it does not know about would end up sharing a number with one it does, and the forecast would silently move by a full cadence period. Rather than renumber your data or merge two numbering schemes, the app declines and tells you why. This is a normal consequence of adding sprints in both places.
- Update is offered only for files from Story Map, and only where the project matches by identity rather than by name. A name match means the two projects share nothing else, so there would be no sprints or milestones to merge.
- Every check for this release was run against a deliberately broken version of itself. Eleven in all, including removing the ordering rule, treating an update as a replacement, resolving a collision by file order instead of by action, and dropping each preserved field in turn. Each had to fail the right check by name — a test that has never been made to fail has not been shown to test anything.
v0.40.8
August 28, 2026Fixed
- Two explanations that had gone out of date have been corrected, and the reason they could is now stated where they were. A comment listing four reasons to keep the locally-built examples was down to one real reason, the other three having been settled by the new files. Keeping a list of four when only one still applies is how a reader is misled by something that was accurate when it was written.
- A check requiring each rule to have exactly one accepted and one refused example has been loosened to require a balanced number of each. One rule now legitimately has two pairs, and the old wording would have failed on a correct set. The strength that mattered is kept: relabelling one example still leaves the counts uneven and still fails.
- The table recording what each refused file breaks is now keyed by filename rather than by rule. Two files now test the same rule in different ways, and keying by rule silently collapsed them into one. Story Map hit the same collision from the other direction, where matching filenames by their opening characters merged two groups into one.
Added
- A check that the published examples reach both halves of the date rule. The app refuses a bad date two ways: one for a date that cannot be read at all, another for a date that reads cleanly and is then silently shifted to a different day. A set carrying only the first exercises the shallower half while looking complete.
- A check that the remaining-backlog rule is covered on its own, by an example carrying no milestones at all, rather than only by a file that breaks two rules at once and is attributed to whichever the app happens to check first.
- A check that the completed-work example sits exactly on the floor, which is the fault that was corrected upstream — now caught here too, not only there.
- A check that no filename is listed twice, which would otherwise make the fingerprint chain ambiguous and quietly drop a file from every list keyed by name.
Notes
- All eighteen files were verified before being taken in, not after. Every fingerprint matched what was published; the long-standing example file is unchanged for the third regeneration running, still matching a figure recorded here before the set ever grew; every file the app should accept was accepted and every file it should refuse was refused for the rule that file claims to test; and each accepted file still sits exactly on its limit rather than merely below it.
- All six new checks were run against deliberately broken versions of themselves, including removing the new date example, removing the new remaining-backlog pair, and putting back the upstream fault that was just corrected. Each had to fail the right check by name.
- The correction to both stale explanations came from outside these checks. One was spotted by a reader; the other survived a release. Nothing here would have caught either, which is precisely why the claims were converted from prose into checks rather than simply rewritten more carefully.
v0.40.7
August 28, 2026Fixed
- A note that put one import rule in the wrong group has been corrected, and now says why the distinction matters: a rule no example can exist for is nobody's to close, while a rule awaiting an example is a real if minor gap. The note also records that the surrounding check derives its grouping independently and was never affected, so a reader does not have to work out how far the error reached.
Added
- Each of the six refused files now has its full fault list recorded, not just the fault it claims. Removing the claimed fault must leave a file the app accepts — proving the claim describes the file rather than the order the app happens to check things in — or must leave exactly one other stated fault. Five of the six are the first kind. The sixth is named, along with what it means.
- A check that exactly one file breaks two rules, and which two. Should a future set of files make a second one compound, or make this one simple, that fails and the recorded list has to be read again rather than quietly going out of date.
Notes
- All six new checks were run against deliberately broken versions of themselves. A file's fault list claiming a fault it does not have; the compound file claiming to be simple; its second fault pointed at the wrong rule; an entry deleted; and two cases where the step that removes a fault does not actually remove it — an off-by-one leaving eleven milestones, and a date swapped for one that is still not a real day. Each had to fail the right check by name. The last two matter most, because a removal step that quietly does nothing would make the whole exercise pass while proving nothing.
- The correction came from the other side of the contract, from a reading of the note rather than a failing check. Nothing here could have caught it, and nothing here catches the next one of its kind. That is worth stating plainly rather than implying the checks are broader than they are.
v0.40.6
August 28, 2026Added
- Thirteen exported files from Story Map are now run through this app's real import machinery on every test run, up from one. Six pairs sit either side of six different limits — project name length, milestone count, milestone name length, the largest number a milestone may carry, a sprint's work not being negative, and a sprint's end date being a real calendar date.
- A single recorded fingerprint now covers the whole set. Story Map ships a summary file listing every export with its own fingerprint; this project records the fingerprint of that summary, and every export is then checked against the figures inside it. Recording thirteen fingerprints by hand instead would mean thirteen chances to copy one out wrongly, which is the exact mistake the recording exists to prevent.
- A check that the folder and the summary agree in both directions — an export present but unlisted would otherwise sit there untested, and a listing naming a file that is not there would quietly test nothing at all.
- A check that the set still covers six of the nine rules Story Map guards, and names the three it does not. Two of those three are not limits at all but missing-name cases, and the third is covered by a locally-built pair. Should that ever change without anyone noticing, it now fails rather than passing quietly.
Notes
- Story Map states what this app should do with each file, and that statement is checked rather than believed. Every verdict comes from this app's own importer; the statement is then compared against it, never the reverse. On top of that, a rejection has to be the rejection belonging to the specific rule the file claims to test — so a file turned away for some unrelated reason cannot pass itself off as testing a limit it never reached. And each rule must have exactly one file that is accepted and one that is refused, so a summary edited into agreement with itself breaks the pairing instead of going unnoticed.
- Every one of the ten new checks was run against a deliberately broken version of itself first. One byte changed in the summary; one byte changed in an export; the stated verdict flipped each way; a file relabelled to claim a different rule; a rule named that does not exist; an export deleted; an unlisted export added; a listing removed; the fingerprint of the original file overwritten. Each had to fail the right check by name, and the relabelling case is the one that matters most — it is what proves the checks are not simply agreeing with the file they are reading.
- The two projects still cannot see each other, and copying between them is still done by hand. What is new is that Story Map now records the same summary fingerprint on its side, so regenerating these files there fails a check telling that side to send them over. That converts silent staleness into a visible instruction; it does not remove the step.
- The file this project already held was confirmed unchanged. Its fingerprint is identical before and after Story Map produced the twelve new ones, checked on both sides and against the figure recorded here last week, so nothing already relied upon moved underneath it.
v0.40.5
August 28, 2026Added
- A file exported by Story Map is now run through this app's real import machinery on every test run. Not a stand-in and not a re-description of the rules — the same code that reads the file when you press Import. The file itself is the exact one Story Map keeps, copied here byte for byte and pinned by a fingerprint recorded in both projects, so a quietly edited local copy fails rather than passing against itself.
- The check that the file is recognised as coming from Story Map, specifically. This is the one that matters and the one easiest to get wrong: a Story Map file can be accepted as valid while still being treated as an ordinary Forecaster file, which is what happened for the whole life of the feature until Story Map began labelling its exports. Treated that way, importing offers to replace your entire workspace instead of offering the per-project merge choices.
- Every limit is now checked from both sides. A name of exactly two hundred characters must be accepted and one of two hundred and one must be refused; ten milestones accepted, eleven refused; and so on for each numeric limit, at its ceiling and at its floor of zero. Checking only one side passes just as happily when the limit itself is set wrong, which is a mistake this work has now made three times.
- A date check built on a real leap year rather than an obviously impossible date. The 29th of February 2028 must be accepted and the 29th of February 2027 refused. An impossible date such as the 45th of the 13th month is rejected by the first and cruder of the two tests the app applies, so it never reaches the second; a non-leap 29th of February passes the first test cleanly and is silently shifted to the 1st of March, so only the second test catches it. Just one of the two pairs proves the app is consulting a calendar rather than matching a pattern.
- A count of the app's rejection rules, worked out from the source rather than written down. Story Map keeps a list describing all thirty-three ways this app can refuse a file. Over there the total is a figure someone typed. Here it is counted from the file itself, so adding a thirty-fourth rejection without describing it fails immediately.
- A check that every described rejection still produces the wording recorded for it. Each is matched on its message rather than on a line number, because a line number pointing into another project decays the first time this file is edited.
Notes
- What this closes, and what it does not. It closes one direction: this app tightening a rule while Story Map's copy stays behind. The opposite direction — a change in Story Map newly running into a rejection here — was closed separately, on the Story Map side. A third gap remains open and is written into the files: if Story Map edits its own description of a rule and this app does not, every check here still passes, because no check here can read the other project. Re-copying is a manual step at each Story Map release.
- The limits that are checked here are still typed by hand in two places. Generating them instead was considered and rejected: it would relocate the duplication rather than remove it, and a generated copy needs its own staleness check, which is the problem it was meant to solve. Removing the second copy altogether needs a shared package, which the Suite has deliberately never created. What has changed is not that the copy is gone — it is that the copy going stale is now noticed here first.
- Counting rejection rules by reading the text of the source is a blunt instrument, and the file says so. It cannot see a rejection raised from a helper rather than written in place, and it will report a harmless rearrangement as a failure. It is kept because it needs nothing outside this project — no network, no second copy of Story Map on the machine, no pointer that rots. The stronger alternative is recorded alongside it so the next person does not have to work it out again.
- Every check was run against a deliberately broken version of itself before being kept. Fourteen faults were introduced one at a time — a single byte changed in the copied file, a described rejection deleted, a thirty-fourth rejection added, each side of a limit inverted, the Story Map label ignored, the milestone limit raised on the screen alone — and each had to make the right check fail by name. Three checks earlier in this same body of work were found to be passing without testing anything, and in every case it was running them against known-broken code that exposed it, never reading them.
v0.40.4
August 24, 2026Fixed
- A project's "last changed" time is no longer flattened into something unreadable on save. The Forecaster reads that time from the cloud, keeps it, and writes it back the next time you save — it does not stamp a fresh one. On the way out, the step that prepares data for saving takes anything object-shaped apart and rebuilds it, and the database's own date objects do not survive that: what got written back was a pair of raw numbers nothing can interpret as a date afterwards. Once one save had happened, the original time was gone for good and could not be worked out from what remained.
- The conversion now happens as soon as the project is read, so what is held is always plain text and what is written back is always something that can be read again. Four of the shapes the value can arrive in carry a real time and are recovered rather than discarded — including the very shape this bug produced, so projects already affected get their true time back rather than losing it a second time.
- Where no time can be recovered, nothing is invented. Two shapes carry no time at all — an unfinished placeholder, and a missing value — and a third is text that is not a date. In all three the field is simply left unset and the case is written to the browser console. It would have been easy to substitute today's date, or the project's creation date, and both would have looked tidy while asserting something untrue about when the project last changed.
- Left unset, not set to nothing. These are different: the save step removes fields that are unset, but writes ones that are explicitly empty. The second would have put an empty value into the stored project. This is spelled out in the code because the more obvious choice is the wrong one.
Notes
- The new checks were run against the old code first. Removing the conversion fails eleven of the thirty-three; the ones that still pass are those where doing nothing was already right — text that is already a date, and a value that is already missing. Writing "empty" instead of "unset" fails nine. A check that cannot fail is not a check.
v0.40.3
August 22, 2026Fixed
- The release-checking script no longer says there is no automated checking. Automated checking runs on every one of the nine projects, on every proposed change and on every merge, and what it runs is this very script.
- The remedy is correction, not a timestamp. The claim was false at authoring, not stale — self-refuted by a file added in the same set of edits. What went wrong was that a claim about the projects was written into an explanation without being checked against them, and an explanation is read as background rather than as an assertion somebody has to verify.
Added
- A note that automated checking and a check run by hand are complementary rather than ranked. The automated one works from a clean copy, so it catches anything that quietly depends on a file existing only on the author's own machine; but it also has less of the project to look at, so certain checks step aside there and only a hand-run finds what those cover.
- A note explaining how the code-style step is judged. It compares the number of reported issues against an agreed figure instead of reading pass or fail, and it does so for opposite reasons in different projects: here the step reports failure at the agreed figure of nine, so reading pass-or-fail would be too strict; in one sibling project it reports success at its figure, so reading pass-or-fail would be too lenient and would let new issues through unnoticed.
- A warning that the figure counts every kind of issue, not the one kind a project set it for, and that when it reaches zero the setting must be removed rather than set to zero — at zero the tool prints no count at all, and the step then fails asking for a number that was never printed.
v0.40.2
August 19, 2026Changed
- Microsoft sign-in now requires a work or school account. Personal Microsoft accounts are refused before a password is entered. This is enforced by Microsoft, not by the app.
- The sign-in area says so. Previously "Sign in with Microsoft" was offered unqualified, and a personal-account user discovered the restriction only from a Microsoft error page.
- Nothing changes for personal use. Google still accepts personal accounts, so cloud storage remains available to everyone.
v0.40.1
August 11, 2026Fixed
- A milestone dragged upward now lands in the gap the blue line marked, instead of one position above it. The drop position and the line are both computed from the pointer's position within the row it is over, so they can no longer disagree; previously the drop used the row index alone and resolved the resulting ambiguity differently depending on which way you were dragging.
- The final gap in the list is now visible. Aiming below the last milestone draws the line under it. There was no row beneath that gap to draw on before, so the one drop target at the bottom of the list was unmarked.
Changed
- The insertion line now tracks the pointer within a row, appearing above the row when you hold its top half and below it when you hold its bottom half, rather than always below the row being hovered. This is what makes both gaps around a milestone reachable without having to approach from a particular direction.
- Dropping a milestone back where it started no longer writes anything. Both gaps touching a milestone are that milestone's own position, and releasing in either now leaves the order alone rather than saving an identical list.
- Reordering on the Projects tab is deliberately not part of this release. It marks its drop target with a box around the whole project rather than a line in a gap, so it makes no promise about position that this fix would correct.
v0.40.0
August 11, 2026Changed
- The behaviours that nothing was checking are now checked. Thirteen of them, across the forecast engine, cloud sync, sprint-history import, the changelog page and the AI connection. Each was confirmed correct first and then pinned, rather than pinned because it was what the code happened to do — one of the thirteen turned out to be wrong when it was examined, and that one became the v0.39.1 fix rather than a test that made a false statement permanent.
- Two areas were examined and deliberately left alone, with the reasons written into the code itself rather than into a document. Import validation and import conflict-resolution were both measured as already well protected, and the measurements are recorded beside them so the decision is visible to whoever next opens those files.
Added
- A record of what is guarded and how. The forecast form and the AI snapshot builder had no tests at all before this work; both now do. Where a check exists mainly to prevent a specific past mistake, the mistake is named next to it.
v0.39.2
August 11, 2026Fixed
- Screen readers can now tell which tab is active. The active tab is marked with aria-current; the other four carry no marker at all, which is the correct way to say "not current" — marking them false is a valid encoding that some screen readers read aloud, and would be worse than saying nothing. Addresses WCAG 2.2 success criterion 4.1.2, Name, Role, Value.
Changed
- Tab navigation behaviour is unchanged, and now has tests saying so. The tab bar deliberately does not adopt the full ARIA tab pattern, which would collapse all five tabs into a single stop in the tab order and move between them with arrow keys instead. The tabs had none of that before this release and have none of it now. Tests fail if a tab index or a tab role is ever added by accident.
v0.39.1
August 11, 2026Fixed
- The truncation notice no longer claims your velocity statistics cover every sprint. It now points the assistant at figures already present in the snapshot — how many sprints the statistics cover, how many are included in the forecast, and how many exist in total — instead of summarising the relationship between them in prose. The assistant compares the numbers itself.
- A claim that could never be checked has been removed from the same list. One entry described a small difference between two displayed dates as "how the app has always behaved". It named no version and nothing that could be verified, so nothing could ever have shown it wrong. The checkable part is kept: that difference comes from the forecast summary itself, not from the AI connection.
Changed
- Sprint-truncation details are now reported once rather than twice. The snapshot had described the same fact in two places in two different wordings, and the two had drifted apart — which is how one of them came to be wrong while the other stayed right. The counts are carried as data and explained in a single place.
v0.39.0
August 10, 2026Security
- vite is pinned at 7.3.5 rather than 7.3.2, closing GHSA-fx2h-pf6j-xcff (high — server.fs.deny bypass on Windows alternate paths) and GHSA-v6wh-96g9-6wx3 (moderate — NTLMv2 hash disclosure via Windows UNC path handling). vite is test tooling and reaches no production bundle. ⚠️ This does not make the dependency audit clean: a low-severity esbuild advisory and nine next advisories remain, the latter because no fixed release has yet cleared this project's 60-day dependency-age policy.
Added
- Mutation testing, scoped to the Monte Carlo engine, the distribution samplers and the date arithmetic — the three places where a rule is stated exactly once and a wrong answer becomes a wrong sprint date or percentile. It measures whether the existing tests would notice a change, rather than whether they run.
- A type-check step in the release gate that includes test files. 48 type errors were living in test files where nothing could see them: the test runner compiles without checking types, and the production build skips test files entirely. All 48 are fixed and the count is now held at zero.
- A cognitive-complexity ratchet, accepted at the ten findings that already existed. It fails when a new one appears *and* when an existing one disappears without being accounted for, so complexity cannot be quietly relocated rather than removed.
Changed
- The distribution samplers are now checked for spread, not only for average. Gamma and normal sampling assert the standard deviation they are asked for, with bands measured across repeated runs rather than guessed.
- today() is pinned to a fixed clock in tests. It feeds export filenames and default form values, and nothing had ever asserted the date it returns.
- Productivity adjustments are tested at the exact sprint boundary — one ending on a sprint's first day, one beginning on its last. Both are ordinary calendar cases; neither had a fixture.
Fixed
- A mock claimed a hook returned a value it does not return, and a cloud-sync test could not express the sign-out scenario it was written for, because its own type inference forbade the transition under test. It had run correctly for its entire life while its types said it was impossible.
- Dead logic removed from the simulation engine — a guard repeated at three call sites that could not affect the result at any of them.
- Working notes at the repository root are no longer stageable. 59 planning documents sat untracked and unignored, so a single git add -A would have committed all of them to a public repository.
v0.38.8
August 2, 2026Added
- The author's name may not be used to endorse or promote a product built from this software without permission (GPL v3 §7(d)). Nothing else in the licence covered this: the project's trademarks are protected whether the licence mentions them or not, but a personal name has no such protection, and another condition requires that name to stay in the source code.
- Anyone who resells this software with a warranty or support contract of their own covers any liability those promises impose on the original author (§7(f)). The standard licence already permits a reseller to make such promises; this makes clear they are theirs to stand behind.
Changed
- The condition covering on-screen credit was rewritten. It used to require any modified version with a user interface to *display* a notice. §7(b) authorises requiring that existing notices be *preserved*, not that new ones be created, and §5(d) says outright that a modified work need not add such notices where the original had none. A condition reaching past what §7 allows can simply be deleted by whoever receives the software — so the old wording protected nothing. It now requires that where a modified version already shows Appropriate Legal Notices, the original author's name is kept among them.
- A modified version may no longer misrepresent where this software came from, claiming §7(c)'s previously unused first half.
- The trademark condition gains a narrow carve-out: naming this project in order to describe honestly what a fork was derived from is not itself prohibited, provided it does not suggest this project endorses the result. This resolves the tension where the trademark condition granted no rights to the marks while the marking condition required a fork to distinguish itself from them.
- Every condition now tracks the wording of the §7 subsection that authorises it, and the registration recital is date-stamped, since asserting live USPTO registration as bare present fact acquires a shelf life.
v0.38.7
July 31, 2026Changed
- The ship gate now checks public/CHANGELOG.md. changelog.extraSurfaces added to shipgate.config.json; scripts/shipgate.mjs gains support for it and stays byte-identical across all nine suite repositories.
v0.38.6
July 31, 2026Changed
- CI resolves Node from .nvmrc rather than a hardcoded major. shipgate.yml stays byte-identical across all nine suite repositories — setup-node resolves the path per repository, so no per-repo divergence was needed.
v0.38.5
July 29, 2026Added
- npm run shipgate — the release gate. Checks that every version surface agrees: package.json, both version fields in package-lock.json, the APP_VERSION constant, and the newest CHANGELOG.md entry. It reports each disagreement individually rather than failing on the first, so one run tells you everything left to do.
- Continuous integration, for the first time in this repository. A GitHub Actions workflow runs the ship gate on every pull request and every push to main. It installs with npm ci, which refuses to run at all if package-lock.json and package.json disagree — an independent second check on exactly the drift the gate looks for.
- A guard that every changelog entry renders non-empty. It runs the real parser over the real CHANGELOG.md and asserts that every entry reaches the page with content beneath it. This is the failure that has no other symptom: the markdown is valid, the build succeeds, types check, lint passes, and the page is silently blank.
- A guard that public/CHANGELOG.md stays byte-identical to the root file. Nothing in the app reads the public copy, so no build, type check, lint run or test could ever have noticed it rotting — and it had fallen four releases behind before v0.38.1 resynced it. Byte-identity rather than a version-heading comparison, because the drift this caught in testing had the *same* newest heading in both files and differed only in the body.
- A guard that LICENSE matches the canonical SPERT® Suite licence. One SHA-256 of the licence body, normalised for the repository URL on line 4, which is the only line that legitimately differs across the nine repositories.
Fixed
- The v0.21.2 entry's "Security Audit Summary" section rendered as an empty heading. It was written as a single prose paragraph, and the changelog parser collects only ### headings and - list items, so the text was silently discarded — the same defect class fixed for v0.38.2 and v0.38.3 in the last release, one level further down. The section now carries bullets alongside the prose, so it displays in full. The new guard is what found it.
Changed
- npm test now runs the suite once and exits. It was the only repository in the suite where npm test opened a watcher instead, which made it behave differently from the other seven for anyone running it by hand. npm run test:watch gives the old behaviour; npm run test:run still works.
v0.38.4
July 29, 2026Changed
- LICENSE now reserves the SPERT® brand. A new Trademark Reservation clause under GPL v3 §7(e) names "SPERT", "Statistical PERT" and "Estimation Made Easy" as trademarks registered with the USPTO, and "GanttApp" and "MyScrumBudget" as unregistered common-law marks, and grants no right to use any of them — whether alone, in combination with other words such as "SPERT Suite", or as a logo.
- Modified versions must be renamed. A companion Marking of Modified Versions clause under GPL v3 §7(c) requires any fork to adopt a name that cannot reasonably be confused with those marks. Between them the two clauses draw the line the license always meant to draw: the code is free to take, change and redistribute, the author attribution has to travel with it, and the brand stays behind.
- Both clauses are non-removable. They fall inside the categories GPL v3 Section 7 permits, which matters — Section 7's closing paragraph lets a recipient strip any additional term falling *outside* that list, as a "further restriction". The section header and its opening sentence now cite Section 7 rather than Section 7(b), because the terms draw on 7(b) for attribution, 7(c) for renaming modified versions and 7(e) for the trademark reservation.
Fixed
- The GNU GPL v3 text in this repository was incomplete. The final appendix — "How to Apply These Terms to Your New Programs", 54 lines covering the standard per-file notice and the interactive-mode notice — was absent, leaving the file at 648 lines against the canonical 726. The omission was in the appendix rather than the operative terms, so it did not change what the license permits, but the file was not a complete copy of the GPL and now is.
- The header block had lost its formatting. Lines 4 through 8 had run together, dropping the blank lines and the --- separator that divide the project identification from the license text proper.
- v0.38.2 and v0.38.3 rendered as empty entries in-app. Both are now split into ### sections so the changelog parser collects them. The prose paragraphs are retained unchanged above each set of sections; nothing was rewritten, only restructured.
Internal
- LICENSE is now a byte-for-byte copy of the canonical file in the SPERT® Suite landing-page repository, which is its single source of truth, differing only in the project repository URL on line 4. Of the nine suite repositories audited, only MyScrumBudget was an exact copy beforehand.
- The in-app Changelog page reads the root CHANGELOG.md at build time via readFileSync, while public/CHANGELOG.md serves direct requests to /CHANGELOG.md. Both were updated and verified identical.
v0.38.3
July 29, 2026Fixed
- Shared project members showed a blank name. The sharing panel rendered an empty row where a name or email address should have been. It affected anyone who had been added to a project through an emailed invitation and who had used another SPERT® Suite app but had never personally signed into SPERT Forecaster.
- Root cause: the per-app profile document was never seeded for invited members. getProjectMembers resolved profiles against spertforecaster_profiles only. That document is written by this app's own sign-in flow, whereas the cross-app invitation Cloud Function resolves an invitee by their spertsuite_profiles document and then writes only members.{uid} — it never creates a per-app profile. With no per-app document to read, and with the sharing panel rendering displayName || email and no identifier fallback behind it, the row came out empty rather than merely cryptic.
- The fix is a read fallback, not a migration. The lookup now falls back to spertsuite_profiles/{uid} whenever the per-app document is absent. Both documents carry the same payload, and firestore.rules already permits get on the suite mirror for any authenticated user, so no rules change and no data backfill were required. Affected members render correctly on the next load with no action from anyone.
- Wall-time was preserved. The fallback re-reads only the uids that actually missed, and reads them together in a single second batch, so the parallel Promise.allSettled fan-out keeps its O(1) wall-time instead of degrading to O(N).
- Guarded by four new cases in firestore-sharing.test.ts; two of them fail with the fix reverted.
v0.38.2
July 26, 2026Changed
- Removed this repository's local copy of firestore.rules. Firestore security rules are deployed from the Firebase Console and mirrored in the SPERT® Suite landing-page repository, which is their single source of truth. The copy kept here was never deployed from and could only drift out of date. It was never bundled into the app, so cloud behaviour is unchanged — this is a repository-hygiene change, not a security-rules change.
Fixed
- De-flaked a statistical unit test. randomUniform's mean check asserted a 2.16-sigma band, which failed roughly 3% of runs purely at random. It now asserts a 5.2-sigma band, which still fails loudly on a genuinely wrong distribution but no longer trips on ordinary sampling noise. No production code was involved — the distribution itself was always correct.
Internal
- Version surfaces resynchronised. package-lock.json had been stranded at 0.35.14 while package.json read 0.38.1. Both now read 0.38.2.
v0.38.1
July 26, 2026Added
- Connect AI Guide (PDF) on the About tab, in a new section directly beneath the Quick Reference Guide, which is where both sibling apps place theirs. Served from public/, with a copy at the repository root so it is readable straight from GitHub.
- AI Privacy Notice in the footer, between Privacy Policy and License, pointing at the suite-wide notice at spertsuite.com/ai-privacy.
- AI privacy notice link in the Connect AI consent dialog, at the bottom-left of the button row — the same placement SPERT Scheduler uses.
Changed
- The Quick Reference Guide PDF has been replaced with a refreshed edition. The About tab link is unchanged; the file behind it is new.
Internal
- Added a guard test asserting that every PDF the About tab links actually exists in public/. A renamed or dropped asset otherwise survives the build, ESLint, and every type check, and fails only in front of a user.
- Resynced public/CHANGELOG.md, which had drifted four releases behind the root CHANGELOG.md since v0.35.14. The in-app changelog page reads the root file, so the stale copy affected only a reader fetching /CHANGELOG.md directly.
v0.38.0
July 26, 2026Changed
- Connect AI is now a header button, not a Settings section. It sits in the header control cluster to the left of the theme toggle — the same relative position both sibling apps use. The Settings section has been removed entirely rather than kept as a second entry point: two entry points would be two things to keep in sync, and neither sibling has one.
- The pairing panel is a modal, with a Done button, Escape-to-close, click-outside-to-close, and no background scrolling. It closes itself after a successful Disconnect.
- Consent is not re-requested unnecessarily. Clicking Connect AI when this browser has already consented at the current consent version resumes the session silently and opens the panel. The consent dialog now appears only on a genuinely first connection, or after the consent copy changes materially enough to warrant re-acceptance.
- The pairing code stops refreshing while the panel is closed. It previously rotated on a ten-minute timer regardless of whether anything was on screen to rotate.
Internal
- Added ConnectAiLauncher, which owns the button and both modals; ConnectAiSection is deleted. The connection itself remains in AiConnectivityProvider at AppShell level, unchanged from v0.37.1.
- The wiring test that guards the v0.37.1 defect moved to the launcher rather than being deleted with the section, and gained two cases covering the no-projects gate. It remains deliberately structural — asserting the launcher renders *nothing* without a provider above it, which is the only form of assertion that can distinguish "owns a connection" from "consumes one".
- Recorded as decision D-F15 in the suite's AI Connect decision register, with a new conformance section covering entry-point parity across all three apps.
v0.37.1
July 26, 2026Fixed
- The AI connection now survives leaving the Settings tab. useAiConnectivity moved from ConnectAiSection into a new AiConnectivityProvider mounted once in AppShell. Snapshot publishing, the 30-second heartbeat, and the session-document listener continue for as long as the page is open, regardless of which tab is showing.
Internal
- Added a wiring test asserting ConnectAiSection renders nothing without a provider above it — the only form of assertion that can distinguish "owns a connection" from "consumes one", and the one that reproduces the shipped defect.
- Both the provider and the section carry a comment explaining what breaks if the hook is moved back, since the tidier-looking arrangement is the broken one.
v0.37.0
July 25, 2026Added
- Connect AI section in Settings — a consent dialog, a single-use pairing code that refreshes while idle, a Read Mode toggle, a live "assistant connected" indicator, and Disconnect. Copy buttons for both the bare code and a prepared prompt that tells your assistant how to read the snapshot correctly.
- Three read-only tools on the SPERT MCP server: one that reads the paired project, and two ungated explainers covering the forecasting method and the app's vocabulary.
Internal
- The snapshot is built by an explicit allowlist — every field added by name, with no object spread anywhere in the module. The stores it reads from carry workspace-reconciliation tokens and export-attribution fields that must never leave the browser, and an allowlist cannot leak a field nobody wrote. Four tests assert this against a fixture where every such field holds a distinctive sentinel: no key beginning with an underscore, no exportName/exportId key, and no sentinel *value* anywhere in the serialized body — the last of which catches a leak that renamed its key on the way out. All four assertions were confirmed to fail against a deliberately introduced spread, and they run against the post-sanitize artifact, which is what actually reaches the cloud.
- Every freshness-ladder row is unit tested with its user-facing reason. Including the two that are easy to miss: a backlog of "0" is reported as *blocked*, not merely un-run, because the run prerequisites test the raw string (where "0" is truthy) while the handler bails on the parsed value — left unhandled, an assistant would advise running a forecast that silently does nothing forever. And the "ask the user to recompute" closing sentence becomes "the forecast cannot be re-run until…" when a re-run is currently impossible, which is reachable by running a forecast and then clearing the backlog field.
- What the three summary dropdowns report is the value they RENDER, not the value they store. Two of the three render a derived fallback: the distribution picker falls back to the first enabled option when your stored choice is no longer offered, and the scope picker falls back to "Entire Project" when the selected milestone completes. Emitting the stored cells would have put lognormal on the wire while the screen read "Gamma". The scope list is filtered on completion alone — deliberately not the two-filter rule the charts use — so a milestone hidden from charts remains selectable, exactly as the app behaves.
- Snapshot size degrades rather than skipping the write. A skipped write leaves the previous snapshot in place and stale, so an assistant reads outdated numbers with no signal at all. Over budget, the builder first drops percentile grids for distributions you cannot see, then falls back to configuration only — both marked bodyDegraded and disclosed. The budget is an injectable parameter so both steps are unit tested; a typical project is an order of magnitude inside it.
- The session document is asserted to carry exactly ten keys, because the Firestore create rule permits exactly those and rejects any extra — a mistake that would surface only in production, at pairing time, as an opaque permission error. The likeliest extra key is the one the client *reads* to drive the connected indicator but must not write.
- The heartbeat reads the open project from a ref rather than a closure, so a timer scheduled before a project switch cannot pin the previous project onto the session; it stops itself on a deleted or forbidden session rather than failing every 30 seconds for the life of the tab; and a visibilitychange listener re-announces the browser on tab focus, since background-tab throttling can otherwise push a returning tab outside the server's connected window.
- Snapshot writes are debounced two seconds, keyed on a content digest rather than object identity (cloud delivery returns a fresh object literal every time), with the debounce bypassed on a project switch and on a simulation starting — without the latter, the "recomputing" status would never be published at all, since clicking Run changes nothing else the digest sees.
v0.36.0
July 25, 2026Changed
- Forecast results survive leaving the Forecast tab. Results, per-milestone slices, the raw trial arrays, and the in-flight simulation flag moved from useForecastState's useState cells into src/shared/state/forecast-results-store.ts, created deliberately without persist — the record holds six raw sorted trial arrays per scope, which must never be serialized, and results describe a run that happened in this session. Returning to the tab now renders the retained record instead of starting a new simulation.
- Forecast view state is remembered per project. The target date, both custom percentiles, the results-table percentile selection, the milestone selector, the scope-growth toggles, and the summary panel's scope / distribution / percentile pickers are keyed by project id. A project-change reset effect used to clear some of these — the comment explaining why ("a target date from project A shouldn't bleed into project B") now travels with the store field, so the mechanism is per-project keying rather than a reset.
- Auto-recalculate no longer re-runs a forecast whose inputs are unchanged. The effect now checks the resolved project's record against a freshly built input snapshot and returns early when nothing that affects the numbers has moved. Editing a milestone's backlog, toggling a sprint's inclusion, or changing an enabled productivity adjustment still triggers exactly one re-run.
Internal
- buildForecastInputSnapshot is the single producer of both the published runConfig and the staleness comparand, and it is called once per run, before the await, alongside the captured project id and generation token. The resolveScopeGrowthPerSprint(...) ?? null normalization lives inside it and nowhere else. The worker payload is now read off the same snapshot, so a record provably describes the numbers the simulation consumed.
- Both forecast hooks' derivations were extracted whole into shared/lib/forecast-derivations.ts (deriveSprintData, deriveForecastInputs, and the helpers they need), with useSprintData and useForecastInputs becoming useMemo wrappers over them. The freshness check and the snapshot builder run outside React and cannot call a hook, so extracting only one hook's half would have left both unable to reach resolved sprint dates, velocity stats, scope-change stats, and the completed-sprint count. statistics.ts, simulation-generation.ts, the Monte Carlo result types, the scope sentinel, and the four constants those derivations depend on moved to shared/ accordingly; the feature's former paths re-export every name, so no existing import site changed.
- A publish is suppressed entirely if the resolved project changed mid-run. The viewed-project selector falls back to projects[0], so a collaborator deleting the open project while a simulation is in flight could otherwise stamp one project's results with another's id — and the read gate would then match and show them under the wrong name. The run captures the resolved id at start and re-resolves before publishing.
- Every path that stops a run clears the in-flight flag under a run-token check: worker unmount (a store write, since React discards state updates on an unmounting component), the success and error handlers, the rejection path, and the branch where the worker ref is null — which also has to reject and clear the pending ref, since it sits inside the promise executor and clearing alone would leave the promise permanently unsettled. Without the token check, an aborted run's late callback would clear the flag while its replacement was still running.
- The record and the per-project view-state map are purged at the same five sites — sign-out, both cloud→local switches, full import, merge-import for replaced project slots, and project deletion. The map holds target dates and percentile selections, the same shape of residue forecastInputs and the change log are already cleared for on a shared device. Neither is cleared on unmount or on a cloud snapshot delivery.
- 42 new tests. The highest-value one publishes through handleRunForecast itself and builds the comparand independently afterwards, because the obvious version — build a snapshot, publish from it, compare against the same snapshot — is a tautology that passes under every implementation including the broken one. A loop tripwire asserts the worker is invoked exactly once with auto-recalculate on, and its worker mock carries a circuit breaker: a genuine divergence starves the event loop, so without it the suite would hang instead of reporting. Both were confirmed to fail against a deliberately reintroduced divergence.
v0.35.14
July 17, 2026Fixed
- Cloud project saves no longer crash when an optional date or cadence field is unset. saveProject — and, for symmetry, saveSettings/saveSettingsImmediate — now assemble their mergeFields write through a new buildMergeWrite helper that upholds the Web SDK's "every masked field must be present in the data" rule. A cleared optional project scalar is re-added to the payload as a Firestore deleteField() sentinel, which keeps it in the mask (no throw) *and* removes it server-side — preserving the v0.35.0 behavior where clearing an optional field deletes it in the cloud instead of resurrecting on the next refresh, now done the way the Web SDK actually supports. As a backstop, any masked field still missing from the payload is dropped from the mask so it can never re-trigger the error.
Internal
- Added six firestore-driver tests that assert the write-path invariant directly: every mergeFields path is present in the setDoc payload, cleared optional scalars serialize as deleteField(), present values pass through unchanged, and owner/members are never written from the debounced path. The previous tests only checked the static field-list constants and mocked setDoc, so they never exercised the Web SDK's field-mask validation that produced the crash.
- Rewrote the C1/C2 comment block in firestore-driver.ts, which had documented the incorrect "absent masked field ⇒ server-side delete" assumption behind the regression.
v0.35.13
June 28, 2026Changed
- postcss override 8.5.10 → ^8.5.10 (resolves to 8.5.16).
v0.35.12
June 27, 2026Changed
- vitest upgraded 4.1.4 → 4.1.5 (exact-pinned; previously the lone ^-floated dev dependency). A within-minor patch to the test runner; its @vitest/* companion packages (spy, utils, expect, mocker, runner, snapshot, pretty-format) move to 4.1.5 in lockstep. All are dev/test-only and ship in no production bundle. The 1,064-test suite (all 55 files) runs to completion under 4.1.5 with no regressions.
Internal
- 4.1.5's fixes (increased snapshot max-output length, soft-assertion diff-config handling, web-worker MessagePort support, UI jsx/tsx highlighting, coverage error messages, the Istanbul instrumenter option, and several reporter fixes) were checked against the suite: it uses no snapshots, no soft assertions, and no @vitest/web-worker, so the bump is behaviorally inert here and taken purely for currency and suite-wide consistency.
- 4.1.5 was selected to match the 60-day soak policy and the rest of the SPERT suite rather than the newer 4.1.9. The Vite dependency range is unchanged from 4.1.4, leaving the deferred Windows-only vite dev-server advisory cluster (tracked for ~2026-07-31) and its vite@7.3.2 override pin in place.
v0.35.11
June 27, 2026Changed
- @types/node upgraded 22.x → 24.12.2 (exact-pinned; the highest soaked 24.x — the suite tracks Node 24 LTS, not 25). Type-definitions only; next build type-checks clean against the Node 24 definitions. The transitive undici-types follows in lockstep (6.21.0 → 7.16.0); no advisory.
- engines.node 22.x → 24.x and .nvmrc 22 → 24 — the declared and pinned Node runtime now matches the Vercel build environment (Node 24). No code change; the Vercel deploy on Node 24 is the runtime validation.
Internal
- Closes the dependency upgrade campaign (v0.35.6 → v0.35.11). The five-key Windows-only vite dev-server cluster remains the only deferred advisory, tracked for ~2026-07-31 once vite@7.3.5 clears its 60-day soak.
v0.35.10
June 27, 2026Changed
- zustand upgraded 5.0.11 → 5.0.12 (exact-pinned). Within-minor patch to the state store; the project/settings store unit tests pass unchanged and a local smoke confirmed store mutation and localStorage persistence.
- jsdom upgraded 27.4.0 → 29.1.0 (exact-pinned; a two-major jump, dev/test only). jsdom 29 restructures its internals — it replaces the proxy-agent HTTP stack with undici, refreshes its CSS-parsing subtree, and drops its ws dependency entirely. All 55 test files ran to completion with 1,064 tests passing; an exact file-count assertion guarded against silent test-collection drift across the major jump.
- lucide-react upgraded 0.577.0 → 1.11.0 (exact-pinned; a 0→1 major). Present in the manifest as shadcn/ui scaffolding but with zero source imports, so the bump has no functional effect; pinned for currency.
Internal
- All three were re-derived to their highest soaked versions at branch-cut (zustand 5.0.12 / 103d, jsdom 29.1.0 / 61d, lucide-react 1.11.0 / 63d). The jsdom transitive churn (undici, the @asamuzakjp/* CSS subtree, whatwg-url/whatwg-mimetype) is confined to the test environment — none ships in the Next/Turbopack production bundle.
v0.35.9
June 27, 2026Changed
- recharts upgraded 3.8.0 → 3.8.1 (exact-pinned). Within-minor patch; the CDF and burn-up charts were verified rendering correctly. The lockfile change is isolated to recharts itself — no transitive cascade.
- tailwindcss and @tailwindcss/postcss upgraded 4.2.1 → 4.2.4 (lockstep, exact-pinned). Within-minor patch; the bump cascades to Tailwind's native @tailwindcss/oxide platform binaries and the transitive lightningcss (1.31.1 → 1.32.0), all within range. Layout and styling were verified intact.
Internal
- tailwindcss and @tailwindcss/postcss were re-derived to the same soaked version (4.2.4) and asserted in lockstep before the bump.
v0.35.8
June 26, 2026Changed
- react and react-dom upgraded 19.2.4 → 19.2.5 (lockstep, both exact-pinned). A within-minor currency patch with no API-surface change. The lockfile change is isolated to the two packages — no transitive cascade. Build, lint, and the 1,064-test suite are unchanged; a local render smoke (app boot plus the Forecast tab with its velocity-trend chart) passed.
v0.35.7
June 26, 2026Changed
- typescript upgraded 5.9.3 → 6.0.3 — the project's first TypeScript major bump. Type-system and tooling only; it compiles to identical JavaScript, so there is no runtime or user-facing change. next build type-checks the full program (all source plus 55 test files) with zero new errors under 6.0; ESLint (--max-warnings=0) and the 1,064-test suite are unchanged.
Internal
- The bump was gated on v0.35.6 floating typescript-eslint to 8.62 (peer range typescript <6.1.0); TypeScript is held at 6.0.3, the highest soaked 6.0.x, because 6.1+ exceeds that peer ceiling. The lockfile change is isolated to typescript itself — no transitive cascade.
v0.35.6
June 26, 2026Security
- next upgraded 16.1.6 → 16.2.9, clearing 19 advisories — including HIGH-severity HTTP request smuggling in rewrites, null-origin Server Actions CSRF bypass, Server Component denial-of-service, unbounded next/image disk-cache growth, and postponed-resume buffering DoS. eslint-config-next was bumped lockstep 16.1.6 → 16.2.9.
- protobufjs floated 7.5.4 → 7.6.4, clearing a CRITICAL RCE and 10 further advisories (an 11-GHSA cluster across the <=7.6.2 range: arbitrary code execution, prototype-pollution code-generation gadgets, and several denial-of-service vectors), plus the related moderate @protobufjs/utf8 overlong-UTF-8 advisory. The float resolves within firebase's existing protobufjs range during the regen — no manifest change.
- @grpc/grpc-js floated 1.9.15 → 1.9.16, clearing two HIGH advisories — a server crash on a malformed request and a client/server crash on a malformed compressed message. Float resolves within @firebase/firestore's existing range.
- ws floated 8.19.0 → 8.21.0, clearing two HIGH advisories — uninitialized-memory disclosure and memory-exhaustion DoS. ws enters the tree only as a transitive jsdom test dependency.
- postcss override added (8.5.10), clearing a moderate XSS advisory — unescaped </style> in CSS stringify output (<8.5.10). next@16.2.9 still pins postcss@8.4.31 inside its own subtree, so a top-level overrides entry is the only available lever; the regen then deduped the nested copy away entirely.
- firebase currency-bumped 12.10.0 → 12.12.1 (soak-eligible, 66 days), the carrier release that brings the protobufjs and @grpc/grpc-js floats into range.
Internal
- Full lockfile regeneration (rm -rf node_modules package-lock.json && npm install) to realize the transitive security floats. All 23 caret-ranged dependencies were pre-pinned to their current resolved versions before the regen, then the 22 non-movers restored to their original ^ floors afterward — so the only intentional manifest version changes are next, firebase, and eslint-config-next; everything else in the lockfile is transitive cascade. The dev-tooling transitives @babel/core, flatted, picomatch, brace-expansion, and js-yaml also cleared their advisories on the regen.
- Residual advisories (deferred, baselined): the five-key vite cluster — vite, vitest, @vitest/mocker, @vitejs/plugin-react, and esbuild — all Windows-only dev-server issues with no production exposure (the app builds with Next.js / Turbopack, not Vite). Tracked for a ~2026-07-31 revisit, once vite@7.3.5 clears its 60-day soak.
v0.35.5
June 19, 2026Security
- vitest upgraded 4.0.18 → 4.1.4, closing GHSA-5xrq-8626-4rwp (Critical) — arbitrary file read and execution via the Vitest UI server. The Vitest UI's underlying server could be coerced into reading and executing files outside the project root; the fix shipped in the 4.1.x line. This is the only Critical advisory in the project's dependency tree that is in scope for this release, and it is the headline reason for the bump.
- vite moved 7.3.1 → 7.3.2, closing three dev-server advisories: GHSA-p9ff-h696-f583 (High) — arbitrary file read via the dev-server WebSocket; GHSA-v2wj-q39q-566r (High) — server.fs.deny bypass via crafted query strings; and GHSA-4w7w-66w2-5vf9 (Moderate) — path traversal through optimized-deps .map requests. All three are fixed in vite 7.3.2. Vite enters the tree only as a transitive dependency of vitest and @vitejs/plugin-react, so it is pinned rather than bumped — see Internal for why the Vitest upgrade alone did not move it.
- Two Windows-only advisories remain deferred by design: GHSA-fx2h-pf6j-xcff (vite server.fs.deny bypass on Windows alternate paths) and GHSA-v6wh-96g9-6wx3 (launch-editor NTLMv2 hash disclosure via UNC-path handling on Windows). Both are fixed only in vite@7.3.5, which has not yet cleared the suite's 60-day dependency-age policy. Neither is reachable on the macOS development environment, and adopting 7.3.5 now would pull in a release too new to vet against that policy. Scheduled follow-up to adopt vite@7.3.5 once it clears the window: on or about 2026-07-31.
Internal
- vite is pinned to exactly 7.3.2 through a new overrides block in [package.json](package.json), not added as a direct dependency. Vite is a shared transitive dependency of both vitest@4.1.4 (range ^6.0.0 || ^7.0.0 || ^8.0.0) and @vitejs/plugin-react@5.1.4 (range ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0), deduplicated to a single copy. Because the already-locked vite@7.3.1 satisfied both ranges, the vitest@4.0.18 → 4.1.4 upgrade left Vite untouched. npm update vite was rejected as the remedy: it resolves to the newest in-range release, vite@7.3.5, which carries the two deferred Windows advisories and has not cleared the 60-day age policy. The overrides pin lands Vite at exactly 7.3.2 — closing the three in-scope advisories without overshooting — and is range-compatible with both consumers, so no --force or --legacy-peer-deps was needed.
- No source, test, or production-dependency changes. The full suite passes unchanged on Vitest 4.1.4 — 1064 tests across 55 files — and the production build and ESLint are clean. The remaining advisories surfaced by npm audit (in next, in firebase's protobufjs and @grpc/grpc-js, and in postcss) are pre-existing, unrelated to this update, and out of scope.
v0.35.4
June 8, 2026Fixed
- The Forecast tab's derived "Start Date" now defaults to the project's first sprint start date when no sprints have been logged, instead of today(). The anchor is computed in [src/features/forecast/hooks/useSprintData.ts](src/features/forecast/hooks/useSprintData.ts) by resolveAnchorDate, which already returns firstSprintStartDate for an empty sprint history — sprint 1 begins on the first-sprint date, so that is exactly where the forecast should start. The hook never reached it: a if (projectSprints.length === 0) return today() short-circuit ran first and overrode the correct value with the current date. The flaw was invisible for any project with sprint history (the common case once a team gets going, where the anchor cascades forward to the day after the last completed sprint) but wrong for the moment that matters most — setting up a forecast for a project that hasn't started yet, such as one beginning on a future date. Removing the short-circuit lets resolveAnchorDate([]) supply the first-sprint date; the today() fallback is retained only for the genuinely-unconfigured case (a project whose first-sprint date or cadence has not yet been set on the Sprint History tab). The fix corrects the displayed Start Date and everything downstream that consumes forecastStartDate: absolute sprint-number dates in the results, the CDF chart's date axis, the burn-up chart's projection anchor, and the deadline-probability panel's target-date floor. A load-bearing comment marks the removed short-circuit so it is not reinstated in a future refactor.
Internal
- Four new tests in [src/features/forecast/hooks/useSprintData.test.ts](src/features/forecast/hooks/useSprintData.test.ts) (a new file) cover the forecastStartDate derivation directly: an unstarted project anchors on its first-sprint date and not today() (the regression guard), the today() fallback is preserved when either firstSprintStartDate or sprintCadenceWeeks is unset, and the history path still cascades forward past the first-sprint date once a sprint is logged. The underlying resolveAnchorDate([]) behavior was already covered in dates.test.ts; these tests lock in the hook's delegation to it so the short-circuit cannot quietly return. Test count: 1060 → 1064.
v0.35.3
May 31, 2026Security
- findUserByEmail in [src/shared/firebase/firestore-sharing.ts](src/shared/firebase/firestore-sharing.ts) now constrains its spertforecaster_profiles query to limit(1). The function backs the legacy single-email share flow, resolving an invitee email via where('email', '==', cleaned) with no result limit. Under the forthcoming list: if isAuth() && request.query.limit <= 1 rule, that unbounded query is rejected with PERMISSION_DENIED. Email is unique per profile and the function already returned only snap.docs[0], so the limit(1) is behavior-preserving. The constraint is load-bearing rather than an optimization — it keeps the read rule-safe even if INVITATIONS_ENABLED is toggled back to false, which re-exposes the legacy share UI that calls this path. The active bulk-invite flow is unaffected: it routes through the sendInvitationEmail Cloud Function (Admin SDK, bypasses rules) and never reads the profiles collection client-side. Single-doc profile reads used for collaborator and owner hydration in getProjectMembers go through getDoc, which the rule's get clause leaves untouched. This matches the hardening the rest of the suite already shipped — Scheduler v0.42.6 added the same limit(1) to its findUserByEmail; CFD and MSB deleted their legacy unbounded-scan paths outright.
Internal
- No behavior change and no new tests; the existing suite (1060 tests) covers the affected module. A load-bearing comment on findUserByEmail documents the rule coupling so the limit(1) is not stripped as a redundant-looking constraint in a future refactor.
v0.35.2
May 27, 2026Fixed
- Share button now appears automatically after a newly-created project's Firestore doc lands, without requiring tab navigation. The ownedProjectIds set in [src/features/projects/components/ProjectsTab.tsx](src/features/projects/components/ProjectsTab.tsx) is populated by a one-shot loadOwnedProjectIds(uid) Firestore query inside a useEffect. Before v0.35.2, that effect keyed on projects.length, which produced a stale-empty result for newly-created projects: addProject mutated the array (length grows from 0 to 1), the query fired immediately, but the v0.35.1 pendingCreateTimers 200 ms debounce plus the Firestore write roundtrip meant the doc wasn't yet visible to the where('owner', '==', uid) index — the query returned an empty set, the user-facing share affordance stayed hidden, and projects.length didn't change again afterward to re-trigger the effect. The fix keys the effect on the projects array reference instead of its length. replaceProjectsFromCloud (the snapshot-driven update path in [src/shared/hooks/useCloudSync.ts](src/shared/hooks/useCloudSync.ts)) always installs a new array reference, so the effect re-runs at the exact moment Firestore's owner index becomes consistent with the local state. Tradeoff: the effect now also re-runs on local mutations that don't affect ownership (rename, reorder, sprint edits). loadOwnedProjectIds is a single where('owner', '==', uid) query against a per-user collection that's small in practice — the extra cost is bounded and acceptable for the user base size.
Internal
- Two new tests in [src/features/projects/components/ProjectsTab.test.tsx](src/features/projects/components/ProjectsTab.test.tsx) verify the refresh-on-snapshot behavior and the local-mode gating. The test infrastructure switched the previously-static useAuth and useStorageMode mocks to a vi.hoisted mutable shape (mockAuthMode) so per-test overrides are possible, and beforeEach resets it to the prior defaults (user: null, mode: 'local') so the 14 pre-existing import-wiring tests are unaffected. Test count: 1058 → 1060.
v0.35.1
May 27, 2026Fixed
- New projects created in cloud mode always failed to save and delete with PERMISSION_DENIED. When initial cloud persistence shipped in v0.21.0, the debounced saveProject path in [src/shared/firebase/firestore-driver.ts](src/shared/firebase/firestore-driver.ts) stripped owner and members from every write payload and used setDoc({ mergeFields }) with a field list that also excluded those keys. v0.22.2 turned that into a documented C3 belt-and-suspenders invariant — correct for updates to existing documents, but fatal for creates. When Firestore receives a write to a non-existent document, it evaluates the create rule allow create: if isAuth() && request.resource.data.owner == request.auth.uid. With owner absent from the payload, the rule returned false and every first-ever write for a new project was rejected → *"Failed to save changes to the cloud."* The companion delete failure was a downstream consequence: the document never made it to Firestore, so deleteDoc evaluated the delete rule against a null resource, resource.data.owner threw during rule evaluation, and the user saw *"Failed to delete project from the cloud."* Not a v0.35.0 regression — the v0.35.0 mergeFields switch did not change the rule-evaluation behavior for the create case.
- Fix: a pendingCreateTimers / inFlightCreatePromises state machine in [src/shared/hooks/useCloudSync.ts](src/shared/hooks/useCloudSync.ts) routes first-ever project writes through saveProjectImmediate (full setDoc, includes owner), reading store state at timer-fire time rather than at event-emission time. Three branches in the project:save sync-bus handler: (A) new project, no create in flight — schedule a SAVE_DEBOUNCE_MS (200 ms) timer, intentionally withhold docMetaRef population so every event in a burst resets the timer; at fire time, read the fully-accumulated store state and call saveProjectImmediate; on success set docMetaRef, on failure leave it unset so the next edit retries via Branch A. (B) new project, create in flight — chain the update behind the in-flight promise so it fires only after the document exists. (C) existing project — unchanged debounced saveProject path. The 14 synchronous store mutations from loadSampleProject (1× addProject, 8× addSprint, 4× addMilestone, 1× addProductivityAdjustment) now coalesce into a single fully-populated saveProjectImmediate call — no sparse intermediate document, no snapshot-driven UI flicker.
- Two edge cases resolved by promise chaining. (1) An edit arriving during the Firestore create round-trip (~100–700 ms) would have hit saveProject against a still-non-existent document → the same create-rule rejection as the original bug. Branch B chains the update behind the create promise; by the time the chained .then fires, Branch A's .then (same source promise, registered earlier, guaranteed prior microtask) has already confirmed the document exists. (2) A delete arriving during the create round-trip, without chaining, would have allowed the create to land, the snapshot listener to redeliver it, and replaceProjectsFromCloud to re-insert the project the user just deleted ("zombie reappear"). project:delete Case 2 chains deleteProject behind the same create promise. A brief UI flicker remains possible during the chained delete's own Firestore round-trip (~100–500 ms) as the snapshot for the create may deliver before the delete confirms; this is bounded and resolves on the next snapshot.
- flushPendingCreates() runs alongside flushPendingSaves() on beforeunload / pagehide. Without this, a user who adds a project and closes the tab within the 200 ms debounce window loses the create silently (the new pendingCreateTimers map lives inside the useCloudSync effect, outside the firestore-driver.ts flush path). The flush dispatches saveProjectImmediate without awaiting — matching the existing fire-and-let-race behavior of flushPendingSaves — so the create has a chance to land before the tab closes.
- SAVE_DEBOUNCE_MS = 200 is now exported from [src/shared/firebase/firestore-driver.ts](src/shared/firebase/firestore-driver.ts) so the new timer in useCloudSync and debouncedSave's default share a single source of truth. Guardrail JSDoc added to saveProject marking it update-path only and directing callers to saveProjectImmediate for first writes.
Internal
- Twelve new tests in [src/shared/hooks/useCloudSync.test.ts](src/shared/hooks/useCloudSync.test.ts) covering burst coalescing (state grows mid-burst, single write captures final 8-sprint state — proving fire-time read), owner present in create payload, create-success routing the next save to the update path, create-failure leaving docMetaRef unset so the next save retries Branch A, delete-before-timer (no cloud call), delete-during-in-flight-create (chained, fires once after create confirms), delete-during-failed-create (no delete issued), edit-during-in-flight-create (chained via Branch B), import and teardown timer cancellation, and an existing-project regression guard that confirms no Branch A timer was scheduled. Tests drive the captured sync-bus handler directly because the real syncBus is mocked at module scope — calling addProject on the store would route through the mock and not reach the handler. vi.useFakeTimers() is enabled inside the helper *after* waitFor resolves the hydration signal, so renderHook's internal polling still uses real time. Test count: 1046 → 1058.
- Known tradeoff (v0.35.1-specific): if an unrelated Firestore snapshot arrives during the 200 ms debounce window — typically from a co-editor mutating a shared project — replaceProjectsFromCloud evicts the brand-new local project before the create timer fires, and the timer then finds no project in the store and silently no-ops. Without the 200 ms debounce, the immediate write would race the snapshot rather than always yielding to it; the scenario is new to v0.35.1 rather than pre-existing. Trigger requires multi-client editing where the co-editor's write arrives within the 200 ms window — narrow; accepted for v0.35.1.
v0.35.0
May 25, 2026Fixed
- Firestore project writes switched from setDoc({ merge: true }) to setDoc({ mergeFields: [...] }), preventing cleared optional scalars from resurrecting on the next browser refresh (C1/C2). merge: true deep-merges nested Firestore documents — keys cleared locally (set to undefined, stripped by sanitizeForFirestore) survive on the server and reappear on next read. mergeFields wholesale-replaces each listed top-level key: a cleared projectStartDate, projectFinishDate, sprintCadenceWeeks, or firstSprintStartDate is now actually removed from Firestore rather than surviving. owner and members are absent from the field list so the debounced save path cannot overwrite ACL fields. Settings writes received the same treatment for consistency; FirestoreSettingsDoc has no clearable-to-undefined scalars, so that change is symmetry-only.
- Sign-out cleanup now runs before firebaseSignOut() revokes credentials, on all three sign-out paths (E1/E2). In v0.34.0, cleanup ran inside onAuthStateChanged's null callback, which fires after Firebase has already revoked credentials. After v0.35.0, performSignOutCleanup() — which cancels pending saves, clears the project store, clears export attribution, and resets storage mode — runs before signOut() on the user-initiated path and the ToS-version-mismatch forced-sign-out path, and is called directly in the onAuthStateChanged null handler for externally-revoked sessions.
- Export attribution fields (Name and Identifier in Settings) are cleared on sign-out, preventing one user's academic attribution from persisting to the next user on a shared browser (F2/F3). exportName and exportId are local-only by design — not cloud-synced — which made their persistence across sign-out sessions more durable. In a classroom where students share lab computers, User A's name and student ID appeared in exports created by User B.
- Monte Carlo simulation results are discarded if sign-out occurs while a simulation is in flight (G1). A module-level generation counter (simulation-generation.ts) is bumped in performSignOutCleanup(). handleRunForecast captures the generation before each await and discards the result if the counter has advanced. The bump does not fire on cloud-to-local mode switches — simulation results live in component-local useState, not Zustand, and a mode-switch leaves project data intact.
- Settings tab custom-percentile number inputs now buffer keystrokes locally and commit to the store on blur, eliminating mid-input value snapping (A3). The store setter applies Math.max(1, Math.min(99, Math.round(value))) on every parseable keystroke. Typing "07" over "85" snapped to "1" after the first digit. After v0.35.0, the input buffers in local useState and commits on blur; a focus guard prevents incoming cloud restores from overwriting a draft mid-keystroke.
- Save debounce reduced from 500 ms to 200 ms; pagehide listener added alongside beforeunload (D1/D2). 200 ms still batches normal typing cadence. pagehide covers bfcache navigations and iOS Safari, where beforeunload is not reliably delivered. Both listeners call the same flush handler, which is idempotent.
- The snapshot data-loss guard now fires at most once per cloud session, allowing legitimate access-revocation to propagate to the local store (I1). The guard if (projects.length === 0 && localProjects.length > 0) return correctly protected un-migrated local projects when cloud mode first activated, but permanently blocked access-revocation: if User B's only shared project was removed by User A, the Firestore query returned 0 results, the guard fired, and the revoked project remained visible until the next page reload. After v0.35.0, a closure-local sentinel limits the guard to the first snapshot per cloud session. Known limitation: once any non-empty snapshot is received, a subsequent empty snapshot will wipe any un-migrated local projects. Users with local-only projects should upload them via Settings → Storage before making cloud edits.
v0.34.0
May 21, 2026Fixed
- The "Importing..." label and aria-busy state on the Apply import button now actually paint before the synchronous import work runs (pitfall #86). [src/features/projects/hooks/useImportState.ts](src/features/projects/hooks/useImportState.ts) declared applyMergeDecisions and applyReplaceAll as async but contained no await before the synchronous applySmartImport() / importDataAndSelectFirst() store action — the entire body ran in one event-handler tick. React 18 automatic batching merged the setApplying(true) → store-action → showBanner → setApplying(false) writes into one commit, and the button text never visibly changed. The fix wraps setApplying(true) in flushSync(() => ...) at both call sites, forcing React to commit the in-flight state to the DOM (and to the accessibility tree, so screen readers announce it) before the import work begins. The setApplying(true) inside handleFileChange is left alone — that one covers the FileReader window and crosses async task boundaries naturally, so no flush is needed. applying write-site count remains 3 as before; only the wrapping changed.
- Cloud-mode imports now wait for Firestore's initial loadProjects() to complete before the Import button enables, eliminating a race where conflict detection ran against stale localStorage data (pitfall #88). Before v0.34.0, useCloudSync performed its initial load asynchronously, but useProjectStore.getState().projects continued to return localStorage data until that load resolved. A user who signed in and clicked Import in the same gesture saw conflict detection run against the wrong project list — and on a fresh cloud account with empty Firestore, the result was a duplicate-creating "no conflicts" preview. v0.34.0 introduces a transient cloudDataLoaded: boolean field on the Zustand project store, set true in the finally of useCloudSync's setup() (so it fires on success, throw, and the data-loss-guard bypass — a transient network error never permanently locks the button) and reset to false on cleanup / sign-out. [src/features/projects/components/ProjectsTab.tsx](src/features/projects/components/ProjectsTab.tsx) subscribes via useImportState(), derives isCloudPending = mode === 'cloud' && !cloudDataLoaded, disables the Import button while that's true, and renders a polite role="status" hint ("Loading your cloud projects — import will be available shortly.") above any existing import banner. handleFileChange and handleConfirmMerge both carry belt-and-suspenders checks for the same condition so programmatic triggers (future drag-and-drop, scripted tests, preview-then-mode-switch) are also gated. cloudDataLoaded is deliberately excluded from partialize — it's a session signal, not persisted state.
- A stale error banner from a prior failed file-pick is now cleared at the top of handleFileChange after the race guard, instead of lingering over the new preview (pitfall #79). Before: a user who picked an invalid JSON file (got the red error banner), then picked a valid one, saw the red banner remain visible above the preview section. The fix places setImportBanner(null) immediately after readerPendingRef.current = true — the banner is cleared once the user has passed the same-tick double-click race guard, but a double-click that loses the race still leaves the current banner intact (correct UX: the second click should be a no-op, not a banner wipe).
- Cloud-mode name-conflict replaces now preserve the existing project's owner and members fields, restoring prior collaborator sharing (pitfall #7). For a name-conflict replace, the incoming project's id differs from the existing project's id, so useCloudSync's project:import handler called docMetaRef.current.get(winner.id) and got undefined — and projectToFirestoreDoc then defaulted to owner: currentUser.uid and members: {}, silently destroying any sharing that had been set up on the replaced project. The SyncEvent union in [src/shared/firebase/types.ts](src/shared/firebase/types.ts) now carries replacedIdMap: Map<string, string> on the 'project:import' variant; [src/shared/state/project-store.ts](src/shared/state/project-store.ts) passes the merge's actual replacedIdMap on success and an empty Map for Replace-All (which intentionally discards old sharing — the user chose to wipe the workspace); and [src/shared/hooks/useCloudSync.ts](src/shared/hooks/useCloudSync.ts) pre-seeds docMetaRef with the old doc under the winner's new id before the save loop runs, so projectToFirestoreDoc reads the existing owner/members and writes them back. The pre-seed is gated on oldDoc.owner === currentUser.uid because non-owner editors cannot write a Firestore doc with owner !== request.auth.uid — for non-owner editors who explicitly override the default 'copy' decision with 'replace' on a name-conflict, the new doc is created (current user becomes owner) but the old doc delete fails (Firestore rejects), and both docs become visible. A descriptive toast explains this outcome. A proper preview-time fix (downgrading 'replace' to 'copy' for non-owned rows) requires exposing ownership metadata through the Zustand store and is scoped for v0.35.0.
Changed
- The import copy-suffix changes from " (2)" to " - Copy (N)", matching the Projects-tab Clone button's long-standing convention. Previously, importing a project that name-collided with an existing one and choosing "Add as copy" produced "Q4 Plan (2)". The Projects-tab Clone button has always produced "Q4 Plan - Copy (1)" (via the inline name-walker at [src/shared/state/project-store.ts](src/shared/state/project-store.ts) cloneProject). The import path was the outlier. v0.34.0 consolidates both paths behind a single nextCopyName(baseName, existingNames, maxLength) helper exported from [src/shared/state/import-utils.ts](src/shared/state/import-utils.ts) — the import copy path uses MAX_STRING_LENGTH for truncation safety, and cloneProject uses Number.MAX_SAFE_INTEGER to skip truncation on already-trusted in-memory names. The helper mutates the tracking set after each call so loop callers are intra-batch-collision-safe by default (two copies of the same source project in a single import now produce "Q4 Plan - Copy (1)" and "Q4 Plan - Copy (2)" rather than two "Q4 Plan (2)"). Names with trailing whitespace are trimmed on both paths. This is a deviation from the old IMPORT-SPEC-REFERENCE.md line 408 (which specified the unconditional " (2)" suffix); the rationale, consequence, and mitigation are logged as SD-1 in the new [docs/SPEC_DEVIATIONS.md](docs/SPEC_DEVIATIONS.md).
Internal
- Sixteen new tests across three files. [src/features/projects/hooks/useImportState.test.ts](src/features/projects/hooks/useImportState.test.ts) adds an all-skip regression guard (pitfall #71 — every decision is 'skip', banner must surface the skip count rather than silently dismissing to idle) and two cloudDataLoaded exposure tests. [src/shared/state/import-utils.test.ts](src/shared/state/import-utils.test.ts) adds six tests for nextCopyName (empty set, walks-to-2, walks-to-3, truncation, no-truncation under MAX_SAFE_INTEGER, set-mutation as collision guard) and one applyImportDecisions integration test verifying that two copies of the same source project receive distinct names. New file [src/shared/hooks/useCloudSync.test.ts](src/shared/hooks/useCloudSync.test.ts) (the first dedicated test for useCloudSync) captures the snapshot callback and sync-bus handler via mockImplementation, asserts the cloudDataLoaded signal flips true on success, on Firestore throw, and on the data-loss-guard bypass and resets to false on cleanup, and exercises both Phase 5 branches: when current user owns the existing doc, the new winner doc carries the old owner and members; when current user is a non-owner editor, the pre-seed is skipped and the fallback wipes members. The all-skip test was verified to pass against pre-v0.34.0 code as a regression guard, not a new-feature gate.
- docs/SPEC_DEVIATIONS.md (new) tracks deliberate departures from IMPORT-SPEC-REFERENCE.md. The first entry (SD-1) documents the import copy-suffix change. The nextCopyName JSDoc points readers at the deviation tag so source-code reviewers see the cross-reference.
- Three small Phase-2-fast-path tests in useImportState.test.ts that flip hoisted.mode = 'cloud' now also set useProjectStore.setState({ cloudDataLoaded: true }) before running — the v0.34.0 hydration-race guard rejects cloud-pending file picks before they reach the FileReader, and these tests need the guard to clear so the underlying fast-path suppression behavior they're checking is reachable.
- Two unrelated code-quality cleanups in the affected files. The unused eslint-disable-next-line react-hooks/refs comment in [src/shared/hooks/useCloudSync.ts](src/shared/hooks/useCloudSync.ts) (line 62 before edit) was replaced with a plain explanatory comment after my edits caused ESLint's flow analysis to stop firing the rule — the comment about why userRef.current = user is intentional during render is preserved. The let outcome: SmartImportOutcome = { ... } initializer in applySmartImport was changed to let outcome = { ... } as SmartImportOutcome because TypeScript's narrowing collapsed the variable's type to the constant initial value (the closure reassignment is opaque to TS), which would have prevented .result access inside the if (outcome.ok) branch.
- Test count 1006 → 1022 (+16 net).
v0.33.5
May 18, 2026Added
- Click any milestone name on the Milestones panel to rename it inline. The name cell in [src/features/forecast/components/MilestoneList.tsx](src/features/forecast/components/MilestoneList.tsx) becomes a focusable button in its rest state — hover renders the cursor as a text-cursor and a faint dotted underline appears, signalling editability. Click (or keyboard-activate the button via Tab + Enter) swaps the cell to a <input type="text"> pre-filled with the current name and auto-focused. Save semantics match the Notion/Linear/Figma-sidebar convention William asked for: Enter commits a trimmed non-empty changed value; Escape reverts; blur (clicking outside the input) saves if the trimmed value is non-empty *and* changed, reverts if empty, and is a no-op if unchanged. Empty / whitespace-only input is forgiving — blur reverts rather than rejecting and trapping the user in an error state; the user can always Escape to abandon explicitly. The Pencil button stays exactly where it was and continues to open the full MilestoneForm for editing name + backlogSize + color together.
- No layout shift when entering edit mode. The edit input carries size={1} so the browser's table-auto-layout algorithm doesn't grow the Name column to fit the input's default size=20 (~200px) preference. With size={1}, the input's intrinsic min-content width stays tiny and w-full stretches it to fill whatever width the column already had from the other rows' plain-text content. Result: clicking a milestone name does not shove Remaining / Cumulative / Color / Chart / Actions to the right — only the targeted cell changes appearance, exactly as William asked for during pre-deploy review.
- onRename prop on MilestoneList routes the trimmed value to useProjectStore.updateMilestone(projectId, milestoneId, { name }) via a new handleRename callback in [src/features/forecast/components/Milestones.tsx](src/features/forecast/components/Milestones.tsx). The callback is useCallback-memoized against [updateMilestone, projectId] to match the existing handleDelete / handleToggleChart / handleReorder shape — same pattern, same call signature, same lifecycle. Because the prop is optional and MilestoneList falls back to plain text when it's absent, any future consumer that wants the read-only list (export preview, screenshot, etc.) gets the old behavior without a code change.
Internal
- Eleven new tests in [src/features/forecast/components/MilestoneList.test.tsx](src/features/forecast/components/MilestoneList.test.tsx) (new file — first dedicated test for MilestoneList) cover the full state machine: rest state renders as a click-target button when onRename is wired and as plain text when it isn't (the backward-compat guard); click swaps to a text input that's focused with the existing name pre-filled, maxLength of 50, and name="milestoneName" for browser autofill consistency with the form's name input; the input carries size="1" as the no-layout-shift guard (regression test for the v0.33.5 pre-deploy review fix); Enter commits a trimmed non-empty changed value; Escape reverts without calling onRename; blur saves when trimmed and changed; blur reverts when whitespace-only; blur is a no-op when unchanged (no spurious onRename calls); the click target is suppressed when the row is in full-form edit (no double-edit affordance with the Pencil button); and per-row input ids are unique via useId() + per-milestone parametrization (form-hygiene rule 5 — no hardcoded ids in list-rendered components). Test count 995 → 1006.
- First useId() usage in the codebase, per the standing form-hygiene memo's note that the codebase had zero such usage. Sets the precedent for future list-rendered form controls — when a component renders inputs inside .map(), derive the id from useId() + the row's stable identity (milestone id) rather than hardcoding.
- No schema, no persistence, no math, no Firestore touch. The rename flows through the same updateMilestone store action that the Pencil-button form already uses, so Firestore writes are identical to today's behavior. The cells, table layout, drag-and-drop reorder hooks, Show-on-chart checkbox, and Pencil/Trash action column are unchanged.
v0.33.4
May 18, 2026Fixed
- Import validator now accepts backlogSize === 0 as the "completed milestone" sentinel. [src/shared/state/import-validation.ts:211](src/shared/state/import-validation.ts:211) previously called isValidNumber(m.backlogSize, 0.01, MAX_NUMERIC_VALUE), which rejected any value below 0.01 — including the exact value 0 that the v0.31.2 user-maintained milestone model uses to mean *"this milestone has been completed."* The floor is now 0, so completed milestones survive JSON.stringify → file → JSON.parse → validateImportData. The negative-value rejection still works (isValidNumber uses a >= comparison, so min = 0 accepts 0 while still excluding -5, NaN, and non-numbers), and the upper bound of 999999 is unchanged. The error-message text was also corrected from *"must be > 0"* to *"must be >= 0"* so users editing JSON by hand aren't pointed at the wrong bound.
- MilestoneForm lets the user submit 0 as the Remaining Work value, restoring UI parity with the domain model. Two contradictions on the same form: [src/features/forecast/components/MilestoneForm.tsx:47](src/features/forecast/components/MilestoneForm.tsx:47) required parsedBacklog > 0 for the Save button to enable, and [src/features/forecast/components/MilestoneForm.tsx:96](src/features/forecast/components/MilestoneForm.tsx:96) enforced min="0.01" on the number input. Both flipped to >= 0 / min="0". Behavioral consequence the user can now actually use: typing 0 into Remaining Work marks the milestone completed, and the italic "completed" rendering introduced in v0.31.2 is finally reachable through the UI rather than only through the sample-project seeder. Sharp edge fixed: previously, opening the seeded "MVP Release" milestone for editing initialized the form with backlogSize: '0' and was *immediately invalid* — users couldn't rename it or change its color without first bumping the value above 0 (a phantom edit). That's gone.
Internal
- import-validation.test.ts flips the regression-guard polarity. The existing *"rejects backlogSize of 0"* test ([line 285](src/shared/state/import-validation.test.ts:285)) becomes *"accepts backlogSize of 0 (the 'completed milestone' sentinel)"* and asserts .toBe(true) instead of .toThrow('invalid backlogSize'). A sibling boundary test *"accepts backlogSize at boundary 0 (lower bound, completed milestone)"* is added next to the existing *"accepts backlogSize at boundary 0.01"* — two adjacent acceptance assertions make the new floor intentional and visible. The *"rejects negative backlogSize"* and *"rejects backlogSize exceeding 999999"* boundary tests are untouched: both correctness invariants survive.
- New round-trip regression test in [src/features/projects/lib/sample-project.test.ts](src/features/projects/lib/sample-project.test.ts) under a new describe('sample project export → import round-trip') block. The test loads the sample project, asserts the seeded MVP Release milestone exists at backlogSize === 0, builds a subset export via buildProjectSubsetExport, runs the payload through JSON.stringify + JSON.parse (to exercise the same serialization path a real file export + file import would go through), and then asserts validateImportData(roundTripped) does not throw. This is the exact reproduction the user reported, encoded as a unit test — if the milestone model ever shifts again, or if someone tightens the validator and forgets the sentinel, this test fails before the bug ships.
- No new helpers, no abstraction layers, no data migration. Existing milestones with backlogSize > 0 continue to behave identically; the only change is widening what's accepted as valid input. Total test delta: one assertion flipped, one new boundary test, one new round-trip test (+2 tests net).
- No Firestore-rules change. This is an in-app validator + form bug, not a security or persistence change.
v0.33.3
May 18, 2026Changed
- ProjectForm is hidden on first-touch until the user clicks "Create New Project." Before v0.33.3, the new-project form rendered unconditionally above the welcome empty-state in [src/features/projects/components/ProjectsTab.tsx](src/features/projects/components/ProjectsTab.tsx) — the empty-state's "Create New Project" CTA called projectFormRef.current?.focusNameInput() on a form that was already visible, so the CTA was essentially a focus shortcut with no visual change. This made the first-touch experience needlessly busy: a brand-new user landed on the page seeing input fields they hadn't asked for, plus the welcome card asking them to make a choice, plus the local-storage warning notification awaiting a "Got it" dismissal. Now the form is gated on showProjectForm = editingProject || projects.length > 0 || wantsToCreateNew || shouldFocusNewProjectForm — meaning it's hidden in the only state where it added clutter (the genuine first-touch case) and visible everywhere else: when editing an existing project, when at least one project exists (the form is the always-on "add another" surface for populated lists), when the user just clicked the welcome CTA, or when a sibling tab's empty-state CTA is routing a focus request here.
- In-tab and cross-tab "Create New Project" paths unified onto the same focus mechanism. The in-tab welcome CTA previously called projectFormRef.current?.focusNameInput() directly; the cross-tab path from the Forecast-tab empty-state set the shouldFocusNewProjectForm Zustand flag and let an effect handle it. v0.33.3 collapses both onto the flag-based path — the in-tab CTA is now one line, setShouldFocusNewProjectForm(true), and the existing effect handles three things: (1) flip wantsToCreateNew so the form stays mounted past the flag reset, (2) call focusNameInput() on the now-mounted form, and (3) reset the flag so subsequent renders don't re-focus. Single pipeline instead of two parallel ones; the cross-tab path is unchanged from the user's perspective.
Internal
- Four new tests in [src/features/projects/components/ProjectsTab.test.tsx](src/features/projects/components/ProjectsTab.test.tsx) assert the gate's four branches: form is hidden on first-touch (zero projects, no edit, no flag); form shows after clicking the welcome CTA via fireEvent.click; form shows when shouldFocusNewProjectForm is set on mount (the cross-tab handoff scenario); and form shows when at least one project exists (always-visible-on-populated). All four use screen.getByLabelText('Project Name') / queryByLabelText to assert form presence — <label htmlFor="name">Project Name</label> already lives in ProjectForm.tsx:153, so no test-only attributes were added.
- Existing tests unaffected. The toolbar tests (Import, Export All, Load Sample, hidden file input) all touch only the toolbar div, which lives outside ProjectForm. The Forecast-tab cross-tab handoff path is verified indirectly by the "shouldFocusNewProjectForm flag is set on mount" test — same observable behavior, simpler unit-test scope than a full multi-tab integration test.
- handleFormSubmit and handleFormCancel also clear wantsToCreateNew so the flag is always in a clean state after a form transaction. Submit doesn't strictly need it (a successful add makes projects.length > 0 and the gate stays open anyway), but resetting both pathways keeps the state machine boring. Cancel from a blank first-touch returns the user to the welcome view — they get a "back out" path if they clicked Create New Project by mistake.
- No version bump on dependencies, no Firestore touch, no settings-store change. ~30 lines added to one component plus tests.
v0.33.2
May 18, 2026Added
- Persistent "Load Sample Project" button in the Projects-tab toolbar ([src/features/projects/components/ProjectsTab.tsx](src/features/projects/components/ProjectsTab.tsx)). Sits as a peer to "Export All" and "Import" — gated on projects.length > 0 so it doesn't double up with the empty-state's twin-CTA when zero projects exist (the empty-state remains the friendlier first-touch surface for true cold starts). The button uses a purple sun/sparkle icon and reuses the existing handleLoadSample callback that already drives the empty-state CTA, so the entry point is new but the underlying invocation path is the same code that has shipped since v0.31.1. Mirrors the pattern in SPERT Story Map's product-list toolbar, where Load Sample is a permanent peer of New / Import / Export rather than gated on emptiness.
Changed
- loadSampleProject switches from "no-op on name collision" to "auto-rename with numeric (N) suffix" in [src/features/projects/lib/sample-project.ts](src/features/projects/lib/sample-project.ts). The original v0.31.1 design used the project name as an idempotency key — if a project named "Sample: Mobile App Launch" already existed (regardless of whether the seeder or the user created it), the second call no-op'd and toasted *"A project named ... already exists."* That worked when the only entry point was the empty-state CTA (which disappeared on first project creation, so the only way to re-trigger was a double-click race). With v0.33.2's persistent toolbar button making re-loads explicit, idempotency-as-no-op is wrong — the user clicking the button *wants* a new copy, not a silent rejection. The new strategy walks (2), (3), ... until an unused name is found and creates the new project under that name. The existing project (whatever its content) is never touched. Toast on success now interpolates the actual chosen name, so users can see at a glance whether they got the canonical name or a suffixed duplicate.
- generateUniqueProjectName(baseName, existingNames) extracted as a named export for direct unit testing. Pure function — takes a ReadonlySet<string> of existing names and returns either the unmodified base or the first available ${base} (N) form. Tested in isolation with five cases covering base-free, "(2)" walk, "(3)" walk, gap-handling when only (3) is taken (base is still preferred), and gap-handling when (2) and (4) are taken but (3) is free (walker finds the lowest available).
Internal
- Three rewrites in [src/features/projects/lib/sample-project.test.ts](src/features/projects/lib/sample-project.test.ts) flip the idempotency-era expectations: *"is idempotent against double-click: the second call no-ops"* becomes *"appends '(2)' on a second call"*; *"no-ops when a project with the sample name already exists (any origin)"* becomes *"uses '(2)' when a user-created project occupies the canonical sample name"* and additionally asserts the user's project is untouched. A new *"appends '(3)' when both the base name and '(2)' already exist"* test exercises the walker advancing two steps. A new describe('generateUniqueProjectName') block adds five pure-function tests against the extracted helper.
- Two new assertions in [src/features/projects/components/ProjectsTab.test.tsx](src/features/projects/components/ProjectsTab.test.tsx) mirror the existing Export-All gating tests: *"hides Load Sample toolbar button when projects array is empty"* and *"shows Load Sample toolbar button when at least one project exists"*. The Forecast-tab and Projects-tab empty-state CTAs remain unchanged — they continue to render only when projects.length === 0.
- File-header comment in sample-project.ts updated to record the v0.33.2 strategy change (idempotency → auto-rename) and the reason — preserved as institutional context for the next contributor reading the file cold.
- No schema, no persistence, no math, no Firestore change. Pure UI plus seeder-logic refinement.
v0.33.1
May 18, 2026Changed
- Lognormal is now the first distribution everywhere the order is rendered. Lognormal has been the v0.32.0 app default for three weeks (distributionsEnabled: ['lognormal'] in [settings-store.ts:97](src/shared/state/settings-store.ts:97); DEFAULT_BURN_UP_CONFIG.distribution: 'lognormal'; firestoreDocToSettings fallback ['lognormal']), but every surface that *listed* distributions in a fixed order still put Truncated Normal first. The v0.32.0 entry called this out explicitly: *"Reordered the keys in DISTRIBUTION_DESCRIPTIONS so Lognormal appears first in source — reading-order touch only; the on-screen checkbox grid still iterates DISTRIBUTION_TYPES from src/shared/types/burn-up.ts and so still renders Truncated Normal first."* That intentional half-measure is now resolved. The two source-of-truth ordered lists — DISTRIBUTION_TYPES in [src/shared/types/burn-up.ts](src/shared/types/burn-up.ts) (which iterates the Settings → "Statistical methods to show" checkbox grid and Firestore's defensive-coercion filter) and the two hardcoded mode-set arrays in getVisibleDistributions in [src/features/forecast/types.ts](src/features/forecast/types.ts) (which drives the Forecast Results table column order, the Deadline Probability panel column order, the Cumulative Probability Distribution chart legend order, and the Probability Distribution Histogram legend order) — all flip Lognormal into first position and Truncated Normal into second. T-Normal is intentionally second because it remains the most-common opt-in alternative under the classical PERT framing; reordering Lognormal in front of it without losing T-Normal as the natural neighbor preserves the historical hand-off for users who learned the app under v0.31.x.
- Forecast Results blue-highlighting now means "differs from Lognormal," restoring the "differs from the default" semantic. The blue-highlight rule in [ResultsTable.tsx:122-141](src/features/forecast/components/ResultsTable.tsx:122) compares every column past the first against row.values[0] (the leftmost distribution at that percentile) — Sprint cells go blue when sprintsRequired !== base.sprintsRequired, Date cells go blue when finishDate !== base.finishDate. With Truncated Normal as column 0, "blue" silently meant *"this distribution disagrees with T-Normal at this percentile"* — a comparison that stopped mapping to anything meaningful once T-Normal stopped being the default. With Lognormal as column 0, "blue" now means *"this distribution disagrees with the app's default forecast at this percentile"* — which is what users were already reading into the highlight. No code in ResultsTable moves; the property is restored entirely by the column reorder upstream.
Internal
- Five test assertions in [src/features/forecast/constants.test.ts](src/features/forecast/constants.test.ts) flip to the new mode-set order: the two toEqual([...]) shape assertions for subjective and history+bootstrap modes, the two enabledDistributions "returns mode-visible set unchanged" assertions, and the four-distribution history-without-bootstrap shape assertion. The "intersection preserves mode-set ordering" test ('history' + hasBootstrap=true) is rewritten so the swap is actually visible: input changes from ['bootstrap', 'truncatedNormal', 'gamma'] to ['bootstrap', 'lognormal', 'gamma'], expected output from ['truncatedNormal', 'gamma', 'bootstrap'] to ['lognormal', 'gamma', 'bootstrap']. The "all four common distributions are always included regardless of mode" test is order-agnostic (uses .toContain) and is unchanged.
- ResultsTable.test.ts and ForecastResults.test.ts are unaffected — both construct their column fixtures by hand (passing [{ key: 'truncatedNormal', label: 'T-Normal' }, { key: 'lognormal', label: 'Lognormal' }] directly to buildDynamicPercentileRows / ResultsTable) rather than going through getVisibleDistributions. They test that the rendering preserves whatever column order the caller passes in — a property unchanged by this PR.
- Test count: 981 / 981 pass, 48/48 files. Build clean, lint 0/0.
v0.33.0
May 17, 2026Added
- Deadline Probability panel on the Forecast tab answers "given a target date, what is my probability of completing by then?" — the mathematical inverse of the existing "given a percentile, what is the date?" flow that runs through the hero callout and the Custom Percentile selector. The panel lives in [src/features/forecast/components/DeadlineProbabilityPanel.tsx](src/features/forecast/components/DeadlineProbabilityPanel.tsx), sits between Forecast Results and "Explore a custom percentile" in the post-results stack, and is collapsible (collapsed by default, matching the sibling sections). Three controls — Target Date, Scope (Entire Project or any not-yet-completed milestone), Distribution — drive a per-distribution table plus a narrative sentence that names the scope, the date, and the absolute sprint number at which the probability is computed. The probability is taken at the end of the last forecast sprint whose finish date is on or before the target date (conservative quantization — "by this date" is interpreted as "by this *sprint boundary*"). The arithmetic reads from the same QuadSimulationData arrays the hero callout already consumes via cumulativeProbabilityAtSprint; the new helpers targetDateToSprintCount and calculateDeadlineProbability live in [src/features/forecast/lib/deadline.ts](src/features/forecast/lib/deadline.ts) and total ~30 lines of pure logic with 14 unit tests covering exact-finish, mid-sprint, weekend, pre-window, beyond-MAX, empty-array, and cap-boundary cases. Sprint quantization uses binary search rather than a floor-division formula because calculateSprintFinishDate applies a weekend-adjustment offset via getPrecedingBusinessDay — the search converges in ≈10 iterations and is exact. The narrative routes through four cases (case1: exact match; case2: normal "by date X, which is before your target"; case3: target before forecast window; case4: target inside sprint 1 before any sprint completes), each with project-scope and milestone-scope renderings — six total templates. Milestone scope uses "will be reached by" and omits the unit/backlog clause to match the existing hero-callout pattern at [ForecastSummary.tsx:336-352](src/features/forecast/components/ForecastSummary.tsx:336). All probabilities are capped at 99% — *"Forecast caps probability at 99% — no completion date can be predicted with complete certainty."* — applied AFTER Math.round so 99.4 displays naturally as 99% with no footnote, but 99.5 (which rounds to 100) displays as 99% with the cap footnote, signaling the cap was load-bearing. A separate sprint-boundary footnote always appears for cases 1 and 2, naming the exact sprint and date at which the probability was evaluated so users can audit the quantization. Form-control hygiene is fully compliant: useId()-derived id/name pairs on every control (per the [ProjectsTab.tsx](src/features/projects/components/ProjectsTab.tsx) convention), visible <label htmlFor> associations, aria-invalid on the date input when the typed value fails isValidDateRange, aria-live="polite" on the narrative paragraph, <th scope="col"> on table headers, and the standard min={forecastStartDate} / max="2050-12-31" constraints on the date picker. Target date is session-only state, hosted in useForecastState and cleared on project switch alongside the other forecast outputs — a deadline from project A never bleeds into project B.
Changed
- Hero callout trueCdfPercent now also caps at 99% for consistency with the new panel. Before v0.33.0, the hero callout at [ForecastSummary.tsx:236-239](src/features/forecast/components/ForecastSummary.tsx:236) computed Math.round(cumulativeProbabilityAtSprint(...)) with no upper bound — so on a highly-confident forecast (e.g., conservative percentile + mature project) it could read "100% chance the project will finish by …" while the new panel immediately below would read "99%" on the same input. Two adjacent forward-looking probability assertions on the same page disagreeing on the ceiling was the kind of inconsistency that erodes trust in the forecast as a whole. The hero now applies the identical Math.min(99, Math.round(...)) cap, with an inline comment naming the rationale and the symmetry. Important: the cap applies *only* to forward-looking headline assertions. The CDF curve in the Cumulative Probability Distribution chart and the percentile axis on the Probability Distribution Histogram are mathematical CDF visualizations and correctly reach 100% — they are not subject to this cap and continue to render unchanged. This is a copy/display change only; no underlying simulation math moves.
Internal
- New shared src/features/forecast/lib/scope.ts holds PROJECT_SCOPE and ScopeSelection so both ForecastSummary (which previously defined them locally at lines 51–53) and the new DeadlineProbabilityPanel consume the same sentinel without duplication. Behavior is unchanged; the local definitions in ForecastSummary were deleted in favor of the import. No barrel-export update needed in src/features/forecast/index.ts — the panel is consumed only by ForecastTab.
- useForecastState exposes targetDate and setTargetDate and clears the value in the existing prevProjectIdRef reset block, so switching projects clears the deadline cleanly alongside results, simulationData, customResults, and the other per-project state that already resets there.
- ForecastTab wires the panel between ForecastResults and the Custom Percentile section, inside the existing {hasResults && (...)} block. The sprintCadenceWeeks and other non-null project fields use the same ! assertions already in place for the sibling components in that block.
- Test count: ~957 / 48 files (+~24 from deadline.test.ts and DeadlineProbabilityPanel.test.tsx). Build clean. Lint 0 errors / 0 warnings.
v0.32.2
May 17, 2026Changed
- Lognormal distribution renamed from the abbreviated "Lognorm" to the full "Lognormal" everywhere in the UI and exports. The compact label 'Lognorm' was a holdover from the early dropdown/legend rendering — it saved two characters at the cost of using an abbreviation that has no established meaning outside code identifiers (e.g., scipy.stats.lognorm) and that disagreed with the leading word of every description string the app already used ("Lognormal — right-skewed curve always above zero…"). The full name now appears in the DISTRIBUTION_LABELS map at [src/shared/types/burn-up.ts:51](src/shared/types/burn-up.ts:51), which propagates through every consumer that reads the map: the Settings → "Statistical methods to show" checkbox label, the Forecast Summary's distribution dropdown and prose summary, the Forecast Results column header, the Burn-Up Config dropdown, the per-distribution PercentileSelector, and the PDF report (which inherits via the same data path). The two chart legends in the Forecast tab ([DistributionChart.tsx:208](src/features/forecast/components/DistributionChart.tsx:208) and [HistogramChart.tsx:201](src/features/forecast/components/HistogramChart.tsx:201)) hardcoded name="Lognorm" inline (the chart-legend pattern in those files inlines every distribution's display name rather than reading from DISTRIBUTION_LABELS) and have been updated to name="Lognormal". The CSV export's three header rows at [src/features/forecast/lib/export-csv.ts:183, 248, 301](src/features/forecast/lib/export-csv.ts:183) — *PERCENTILE RESULTS*, *FREQUENCY DISTRIBUTION*, and *RAW TRIAL DATA* — also flip from "Lognorm Sprints" / "Lognorm Count" / "Lognorm %" etc. to the "Lognormal …" forms, keeping the on-screen label and the downloaded CSV column names consistent. T-Normal is intentionally not renamed: "T-Normal" is a recognized abbreviation in statistics, expanding it to "Truncated Normal" would inflate every column header by eight characters with no readability win, and unlike "Lognorm" the abbreviated form is already what a statistically-literate reader expects.
Internal
- Tests updated for the new label. Three component-level test files asserted the literal string 'Lognorm' — [ForecastSummary.test.ts:39, 58, 114](src/features/forecast/components/ForecastSummary.test.ts:39) (three assertions in the buildSummaryText suite that pass a distribution label and assert it appears in the prose output), [ForecastResults.test.ts:24](src/features/forecast/components/ForecastResults.test.ts:24) (column fixture), and [ResultsTable.test.ts:24](src/features/forecast/components/ResultsTable.test.ts:24) (column fixture) — all flip to 'Lognormal'. The CSV column-count test comment at [export-csv.test.ts:153](src/features/forecast/lib/export-csv.test.ts:153) is updated for the new column name; the actual column-count assertion is unchanged because the number of columns hasn't moved. The JSDoc on getVisibleDistributions at [src/features/forecast/types.ts:25](src/features/forecast/types.ts:25) is also updated.
- No data-shape change. The internal DistributionType discriminant remains 'lognormal'; only the human-readable display label changed. Existing persisted state and Firestore documents round-trip unchanged.
v0.32.1
May 17, 2026Fixed
- Cumulative Probability Distribution and Probability Distribution Histogram chart dropdowns now hide completed milestones. The Milestone selector on both charts in the Forecast tab previously listed every milestone with showOnChart !== false, including milestones the user had zeroed out (backlogSize === 0). Picking a completed milestone from that dropdown was not just visually noisy — it silently rendered an *incorrect* forecast: because the simulation forecasts each milestone's *cumulative* threshold and completed milestones contribute zero to the running sum (see [src/features/forecast/hooks/useForecastInputs.ts:56-66](src/features/forecast/hooks/useForecastInputs.ts:56)), selecting a completed milestone produced a chart identical to the preceding milestone's forecast under a misleading label, with no indication that the selected milestone was actually done. The filter at [src/features/forecast/components/ChartToolbar.tsx](src/features/forecast/components/ChartToolbar.tsx) now also excludes milestones where milestoneCompletionInfo[idx]?.completed === true, bringing the two chart dropdowns into parity with the Forecast Summary scope picker ([src/features/forecast/components/ForecastSummary.tsx:189](src/features/forecast/components/ForecastSummary.tsx:189)) and the per-milestone forecast tables in Forecast Results ([src/features/forecast/components/ForecastResults.tsx:185](src/features/forecast/components/ForecastResults.tsx:185)). All three forecast-control surfaces in the Forecast tab now treat "completed = no forecast option" uniformly. The existing auto-correct effect transparently moves the user's selection to the first visible milestone if the previously-selected one becomes invisible because of a completion edit, and the existing "(Total)" suffix on the last visible milestone remains semantically correct under filtering — completed milestones add zero to the cumulative scope, so the last visible milestone's cumulative threshold always equals the project's total remaining cumulative scope.
Internal
- New shared helper computeVisibleForecastMilestones in [src/features/forecast/lib/milestones.ts](src/features/forecast/lib/milestones.ts). Encapsulates the two-clause filter (showOnChart !== false AND !completionInfo[idx]?.completed) that decides which milestones appear in forecast-control dropdowns. ChartToolbar consumes the helper; ForecastSummary and ForecastResults keep their existing inline filters for now (their inline logic is identical in spirit but is interleaved with surface-specific concerns — scope-picker labels in one, table-row construction in the other — and refactoring them to consume the shared helper is a non-goal of this patch). Seven new unit tests in [src/features/forecast/lib/milestones.test.ts](src/features/forecast/lib/milestones.test.ts) cover: all visible (none filtered), showOnChart=false filter, completed filter (the new behavior — with a comment naming v0.32.1 as its motivation), composition of both filters, all-completed → empty result, original-index preservation, and missing completionInfo defaulting to no completion filter.
- Prop wiring: [src/features/forecast/components/DistributionChart.tsx](src/features/forecast/components/DistributionChart.tsx) and [src/features/forecast/components/HistogramChart.tsx](src/features/forecast/components/HistogramChart.tsx) gain a new optional milestoneCompletionInfo prop that they pass through to <ChartToolbar>. [src/features/forecast/components/ForecastTab.tsx](src/features/forecast/components/ForecastTab.tsx) supplies the value from useForecastState to both chart components — the same milestoneCompletionInfo already passed to <ForecastSummary> and <ForecastResults>, so there is no new computation in the tab.
v0.32.0
May 17, 2026Changed
- Default forecast distribution flipped from Truncated Normal to Lognormal for new installs and new projects. Three source-level defaults move in lockstep: the Settings → "Statistical methods to show" default selection at [src/shared/state/settings-store.ts:93](src/shared/state/settings-store.ts:93) (distributionsEnabled: ['lognormal']), the burn-up chart's per-project default at [src/shared/types/burn-up.ts:38](src/shared/types/burn-up.ts:38) (DEFAULT_BURN_UP_CONFIG.distribution: 'lognormal'), and the Forecast Summary's initial dropdown selection at [src/features/forecast/components/ForecastSummary.tsx:157](src/features/forecast/components/ForecastSummary.tsx:157). The Firestore defensive coercion at [src/shared/firebase/firestore-converters.ts:117](src/shared/firebase/firestore-converters.ts:117) also moves: cloud-mode documents with a missing, empty, or fully-corrupted distributionsEnabled field now fall back to ['lognormal'] instead of ['truncatedNormal']. Existing per-project distribution selections are *not* migrated — a user who picked Truncated Normal on a project in v0.31.x still sees Truncated Normal on that project in v0.32.0; the new default applies only to projects created after the upgrade and to fresh installs with no persisted Settings. Truncated Normal stays fully available from the Settings → "Statistical methods to show" checkboxes for users who want classical PERT semantics. The motivation is calibration: Truncated Normal's lower-bound truncation at zero asymmetrically biases effective mean velocity upward whenever the coefficient of variation σ/μ exceeds roughly 0.3, making forecasts on uncertain teams artificially optimistic in exactly the regime where calibration matters most. Concrete impact on the "Wildly uncertain" preset (backlog=1000, μ=100, σ=65, 10k Monte Carlo trials): under Truncated Normal, P50 lands at 10 sprints with a ≈ 67% cumulative probability of finishing by sprint 10 (the truncation lifts effective mean velocity to ≈ 108, so the median compresses); under Lognormal, the same inputs yield P50 ≈ 11 sprints and a ≈ 45% cumulative probability at sprint 10. Lognormal is naturally non-negative, preserves the specified mean exactly, and matches the empirical right-skew of sprint velocity (bad sprints are worse than good sprints are good — outages, scope surprises, sick weeks) — the more conservative and more empirically defensible answer in exactly the high-variability regime where the choice of distribution materially changes the forecast.
- Settings → "Statistical methods to show" — Lognormal and Truncated Normal descriptions rewritten to reflect the new default. Lognormal's one-line description now explicitly identifies it as the recommended default, mentioning right-skew matching of sprint velocity and calibration stability at high variability. Truncated Normal's description now identifies it as the classical PERT-style alternative and explicitly calls out the upward mean bias at high variability — so a user who picks Truncated Normal off the menu does so with eyes open rather than because the copy framed it as "a reasonable default." The other four descriptions (Gamma, Bootstrap, Triangular, Uniform) are unchanged from the v0.31.3 rewrite. Reordered the keys in DISTRIBUTION_DESCRIPTIONS so Lognormal appears first in source — reading-order touch only; the on-screen checkbox grid still iterates DISTRIBUTION_TYPES from [src/shared/types/burn-up.ts](src/shared/types/burn-up.ts) and so still renders Truncated Normal first.
Internal
- Legacy runSimulation and runForecast defaults in [src/features/forecast/lib/monte-carlo.ts](src/features/forecast/lib/monte-carlo.ts) flipped to Lognormal for consistency. Neither entry point sits on the live app pipeline (the production forecast goes through runQuadrupleForecast via the simulation worker), but both are public exports whose hardcoded 'truncatedNormal' defaults would read as stale once the app-level default is Lognormal. The destructuring default at line 246 (runSimulation's distributionType) and the hardcoded value at line 343 (runForecast's wrapper call) both move to 'lognormal'; the JSDoc on runForecast is updated from "backward compatible - uses truncated normal distribution" to identify it as a convenience wrapper around the v0.32.0 app default and to point callers at runQuadrupleForecast for the full distribution sweep. Caller audit confirmed these defaults are reached only from shape-property tests in [monte-carlo.test.ts](src/features/forecast/lib/monte-carlo.test.ts) (sorted output, monotonic percentile ordering, defined fields) — no test asserts distribution-specific behavior at these entry points, so the change is mechanically safe.
- High-σ directionality regression test added at [src/features/forecast/lib/monte-carlo.test.ts](src/features/forecast/lib/monte-carlo.test.ts). Asserts that at the "Wildly uncertain" preset (backlog=1000, μ=100, σ=65, trialCount=10000) Lognormal P50 sprintsRequired strictly exceeds Truncated Normal P50, with absolute-magnitude sanity guards on each (T-Normal 8–11, Lognormal 9–13 — wide enough to absorb Monte Carlo noise but narrow enough that a directional inversion would still trip the test). Locks in the calibration property motivating the v0.32.0 default flip so a future sampler refactor cannot silently invert the relationship and quietly re-introduce the optimism this release was meant to remove.
- Settings default regression test added at [src/shared/state/settings-store.test.ts](src/shared/state/settings-store.test.ts) using useSettingsStore.getInitialState() to read the factory default independent of any beforeEach reset state. Asserts distributionsEnabled initializes to exactly ['lognormal'].
- Firestore defensive-coercion tests updated at [src/shared/firebase/firestore-converters.test.ts](src/shared/firebase/firestore-converters.test.ts) so the four fallback assertions (missing field, empty array, non-array value, all-keys-unknown) now expect ['lognormal']. The "filters out unknown keys" assertion (input contains valid truncatedNormal + lognormal plus an unknown) is unchanged — it tests the filter, not the fallback.
v0.31.5
May 16, 2026Fixed
- "Run Forecast" silently does nothing on a freshly-created project with no sprint history. Reported by William creating a new project (no sprints), switching to subjective mode, entering backlog and estimated velocity, then clicking the button — nothing happened. Root cause was a drift between two prerequisite checks: handleRunForecast at [useForecastState.ts:190](src/features/forecast/hooks/useForecastState.ts:190) bailed silently if selectedProject.sprintCadenceWeeks or selectedProject.firstSprintStartDate was missing, but the canRun prop computed at [ForecastTab.tsx:226](src/features/forecast/components/ForecastTab.tsx:226) that drove the button's disabled-state only checked backlog and effective velocity — canRun !== !canRunReally. Result: the button stayed enabled and clickable while the handler silently exited the moment the user clicked it. The same drift affected the auto-recalculate effect at [useForecastState.ts:291](src/features/forecast/hooks/useForecastState.ts:291), which used an even thinner local copy of the check and silently called the handler on every input change — two layers of silent fail. sprintCadenceWeeks is intentionally *not* set on the Projects-tab creation form (see the comment at [ProjectForm.tsx:101](src/features/projects/components/ProjectForm.tsx:101)) — it gets set the first time the user configures sprint history, so subjective-mode users who never add sprint history hit this every time. Now: a single centralized prereq check lives in the new [src/features/forecast/lib/run-forecast-prereqs.ts](src/features/forecast/lib/run-forecast-prereqs.ts) and is shared by all four call sites (button disabled-state, handler guard, auto-recalc gate, inline helper text). Cadence-less projects now show a disabled button and the inline helper text reads *"Set sprint cadence on the Sprint History tab."* — the user discovers the cause without having to guess.
Added
- Inline helper text under the Run Forecast button now surfaces the specific missing prerequisite when the button is disabled. The existing helper-text slot at [ForecastForm.tsx:338](src/features/forecast/components/ForecastForm.tsx:338) was previously hard-coded to show only *"Velocity must be > 0"* and only when both backlog had been entered AND velocity was non-positive. It now renders whichever prereq is currently missing, in priority order:
- New library file src/features/forecast/lib/run-forecast-prereqs.ts exports canRunForecast(inputs) and getRunForecastBlockedReason(inputs). Centralizing the check here means the four call sites (manual handler, auto-recalc effect, button-disabled prop, inline helper text) all read from the same source — they cannot drift again. The file's header comment documents the v0.31.5 drift incident so a future contributor knows why the abstraction exists rather than seeing it as ceremony.
Internal
- handleRunForecast rewritten to gate on the centralized canRun instead of inlining its own prereq checks. The original five-line guard (cadence, start date, backlog, mean, std-dev) is replaced with if (!selectedProject || !canRun) return followed by a comment-justified type-narrowing re-check (cadence + start date) so TypeScript can narrow number | undefined → number at every downstream use site without affecting runtime semantics.
- Auto-recalculate effect rewritten to gate on the same canRun instead of its own stripped-down !!debouncedBacklog && inputs.effectiveMean > 0 check. Adds canRun to the effect's dep array so the effect re-fires when any project-level prereq becomes satisfied (e.g., the user navigates to Sprint History, sets cadence, and returns to Forecast tab — auto-recalc fires immediately).
- runForecastRef.current = handleRunForecast moved inside an effect to satisfy the react-hooks/refs lint rule (in-render ref assignment was flagged as a footgun for React Compiler's render-purity analysis). Functionally equivalent — the auto-recalc effect runs after the ref-update effect on any given render, so the ref is always current when the auto-recalc fires.
- Project-change reset effect annotated with a targeted eslint-disable react-hooks/set-state-in-effect wrapping the seven setX(null) calls inside its if (prev !== current) branch. The rule's recommended alternative for "reset all state when a watched value changes" is a key-prop-based forced remount on a parent — too invasive for the tab-switch boundary that owns this many separate result states. The setStates are resetting-to-empty (not cascading derivations), so the cascading-renders concern the rule warns about does not apply here.
- Test count: 942 / 46 files (+9 from the new run-forecast-prereqs.test.ts covering: all-prereqs-satisfied returns null, empty form is silent, missing cadence wins priority over all other missing prereqs, missing start date is flagged when cadence is set, velocity-must-be->0 only fires when backlog has been entered, negative velocity flagged same as zero, and canRunForecast boolean for each missing prereq case).
v0.31.4
May 16, 2026Fixed
- Sample project's productivity adjustment had no forecast effect — latent since v0.31.1. The seeded adjustment was placed via addWeeks(firstSprintStartDate, 10), which with 8 completed sprints at 2-week cadence (= 16 weeks of history) put its date range ~6 weeks before the forecast period begins. preCalculateSprintFactors in [src/features/forecast/lib/productivity.ts](src/features/forecast/lib/productivity.ts) filters adjustments whose endDate < firstForecastStart, so the seeded adjustment was silently dropped before the Monte Carlo simulator ever saw it. Toggling it on or off produced no change in the forecast — exactly the behavior the seeded example was meant to demonstrate to new users. The previous shape-only test in sample-project.test.ts asserted name / factor / enabled but not position-in-forecast-period, which is why the bug shipped undetected through v0.31.1, v0.31.2, and v0.31.3. The adjustment is now placed at addWeeks(firstSprintStartDate, 22) — the start of forecast sprint 4 (project sprint 12, late June from the current ship date) — with adjEnd = addDays(adjStart, 13) so the 14-day window at factor 0 covers a full sprint's worth of working days. Toggling on shifts the overall project finish by exactly +1 sprint; toggling off restores. Beta Release (~sprint 11 in the sample) delivers before the break and is unaffected by the toggle, while GA Release and v2 Release deliver after and each shift by +1 sprint — extra pedagogical benefit at no extra code cost.
- Sample project's productivity adjustment renamed "Spring Break" → "Summer Break". The new calendar position (late June) is no longer literally Spring Break by US-calendar conventions; the new label matches.
- Regression test added at [sample-project.test.ts:111](src/features/projects/lib/sample-project.test.ts:111). Asserts (a) the seeded adjustment's endDate >= firstForecastStart (proves it's in the forecast period, not the past); (b) preCalculateSprintFactors produces a factor of 0 at the expected forecast-sprint index (3, i.e., forecast sprint 4) when the seeded adjustment is enabled; and (c) the same call returns all-1.0 factors when no adjustments are passed. Tests forecast effect, not just shape — this class of regression cannot reappear silently.
Changed
- Settings — every narrow value-entry row now uses the same Label [Control] inline pattern with the description below. Three dropdowns (Number of simulations in the Simulation section, Chart font size in the Chart Defaults section, Theme in the Appearance section) and two number inputs (Default custom percentile 1 and 2 in the Chart Defaults section) all moved off the prior pattern. The previous pattern was a flex row containing a label-and-description block on the left and the control marked ml-auto flex-shrink-0 on the right — which looked balanced for wide dropdowns like "Medium" but left tiny 2-digit number inputs visually orphaned at the right edge of the row, separated from their label by a wide empty band of description text. The new pattern groups the label and control on the top line in a flex items-center gap-3 row and renders the description below. Every narrow value-entry row in Settings now shares the same idiom; the only remaining patterns on the page are checkbox-rows (toggles) and label-on-top stacks (for wide pill/checkbox grids like "Default results table percentiles" and "Statistical methods to show").
- Settings → Export Attribution — labels stack above their inputs. Previously each <label> used the browser default display: inline, which put the label text immediately to the left of each input. Because "Name" (4 chars) and "Identifier" (10 chars) are different widths, the two inputs started at different x-positions — a visible misalignment. The labels now carry block mb-1 so they sit above each input; both inputs render at the same left edge of the wide-control column. Matches the convention already used by the other wide controls on the same page ("Default results table percentiles", "Statistical methods to show").
- Cloud Storage modal slimmed to sign-in only. The Export Attribution section (Name + Identifier inputs) and the Notifications section ("Warn me on startup when using local storage" checkbox) have been removed from [src/features/auth/components/CloudStorageModal.tsx](src/features/auth/components/CloudStorageModal.tsx). Both still live under Settings, which remains the single place to edit them. The modal is now a focused sign-in surface — Storage mode toggle + sign-in buttons (signed out) or IdentityCard (signed in). Net change: −78 lines; the dead useSettingsStore destructure for the removed fields was pruned along with an unused local inputClass constant.
Internal
- Test count: 933 / 45 files (+1 from the new Summer Break regression test). Build clean. Lint 0 errors / 0 warnings.
v0.31.3
May 16, 2026Changed
- Forecast Results section now collapsed by default on the Forecast tab. The detailed per-distribution / per-percentile results table previously rendered expanded on first mount via useState(true) at [ForecastResults.tsx:171](src/features/forecast/components/ForecastResults.tsx:171). It was the only collapsible section on the Forecast tab that opened expanded — every other collapsible (Custom Percentile, Burn-Up Chart, Distribution Chart, Histogram Chart, Volatility Adjuster) already defaulted to collapsed. Now consistent with those siblings: defaults to collapsed (useState(false)); one click on the section header expands it. The "Your forecast" hero callout above it still conveys the headline percentage and date in plain language, so a first-time user is not stranded by the table being hidden. Brings the Forecast tab visually in line with its established convention and makes the first-load surface less intimidating for the NCCI training audience.
- Sample project's productivity adjustment renamed "Production Issues" → "Spring Break". Friendlier first-impression framing for the seeded example; same dates (5-day window 10 weeks into the seeded timeline) and same factor (0.5) in this release. (Note: this rename was superseded later the same day in v0.31.4, which renamed it again to "Summer Break" alongside a placement bug fix — see the v0.31.4 entry for details.)
- Settings → "Statistical methods to show" — all six distribution descriptions rewritten to a consistent Name — shape; usage guidance pattern. The descriptions in DISTRIBUTION_DESCRIPTIONS at [src/features/settings/components/SettingsTab.tsx:36](src/features/settings/components/SettingsTab.tsx:36) had been inconsistent — some led with shape, some with use case, some referenced sibling distributions, the T-Normal entry was technically incorrect, and the Triangular entry implied user-entered three-point values that the app does not collect.
Internal
- Test count: 932 / 45 files (unchanged from v0.31.2 — only an in-place assertion edit in sample-project.test.ts).
v0.31.2
May 16, 2026Added
- "Load Sample Project" CTA on the Projects-tab and Forecast-tab empty states. A new button next to "Create New Project" seeds a complete runnable example with one click: eight sprints of history with hand-chosen velocities [25, 50, 18, 55, 22, 62, 48, 60] (mean ~42.5, CV ~42% — realistic messy variability that produces a visible P10/P90 spread, vs. a too-tight sequence that would collapse the spread and make the forecast look hard-pinned even with the custom percentile slider); a declining backlog series ending at 460 remaining; four ordered milestones (MVP Release seeded at backlogSize: 0 to demonstrate the completed-milestone state under the user-maintained dynamic model; Beta Release 100, GA Release 150, v2 Release 210, summing to 460); and one productivity adjustment ("Production Issues" — renamed to "Spring Break" in v0.31.3, then to "Summer Break" alongside a placement bug fix in v0.31.4). The seeder is idempotent against double-clicks via a name-guard at [src/features/projects/lib/sample-project.ts:67](src/features/projects/lib/sample-project.ts:67) — if a project with the sample's name already exists (regardless of who created it), the call returns and fires a friendly sonner toast rather than producing a duplicate. All sprint dates flow through calculateSprintStartDate / calculateSprintFinishDate so finish dates always land on business days. New users land on a working forecast immediately on first session instead of staring at empty form fields.
- Custom percentile selector is collapsible on the Forecast tab. Previously rendered always-expanded, contributing to the ~50-control wall on first load that first-time users found overwhelming. The chip selector now defaults to collapsed under a header reading *"Explore a custom percentile"* with the chevron pointing right; one click on the header expands the existing selector with all functionality preserved. State is local React useState (session-only, not persisted) and resets to collapsed on project switch or page reload. Header label rendered at [ForecastTab.tsx:320](src/features/forecast/components/ForecastTab.tsx:320).
- "Std Dev" / "Standard Deviation" relabeled to "Variability" with a help-tooltip. The velocity-spread input on the Forecast form ([ForecastForm.tsx:219](src/features/forecast/components/ForecastForm.tsx:219)) and the Sprint History stats panel ([VelocityStats.tsx:35](src/features/sprint-history/components/VelocityStats.tsx:35)) both previously read "Std Dev" or "Standard Deviation". They now read "Variability" with an ⓘ info chip (via the new HelpTooltip wrapper introduced this release) whose hover content reads *"Standard deviation — how much velocity varies sprint to sprint."* Plain-language label for the audience that doesn't read statistical jargon; the tooltip preserves the precise meaning for the audience that does. CSV export rows ([export-csv.ts:134](src/features/forecast/lib/export-csv.ts:134)) intentionally still use the technical "Velocity Std Dev" header so downstream tools that parse the export keep working unchanged.
- History / Subjective mode tooltip on the forecast-mode toggle. The mode toggle ([ForecastModeToggle.tsx:31](src/features/forecast/components/ForecastModeToggle.tsx:31)) now carries an ⓘ tooltip with the content *"History uses your sprint data; Subjective uses your judgment."* — disambiguates the two modes for first-time users without requiring them to switch modes and observe the input differences.
- Settings → "Statistical methods to show" section added under Chart Defaults. One checkbox per distribution (Truncated Normal, Lognormal, Gamma, Bootstrap, Triangular, Uniform) plus a one-line description under each (descriptions overhauled in v0.31.3). New installs and the upgrade default both ship with Truncated Normal only checked — the cleanest first-touch view, removing five distributions worth of visual density from a first-time user's Forecast tab. Re-enable any combination from Settings; at least one must remain checked (the at-least-one constraint is enforced in the store setter setDistributionsEnabled, not just the UI, so a malformed cloud document or a bypassed UI cannot result in zero distributions enabled). Bootstrap is still gated by 5+ sprints of history regardless of this setting. The setting persists in localStorage for local-mode users and round-trips through Firestore for cloud-mode users via the same emit-on-user-change pattern used by other settings fields. The defensive Firestore coercion in firestoreDocToSettings handles non-array, empty-array, and partially-invalid-array inputs by falling back to ['truncatedNormal'] rather than crashing or rendering an empty distribution set.
- "Your forecast" hero callout at the top of the Forecast Summary panel. A blue-bordered left-rail section renders before the existing summary controls and reads, for example, *"Based upon your forecast judgments, there is a 90% chance the project will finish by [date]."* (with "an 80%" / "an 87%" / "a 90%" computed by pronunciation via the new indefiniteArticle() grammar helper). Two important correctness properties: (1) the percent shown is the *true* cumulative probability at the displayed sprint-end date, computed via the new cumulativeProbabilityAtSprint() Monte Carlo helper — *not* the user's selected percentile. Because forecast dates round up to sprint-end (sprint quantization), the actual cumulative probability at that date is typically *higher* than the selected percentile — sometimes much higher when the surrounding sprint bucket holds many simulated outcomes. Showing the true CDF keeps the (percent, date) pair internally consistent. (2) The lead phrase *"Based upon your forecast judgments,"* is mode-agnostic — it works equally for history mode (sprint data as the user's judgment about the team's pace) and subjective mode (the direct velocity estimate as the user's judgment) without privileging either vocabulary. The hero reuses the existing if (!selectedResult) return null guard, so it never renders with stale or missing data. Implementation at [ForecastSummary.tsx:331](src/features/forecast/components/ForecastSummary.tsx:331).
- Scope picker in the forecast summary controls row. A new dropdown to the left of the distribution + percentile pickers lets the user choose either "Entire Project" (the existing behavior, default) or any single not-yet-completed milestone. The hero callout and the lower-section summary sentence both reflect the choice — for milestone scope, the headline reads *"...Milestone X will be reached by [date]"* and the summary references the milestone's incremental backlogSize rather than the project total. Completed milestones (backlogSize === 0) are filtered out of the picker (they have nothing to forecast) but still appear in the per-milestone breakdown below as italicized "completed" lines. If the user selects a milestone and then later deletes or completes it, the picker silently falls back to "Entire Project" rather than rendering a broken selection. Scope option list built at [ForecastSummary.tsx:181](src/features/forecast/components/ForecastSummary.tsx:181).
- Per-milestone breakdown under the summary sentence. A colored-dot list of each charted milestone's forecast date (filtered to milestones with showOnChart !== false, excluding the currently-selected scope so the headline isn't duplicated). Completed milestones render in italic past-tense (e.g., *"MVP Release: completed"*) so the boundary between delivered and ahead-of-team is eye-scannable; not-yet-completed milestones render in normal-weight future-tense pulled from the per-milestone Monte Carlo results. Completion is detected from backlogSize === 0 only — never auto-derived from sprint history — because milestone scope can change independently of sprint delivery (descopes, additions) and the user is the source of truth on what remains to ship.
- Burn-up chart legend ordered Scope → Done → forecast lines in ascending percentile. Recharts 3.x's default <Legend> auto-collects entries from rendered chart children and sorts them alphabetically — which produced legends like *"Done, P10, P50, P90, Scope"* with chart series in a different order than they appear left-to-right on the chart, confusing first-time readers. A new pure helper buildBurnUpLegendPayload() at [src/features/forecast/lib/burn-up-legend.ts](src/features/forecast/lib/burn-up-legend.ts) builds the explicit payload in the desired display order, and the chart canvas passes both payload={...} and itemSorter={null} to <Legend> to opt out of the default alphabetical sort. Custom percentile labels and arbitrary percentile combinations are supported (e.g., P15 / P50 / P85 still come out ascending). Tested for stability against reverse-ordered inputs.
- Distribution dropdown ⓘ info-tooltip in the summary controls row. Hover reads *"Only Truncated Normal is shown by default. Add more distributions in Settings → Statistical methods to show."* — points users at the new Settings checkbox section so they can discover how to expand the dropdown beyond the single default option. Implementation at [ForecastSummary.tsx:377](src/features/forecast/components/ForecastSummary.tsx:377).
Changed
- Auto-simulation now runs on first valid input. Previously, even with auto-recalculate enabled in Settings, the Forecast tab required one manual "Run Forecast" button click before auto-recalculate took effect — a discoverability papercut where first-time users had no signal that input changes would trigger anything. The first-click gate (hasRunOnceRef.current check) is removed for the initial trigger; once inputs are valid, the simulation kicks off automatically. The manual "Run Forecast" button still works for users who prefer explicit triggering and for users who have auto-recalculate disabled in Settings.
- Default selected percentile pills shrunk from [P10, P20, P50, P80, P90] to [P10, P50, P90] for new sessions, at [constants.ts:20](src/features/forecast/constants.ts:20). The five-pill default surfaced too many percentile dates at once for users meeting Monte Carlo forecasting for the first time; three pills (optimistic / median / conservative) communicate the spread without the visual density. The full picker still offers all 19 selectable values [P5, P10, P15, P20, P25, P30, P35, P40, P45, P50, P55, P60, P65, P70, P75, P80, P85, P90, P95] — users add or remove pills in the Forecast Results table to suit their preference; the change only affects what's checked by default for a new session.
- Custom-percentile dropdown extended downward to P10–P40 for optimistic forecasting. Was previously [P50, P60, P70, P80, P85, P90, P95] only — a "conservative end" dropdown that couldn't represent best-case forecasts. Now [P10, P20, P30, P40, P50, P60, P70, P80, P85, P90, P95] ([ForecastSummary.tsx:48](src/features/forecast/components/ForecastSummary.tsx:48)), ordered ascending so the dropdown reads naturally top-to-bottom. Useful for users who want to compare "if everything goes well" against "if it goes typically" within the same forecast.
- Forecast Results table no longer stretches to fill its container with few distributions selected. Was previously a free-flowing layout that filled the available width regardless of column count, leaving cells with awkward extra padding when only Truncated Normal was visible (the new default). Now table-layout: fixed with <colgroup> widths of 4rem / 4.5rem / 7.5rem ([ResultsTable.tsx:96](src/features/forecast/components/ResultsTable.tsx:96)) so the table is left-anchored at its natural width and trailing whitespace fills the right side of the container. Narrow viewports still scroll because the parent supplies overflow-x-auto.
- Summary sentence reframed to "there is at least an X% chance that…" Was previously *"there is an X% chance"* — technically incorrect under sprint quantization. Because the displayed date is the *earliest* sprint-end where the cumulative distribution function reaches the selected percentile, the actual cumulative probability at that date is ≥ selected percentile. *"At least"* is true; the bare percent could be read as a point estimate that the math doesn't support. The hero callout (which shows the *true* CDF percentage) reads *"there is an X%"* — appropriate because that's the actual CDF value; the lower-section summary (which shows the *selected* percentile against the same date) reads *"there is at least an X%"* — appropriate for the displayed-percentile-vs-true-CDF gap.
- Indefinite article computed by pronunciation via the new indefiniteArticle(n) helper at [src/shared/lib/grammar.ts](src/shared/lib/grammar.ts). Generates *"an 80%"* / *"an 87%"* / *"an 11%"* / *"an 18%"* / *"a 90%"* / *"a 50%"* — accounting for the cases where the spelled-out first digit starts with a vowel sound (eight, eighteen, eleven) vs. a consonant sound (one, two, three…). Used by both the hero callout and the lower-section summary so the article is always correct regardless of which percentile or true-CDF value lands in the sentence.
Internal
- shadcn tooltip component installed (Radix UI–backed via radix-ui ^1.4.3). A new HelpTooltip wrapper at [src/shared/components/HelpTooltip.tsx](src/shared/components/HelpTooltip.tsx) renders ⓘ info chips with content sized to max-w-[14rem] for compact reads (originally wider; narrowed after initial review found the typical 1-sentence content read visually heavy at the wider size). TooltipProvider is mounted in AppShell so any descendant can render tooltips without per-call provider setup.
- Monte Carlo helper cumulativeProbabilityAtSprint(sortedSimData, sprints) at [src/features/forecast/lib/cdf.ts](src/features/forecast/lib/cdf.ts). Returns the true cumulative probability (as a percent in [0, 100]) that the project finishes at or before the given sprint count, computed from the sorted per-trial sprints-required array. Powers the hero callout's headline percentage so it stays internally consistent with the displayed sprint-end date.
- Grammar helper indefiniteArticle(n) at [src/shared/lib/grammar.ts](src/shared/lib/grammar.ts). Derives "a" vs. "an" from the pronunciation of the leading digit of the number being read out as a percentage. Tested at the documented edge cases (8 / 18 / 80 / 87 / 11 → "an"; 1 / 2 / 3 / ... / 9 → "a"; 100 → "a"; etc.).
- Milestones lib computeCumulativeScope + computeMilestoneCompletionInfo at [src/features/forecast/lib/milestones.ts](src/features/forecast/lib/milestones.ts). Computes the cumulative thresholds [0, m[0].backlogSize, m[0].backlogSize + m[1].backlogSize, ...] that the Monte Carlo simulation reads as "delivered-in-trial ≥ threshold," and derives per-milestone completion state from backlogSize === 0 only. Completion is not auto-derived from sprint history — milestone scope can change independently of sprint delivery (descopes, additions), so auto-inference is unsafe; the user is the source of truth on what remains. Release-history (when a milestone actually shipped) lives in GanttApp, which this tool feeds into. Shared by ForecastSummary, ForecastResults, and useForecastState so the completion computation is single-sourced.
- Burn-up legend payload built explicitly via the new helper at [src/features/forecast/lib/burn-up-legend.ts](src/features/forecast/lib/burn-up-legend.ts) with itemSorter={null} on <Legend> to opt out of Recharts 3.x's default alphabetical sort. Tested for stability against reverse-ordered inputs, custom percentile sets, and configurations with showScopeLine: false.
- getVisibleDistributions chokepoint gained an enabledDistributions parameter so all three call sites (ForecastSummary, PercentileSelector, ResultsTable via ForecastResults) pass through the Settings value rather than separately re-deriving it. The Bootstrap-OR-Uniform mutual exclusion is enforced here — never more than 5 visible distributions in any combination.
- State-fallback useEffects in ForecastSummary and BurnUpConfigUI added for the case where the user disables the currently-selected distribution via Settings — the component falls back to the first available distribution from the visible set. Both depend on a useMemo'd availability set with explicit reference-stability inline comments (// do not drop — array reference stability is load-bearing; dropping triggers an infinite render loop) on the dep arrays. Verified against React DevTools profiler with rapid Settings toggling to confirm no render loops.
- Sample-project seeder at [src/features/projects/lib/sample-project.ts](src/features/projects/lib/sample-project.ts). Plain module function (not a hook) — invoked from event handlers via useProjectStore.getState() rather than React render paths. All sprint dates flow through calculateSprintStartDate / calculateSprintFinishDate so finish dates always land on business days. Required project fields per src/shared/types/index.ts are set explicitly; every seeded sprint has includedInForecast: true so the auto-derivation of remainingBacklog in useForecastInputs reads the seeded values correctly. The last sprint's backlogAtSprintEnd: 460 is the pre-fill source — no setForecastInput call is needed because sprints are persisted while forecastInputs are session-only. (Note: the seeded productivity adjustment had a placement bug from v0.31.1 through v0.31.3 — it landed in completed history and was filtered out before reaching the simulator. Fixed in v0.31.4; see that release's entry for details.)
- Test count: 932 / 45 files at the v0.31.2 baseline.
v0.30.2
May 15, 2026Changed
- Productivity Adjustments Edit/Delete now use icon buttons. The yellow "Edit" pill and red "Delete" pill on each Productivity Adjustments row (Forecast tab) are replaced with the shared PencilIconButton and TrashIconButton components introduced in v0.29.x. The pencil shows a persistent blue active tint while that adjustment is being edited.
- Milestones Edit/Delete updated by the same change. The shared ListRowActions component powers both Productivity Adjustments and Milestones rows, so Milestones receive the identical icon-button treatment in this release. After v0.30.2, every Edit/Delete control in the app — Projects tab, Sprint History, Productivity Adjustments, and Milestones — uses the same icon-button vocabulary.
Internal
- ListRowActions accepts an isEditing prop that drives PencilIconButton's active state. The host list passes adj.id === editingId (or m.id === editingId for milestones).
- CollapsibleCrudPanel.renderList callback now also receives the panel's current editingItem, so list components can compute per-row editing state without duplicating the editing-state store. No behavior change for existing callers that ignore the new field.
v0.30.1
May 14, 2026Changed
- Sprint History Edit/Delete now use the same icon buttons as Projects tab. The yellow "Edit" pill and red "Delete" pill on each Sprint History row are replaced with the shared PencilIconButton and TrashIconButton components (subtle gray icons that tint blue/red on hover, with a 1.5px colored focus ring). The pencil shows a persistent blue tint while the row's sprint is being edited, matching the Projects tab's active-state pattern. Confirmation flow, the "only the most recent sprint can be deleted" gate, and all behavior are unchanged — visual change only.
v0.30.0
May 14, 2026Added
- Smart Import (Level 4) — per-project conflict resolution with an inline preview. When a project-export or Story Map file contains projects that already exist in the workspace, a "Review import" section now renders between the toolbar and the project list before any data is changed. Each conflicting project shows three radio options: Keep existing, ignore imported (default for all same-project ID conflicts), Add as a copy (default for same-name, different-origin conflicts), and Replace existing with imported (opt-in). Non-conflicting projects are listed in a green "New projects (N)" block for review. The preview section renders as a role="region" landmark; the heading receives programmatic focus on mount for screen-reader announcement; radio groups carry aria-labelledby; Escape closes the preview. Decisions survive a mode toggle — switching between Merge and Replace-All does not reset per-project choices.
- Dual conflict detection. Incoming projects are checked against the existing workspace on both project ID ("Already exists — same project") and case-insensitive, trimmed project name ("Already exists — same name, different origin"). ID conflicts take precedence when both match. The two labels surface different information: an ID conflict is a definite match; a name conflict is a likely match from a different origin. Known limitation: an incoming project whose ID matches one existing project and whose name matches a different existing project surfaces only the ID conflict — the name collision is silently undetected. Planned for a future release.
- Inline result banners. After every import — fast-path or confirmed — a dismissible banner replaces the preview with a specific count summary: "3 projects added, 1 copied, 1 replaced, 2 skipped." Clauses with zero count are omitted. If no action was taken the banner reads "No projects were imported." instead of a bare period. Success banners use role="status"; error banners use role="alert".
- Stale-data guard operating at two layers. If the workspace changes while the conflict preview is open, the import is safely aborted. Layer 1 (hook): immediately before calling the store action, conflicts are re-detected against the current store state and compared to the original preview-time conflicts using full (incomingId, type, existingId) tuples — a conflict-type change from 'name' to 'id' for the same incoming project is detected as drift. Layer 2 (store): applySmartImport re-detects conflicts inside Zustand's set() updater against state.projects at write time, then compares against the hook's snapshot. If they differ, the updater returns the unchanged state and the action returns { ok: false } — the import is aborted without modifying the store. This closes the concurrent-delete drift window that Layer 1 cannot reach. An error banner asks the user to try again.
Changed
- Breaking — 'Replace existing' now fully substitutes sprint history. Choosing 'Replace existing with imported' for a conflicting project removes all existing sprints for that project and inserts the incoming file's sprints in their place. Previously, project-export merges and Story Map merges preserved existing sprint history and only added sprint numbers not yet recorded. Use 'Keep existing' or 'Add as a copy' to preserve sprint history.
- Default conflict resolution changed for same-project ID conflicts. The default choice is now 'Keep existing, ignore imported' (skip) for all ID conflicts, regardless of whether the project names match. Previously, when the existing and incoming project shared both ID and name, the default was 'Replace existing with imported'. That default became a data-loss footgun once 'Replace' adopted full sprint-history substitution semantics — a user who imports a prior backup into a workspace with newer sprint data would silently lose those sprints by clicking Confirm without reading. Users who intend to replace must now opt in by selecting the radio explicitly.
- 'Replace' effect on per-project session data. Sprint history, milestones, and productivity adjustments: fully substituted from the incoming file. Burn-up chart configurations: cleared for all replaced projects because incoming milestones may carry different IDs, leaving prior configs referencing non-existent milestone IDs. Configurations for projects not involved in the replace are preserved. Forecast inputs (remaining backlog, velocity estimates): carried over from the displaced existing project for name-conflict replacements, where the project ID changes; preserved unchanged for ID-conflict replacements, where the project ID is the same. Copied projects start with blank forecast inputs — re-enter estimates on the Forecast tab. A copy is a new planning entity; carrying forward estimates from the source would be misleading if scope or velocity assumptions differ.
- Story Map imports now preserve session data for untouched projects. Previously, every Story Map import called mergeImportData, which explicitly set forecastInputs: {}, burnUpConfigs: {}, and viewingProjectId: null for the entire workspace — wiping estimates and chart configurations for every project regardless of whether it appeared in the Story Map file. Story Map imports now route through the same applySmartImport path as project-export imports, which clears session data only for the specific projects involved in the import and leaves all others intact.
- Project-export imports now correctly migrate forecast inputs for name-conflict updated projects. Previously, when an incoming project matched an existing project by name (different IDs), the merge applied the incoming project at the existing project's array slot but left forecastInputs keyed to the old project ID. The new entry was orphaned — the forecast inputs were never visible because the key no longer matched any project ID. applySmartImport now renames the forecastInputs entry from existingId to winner.id as part of the same atomic write.
- Story Map imports now route through the inline state machine, replacing the modal dialog. Previously, detecting a Story Map export (source: 'spert-story-map') opened a MergeImportDialog modal showing a per-project plan summary. Story Map files now receive the same full Level 4 flow — inline preview, dual conflict detection, per-project tri-choice, accurate banner counts — and the modal is gone.
- Legacy full-workspace imports offer a merge-vs-replace-all toggle. Importing a native Forecaster export (no _exportType or source tag) now shows the inline preview in "Replace entire workspace" mode by default, with a radio toggle to switch to "Merge into workspace" mode. In Replace mode, a "Replace All Data" button in the preview opens a ConfirmDialog (danger variant) requiring a second deliberate click before the workspace is overwritten. Previously, importing a native Forecaster file showed only a single ConfirmDialog with no per-project options.
- In cloud mode, all imports show the conflict preview regardless of conflict count. Zero-conflict project-export and Story Map imports that would normally apply via fast path in local mode instead display the preview with only the "New projects (N)" block — one extra click, no data risk. During the 1–2 seconds after sign-in before the first Firestore snapshot arrives, projects is briefly empty and detectImportConflicts returns no conflicts for every incoming project. Suppressing the fast paths during this hydration window prevents silent duplicate creation and prevents a Replace-All from overwriting cloud data that has not yet loaded.
Fixed
- isStoryMapExport was checking the wrong field and always returning false. The type guard was checking ._exportType === 'spert-story-map' but Story Map exports set .source = 'spert-story-map' — a field defined on ExportData itself, not on the Story Map subtype. The guard never matched a real Story Map file; every Story Map import was falling through to the legacy native-export branch and presenting the full-replace confirmation dialog. The guard now checks .source to match the actual export format.
- viewingProjectId was updated in a separate Zustand set() call after the merge write, causing a one-tick flicker. Between the two calls, the store held post-merge projects while viewingProjectId still pointed at the displaced existing project. selectViewingProject resolved to projects[0] for one render tick — a visible flash to the wrong project. viewingProjectId reconciliation now runs inside applySmartImport's single set() updater, atomically with the merge.
Internal
- MergeImportDialog component removed (src/shared/components/MergeImportDialog.tsx).
- merge-import.ts and merge-import.test.ts deleted. buildMergePlan, applyMergePlan, buildSubsetMergePlan, applySubsetMerge, isStoryMapExport, and isProjectSubsetExport have been removed or moved. isProjectSubsetExport and isStoryMapExport (with corrected field) now live in src/shared/state/import-utils.ts.
- Store actions mergeImportData, mergeProjectSubset, and importData removed from project-store.ts and the ProjectState interface. Replaced by applySmartImport and importDataAndSelectFirst.
- applySmartImport returns SmartImportOutcome ({ ok: true; result } | { ok: false; reason }) rather than void. The hook uses the returned result for banner counts, guaranteeing the counts reflect what was actually committed rather than a pre-computed estimate that may have diverged under concurrent drift. syncBus.emit({ type: 'project:import' }) fires only on outcome.ok === true.
- Merge computation is fully atomic. applySmartImport calls applyImportDecisions inside Zustand's set() updater against state.projects at write time — not against a snapshot captured in the hook. A project added concurrently by a cross-tab cloud sync between the hook's getState() read and the store write is preserved in the merged output.
- New files: src/shared/state/import-utils.ts (utility functions and types), src/features/projects/hooks/useImportState.ts (state machine hook), src/features/projects/components/ImportPreviewSection.tsx (controlled preview UI), and their co-located test files.
- _changeLog source values now include 'spert-legacy-export' for legacy full-workspace imports processed in Merge mode. Previously emitted as 'spert-forecaster-project-export', which was incorrect. ChangeLogEntry.source is typed string; this is a purely additive value.
- N new tests across import-utils.test.ts (~57), ImportPreviewSection.test.tsx (~22), useImportState.test.ts (~27), ProjectsTab.test.tsx (~8), and additions to project-store.test.ts (~39 new, 8 migrated from deleted blocks). Total: approximately 825 tests / 36 files.
Known Limitations
- In cloud mode, all imports show the conflict preview before applying, even for zero-conflict files. This prevents silent duplicate creation during the Firestore hydration window after sign-in.
- Importing the same file twice using 'Add as a copy' produces two projects with identical names (e.g., two "Widget Project (2)" entries). The ' (2)' suffix does not iterate — intentional for bulk import ergonomics.
- An incoming project whose ID matches one existing project and whose name matches a different existing project surfaces only the ID conflict. Choosing 'Replace existing' in this case may produce two projects sharing the same name. Planned: richer conflict model in a future release.
v0.29.4
May 11, 2026Fixed
- Data-loss bug: Local-only users no longer lose their projects from localStorage
v0.29.3
May 11, 2026Added
- Clone project — violet icon button between Edit and Delete. A new CloneIconButton (violet #8b5cf6 accent, rect-over-rect glyph) sits between the pencil and trash icons on every project row, matching GanttApp v0.25.0. Clicking it creates a full deep-clone of the project and inserts it immediately after the source in the list. Cloned name follows the GanttApp pattern: "X - Copy (1)", "X - Copy (2)", etc., with collision-checking up to (99) and a UUID-tagged fallback beyond.
- Deep clone scope: the new project carries forward all embedded milestones, all productivity adjustments, and all sprint history records — every embedded entity gets a fresh ID, sprints get rebound projectId. The source project is untouched.
- No confirmation dialog — clone is immediate, with a sonner success toast (Cloned: <project name>) for feedback. Matches GanttApp's UX.
- Cloud-mode fork pattern: in cloud mode, the clone button is shown to anyone with access to the project (owner, editor, viewer). The cloned project's owner field is set to the current user by projectToFirestoreDoc (because the new project has no entry in the cloud-sync doc-meta cache, so the converter falls back to uid). This enables forking a shared project to own it — same behavior as GanttApp.
Internal
- New shared component: src/shared/components/CloneIconButton.tsx.
- New store action cloneProject(sourceId: string): string | null in src/shared/state/project-store.ts. Returns the new project ID, or null if the source is not found.
- New onClone prop on ProjectList; new handleClone in ProjectsTab wires the action and the toast.
- 9 new tests in project-store.test.ts covering: null on missing source, name suffix and collision handling, insertion position, milestone/adjustment/sprint deep-clone with fresh IDs, source untouched, change-log entry, and project:save sync event emission. Total now 740 tests / 35 files.
v0.29.2
May 10, 2026Changed
- Middle button (project name → Sprint History) hit area now spans the full tile height *and* width between the drag handle and the icon group, matching GanttApp v0.25.0. Padding moved from the inner flex row (p-4) onto the button itself (py-4 px-3); the row's gap-3 was removed so children sit edge-to-edge. Visible spacing between the button text and its neighbors (handle, share) stays identical (~12px / ~18px) — what changes is that the cursor remains pointer across the whole strip instead of dropping to default in the former 12px gap zones. The button now extends from the tile's inner top border to its inner bottom border and from immediately right of the drag handle to immediately left of the share / icon-group cluster.
v0.29.1
May 10, 2026Changed
- Project tiles in the Projects tab now show a faint blue hover shading when the cursor is over the project name area, matching the GanttApp tile-hover pattern. Hover state is tracked by project ID so it survives reorder and delete; mouse-leave and blur use a functional-updater clear to avoid a fast-mouse race between adjacent tiles. The transition-colors duration-[120ms] on the tile incidentally smooths the drag-over border-color flip as well — desirable polish.
v0.29.0
May 10, 2026Changed
- Projects tab UI refresh — icon-button parity with GanttApp v0.25.0. Visual/UX-only update; no data, business, or import/export behavior changes.
Internal
- New shared components: src/shared/components/ShareIconButton.tsx, src/shared/components/DragHandle.tsx.
- Modified: src/shared/components/{Export,Pencil,Trash}IconButton.tsx, src/features/projects/components/ProjectList.tsx, src/features/projects/components/ProjectsTab.tsx.
- Test count unchanged: 731 tests / 35 files passing. Lint baseline preserved at 0/0. No test edits required (no UI tests exist for ProjectList/ProjectsTab; only data/state tests cover this surface).
v0.28.4
May 9, 2026Internal
- Lint baseline reset to 0 errors / 0 warnings (was 0 errors / 15 warnings since v0.25.1). Three categories of cleanup:
- No behavioral changes; tests still 731/731 across 35 files.
v0.28.3
May 9, 2026Security
- M1 — Import field allowlist. validateImportData now strips unknown keys at every nesting level (project, sprint, milestone, productivity adjustment, _changeLog entry). Previously, a crafted Story Map or Forecaster export JSON could smuggle arbitrary properties into the Zustand store and — via setDoc(..., { merge: true }) — into Firestore. The owner/members keys were already explicitly destructured by saveProject, but every OTHER unknown key would have round-tripped to the cloud. No exploit was observed; this is a defense-in-depth improvement.
- L2 — Activity-timeline fingerprint cleared on sign-out. clearProjectsOnSignOut now resets _changeLog: [] in addition to the previously-cleared user-scoped fields. On a shared device, the next user signing in would otherwise inherit the prior user's structural-operation history (timestamps, op types, entity IDs). _originRef is intentionally preserved as the per-browser workspace identity used for cross-import reconciliation.
- L4 — CSV formula injection prevention. The CSV escape helper now prefixes any cell whose first character is =, +, -, @, or Tab with a single quote. Without this, a project name like =cmd|'/c calc'!A1 would execute as a formula when the exported CSV is opened in Excel/Sheets/Numbers and the macro warning is dismissed.
Fixed
- L3 (UX, not security) — Stale-auth toast spam on sign-out + tab-close. The useCloudSync beforeunload handler now checks auth.currentUser before flushing pending writes. If the user clicks Sign Out and immediately closes the tab, the listener can fire AFTER firebaseSignOut() has revoked the token but BEFORE React commits setUser(null). Flushing in that window dispatched Firestore writes against a stale auth context — Firestore correctly rejected them, but the user saw failed-save toasts on the way out. The post-sign-out window now routes to cancelPendingSaves() instead.
Internal
- 12 new tests added in import-validation.test.ts (6) and export-csv.test.ts (6) covering the M1 and L4 fixes; one existing clearProjectsOnSignOut test split into two to reflect L2's new behavior.
- Defers L1 (spertforecaster_profiles enumeration guard) — applies suite-wide, addressed in a separate canonical-rules PR.
v0.28.2
May 9, 2026Fixed
- getProjectMembers is now resilient to per-profile fetch failures. Profile reads now fan out via Promise.allSettled (Lesson 64) instead of a sequential await getDoc() loop. A single rejected profile fetch — transient network blip or permission denial — used to throw out of the entire function, blanking the Sharing UI's member list for that project. The owner-fetch and each member-fetch are now independent: a rejected read substitutes a placeholder member (empty email/displayName) and logs [firestore-sharing] profile fetch failed for {uid}, while the rest of the list still renders. Fulfilled-but-missing profile docs (the normal "profile not yet written" path) continue to placeholder quietly without a warning.
Internal
- tailwind-merge 3.4.0 → 3.5.0 — minor bump, well clear of the 60-day rule.
- 5 new tests in src/shared/firebase/firestore-sharing.test.ts covering the happy path, owner-profile rejection, single-member rejection, missing-profile-doc, and missing-project-doc paths for getProjectMembers.
v0.28.1
May 9, 2026Fixed
- CLAIM_GRACE_MS raised from 10s to 30s in useInvitationLanding to match the canonical Lesson 7 value used by the other six SPERT apps. At 10s, a slow-but-valid Cloud Function claim (cold-start p95 5–15s) could time out before the spert:models-changed event landed, briefly dropping the user back to idle with a misleading "didn't match your account" implication. Companion test-fixture updates: describe label and timeout-path advanceTimersByTime advanced from 10000 to 30000.
v0.28.0
May 8, 2026Added
- captureInviteTokenFromUrl(enabled) exported from src/features/auth/lib/inviteCapture.ts so URL-token capture is unit-testable in isolation (Lesson 58). Runs once at module load with the live INVITATIONS_ENABLED flag; tests pass true/false directly without vi.resetModules().
- Centralized callable wrappers in src/shared/firebase/callables.ts — requireFunctions() guard plus four named wrappers (callSendInvitationEmail, callClaimPendingInvitations, callRevokeInvite, callResendInvite) with descriptive errors instead of the SDK's opaque TypeError: Cannot read properties of null (reading 'name') on a misconfigured Firebase environment (Lesson 61).
- OwnerStatus four-state enum in SharingSection — 'loading' | 'owner' | 'not-owner' | 'error'. Members-fetch failures now surface a visible "Couldn't load sharing details" message instead of silently hiding the section, so owners mid-edit don't lose context (Lesson 60).
- Profile-write helpers extracted to src/shared/firebase/profileWrites.ts — writeUserProfile plus the underlying upsertProfile / upsertSuiteProfile upserts. Eight new smoke tests cover field shape, email lowercasing, null-email fallback, the lastSignIn asymmetry between app-specific and suite-wide rows, serverTimestamp() sentinel survival through the spread (Lesson 29), and the background-write contract that one rejection does NOT throw (Lesson 62).
Changed
- parseBulkEmails returns { valid: string[]; invalid: string[] } instead of string[]. Malformed tokens used to vanish silently; they now surface as red (invalid-format) chips alongside CF-side rejections (Lesson 42).
- Bulk-invite textarea-clear is now gated on success. When all addresses are invalid-format, the textarea retains content and the Cloud Function is not called. When at least one address lands (added or invited), the textarea clears (Lesson 43).
- Member + pending refresh in SharingSection.loadMembers uses Promise.allSettled instead of sequential awaits with silently-swallowed errors. Each source's failure is logged with a [SharingSection] prefix; the other source still updates (Lesson 64).
- useInvitationLanding initial state is now a lazy useState initializer reading SESSION_KEY at mount. The previous eslint-disable-next-line react-hooks/set-state-in-effect workaround is gone (Lesson 66). Effect 1's responsibility is now narrowed to URL-strip via router.replace and the localProjectCount === 0 cloud-mode flip.
- InvitationBanner is now a centered card (max-w-lg mx-auto) with absolute-positioned dismiss button, distinguishing it visually from passive informational banners. Both pre_auth and claimed branches restyled. Inner max-w-md SignInButtons wrapper removed — the outer card already constrains width (Lesson 56).
Fixed
- removeProjectMember is now a three-guard runTransaction (caller can't remove themselves; caller must still be owner; the project owner cannot be removed). Closes a TOCTOU window where the document could be modified concurrently between the previous verifyProjectOwner pre-flight read and the non-transactional updateDoc(deleteField()) write. The owner-removal block prevents bricking the document — once members no longer contains the owner UID, every subsequent get/list rule check fails and the project becomes permanently inaccessible (Lesson 50).
- claimPendingInvitations is now gated on firebaseUser.emailVerified. Microsoft personal accounts (@outlook.com, @hotmail.com) are reported by Firebase with emailVerified: false, so the previous code fired a wasted Cloud Function round-trip on every page load by such a user. The user-visible toast was already suppressed via a sessionStorage gate, but the CF call itself still happened (Lesson 26).
Internal
- New src/shared/firebase/profileWrites.ts, src/shared/firebase/callables.ts, and src/features/auth/lib/inviteCapture.ts modules. firestore-driver.ts and config.ts shed responsibilities into these new homes; firestore-migration.ts now imports upsertProfile from profileWrites.
- 98 new tests added across the bulk-sharing audit (615 historical baseline → 713 after this PR): 15 parseBulkEmails cases (9 reshape, 6 new), 7 captureInviteTokenFromUrl cases, 8 profileWrites cases, plus existing test infrastructure adapted for vi.hoisted to satisfy module-load-order requirements introduced by the new exports.
- Test mocking: where direct spy passthrough was applicable, wrappers like (...args) => spy(...args) were avoided to head off TypeScript TS2556 spread-tuple violations (Lesson 69).
v0.27.1
May 7, 2026Fixed
- Share button on the Projects tab is no longer visible to non-owners. Editors and viewers (who can't actually share) previously saw the Share button anyway, which was visually misleading and inconsistent with GanttApp/Story Map (where the same affordance is properly gated on project.owner === user.uid). The data was always safe — SharingSection already gates management UI on the asynchronously-loaded isOwner — but the affordance itself shouldn't appear for users who can't act on it.
v0.27.0
May 5, 2026Added
- Per-tile project Export icon (download arrow, green hover) on each row of the Projects tab. Single click downloads spert-forecaster-{slug}-{date}.json containing just that project + its sprints + relevant change-log entries. Files re-import additively: existing projects merge by ID-or-name, sprints with overlapping sprintNumber are skipped, unrelated workspace data is preserved.
- Settings → Export Projects section lets you select any subset of projects (with select-all) and export them as one combined JSON file. Mirrors GanttApp's pattern but adapted to the Forecaster data model (no snapshot concept).
- Subset-import detection + additive merge flow. New _exportType: 'spert-forecaster-project-export' is detected on Import; a confirmation dialog summarizes additions, updates, and skipped duplicates before merging.
Changed
- Projects tab Edit/Delete buttons replaced with pencil and trash icon buttons — borderless, gray default, color (blue/red) on hover, matching the GanttApp pattern. New shared components: PencilIconButton, TrashIconButton, ExportIconButton.
- Export / Import buttons relocated from the page header to a right-aligned toolbar above the project list, matching GanttApp. The "Export" button is now labeled Export All to clarify it bundles every project. Emoji icons removed.
- Footer pinned to the bottom of the viewport when content is short — same pattern as SPERT Scheduler (min-h-screen flex flex-col on the root, flex-1 on <main>). Long pages still scroll naturally with the footer below content.
- Export Attribution Name + Identifier inputs capped at max-w-[400px] and maxLength={100} to match GanttApp. They no longer stretch the full width of the Settings panel.
Internal
- New helper src/features/projects/lib/export-project.ts (slugify, build payload, single + multi export).
- New mergeProjectSubset action on the project store; appends a merge-import change-log entry tagged with the subset source.
- New tests: export-project.test.ts (slugify + payload builder), additional merge-import.test.ts cases (isProjectSubsetExport, buildSubsetMergePlan, applySubsetMerge).
v0.26.1
May 5, 2026Fixed
- InvitationBanner sign-in buttons no longer stretch across the full banner width. The pre_auth state of <InvitationBanner /> rendered <SignInButtons fullLabel /> directly inside a 1200px-max-width banner, causing each button to grow to ~600px on wide viewports — visually unbalanced and disconnected from the surrounding text. The buttons are now wrapped in a max-w-md (448px) container, matching the proven proportions used in CloudStorageModal. Buttons remain side-by-side, left-aligned with the banner copy, and stack via flex-wrap on narrow viewports as before. Pure presentation change; no behavior, no schema, no flag, no test changes.
v0.26.0
May 5, 2026Added
- Bulk email invitations *(feature flag INVITATIONS_ENABLED = false in this release — ship-gate PR will follow once the Cloud Functions deploy on the SPERT Suite Landing Page)*: project owners will be able to invite multiple collaborators by email in a single batch. Existing-user invites auto-add immediately; new-user emails receive an invitation link they claim by signing in with the matching address. New: useInvitationLanding hook and InvitationBanner shell component (state machine: idle → pre_auth → claimed); firestore-invitations.ts (Firestore queries, callable wrappers, bulk-email parsing, error mapping with send/resend/revoke discriminator); four new typed callable factories on firebase/config.ts (getSendInvitationEmail, getClaimPendingInvitations, getRevokeInvite, getResendInvite); flag-branched SharingSection with bulk textarea, pending-invitations list, Resend (with n/5 cap counter), and Revoke (gated by ConfirmDialog).
Changed
- User profile now dual-writes to spertforecaster_profiles/{uid} and spertsuite_profiles/{uid} on every auth resolution. Previously the per-app collection was written only on cloud-mode activation. The new suite-wide collection enables cross-app email→uid resolution required by sendInvitationEmail. Both writes use merge:true and are idempotent. Pre-populates the suite-wide collection ahead of the v0.26.0 ship-gate flip — write fires regardless of INVITATIONS_ENABLED.
- Display-name normalization is now sourced from src/lib/auth-name.ts. normalizeDisplayName delegates to a canonical denormalizeLastFirst helper that mirrors the server-side implementation in spert-landing-page/functions/src/mailHeaders.ts, so display names rendered in the UI match the From-line the invitation mailer writes. Behavior unchanged for all existing single-comma inputs (verified by full pass of the existing display-name test suite).
- FirestoreProfileDoc now requires photoURL: string | null. Added to the schema for cross-app avatar consistency. Three migration call sites (StorageModeSection, UploadConfirmPanel, CloudStorageModal) now plumb user.photoURL ?? null end-to-end.
Internal
- CSP connect-src extended to allow https://*.cloudfunctions.net and https://*.run.app for Firebase v2 callable endpoints (production-only; verify on Vercel preview before flipping the ship-gate flag).
- Removed redundant upsertProfile call from useCloudSync.ts. Profile writes now sourced exclusively from AuthProvider (single source of truth, fires on every auth resolution).
- Added serverTimestamp import to firestore-driver.ts and a new upsertSuiteProfile writer that stamps updatedAt server-side on the suite-wide collection.
- Added 52 new tests across three test files: auth-name.test.ts (9), firestore-invitations.test.ts (27, covering parseBulkEmails and full mapInvitationError × send/resend/revoke matrix), useInvitationLanding.test.tsx (16, covering URL capture, sessionStorage restore, C1 storage-mode gate, 10s grace timer happy/timeout paths, H2 sign-out behavior, dispatch-from-any-state). Total test count: 615 → 667.
v0.25.5
May 3, 2026Fixed
- Form-field hygiene residual sweep: Added name attributes to 20 form controls across 14 files that previously carried neither id nor name, eliminating the corresponding Chrome DevTools "Form field element should have an id or name attribute" issues. Touched: BurnUpConfig forecast-line color/label/percentile inputs (3 inputs × 3 lines, parameterized name per line); MilestoneForm hidden color picker; checkbox in MilestoneList, ProductivityAdjustmentList, SprintList row loops; ReportButton "Include Forecast Results" checkbox; ConsentModal ToS-agree checkbox; CloudStorageModal "warn on local storage" checkbox; ForecastTab and SprintHistoryTab project selectors; ForecastSummary distribution + percentile selects; PercentileSelector milestone select; SharingSection email/role/member-role selects; ProjectsTab hidden file input; ThemeToggle settings-page select. No behavior changes; no autoComplete additions (prior pass covered them); no Rule 3/4/5 violations remained. Two bonus aria-label additions (ForecastTab and SprintHistoryTab project selectors) were applied in passing since those elements were already being modified.
v0.25.4
May 3, 2026Fixed
- Surfaced Firestore write failures to the user via toast notifications: Errors from debounced project saves, settings saves, profile upserts, project deletes, import-time saves, and Terms-of-Service acceptance writes were previously logged to the console only and never reached the user. Each swallowed-error site now fires a toast.error(...) alongside the existing console.error, using the already-installed Sonner toast renderer in AppShell. The flushPendingSaves path on beforeunload intentionally still log-only (the page is unmounting and a toast cannot render).
- Added error callbacks to all onSnapshot listeners: The three real-time subscriptions in subscribeToUserProjects() (owned, editor-member, viewer-member) used the two-argument form, leaving transport and permission errors unhandled by the app. They now use the three-argument form with a per-scope error handler that logs and emits a single toast.error ("Lost real-time connection to the cloud. Refresh to reconnect."). A full reconnect mechanism remains a deferred follow-up.
- Added autoComplete attributes to three form inputs: SharingSection.tsx email input (autoComplete="off" — invitation field for *another* person, not the user's own email), and the "Name" input on both SettingsTab.tsx (Export Attribution) and CloudStorageModal.tsx (autoComplete="name" — collects the user's own name). The Identifier field is intentionally left without autoComplete because its placeholder ("e.g., student ID, email, or team name") describes a multi-purpose value and does not map to a single browser autofill category.
v0.25.2
April 30, 2026Added
- Branded favicon and header icon: New spert-favicon-forecaster.png (192×192 PNG, blue #0070f3 panels with rounded corners) now appears as the browser tab icon and immediately to the left of the "SPERT® Forecaster" title in the app header. A charcoal-on-black dark-mode variant (spert-favicon-forecaster-dark.png) auto-swaps when the active theme is dark, using the existing useTheme hook so it tracks the user's chosen theme (not just OS prefers-color-scheme).
v0.25.1
April 24, 2026Internal
- Lint debt paydown: Cleared all 17 eslint errors on main (baseline was 32 problems / 17 errors / 15 warnings; now 15 problems / 0 errors / 15 warnings). No user-facing behavior change. Warnings are a separate paydown pass.
v0.25.0
April 24, 2026Changed
- Unified Cloud Storage modal (replaces "Storage & Sign In"): The header auth chip now opens a single standardized modal that handles all three auth × storage states — signed-out, signed-in + local, and signed-in + cloud — in one place, consistent with the rest of the SPERT® Suite. Modal title is "Cloud Storage". Radio labels are "Local (browser only)" and "Cloud (sync across devices)". Sign-in buttons show full-width "Sign in with Google" / "Sign in with Microsoft" labels with native full-color logos in a side-by-side equal-width layout. Signed-in states show an identity card with the normalized display name, email, and a red "Sign out" link. The Settings Storage section is retained as a secondary access path.
- Auth chip click collapsed into a single handler: The signed-in-local popover ("Switch to Cloud Storage" / "Sign Out") and the signed-in-cloud popover ("Sign Out") have been removed. In all three states, clicking the chip opens the Cloud Storage modal. The chip's three visual variants are unchanged.
- Modal open state hoisted from UserMenu to AppShell: UserMenu now accepts onRequestOpen and is presentation-only; the modal is rendered as a sibling of the header so it survives auth state transitions without prop drilling.
- SignInButtons gains a fullLabel prop: Existing call sites (Settings Account) continue to render the compact two-chip layout with responsive label hiding. The new Cloud Storage modal passes fullLabel for the full-label primary-blue treatment.
Added
- Export Attribution section inside the Cloud Storage modal: Exposes Name and Identifier fields wired to the existing setExportName / setExportId setters in settings-store.ts. These fields are deliberately local-only (architectural decision confirmed in types.ts). The Settings Export Attribution section remains a valid second entry point — both surfaces read and write the same Zustand state.
- Notifications section inside the Cloud Storage modal: Adds a second entry point for the existing "Warn me on startup when using local storage" toggle, bound to suppressLocalStorageWarning. The Settings Notifications toggle is retained — the two entry points stay in sync via shared Zustand state.
- normalizeDisplayName() utility (src/features/auth/lib/display-name.ts): Normalizes Azure AD / Entra ID "Last, First MI" display names into natural "First MI Last" reading order for both the identity card and the chip's first-name segment. Includes firstNameFromDisplayName() for the chip.
- sanitizeFirebaseError() + normalizeSignInError() utility (src/features/auth/lib/sign-in-errors.ts): New error-code normalization for sign-in. Silent return for popup-closed-by-user and cancelled-popup-request; "Allow pop-ups in your browser to sign in." for popup-blocked; sanitized fallback for all others. Error text renders below the sign-in button row in the new modal.
- Shared UploadConfirmPanel (src/features/auth/components/UploadConfirmPanel.tsx): Extracted the local-to-cloud upload confirm UI from StorageModeSection into a reusable component. Both the Settings Storage section and the new Cloud Storage modal now consume the same confirm flow, so migration logic is defined once.
Removed
- StorageLoginModal (superseded by CloudStorageModal).
- AccountPopover and AccountPopoverLocal (superseded by the unified modal's identity card).
v0.24.4
April 19, 2026Fixed
- Post-signin "Upload & Switch to Cloud Storage" CTA disappeared before the user could see it (regression introduced in v0.24.3): v0.24.3 added a third render branch to UserMenu for the signed-in + local-mode chip. Because StorageLoginModal was only rendered inside the signed-out branch's return, completing a sign-in flipped the user from the signed-out branch to the isSignedInLocal branch — unmounting the modal before it could re-render into its post-signin state. The user ended up on the Projects tab with a signed-in chip and no one-click path to enable cloud storage (the v0.24.1 flow required the modal to stay open across the auth state change). Restructured UserMenu to render all three chip branches as a ternary inside a single Fragment, with StorageLoginModal as a sibling of the ternary — so the modal stays mounted across auth state transitions and correctly re-renders into its post-signin "Upload & Switch to Cloud Storage" CTA.
v0.24.3
April 19, 2026Fixed
- Auth chip showed "Sign in" for already-authenticated users in local mode: When a user was signed in but had not switched to cloud storage (signed in + local mode), the auth chip displayed "Local only / Sign in" — implying the user was not authenticated. This state now renders a distinct split-pill (avatar + first name on the left, lock icon on the right) matching the cloud pill layout. Clicking opens a new popover showing the user's display name and email with two actions: "Switch to Cloud Storage" (navigates to the Settings tab) and "Sign Out".
v0.24.2
April 19, 2026Fixed
- Sign-out leaves cloud projects visible to next user (privacy): Previously, signing out only cleared the Firebase auth session — the Zustand store and its spert-data localStorage snapshot still contained the signed-out user's cloud projects, so the next person to open the same browser saw the previous user's data. AuthProvider now runs a four-step sign-out sequence on onAuthStateChanged(null): cancel queued Firestore writes, clear the project store (new clearProjectsOnSignOut action that zeros projects, sprints, viewingProjectId, forecastInputs, burnUpConfigs while preserving the browser-scoped _originRef and _changeLog identity tokens), reset storage mode to 'local', then flip the React auth state. The localStorage snapshot is rewritten by the Zustand persist middleware during the clear.
- Storage mode stuck at 'cloud' after sign-out: The spert-storage-mode localStorage key was never reset when the user signed out, so the next page load booted in cloud mode before Firebase had a chance to resolve auth. Sign-out now explicitly resets the mode to 'local'.
- Stale useStorageMode state across components (root cause of post-migration UI drift): Each of the 7 useStorageMode consumers had its own independent useState, so a setMode call in one component (e.g. the v0.24.1 "Upload & Switch to Cloud Storage" modal CTA) did not propagate to StorageProvider, UserMenu, or any other consumer. Observable consequences this release fixes: after a successful migration the live Firestore sync would not activate without a page refresh; the auth chip would continue to display "Local only / Sign in" after the user was signed in; and StorageModeSection.handleConfirmLocal would flip its own radio to local while StorageProvider continued syncing to Firestore in the background. Replaced the hook's per-instance useState with a shared Zustand store (src/shared/state/storage-mode-store.ts) so all consumers subscribe to the same source of truth.
- Switching to local via Settings did not clear projects (Bug 3): StorageModeSection.handleConfirmLocal now calls clearProjectsOnSignOut() before setMode('local'). The confirmation dialog's stated contract ("cloud data will remain in Firebase but won't sync until you switch back") is now honored — local mode starts fresh. Users who want cloud projects available locally should use Export before switching and Import after.
- useCloudSync teardown fired Firestore writes against revoked credentials: The cleanup return used to call flushPendingSaves() unconditionally, which on sign-out attempted to push debounced writes after auth was already revoked, producing noisy permission errors. Teardown now calls cancelPendingSaves() instead; the beforeunload handler remains the only path that flushes pending writes.
- Auth redirect fallback fired on user-dismissed popup: The catch {} blocks in signInWithGoogle and signInWithMicrosoft fell back to signInWithRedirect on any error, including auth/popup-closed-by-user — so closing the OAuth popup would navigate the user away from the app. The fallback now triggers only for auth/popup-blocked and auth/cancelled-popup-request; every other error rethrows so the caller can surface it.
Internal
- New file src/shared/state/storage-mode-store.ts — Zustand store that owns the storage mode. Custom persist adapter handles legacy raw-string localStorage format from pre-v0.24.2 installs without a one-shot migration script.
- useStorageMode hook reimplemented as a thin wrapper over the new store. Return shape ({ mode, setMode, isFirebaseAvailable }) is preserved so all 7 existing consumers compile unchanged. New broadcastStorageModeChange(mode) named export for non-React callers.
- clearProjectsOnSignOut action added to project store — does not emit to syncBus (the sign-out path revokes credentials before it fires; a cloud-side delete storm is not the intent).
v0.24.1
April 19, 2026Fixed
- Auth chip sign-in modal — post-signin dead end: After successfully signing in via the chip's sign-in modal, the modal previously showed the decorative storage radio with no actionable buttons (the embedded SignInButtons component correctly hid itself once authenticated, leaving the modal empty). The modal now detects the signed-in + local-mode state and replaces the sign-in buttons with an Upload & Switch to Cloud Storage button that runs the full local-to-cloud migration inline and closes the modal on success. The decorative radio now reflects the proposed target mode (Cloud highlighted) so the user sees where they're heading. The modal also auto-closes if the user is already in cloud mode, and the backdrop/Escape dismissal is disabled while the migration is in flight
v0.24.0
April 18, 2026Fixed
- Report and Copy-as-Image dark-mode rendering: Forecast report and Copy-as-Image captures now render correctly when the app is in dark mode. Previously, captured text was invisible on the forced-white capture background. Applies to the results table, burn-up chart, CDF chart, and histogram captures
- Excluded-sprint backlog drift: Excluding a sprint via the Include toggle no longer causes the Forecast tab's Remaining Backlog field to reflect the excluded sprint's ending value. A small "Reset to N" action now appears next to the Backlog field whenever the stored value differs from the most recent *included* sprint's backlogAtSprintEnd, giving the user one-click recovery without destroying manual edits
Changed
- Sprint History labels: Backlog at End form label now includes the project's unit of measure. Done form label now reads Done this sprint ({unit}) to clarify per-sprint scope. SprintList column headers remain compact but add full-label tooltips on hover
- CV option label: Renamed Somewhat volatile to Often disrupted to remove semantic overlap with the adjacent Somewhat variable option. CV values are unchanged
- Model Scope Growth hint: Toggle label now includes the parenthetical (if backlog tends to grow each sprint) to help new users decide whether the feature applies
- Productivity Adjustments section: Title now reads Productivity Adjustments (Holidays, Breaks, Events). Panel description now includes a note explaining that forecasts report sprint finish dates (not intra-sprint completion dates), so small adjustments may not shift the projected end date if work still falls within the same sprint
- Productivity Adjustment factor slider: Endpoint labels expanded to include a midpoint anchor (0% (no work) · 50% (half velocity) · 100% (full velocity)) and a one-line helper text clarifying what the factor means
- Auto-recalculate default: Changed from OFF to ON for new users. Existing users' saved preferences are preserved. A cold-mount gate ensures the simulation still waits for the user's first manual Run Forecast click before auto-recalc engages
Added
- Bootstrap availability indicator: In History mode, a discreet footnote below the results table explains that the Bootstrap distribution unlocks at 5 or more included sprints (showing the current count). The indicator disappears once bootstrap is available
- Low sprint count warning: In History mode with fewer than 4 included sprints, a discreet amber warning near the forecast results notes that the forecast spread may be understated with limited history
- Reset overrides link: When velocity mean, std dev, or volatility multiplier are overridden from their calculated values, a small Reset overrides link appears in the Forecast form. Clicking it clears all three values and closes the Volatility Adjuster panel if open
- Subjective velocity divergence warning: In Subjective mode, when the user's velocity estimate is more than 2× or less than 0.5× the historical mean (and 2+ sprints are included), a soft amber warning appears inline asking the user to verify that the estimate is intentional
- Recent sprints summary: When the Add Sprint form is open, a compact read-only summary of the 3 most recent sprints now appears above the form so the user can reference prior entries without closing the form
v0.23.6
April 10, 2026Fixed
- Auth chip sign-in modal: Clicking the auth chip in local storage mode now opens a sign-in modal instead of navigating to the Settings tab
- Auth chip full-pill click target: The entire auth chip pill is now clickable when in local storage mode (previously only the "Sign in" text segment was a button)
v0.23.5
April 9, 2026Changed
- Auth chip in-place sign out: Clicking anywhere on the signed-in auth chip (avatar, name, or cloud icon) now opens a lightweight popover showing the user's display name and email with a Sign Out button. The chip no longer navigates to Settings when signed in. Popover dismisses via Escape key or outside click; Sign Out button disables and shows "Signing out…" during the Firebase request. Signed-out "Sign in" behavior is unchanged.
v0.23.4
April 5, 2026Legal
- Updated Terms of Service and Privacy Policy to v04-05-2026
- Added SPERT® AHP to list of covered apps
- Updated effective date to April 5, 2026
v0.23.3
April 5, 2026Changed
- Standardized auth chip: Replaced header UserMenu dropdown with Option C split pill — consistent across all SPERT® Suite apps. Signed-in cloud mode shows avatar circle (first initial, #0070f3) + first name + cloud icon linking to Settings. Local/signed-out mode shows lock icon + "Local only" + "Sign in" link to Settings
v0.23.2
April 2, 2026Features
- localStorage warning banner: An amber caution banner now appears on every app load when the user is in local storage mode, reminding them to export at the end of each session. The banner dismisses for the session with an × button. A new Notifications section in Settings ("Warn me on startup when using local storage") permanently suppresses it. The setting is local-only and does not sync to cloud
v0.23.1
March 31, 2026Maintenance
- Updated Terms of Service and Privacy Policy to v03-31-2026
- Updated canonical legal document URLs to spertsuite.com
- Updated consent UI text to SPERT® Suite branding
- Standardized LICENSE to SPERT® Suite format (GPL v3 + lettered additional terms)
- Added License footer link to GitHub LICENSE file
v0.23.0
March 23, 2026Features
- Custom sprint finish dates: Historical sprints can now have their finish date overridden to reflect non-standard sprint durations (e.g., spring break extending a 2-week sprint to 3 weeks). Custom dates cascade forward — subsequent sprint start dates shift accordingly. Forecast projections anchor from the last historical sprint's actual finish date. A pencil icon (✎) indicates sprints with custom dates in the sprint list
- Quick Reference Guide opens in browser: The QRG PDF now opens in a new browser tab instead of downloading, served from the app's public/ directory
Bug Fixes
- Copy image browser compatibility: Copy image button is now shown as disabled with an explanatory tooltip in browsers that do not support image clipboard writes (Firefox). Chrome, Edge, Safari, and Brave are unaffected
UX
- Export filename: JSON export filename changed from spert-data- to spert-forecaster- prefix for clarity across the SPERT suite
Technical
- New cascade-aware date utilities: resolveAllSprintDates() (O(n) batch), resolveAnchorDate(), getNextBusinessDay()
- Productivity adjustment call site updated to use cascade-resolved anchor date
- Burn-up chart uses resolved dates for historical points and cascade-aware projections
- Import validation extended for customFinishDate field
- 14 new tests for cascade date resolution logic
v0.22.4
March 16, 2026UX
- First-run banner wording: Updated to establish browsewrap agreement — using the app implies acceptance of Terms of Service and Privacy Policy. Added clickable links to both documents. Cloud Storage still requires explicit consent via the existing ConsentModal
v0.22.3
March 11, 2026Infrastructure
- Node.js version pinning: Added engines field (>=22) to package.json and .nvmrc for Node 22 LTS — ensures Vercel deploys on Node 22 before Node 20 EOL (April 30, 2026)
- @types/node alignment: Corrected from ^24 to ^22 to match the target deployment runtime
v0.22.2
March 11, 2026Security Hardening
- Report generation CSP bypass: Replaced window.open() + document.write() with blob URL approach — new report window now inherits the origin's Content Security Policy instead of running in an unrestricted context
- Firestore project list enumeration: Tightened list rule from isAuth() to require owner/member membership, matching the existing get rule — prevents authenticated users from enumerating all project IDs in the collection
- Missing Firestore rules for users collection: Added users/{uid} rules restricting read/write to the authenticated UID owner — the ToS acceptance flow (tos.ts) reads/writes this collection but had no corresponding security rules in the reference file
- CSP directive tightening: Removed wasm-unsafe-eval from script-src — the app does not use WebAssembly, so this directive unnecessarily widened the attack surface
- Email validation in sharing: Added format validation (RFC 5321 length limit, basic format check) to findUserByEmail() as defense-in-depth before Firestore query
- Environment example cleanup: Removed actual Firebase project ID from .env.example, replaced with empty placeholder
v0.22.1
March 11, 2026Bug Fixes
- Sprint order assumption: useForecastInputs used array insertion order (sprints[sprints.length - 1]) instead of highest sprintNumber to determine the last sprint's backlog — backfilling history out of order displayed the wrong sprint's value for backlog pre-fill and "Last sprint" text. Extracted getLastSprintBacklog() pure helper that uses reduce() to find the sprint with the highest number
- Worker race condition: In useSimulationWorker, starting a new simulation while the worker was still processing an old one could resolve the new promise with stale data. Added _messageId correlation counter — worker echoes the ID back, and onmessage silently discards responses with mismatched IDs
Refactoring
- Decomposed ForecastResults.tsx: Extracted ResultsTable.tsx (133 LOC) containing the table component, row builders, distribution column helpers, and related types. ForecastResults.tsx reduced from 473 to 356 LOC
Dependencies
- Updated within semver range: zustand 5.0.10→5.0.11, @vitejs/plugin-react 5.1.2→5.1.4, recharts 3.7.0→3.8.0, tailwind-merge 3.4.0→3.5.0, tailwindcss→4.2.1, @tailwindcss/postcss→4.2.1
- Bumped lucide-react range: ^0.563.0 → ^0.577.0 (updated to 0.577.0)
Test Coverage
- 574 tests passing (was 568): added 6 tests for getLastSprintBacklog covering empty array, single sprint, in-order, out-of-order, undefined backlog, and zero backlog edge cases
v0.22.0
March 11, 2026Legal Compliance
- Footer legal links: Added persistent Terms of Service and Privacy Policy links to the app footer, visible on every page regardless of authentication state
- First-run banner: Added a dismissible informational banner on first app load, explaining that the app is free to use and no account is required; Cloud Storage prompts for ToS/Privacy agreement
- Cloud Storage consent modal: Added clickwrap consent gate before Firebase Authentication — users must check a checkbox agreeing to the Terms of Service and Privacy Policy before enabling Cloud Storage
- Firestore acceptance records: After successful authentication, writes a ToS acceptance record to users/{uid} in Firestore using a read-before-write pattern that preserves the original first-acceptance app ID across re-acceptance
- Returning user version check: On app load, verifies the authenticated user's ToS acceptance version against the current version; signs out users with outdated or missing acceptance records and routes them through the consent flow
v0.21.5
March 9, 2026Copyright Attribution
- Copyright headers: Added copyright and license headers to all 144 human-authored source files (.ts, .tsx, .css, .mjs, .rules)
- LICENSE file: Updated with full author attribution, trademark notice, and Section 7(b) non-permissive additional restrictions (attribution retention, trademark protection)
- Standing instructions: Added copyright section to CLAUDE.md requiring headers on all new source files
Improvements
- About tab: Updated "Your Data & Privacy" section to "Your Data & Storage" — now documents both Local Storage (default) and Cloud Storage (optional) modes, including sign-in providers, encryption details, project sharing roles, and export/import guidance
v0.21.4
March 9, 2026Bug Fixes
- Import fails silently in cloud mode: importData() and mergeImportData() updated Zustand store but never emitted sync bus events, so Firestore was never notified — the next cloud snapshot overwrote local state back to pre-import data. Added project:import sync event type that deletes stale cloud projects and saves all imported projects via saveProjectImmediate
- Cloud → local switch has no safeguard: Switching from cloud to local mode immediately called setMode('local') with no confirmation, orphaning any cloud-only projects. Added a confirmation dialog warning that cloud-only data won't be accessible in local mode
- Echo-prevention race condition: replaceProjectsFromCloud and replaceSettingsFromCloud set _isCloudUpdate: true then reset it in a separate set() call — Zustand subscribers firing between the two calls could read the stale flag and skip sync bus emissions. Deferred the reset via queueMicrotask so all synchronous subscribers see the correct flag value
- STORAGE_MODE_KEY defined in two places: useStorageMode.ts defined its own copy instead of importing from storage.ts — consolidated to single source of truth
- Stale debounced saves can overwrite import: Pending debounced saveProject calls (with old data and merge: true) could fire after saveProjectImmediate during import, partially reverting imported data. Import handler now cancels all pending debounced saves before writing
v0.21.3
March 9, 2026Features
- Quick Reference Guide: Added downloadable PDF quick reference guide to the About tab — a 3-page printable overview of all features, workflow steps, forecast inputs, results, milestones, productivity adjustments, sprint history, and data/settings. PDF hosted on GitHub main branch.
- Theme toggle icon: Icon now shows the current theme (sun = light, moon = dark, monitor = system) instead of the next theme in the cycle
v0.21.2
March 8, 2026Security Hardening
- HSTS header: Added Strict-Transport-Security: max-age=63072000; includeSubDomains; preload to prevent protocol downgrade attacks
- Real-time sync for shared projects: subscribeToOwnedProjects renamed to subscribeToUserProjects — now subscribes to owned, editor-member, and viewer-member project queries instead of only owned projects. All three snapshot listeners must deliver their first result before the callback fires, preventing shared projects from briefly disappearing from the store
Security Audit Summary
- Scope of the audit. Firebase config, Firestore rules, auth flows, input validation, XSS/injection, data exposure, dependencies, and security headers.
- No critical vulnerabilities were found.
- Verified secure. CSP headers, Firestore CRUD rules, OAuth implementation, HTML/CSV escaping, import validation, file upload restrictions, data sanitization, sharing authorization, cloud sync guards, localStorage handling, dependency versions, and worker communication.
v0.21.1
March 8, 2026Bug Fixes
- Data-loss prevention: Added guard in useCloudSync to prevent empty Firestore results from wiping non-empty local data — if cloud returns 0 projects but local store has projects, the replacement is skipped
- Migration required for cloud mode: Replaced "Skip" with "Cancel" on the migration prompt — Cancel stays in local mode instead of switching to cloud without uploading. Cloud mode now requires successful migration (zero errors) to activate
- reorderProjects sync bus emit: Project reordering now emits to the sync bus, matching every other store mutation — ensures cloud sync consistency
- useCloudSync race condition: Initial Firestore load is now awaited before the snapshot listener attaches, preventing duplicate replaceProjectsFromCloud calls with conflicting data; added cancelled flag to prevent listener attachment after unmount
Improvements
- Error handling in sharing operations: shareProject, removeProjectMember, and updateMemberRole now wrap Firestore writes in try-catch blocks, returning structured error results instead of throwing unhandled exceptions
- DRY ownership verification: Extracted verifyProjectOwner() helper in firestore-sharing.ts — three functions no longer duplicate the same 8-line ownership check
- DRY doc-processing: Extracted processProjectDocs() helper in useCloudSync.ts — eliminates duplicated Firestore-to-Zustand conversion loop
- DRY forecast inputs default: Extracted DEFAULT_FORECAST_INPUTS constant in project-store.ts — was duplicated inline in two places
Test Coverage
- 568 tests passing (was 561): added 7 tests for firestore-migration.ts covering successful migration, ID collision detection, permission-denied fallback, error accumulation, originRef fallback, and empty project list
v0.21.0
March 8, 2026New Features
- Firebase cloud persistence: Optional cloud sync via Firebase Firestore — app continues to work in local-only mode (localStorage) when Firebase environment variables are not configured
- Google & Microsoft sign-in: OAuth popup authentication via Firebase Auth with sign-in buttons in the header
- User menu: Header dropdown showing avatar, display name, email, current storage mode, and sign-out button
- Storage mode switching: Local/Cloud toggle in Settings with one-way migration that uploads local projects to Firestore with collision detection
- Project sharing: Share individual projects with other users by email with owner/editor/viewer roles (cloud mode only)
Architecture
- Sync bus pattern (src/shared/firebase/sync-bus.ts): Typed event emitter decoupling Zustand store mutations from async Firestore writes — no-op when no listeners (local mode)
- Monolithic Firestore documents: Each project is a single document with denormalized sprints (converter layer translates between flat Zustand array and per-project embedded sprints)
- Conditional Firebase initialization (src/shared/firebase/config.ts): isFirebaseAvailable feature flag gates all cloud code — zero Firebase execution without env vars
- Echo prevention: hasPendingWrites check on onSnapshot to skip local echoes; _isCloudUpdate transient flag prevents sync bus re-emission during cloud updates
- Provider hierarchy: AuthProvider → StorageProvider → AppShell — auth resolves first, then cloud sync activates based on storage mode
- 500ms debounced Firestore saves with beforeunload flush for pending writes
- Firestore security rules (firestore.rules): Owner/editor/viewer access control with diff()-based ownership protection on updates
Collections
- spertforecaster_projects — Project documents with embedded sprints, owner field, members map
- spertforecaster_settings — Per-user settings (keyed by Firebase UID)
- spertforecaster_profiles — User profiles (display name, email) readable by all authenticated users
Data Provenance (Cloud Mode)
- _originRef and _changeLog become per-project (copied during local-to-cloud migration)
- _storageRef uses Firebase UID in cloud mode (workspace ID in local mode)
- Export attribution preserved: exported files include correct provenance regardless of storage mode
Test Coverage
- 561 tests passing (was 541): added 20 tests for Firestore sanitizers, sync bus, and converter round-trips
v0.20.2
March 7, 2026Changes
- App renamed — Shortened app name from "SPERT® Release Forecaster" to "SPERT® Forecaster" across header, About page, browser tab title, changelog, and back-link on changelog page
v0.20.1
March 4, 2026Changes
- App renamed — App is now "SPERT® Release Forecaster" across the homepage header, About page, browser tab title, changelog, and report footer, reflecting SPERT's expansion into a suite of web apps for agile project management
v0.20.0
February 19, 2026New Features
- Export attribution — New section in Settings for attaching name and identifier to JSON exports for team workflow traceability
- Workspace reconciliation tokens — Exports include _originRef and _storageRef for cross-session data provenance tracking and localStorage hydration recovery
- Export pipeline diagnostics — Dataset maintains a lightweight _changeLog of structural operations for client-side telemetry
Technical
- New localStorage key spert-workspace-id for deterministic workspace binding
- _originRef set on first structural operation, preserved across imports for data lineage
- _storageRef injected at export time from workspace token
- appendChangeLogEntry() utility with 500-entry cap
- Audit trail logging for structural mutations (add/delete projects, sprints, adjustments, milestones)
- Import preserves _originRef and _changeLog from source data for provenance chain continuity
Test Coverage
- 541 tests passing (was 514): added 7 tests for workspace identity and changelog utilities, 20 tests for workspace provenance in project store (origin ref, changelog, export, import, merge-import)
v0.19.1
February 15, 2026Bug Fixes
- Import clears session state: Both full-replace and merge imports now reset viewingProjectId, forecastInputs, and burnUpConfigs to prevent stale UI state referencing deleted projects
Housekeeping
- Removed dead code: parseDate() and daysBetween() from dates.ts — both were unused and had timezone bugs (missing T00:00:00 suffix unlike every other date function in the file)
Test Coverage
- 514 tests passing (was 447): added 72 dedicated edge-case tests for import-validation (milestones, dates, boundaries, sprint fields)
- Milestone validation: backlogSize boundaries (0, negative, > 999999), missing color, non-boolean showOnChart, > 10 milestones, duplicate IDs
- Date validation: auto-corrected dates (Feb 30), invalid leap year (2025-02-29), non-YYYY-MM-DD formats
- Sprint validation: sprintNumber boundaries (0, 10001), fractional sprintNumber, doneValue/backlogAtSprintEnd ranges
- Top-level structure: null/primitive input, missing arrays, source field
v0.19.0
February 15, 2026New Features
- Import from SPERT Story Map: Importing a Story Map export (source: "spert-story-map") triggers a merge flow instead of a full replace. Projects are matched by name (case-insensitive); milestones are replaced with the Story Map's release breakdown, new sprints are added without overwriting existing ones, and productivity adjustments are preserved. A confirmation dialog summarizes what will be updated or added before proceeding.
- Import confirmation dialog: Native Forecaster imports now show a "Replace All Data" warning before overwriting localStorage, advising users to export first. Previously, importing replaced all data silently with no confirmation.
Architecture
- Merge-import module (src/shared/state/merge-import.ts): Pure functions for Story Map format detection (isStoryMapExport), merge plan building (buildMergePlan), and plan application (applyMergePlan). Fully testable with no store dependencies.
- MergeImportDialog (src/shared/components/MergeImportDialog.tsx): Accessible merge confirmation dialog following ConfirmDialog patterns (focus trap, Escape, ARIA, body scroll lock)
Test Coverage
- 447 tests passing (was 421): added 26 tests for merge-import logic (detection, name matching, sprint overlap counting, milestone replacement, data preservation)
v0.18.0
February 10, 2026New Features
- Shareable Forecast Report: Generate Report icon (next to CSV export and copy-image) opens a popover to generate a print-friendly HTML report in a new browser tab. Expanded charts (burn-up, CDF, histogram) are included automatically; a checkbox controls whether Forecast Results is included. Collapse any chart to exclude it. Use Cmd+P / Ctrl+P to save as PDF.
- Consolidated action icons: Copy-image, Generate Report, and Export CSV icons now appear together on the Forecast Results heading row
Bug Fixes
- Milestone filtering in results: Forecast Results table and Forecast Summary now only show milestones where "Show on Chart" is checked, matching the existing behavior of the Burn-Up Chart and Custom Percentile selector. Previously, unchecked milestones showed misleading dates when the backlog input didn't account for their scope.
- Chart toolbar milestone dropdown (PR #47): CDF and histogram milestone dropdowns now filter by showOnChart, matching burn-up chart behavior. Auto-corrects selected milestone if it becomes hidden.
- Burn-up chart toolbar layout (PR #48): All controls (distribution, Show scope, 3 forecast lines, Text size, copy icon) fit on a single row. Label inputs narrowed to 88px, gap tightened. CopyImageButton moved from absolute overlay into the toolbar row.
Test Coverage
- 421 tests passing (was 404): added 17 tests for report HTML generation and XSS escaping
v0.17.4
February 10, 2026Enhancements
- Header theme toggle: sun/moon/monitor icon in the top-right corner cycles through Light, Dark, and System themes without navigating to Settings
- Icon shows the next theme you'll switch to on click (moon when light, monitor when dark, sun when system)
Housekeeping
- Removed 7 accidental duplicate files (* 2.tsx / * 2.ts) from the worktree
v0.17.3
February 10, 2026Enhancements
- Collapsible Forecast Results: disclosure triangle on the "Forecast Results" heading to expand/collapse the results table
- User-selectable confidence percentiles: P10–P90 toggle chips replace the fixed P50–P90 columns — default selection: P10/P20/P50/P80/P90
- Dual Custom Percentile sliders: two independent sliders with their own finish-date cards for quick confidence interval lookups
- Default percentile selections and both slider defaults are configurable in Settings and persist across sessions
Test Coverage
- 404 tests passing (was 398)
v0.17.2
February 9, 2026UX
- Milestone list stays visible during add/edit: clicking "+ Add Milestone" or Edit no longer hides existing milestones — the form appears below the list so users retain full context
- Auto-focus on form open: Name field auto-focuses when adding or editing milestones and productivity adjustments
- Both improvements also apply to Productivity Adjustments (shared CollapsibleCrudPanel)
Infrastructure
- Single-source changelog: /changelog page now parses CHANGELOG.md at build time instead of maintaining a separate hardcoded array — one file to update, no more drift
- Added parseChangelog() utility with 8 unit tests for markdown parsing
- Restored 3 missing version entries (v0.10.0, v0.11.0, v0.12.0) and enriched detail for v0.14.0–v0.17.0 that were lost during consolidation
Test Coverage
- 398 tests passing (was 390)
v0.17.1
February 9, 2026Bug Fixes
- Burn-up chart milestone data: burn-up chart now uses overall simulation data instead of per-milestone data, so selecting a milestone in the Custom Percentile dropdown no longer corrupts forecast lines
- Milestone dropdown index sync: selecting the first visible milestone in Custom Percentile now shows correct results (auto-corrects stale index when milestones are filtered)
- Burn-up scope line: scope line no longer capped to milestone threshold when backlog exceeds it
- Productivity adjustment date display: restored year in date range display while keeping compact font
Enhancements
- Preset color swatches: milestone color picker now shows 5 quick-pick swatches alongside the full custom color picker
- Milestone dropdown filtering: Custom Percentile dropdown only shows milestones checked for chart display
- Milestone drag reorder: milestones can be reordered via drag handles in the milestone list
- Forecast summary sentence: reordered to lead with distribution type ("Using the X distribution, there is a Y% chance...")
- Burn-up chart sliders: percentile sliders now step by 5 (range P5-P95) for easier control
- Productivity end date auto-seed: end date auto-adjusts to start + 1 day when creating/editing adjustments
- Productivity form layout: Name field shrunk, Memo field expanded for better space utilization
- About page: expanded SPERT description with full context on PERT origins and modern approach
Decoupling
- Backlog independence: backlog field is fully decoupled from milestones — always editable, never auto-overridden by milestone totals
Refactoring
- Introduced overallSimulationData state to separate burn-up chart data from per-milestone CDF/histogram data
- Removed dead milestoneTotal from useForecastInputs (leftover from backlog/milestone coupling)
- Hoisted duplicate escCsv helper to module scope in export-csv.ts
- Extracted milestone visibility filtering with originalIndex mapping for correct simulation data lookup
Test Coverage
- Added test for CSV export with per-milestone data (PER-MILESTONE PERCENTILE RESULTS section)
- Added float-parsing edge cases for scope growth custom input
- Added sentence-order assertion for forecast summary text
- 390 tests passing (was 363)
v0.17.0
February 7, 2026Features
- Subjective Forecasting (Cold-Start Mode): Teams with no sprint history can now produce probabilistic forecasts using a velocity estimate and variability level
- Forecast mode toggle: pill-style switch between History and Subjective modes
- Auto-detects mode based on sprint count (5+ sprints → History, otherwise Subjective)
- CV elicitation UI: 6 radio buttons (Very Low to Extreme) with dynamic velocity range labels
- Two new probability distributions: Triangular and Uniform
- Mode-aware results tables: Subjective shows T-Normal, Lognormal, Triangular, Uniform; History shows T-Normal, Lognormal, Gamma, Bootstrap
- All 6 distributions available in burn-up chart distribution selector regardless of mode
- CDF, histogram, and burn-up charts render mode-appropriate distributions
- CSV export includes forecast mode metadata and mode-appropriate distribution columns
Volatility Adjuster (History Mode)
- Opt-in volatility adjustment for History mode: adjust the calculated standard deviation with human-readable multipliers
- 4 radio options: Less volatile (0.75x), Match history (1.0x), Slightly more volatile (1.25x), Much more volatile (1.5x)
- Each option shows a rounded velocity range preview (e.g., "45–95") using the existing roundRange() function
- Inline toggle link ("Adjust" / "Close") in the Std Dev helper text — zero layout disruption
- Std Dev field becomes read-only when adjuster is active; reverts to editable when closed
- Collapsing the adjuster resets multiplier to 1.0; expanding clears any manual SD override
- Amber color scheme distinguishes from Subjective mode's blue CV selector
- Volatility multiplier included in CSV export when ≠ 1.0
Engine
- createSampler expanded with optional bounds parameter for Triangular/Uniform distributions
- runAllDistributions now sweeps all 6 distributions (was 4)
- randomTriangular and randomUniform math functions with floor-at-zero safety
- Expanded QuadSimulationData, QuadCustomResults, and milestone types for 6 distributions
- effectiveStdDev in History mode now applies calculatedStdDev * volatilityMultiplier
UX
- Forecast summary shows data source context (sprint history, subjective judgment, or manual overrides)
- Forecast results footer shows effective mean, SD, and CV values used in simulation
- Last sprint backlog shown under Backlog field as helper text
- Subjective mode pre-seeds velocity from calculated history when available
- Tab order skips read-only fields (Start Date, milestone-controlled Backlog) and decorative elements (sparkline chart)
Test Coverage
- New tests for randomTriangular, randomUniform, CV rounding helpers
- New tests for VOLATILITY_OPTIONS ordering, values, and DEFAULT_VOLATILITY_MULTIPLIER
- New tests for volatility multiplier in CSV export
- Updated existing tests for expanded data structures
- 363 tests passing (was 338)
v0.16.1
February 6, 2026Bug Fixes
- Burn-up chart forecast lines now target highest visible milestone instead of always extending to total project scope
- Historical scope line capped to milestone target, eliminating misleading cliff at forecast boundary
Dark Mode
- Active tab dimmed to blue-700 for reduced glare against dark backgrounds
- Export/Import buttons switch to ghost variants (outlined with tinted background) in dark mode
- Add Milestone/Add Adjustment buttons use matching ghost variant in dark mode
- Tab container border visible in dark mode (gray-700)
v0.16.0
February 5, 2026Features
- Custom scope growth override: choose between calculated rate (from sprint history) or a user-specified custom rate
- Radio button selection between Calculated and Custom when scope growth is enabled
- Custom input allows negative values for scope shrinking scenarios
- Warning indicator applies to whichever mode is active (calculated or custom)
- Summary text indicates source: "(calculated)" or "(custom)"
- Auto-recalculation supports both modes with debounced custom input
Bug Fixes
- Fixed scope growth not affecting milestone forecasts (milestone check now uses remaining backlog instead of cumulative velocity)
- Fixed truthiness check allowing zero scope growth to be modeled correctly
- Fixed Windows scrollbar jitter with scrollbar gutter reservation
- Dynamic copyright year derived from system date
Refactoring
- Extracted resolveScopeGrowthPerSprint helper (eliminates 3x duplicated IIFE)
- Introduced SimulationContext interface grouping related simulation parameters
- Added runAllDistributions<T>() generic sweep helper (adding a distribution is now a one-line change)
- Extracted useScopeGrowthState hook from useForecastState (392 → 367 LOC)
- Extracted BurnUpChartCanvas from BurnUpChart (349 → 179 + 195 LOC)
- Extracted ScopeGrowthSection from ForecastForm (298 → 228 + 115 LOC)
- WorkerInput extends SimulationContext instead of duplicating fields
Test Coverage
- Added deterministic scope growth tests with exact sprint count assertions and sprint-by-sprint traces
- Added resolveScopeGrowthPerSprint unit tests (6 cases)
- 312 tests passing (was 305)
v0.15.0
February 4, 2026Settings
- New Settings tab with persisted global preferences
- Auto-recalculate toggle: re-runs forecast automatically when inputs change (after first manual run)
- Configurable simulation trial count (1,000–50,000) with default of 10,000
- Default chart font size preference (Small/Medium/Large)
- Default custom percentile preference (1–99)
- Theme selector (Light/Dark/System) moved from header to Settings
User Experience
- Debounced auto-recalculation (400ms) for text inputs, immediate for toggles and dropdowns
- Productivity Adjustments moved below forecast form as a set-and-forget section
- Keyboard shortcut 4 → Settings, 5 → About
Forecast Enhancements
- Forecast Summary Card with key metrics
- Velocity Sparkline on forecast form
- Velocity Trend Chart on Sprint History tab
- Scope creep forecasting with growth model
Architecture
- New settings-store (Zustand + localStorage) separate from project data store
- Trial count now configurable via settings instead of hard-coded constant
Refactoring
- Decomposed useForecastState into focused hooks (useSprintData, useForecastInputs, useChartSettings)
v0.14.0
February 3, 2026Milestones
- Ordered release milestones with per-milestone forecast dates
- Per-milestone forecast dates at all percentiles (P50, P60, P70, P80, P90)
- Single simulation with checkpoint recording preserves statistical correlation between milestones
- Milestone reference lines on burn-up chart at cumulative scope levels
- Milestone dropdown selector on CDF and histogram charts to view per-milestone distributions
- Custom percentile selector supports per-milestone results
- Remaining Backlog auto-computed from milestones when defined (read-only)
Chart Controls
- Show/hide individual milestone lines on burn-up chart via checkbox toggle
- Show/hide scope line on burn-up chart for cleaner visualization
Data & Export
- CSV export includes milestone definitions, per-milestone percentile results
- Import/export validation supports milestone data
- Milestone CRUD with edit, delete, and confirmation dialogs
Refactoring
- Extracted generic CollapsibleCrudPanel component, reducing Milestones and Productivity Adjustments by ~200 LOC
- Extracted import validation from project-store into dedicated module (~170 LOC moved)
- Consolidated Monte Carlo simulation with sampler factory pattern (665 → 445 LOC)
- Extracted shared ChartToolbar component for CDF and histogram charts (~90 LOC saved)
- Removed dead code and unused props across forecast components
Test Coverage
- Added 10 new tests for milestone-aware simulation logic (264 → 271 net, 3 removed with dead code)
v0.13.0
February 3, 2026Visualization
- Histogram chart showing probability density distribution across sprint ranges
- Confidence interval shading on burn-up chart (toggleable)
- Scope change trend analysis with sparkline on Sprint History tab
User Experience
- Dark mode support with system preference detection and manual toggle
- Keyboard shortcuts for tab navigation (1-4) and help modal (?)
Test Coverage
- Added 22 new tests (242 → 264 total) for histogram binning and scope analysis
v0.12.0
February 3, 2026Accessibility
- Added ARIA attributes to all collapsible sections (aria-expanded, aria-controls, aria-label)
- Replaced browser confirm dialogs with accessible modal dialog component
- Added aria-label to icon-only buttons (copy, export)
- Added keyboard support (Enter/Space) to sortable column header
- Added aria-label to sprint include/exclude checkboxes
Security
- Strengthened import validation with numeric ranges, string length limits, and date format validation
- Added file type and size validation (10MB limit) on import
- Added Content-Security-Policy header for defense-in-depth
- Improved JSON parse error messages with specific failure context
- Added duplicate ID detection in import validation
UI Polish
- Responsive padding and text sizing for mobile devices
Refactoring
- Extracted CDF chart helpers to lib/cdf.ts (component now 232 LOC)
- Removed console.log statements from CopyImageButton
Test Coverage
- Added 5 new validation tests (237 → 242 total)
v0.11.0
February 2, 2026Enhancements
- Toast notifications for export, import, and clipboard operations (Sonner)
- Monte Carlo simulation moved to Web Worker for non-blocking UI
- Real loading state feedback during simulation runs
- Form validation tightened with max value constraints and NaN guards
Refactoring
- Centralized 43 hardcoded colors into shared color constants
- Added SPERT color palette to Tailwind CSS theme
- Migrated 258 inline styles to Tailwind classes across 23 components
v0.10.0
February 2, 2026Bug Fixes
- Fixed viewingProjectId not reset when deleting the viewed project
- Fixed package.json version mismatch
- Added missing viewport export for mobile rendering
- Fixed changelog date formatting to use shared utility
Resilience
- Added import data validation with descriptive error messages
- Added clipboard API availability check before copy-to-image
- Added delete confirmations for projects, sprints, and productivity adjustments
- Added gamma distribution iteration limit to prevent infinite loops
- Added truncated normal rejection sampling fallback warning
- Added React error boundaries around all tab components
- Added HTTP security headers (X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy)
Refactoring
- Extracted ForecastTab state and logic into useForecastState hook (410 → 186 LOC)
Test Coverage
- Added 74 new tests (151 → 225 total) covering store selectors, mutations, import validation, math edge cases, date utilities, and simulation boundaries
v0.9.0
February 2, 2026Dependencies
- Upgraded Next.js 16.1.4 → 16.1.6 (security patches for CVE-2025-55183, CVE-2025-55184)
- Upgraded React/React-DOM 19.2.3 → 19.2.4 (DoS mitigations, Server Components hardening)
- Upgraded eslint-config-next to 16.1.6
- Upgraded @types/node ^20 → ^24
- All caret-range dependencies resolved to latest stable
v0.8.0
January 29, 2026Bug Fixes
- Fixed productivity factor truncation that could silently bias forecasts when trials exceed 200 sprints
- Fixed burn-up chart crash when no forecast lines intersect scope
- Fixed CSV export not escaping newlines in adjustment names and memos
- Fixed percentile calculation for out-of-range input values
Refactoring
- Consolidated 8 redundant trial functions into generic runTrial() with thin wrappers
- Removed deprecated dual-forecast API
- Extracted SprintConfig component from SprintHistoryTab (322 → 198 LOC)
Test Coverage
- Added 62 new tests (89 → 151 total) for math, burn-up, export-csv, and monte-carlo edge cases
Enhancements
- Console warnings for distribution parameter fallbacks
- Version mismatch logging on data import
- Orphaned session state cleaned up on project delete
- Import errors shown as dismissible inline messages instead of browser alerts
v0.7.0
January 27, 2026Burn-Up Chart
- Probabilistic burn-up chart on Forecast tab showing work completed vs total scope
- Three configurable forecast lines with customizable labels, percentiles (P1-P99), and colors
- Selectable distribution (T-Normal, Lognormal, Gamma, Bootstrap) for projections
- Copy-to-clipboard button for chart image
Sprint History
- Optional "Backlog at End" field enables stepped scope line on burn-up chart
User Experience
- Custom Percentile selector moved above chart sections
- Burn-up chart configuration persists per project during session
v0.6.0
January 27, 2026Productivity Adjustments
- Define periods of reduced productivity (holidays, vacations, company events) that adjust forecasted velocity
- Each adjustment has name, date range, productivity factor (0-100%), and optional memo
- Enable/disable toggle for what-if scenario analysis without deleting adjustments
- Adjustments apply weighted factors per sprint based on working days overlap
- Only enabled adjustments are used in Monte Carlo simulation and CSV export
User Experience
- Forecast form inputs (backlog, velocity overrides) now persist when navigating between tabs
- Each project maintains its own forecast inputs independently
- Sprint cadence displayed alongside start date in forecast form
- Shortened "Remaining Backlog" label to "Backlog" for compact display
Code Quality
- Refactored forecast types and helper functions to monte-carlo.ts for better organization
- Added comprehensive test coverage for productivity factor calculations (70 tests total)
v0.5.0
January 26, 2026Features
- "View History" button on Projects tab navigates directly to Sprint History for that project
- Sprint configuration (cadence and start date) now required before adding sprints
- Forecast results show absolute sprint numbers (completed + remaining)
- Copy-to-clipboard buttons for forecast inputs/results, CDF chart, and custom percentile
v0.4.0
January 25, 2026Visualization
- Added CDF (Cumulative Distribution Function) chart to Forecast tab
- Chart shows probability of completing backlog within X sprints for all distributions
- X-axis displays sprint count with finish dates (Mon DD format)
- Horizontal reference line marks selected custom percentile (P85 default)
- Collapsible chart panel with discreet expand/collapse triangle
- Interactive tooltips show probability and date on hover
v0.3.0
January 25, 2026User Experience
- Project selection syncs between Sprint History and Forecast tabs
- Compact sprint form with visual cues for required fields
v0.2.0
January 25, 2026Distributions
- Truncated Normal, Gamma, and Bootstrap distributions added
- Four-column forecast display with highlighting for differences
v0.1.0
January 24, 2026Initial Release
- Project management with CRUD operations
- Sprint history tracking
- Monte Carlo simulation with normal distribution
- Percentile-based forecasting (P50-P90)
- Custom percentile selector (P1-P99)
- LocalStorage persistence