v0.25.5Security updates to supporting components
December 3, 2026- Next.js, the framework SPERT® CFD is built on, moved from 16.3.0 to 16.4.6. That clears all 19 known Next.js advisories, 3 of them critical and 1 high. None of the 19 could be triggered by the way CFD uses Next.js. Each needs something CFD does not have, such as self-hosting, server actions, `use cache`, `next/image`, Edge routes or a Windows server. They are cleared now so that CFD matches the other SPERT® apps on 16.4.6 and takes one Next.js change instead of two.
- Next.js 16.4.6 has been public for 24 days, not the usual 60. It was published on November 9, 2026, and completes the 60 days on January 8, 2027. This is a deliberate exception for parity across the suite, not the emergency exception, since nothing here was reachable. William approved it on December 3, 2026 ("Yes, all three"), relayed by the suite's dependency orchestrator.
- Five more components moved to patched versions that have been public for at least 60 days: the image library sharp, source-map-js, and three parts of the Firebase command-line tools (the MCP SDK, hono and @hono/node-server). This clears 10 more advisories.
- The build tool Vite, used only by the test runner, moved to 8.1.6, clearing 5 advisories. It was published on October 6, 2026 and completes the 60 days on December 5, so it is taken about a day early. It never ships with the app.
- In all, the known advisories in CFD's dependencies fell from 105 to 71, and those in what ships with the app from 29 to 8. No version taken adds an advisory. The 8 that remain are in Firebase. Six are in a part of Firebase CFD never loads (the Realtime Database). Their fix completes its 60 days in late January. The other two concern features only a server uses, and Firebase does not yet accept the fixed version.
- Two development tools moved to newer releases that have been public for at least 60 days: the complexity checker and the Node.js type definitions. Every function measures the same complexity under the new checker as under the old one.
- No behaviour changes. Nothing about projects, snapshots or the cumulative flow diagram has changed.
v0.25.4The Share window shows each member's email
December 3, 2026- Each member in the Share window now shows their email beneath their name. Until now a member who had a name showed only the name, and the email appeared only for someone with no name. A name is whatever each person chooses to call themselves, so two people could look alike, and someone could take a colleague's name. Since December 3, 2026 the SPERT® Suite refuses to save a profile whose email is not the signed-in account's own. The email is therefore the part to trust, and it is always shown in full, wrapping onto a second line when it is long rather than being cut short. Someone whose name is their email shows it once. A member with no name shows the email, and one with neither still shows their account ID. Your own row still says "You".
- The role menu and the Remove button are named for the person. A screen reader used to hear "Role for" followed by a 28-character account ID, and every Remove button was just "Remove". Both now name the member as the row does, for example "Role for Pat Lee" and "Remove Pat Lee". This closes the roadmap item for the role menu.
- Corrected comments. Comments in `profile-writes.ts`, `use-member-profiles.ts` and one test said the invitation function finds an invitee through their profile. It has looked them up in the account system since landing v2.6.3. They now say so, and what the profile rows are for: the member list's names and emails.
- Under the hood. The row's wording comes from `memberIdentity()` in `src/lib/member-identity.ts`. The invite box's email field now turns the browser's autofill off (`autoComplete="off"`), as the suite's other sharing fields do.
- Tests. 1,443 tests in all (13 more than before). They cover each case of the row, the "You" row, and the two controls' names. Before measuring, it was predicted which new tests would fail on v0.25.3: the name-with-email test and the controls test. They did, and the other row tests passed there, as the behaviour they check is unchanged. Putting back the old row alone turned exactly the name-with-email test red, and putting back the old control names alone turned exactly the controls test red. One existing test found the Remove button by its old name and now uses the new one. No dependency, Firestore rules or legal-document change.
v0.25.3Microsoft sign-ins accept invitations
December 1, 2026- Signing in with Microsoft now accepts an invitation. Until now an invitation could only be accepted by signing in with Google. CFD skipped asking the server when the sign-in's email address was marked unverified, and Firebase marks every Microsoft sign-in that way, work and school accounts included. So a person invited before they had ever signed in to SPERT®, who then signed in with Microsoft, never joined the project. The server has accepted Microsoft sign-ins since September; CFD now always asks it.
- The invitation notice now says what happened. After you sign in from an invitation link it says "Verifying invitation…" until the server answers. If you have local projects, CFD stays in local storage after sign-in, and the notice then adds "Switch to Cloud Storage in Settings → Storage to view it." An invitation for another SPERT® app now says it was accepted there, not here. Until now it said "You've been added to" that app's project. When nothing could be accepted, the notice says why, in amber, instead of disappearing at sign-in. The reasons are: no pending invitation for your address (and, if you accepted it before, that you should already have access), a sign-in whose address isn't verified, an expired session, a temporary problem, or no answer within 30 seconds. A project with no name is shown as "Untitled" instead of being left out.
- The invitation notice no longer disappears after 30 seconds while you sign in. It used to close itself 30 seconds after the page opened, taking the invitation with it, so a sign-in slower than that (the Terms, the Microsoft window, a second sign-in step) was never told the outcome. Now it stays until you close it. The 30 seconds count only after you sign in, while CFD waits for the server.
- Signing in without an invitation link shows nothing new, as before.
- Under the hood. The claim moves from `auth-context.tsx` to `src/lib/claim-pending-invitations.ts`. It reports no rows and refusals as a `spert:invite-claim-settled` event, keeps `spert:models-changed` unchanged for claimed rows, and never throws. The event's name is in `src/lib/invite-claim-event.ts`, a module with no imports that no test replaces. The banner's wording is in `src/lib/claim-wording.ts`, apart from `mapInvitationError`. The comments that described Microsoft sign-ins as unverified personal accounts, and the feature flag's "stays off until…", are corrected. Known and left as it is: a person already signed in with Cloud Storage who opens an invitation link sees no notice, because their answer can come before the notice is on screen. Since September, an existing account is added to the project directly when invited, so the project is already in their list.
- Tests. 1,430 tests in all (66 more than before). They cover the claim, the wording, every step from the link to the outcome, and the notice in each state. One runs the real sign-in, storage and project-list code from the link to the claim. Seven deliberate breaks were tried, one at a time, each predicted beforehand, and each turned exactly the predicted number of tests red: putting the old email check back (15), filtering on the wrong app id (12), quieting one more error code (1), misspelling the new event's name (9), showing the sign-in buttons to someone already signed in (1), letting the claim throw (1), and the old 30-second close from page load (3). No dependency, Firestore rules or legal-document change.
v0.25.2Changing a role no longer brings back someone removed
November 29, 2026- Changing a member's role in the Share window no longer adds back someone who was removed. The window wrote back its whole copy of the member list with each role change. If someone had been removed since that copy was read (by the owner in another tab or on another device, or by the deletion of their account), the change put them back on the project with their old role. The window's live updates made this rare while online, but a change made offline waited and was saved on reconnecting, after the removal. Now a role change reads the project afresh and changes only that one member.
- New messages in the Share window. Changing the role of someone who is no longer on the project now says "This person is no longer on the project, so their role was not changed." If you are no longer the owner it says "Only the project owner can change roles.", and if the project is gone, "Project not found." Any other failure shows the same message as before. A role change now needs a connection, as removing a member already did: offline it fails at once instead of waiting.
- Tests. 1,364 tests in all (4 more than before), and 59 run against the Firestore emulator under the deployed rules (5 more). The emulator tests show the old write bringing a removed member back. They also check that a role change leaves out someone removed meanwhile, refuses and leaves out the removed member when they are the one being changed, keeps someone added meanwhile, and refuses an editor. Two deliberate breaks each turned exactly the tests written for them red: putting back the old Share window (all three of its new tests, one of them because the write named the removed member), and dropping the still-a-member check, which brought the removed member back when they were the one being changed. Two more were tried and, as predicted beforehand, changed nothing: writing the whole member list read in the same transaction (the same result, since that list is fresh), and dropping the owner check (the Firestore rules refuse an editor anyway). No dependency, Firestore rules or legal-document change.
v0.25.1Left and right arrows move between the data grid's cells
November 28, 2026- ← and → now move between cells in the data grid. In a count cell, → moves to the next state's count for the same date and ← to the one before, as in a spreadsheet. At either end of a row they stay where they are; Tab still goes on to the next row. Until now they never left the cell, though the grid has listed arrow keys among its keys since v0.1.0. ↑, ↓, Enter, Tab, Shift+Tab and Escape work as before, and with Shift, Alt, Ctrl or Cmd held, ← and → keep the browser's own meaning. A count you have typed is saved when an arrow moves you on, as with Tab.
- Tests. 1,360 tests in all (10 more than before), run through the real grid with its number cells. Ten deliberate breaks were tried, one at a time, and each turned exactly the test written for it red: the old caret check put back, the arrow's default left in place, → wrapping to the next row, ← wrapping to the row above, the modifier check removed or ignoring Shift, ← and → swapped, Enter no longer moving down, Tab no longer wrapping, and Escape no longer leaving the cell.
v0.25.0SPERT® CFD's first Quick Reference Guide
November 28, 2026- SPERT® CFD now has a Quick Reference Guide, a five-page PDF in the same format as the other SPERT® guides. It covers what CFD is, getting around, a step-by-step workflow, the CFD tab (the chart, the data grid and CSV), the flow metrics and their warnings, projects, tiles and sharing, data and storage, Settings, and tips.
- About's Guides section lists it. In place of "SPERT® CFD has no downloadable guide.", Guides now shows the Quick Reference Guide with a one-line description and an "Open PDF" link that opens it in a new tab. Screen readers hear "Open PDF: Quick Reference Guide (opens in a new tab)". The "More help in the Help Center" link stays below it. The guide also appears on CFD's page in the SPERT® Help Center.
- Tests. 1,350 tests in all (2 more than before). They check the guide row's title, its description word for word, the link's address, new tab and screen-reader words, and that the "no downloadable guide" line is gone. Six deliberate breaks were tried: a wrong file name, no new tab, one changed word in the description, the screen-reader words without the title, the old line put back beside the row, and the PDF removed from the site. Each turned a test red. No dependency, Firestore rules or legal-document change.
v0.24.0One About page across the SPERT® Suite
November 27, 2026- About is now the About page every SPERT® app shares: the same sections in the same order, the same words where the apps say the same thing, and the same look. It has six sections: What is SPERT® CFD?, How it works, Flow metrics, 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 ("Cumulative Flow Diagram tool for agile teams", which still shows beside the title in the header) and the large blue button are gone.
- What CFD is, How it works and Flow metrics keep their words. How it works is now a numbered list, with the same five steps. Flow metrics is unchanged, its two list items still opening with "Cycle time" and "Lead time" in bold.
- Guides says where to find help. CFD has no downloadable guide, and the page now says so, with a "More help in the Help Center" link to CFD's page in the SPERT® Help Center.
- Your data and storage, said accurately. The old lists said your data "never leaves your device" in local mode and listed features of Cloud Storage. 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, and that with cloud storage they are saved to your account in Google Firebase over encrypted (HTTPS) connections, where you can open them on any device and share them.
- 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 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.
- Behind the scenes. The suite frame's stylesheet is re-vendored at version 4 (md5 `7f8e40a37b008027e06123fe13e1b2f8`), which adds the About page's `.sf-about`; the About page is `main`'s next element after the heading row, with no `.sf-below` wrapper. `copyrightYear()` and `<CopyrightYear />` (`src/lib/copyright.tsx`) are read by the footer and About: the year's own element carries `suppressHydrationWarning`, and its key changes once hydration is over, so React mounts it again with the browser's year. The Projects tab's file is split along three seams it already had, with nothing on screen changed: the tile grid (`project-grid.tsx`), the heading row's toolbar (`projects-toolbar.tsx`) and the message lines under it (`projects-messages.tsx`), taking `projects-tab.tsx` from 663 lines to 474; its state and handlers stay where they were, and no test file changed.
- Tests. 1,348 tests in all (14 more than before). The About page's words are compared with a literal copy of the approved words, and its structure, marks and links through the real app shell. A hydration test renders the footer and About to HTML with the clock in 2026 and hydrates it in 2027: no mismatch, nothing logged, and both say 2027; two controls show the test can see the fault (the year written plainly is reported, and with `suppressHydrationWarning` alone the page keeps saying 2026). Seventeen deliberate breaks of the new code were tried, among them the old About page, the body back in its wrapper, a bulleted How it works, a wrong Flow metrics figure, Lead time no longer bold, the Connect AI words in an app without Connect AI, curly quotes in the warranty, a ™ as plain text, each year read from its own clock, no `suppressHydrationWarning`, no remount after hydration, and the version 3 stylesheet; each turned a test red. 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.
v0.23.0The welcome panel, Load Sample and a calmer page behind dialogs
November 26, 2026- The empty Projects tab now shows the welcome panel every SPERT® app shares: "Welcome to SPERT® CFD", a line about the app, Create New Project and Load Sample Project, and a note on what the sample holds. It runs the full width of the page, 16 pixels under the heading, on the page's own background in both themes, with the same 36-pixel buttons as the toolbar. Until now CFD drew its own card: 8 pixels lower, a near-black box in dark mode, slightly smaller buttons, and a dark-mode note that was hard to read (3.7:1, now 6.8:1).
- Load Sample now numbers each new copy: the first sample is "Sample: 2-Week Sprint", the next "Sample: 2-Week Sprint (2)", then (3), always the lowest number free. Archived projects, and in Cloud Storage the projects shared with you, hold their names too. Until now every copy had the same name. Samples you already have keep their names.
- Load Sample says what it did. It still opens the new sample on the CFD tab, and screen readers now hear "Added “Sample: 2-Week Sprint” to your projects and opened it." The toolbar's Load Sample and the welcome panel's Load Sample Project do exactly the same thing.
- The page no longer scrolls behind an open dialog. With a dialog open (Delete, New or Edit Project, Cloud Storage, sharing, the terms agreement, switching to local storage, a CSV import), the mouse wheel used to scroll the page behind it, as far as the page went; now the page stays where it was until the dialog closes, also when one dialog opens over another.
- When every project is archived, the line saying so now sits 16 pixels under "Show archived (N)", where the tiles would be, instead of 24. Its words are unchanged.
- If CFD itself fails, the "Something went wrong" screen now uses the page's own background and text colours in both themes (it was on a grey background with a red heading), says "SPERT® CFD could not display this page. Reload to try again.", and offers Reload. It no longer says your data is safe in local storage, which was not true with Cloud Storage. Every SPERT® app with such a screen now says the same.
- If the project tiles fail to show, the Projects heading and its toolbar now stay on the page, with the message about the view below them, as on the CFD tab, Settings and About.
- Easier to read in light mode: the dates on the changelog (2.6:1 before, now 4.8:1), the CFD tab's "Storage:" line (2.5:1 before, now 7.2:1), and the close "×" of four dialogs (2.6:1 before, now 4.8:1).
- Tests. 1,334 tests in all (45 more than before), with every frame check passing on all four screens frame-check measures and on fourteen more, at 1280, 1440 and 1920 pixels in both themes, with increased contrast, zoomed to 125% and 150%, and with classic scrollbars. Fifteen deliberate breaks of the new code were tried, one per new test, among them the old naming, a lock any dialog could release, the old card and the old crash screen; each turned its test red.
v0.22.0The SPERT® Suite's shared frame
November 26, 2026- CFD now wears the frame every SPERT® app shares: the same brand row, navigation row, notices, page width and footer, in the same places and at the same sizes as SPERT® Forecaster, GanttApp, Scheduler, MyScrumBudget and AHP. The title keeps CFD's purple gradient, at 24 pixels; the theme button and the sign-in chip sit at the right of the brand row; Projects and CFD sit on the left of the navigation row and Settings, About and Help Center ↗ on the right; the tab you are on is underlined.
- "SPERT® CFD" at the top left is now a link that takes you to Projects from anywhere, the changelog included. A "Skip to main content" link is the first stop for keyboard users.
- The page uses more of a wide screen: up to 1,600 pixels instead of 1,200, so the CFD tab's chart and grid are wider, and the Projects tiles run four across at 1920 pixels (three at 1280 and 1440).
- The CFD tab still fits the window, with the chart and grid scrolling inside it and the footer at the bottom; it now opens with the project's name as its heading, cut short with "…" when it is long (the whole name shows when you point at it). Projects, Settings, About and the changelog now scroll as a whole page, with the footer after them.
- The changelog and an unknown address now show the whole app around them, with the navigation, the sign-in chip and the footer. An unknown address says "Page not found", with a link back to Projects.
- While CFD loads, the frame is already there, with only the page itself showing "Loading...". The sign-in chip says it is not available yet until loading finishes.
- Easier to read: the footer's links in dark mode (3.4:1 before, now 6.7:1), and the sign-in chip's "Local only" (2.6:1 before, now 4.8:1) and "Sign in" in dark mode (3.9:1 before, now 6.7:1), at rest and on hover. The theme button's icons now draw in the page's own grey, at full strength.
- The app's notices (the terms note, the local-storage caution, the cloud-load caution and an invitation) now run the full width of the page in the frame's colours, each with the same "Got it" button.
- "Show archived (N)" now sits in the frame's filter row, 16 pixels below the heading, and the note that your tile colours and archive could not be loaded sits in that same row.
- Tests. 1,289 tests in all (70 more than before), every frame check passing on all four screens frame-check measures and on eleven more, at 1280, 1440 and 1920 pixels in both themes, with increased contrast, zoomed to 125% and 150%, and with classic scrollbars. Each new test was broken on purpose once to show that it catches the fault, and the title's contrast guard was moved onto the frame and checked again.
v0.21.0Tile colours and archive, each person's own
November 26, 2026- Give any project tile a colour: Blue, Teal, Slate, Purple or Pink, or No color, from the new Tile color button on the tile (with Share, Export, Edit and Clone). The colour fills the tile. Arrow keys choose in the colour list, and Enter or Esc closes it; Esc closes only the list, so an import you are reviewing stays open.
- Archive a project to hide its tile, with the new Archive button. "Show archived (N)" appears above the tiles while anything is archived; tick it to see archived tiles, drawn in half their colour with a dashed border, greyed name and an "Archived" badge, each with an Unarchive button. Clicking an archived tile's name unarchives it and opens it. When every project is archived, a line says so where the tiles would be. Archiving the project open on the CFD tab keeps it open there, and the CFD tab's project list still offers archived projects, marked "(archived)".
- Colours and archive are yours alone. The people you share a project with see their own colours and archive, never yours, and anyone who can see a tile can colour or archive it for themselves. With Cloud Storage they are saved to your account; in local mode, to this browser. Exported files carry neither.
- They follow the project where it goes: a clone takes the original's colour (not its archive); deleting a project removes its colour and archive, including ones set in another tab or on another device; an import keeps them by project and names any project it brings in that stays archived; uploading local projects to Cloud Storage carries them, as this browser has them at that moment (another tab's changes included); and "Keep local copy" brings them back to this browser exactly as they are in Cloud Storage, so a project you unarchived or uncoloured there no longer comes back archived or coloured from an earlier copy. Deleting the project open on the CFD tab opens the first project that is not archived.
- When something stops a change, it says so: a full browser storage (in the words CFD already uses), the limit of 1,000 projects with a colour or archive, and, with Cloud Storage, your colours and archive not loading (a line above the tiles; Tile color, Archive and drag stay off until they load, and they are tried again when you come back online, switch back to the window or tab, return to the Projects tab or reload; the line says how) or a colour or archive change Cloud Storage refuses (the tiles go back to what is saved, and a message asks you to try again).
- Dragging tiles with archived ones hidden keeps every hidden tile where it was.
- A Cloud Storage delete refused because the project is already gone now counts as made, so the project's colour and archive go with it. Such a refusal can come when a delete is sent again after it landed. The cloud storage code now asks the server, and a project that is gone counts as deleted; one still there keeps the refusal. Until now such a delete was treated as failed and only logged, with nothing shown, and the tile went when the server's removal arrived; no earlier release had a colour or archive to keep. Tested on Firestore's emulator with the project deleted first from another device.
- Tests. 1,219 tests in all (151 new), and 51 that run the real cloud code against Firestore's emulator with the live rules (13 new). The emulator tests read back what is actually stored for every kind of change, a refused upload, a refused colour change and a project too large to upload included. The tile's colours are checked against the colours measured in Chrome, in both themes, and the dark-mode colour check now reads the archived tints too. 71 deliberate breaks of the new code were tried, among them writing a whole entry or the whole map instead of one field, storing a cleared field as empty instead of removing it, letting a project id like `hasOwnProperty` through, treating colours that could not load as none, copying the archive on Clone, closing an import with the colour list's Esc, counting, exporting or uploading only the projects on screen, dark pink drawn in its light colour, Unarchive hidden until hover, a drag allowed while colours could not load, and a refused Cloud Storage change left on screen; a test caught every one. They are listed in the pull request; that list is the claim, not every possible break.
v0.20.2Dragging a tile keeps everyone else's order
November 23, 2026- A drag no longer undoes a reorder made elsewhere (in local mode always; with Cloud Storage while you are online). Until now, dragging a tile saved the order this tab was showing, whole. So with Cloud Storage, a tab left open since before you rearranged your projects on another computer put the old order back with its next drag, and in local mode a drag did the same to a reorder made in another tab. Now a drag saves just that move, made on the order as it is saved at that moment: drag A onto B and A takes B's place in that order, and everything else keeps its order. After a drag the list shows the order saved, so in a tab that has not caught up with a change made in another tab or on another device, it can differ from the drop you saw: tiles you did not drag can move. Measured with two devices on Firestore's emulator under the live rules, and for local mode in tests that run two tabs' code on one browser storage.
- A project this tab has not shown yet keeps its place. With Cloud Storage, a project created or placed on another device since this tab loaded used to lose its place in the order at this tab's next drag (it went to the end). Now it stays where it was.
- In local mode, dragging works again in two cases where it silently did nothing: after another tab of the same browser added a project, and while any project in the list could not be read. The tiles moved, then were back in their old order on the next load. Now the drag is saved, and the other project keeps its place.
- A drag made offline is still saved when you reconnect, as before, including two drags in a row and for someone whose order was never saved yet. It is made on the order this tab last read, so, as before, when it is sent on reconnect it can put back an order changed on another device while you were offline (measured on the emulator).
- Tests. 1,068 tests in all (47 new, and 3 tests of the old whole-list save replaced), and 38 that run the real cloud code against Firestore's emulator with the live rules (10 new). Eighteen deliberate breaks of the new drag code were tried, among them saving the tab's own order instead of the move, skipping the fresh read, dropping the offline fallback, letting a local drag add or keep a deleted project, letting a drag and a Clone save at the same time, swapping the dragged and the target tile, and keeping a drop waiting across a switch between local and Cloud Storage. A test caught seventeen; the eighteenth changes nothing a person can see, and the pull request says why. They are listed there; that list is the claim, not every possible break.
v0.20.1The title in CFD's own colour
November 22, 2026- The SPERT® CFD title is now in CFD's own colour: the purple of its icon, drawn as a gradient, a lighter one in dark mode. The other SPERT® apps' titles are moving to their own colours in the same way.
- The title now meets the 3:1 contrast bar for large text in both themes, at every point of the gradient: at its weakest 3.71:1 on the light page and 3.02:1 on the dark one. The blue it replaces measured 2.99:1 on white and 2.57:1 on dark. Measured in Chrome at 1280, 1024, 768, 700 and 600 pixels wide, with the theme set by the header's switch.
- It prints solid: black on paper in either theme, with or without the browser's "background graphics". The blue printed blank without them (measured from PDFs printed by Chrome).
- It turns solid when a computer asks for more contrast: black in light, near-white in dark.
- Nothing else changes. Measured in Chrome on the Projects page at 1280, 1024 and 768 pixels wide, in both themes: every other element's colours are as before, the header keeps its height, "SPERT", the ® and the space sit exactly where they did, and "CFD" moves by at most 1/64 of a pixel.
- Tests. 1,024 tests in all (20 new), and 28 that run the real cloud code against Firestore's emulator with the live rules, as before. A new test checks the title's colours against the page behind it in both themes, its print and increased-contrast colours, its size, the space between its words and its name as a heading. It also checks that, from the page down to the title, no class fades, filters, blends, hides or recolours it, and that the style sheet adds no rule of its own that selects it. The check that every light colour has a dark one now lets a colour meant only for print through, and refuses one that could never apply. 37 deliberate breaks of the title and of these checks were tried, each caught by a test. They are listed in the pull request; that list is the claim, not every possible break.
v0.20.0Dark mode, with a switch in the header
November 22, 2026- Dark mode is on. A switch in the header, just before Sign in, sets the theme: System, which follows your computer and is where everyone starts, Light or Dark. From this release, if your computer is set to dark, CFD opens in dark.
- The switch is SPERT® Forecaster's. A monitor for System, a sun for Light, a moon for Dark, in Forecaster's colours. Each click moves System → Light → Dark → System, Forecaster's order, so on a light computer the first click, from System to Light, changes only the icon. Each click changes the page's colours, the colour scheme the browser uses for its own parts (scrollbars, menus) and the header logo at once, with no reload, and the choice is still there after a reload (measured in Chrome).
- The choice is remembered in this browser for CFD; a choice made in SPERT® Forecaster does not carry over.
- No flash of the wrong theme. Measured in Chrome on production builds from the frames the browser drew, three loads each: with nothing chosen, Light, Dark, System, an unknown value or a choice that cannot be read, on a light and on a dark computer, the first frame of the main page and of this changelog page is already in the right theme, and no frame of the other follows. The same test shows a light first frame for Forecaster's own start-up script with an unknown value on a dark computer, so it can see a flash.
- System follows your computer while CFD is open, on the main page and on this one, and stops once you pick Light or Dark. Your other CFD tabs follow a choice made in one of them, on the main page and on this page, and so does a tab you return to with the browser's Back button after choosing elsewhere (measured with two tabs in Chrome and, for the Back button, in Firefox, which before this fix kept the old theme there).
- When the browser cannot save the choice (its storage full), the switch still changes the theme and says what it chose; nothing is thrown and no error screen appears. The choice is then only not remembered: the next reload goes back to the last saved one, and your other tabs keep their theme. Measured with the storage really filled.
- For keyboard and screen reader users. The switch is now the first stop when you press Tab (it was Sign in), and Enter and Space work on it. Focused, it shows at full strength with a focus ring of 5.98:1 in light and 6.98:1 in dark (measured from a real Tab). Each click is announced, as "Theme: Dark" or "Theme: System (dark)".
- Every screen checked again, with dark set by the switch. Measured in Chrome on the 28 screens and windows of v0.19.1's check, the loading screen and 12 signed-in windows shown with sign-in simulated in a test build: every text against its background (4,626 pairs), at rest, hovered and focused, every focus ring and every surface. The results are v0.19.1's, with the same exceptions it names (the colours kept from SPERT® Forecaster, placeholders, disabled controls) and no new one; printing, the logo and the browser's own parts follow as they should.
- In light, nothing changed but the switch. With nothing chosen on a light computer, and with Light chosen, no colour that is drawn differs from v0.19.1 (154,240 readings at 1280, 1024 and 768 pixels wide, hovered and focused; the only readings that differed were the colour of an outline that is not drawn, on six windows, caused by the test's own click on the switch). The Sign in chip sits 1.25 pixels lower, beside the taller switch. With Light chosen, a computer set to dark changes nothing.
- The switch's icons keep Forecaster's colours. Measured at rest by their outlines: the sun on white 1.72:1, the monitor 2.76:1 on white and 2.45:1 on dark, all under the 3:1 asked of an icon, and the moon on dark 3.56:1. Their fills: the monitor's screen 1.16:1 on white and 7.52:1 on dark, the moon 5.07:1. Kept as Forecaster draws them.
- Printing stays light whatever the theme: with Dark chosen, the Projects page, the CFD tab and this page print exactly as with dark mode off (measured, pixel for pixel).
- Not in this release, and worth knowing. If the browser blocks site storage entirely, CFD still opens on its "Something went wrong" screen, as before; it now shows in your computer's theme. The page for a mistyped address follows your computer, not the switch (measured: white with Dark chosen on a light computer). A few colours ease into the new theme rather than switching at once; the tab buttons take 200 ms (measured).
- Tests. 1,004 tests in all (59 new), and 28 that run the real cloud code against Firestore's emulator with the live rules, as before. New tests run the start-up script's own text against every stored value on both kinds of computer and check that the store the switch reads gives the same answers. They also cover the switch's cycle, words and look, a refused save, other tabs, a tab brought back with Back, the computer changing, and the root layout's three theme pieces. 45 different deliberate breaks of the theme code were tried, and a test caught every one; that list is the claim, not every possible break.
v0.19.1Dark colours in place, still switched off
November 21, 2026- Nothing you can see changes in this release. Every screen now carries its dark colours, but they apply only under a `dark` class that nothing in the app sets yet. Measured on production builds in Chrome over 29 screens and windows, every element looks as it did in v0.19.0. That covers its colours, borders, outlines, shadows, chart fills and strokes, `color-scheme` and the header logo shown, at 1280, 1024 and 768 pixels wide and at both pixel densities. It also covers each button, link and field hovered and focused, at 1280 and 768. The one new element is the dark logo, present but hidden. With the computer set to dark, nothing changes either.
- What it prepares: dark mode, in the next release. The theme switch (Light, Dark, System), as in SPERT® Forecaster, comes next. With dark mode forced on for testing, the whole app turns dark at once: the page is near-black (#101828), windows and the side panel one step lighter (#1e2939), and most fields #364153 (the project dialog's #2d3748, as in Forecaster). That takes in the header and its dark logo, the tabs, the notices, the footer, the Projects page, the CFD tab, Settings, About, the changelog page and the loading and error screens. It also takes in every window, the signed-in Cloud Storage and Sharing windows among them (checked with sign-in simulated in a test build). Parts shared with SPERT® Forecaster take its dark colours.
- The chart in dark. Axes and dates are light grey on a dark chart; the tooltip box and the range slider's track are dark. The tooltip's light grey cursor line and the white rings round the hovered points stay as they are in light. Workflow colours stay exactly as each team chose them, and a thin grey outline round each colour swatch, in dark only, keeps very dark custom colours visible.
- The keyboard focus ring in dark. Where a control has no focus style of its own, the browser's focus ring is drawn in Forecaster's dark focus blue (#60a5fa) in dark, because Chrome would otherwise draw it near-black on the near-black page. Measured with the Tab key in Chrome, the ring is drawn in that blue: 6.98:1 on the page, 5.77:1 on windows and the side panel, 4.05:1 against a field. In light it is unchanged.
- Checked with dark mode forced on. Every visible text was measured against its background, at rest, hovered and focused, along with the focus rings. Each meets the contrast standard (4.5:1, or 3:1 for large text), with these exceptions. A few colours are kept from SPERT® Forecaster for a matching look: the open tab, the "Sign in" chip, the ® mark, the footer and consent links, Cloud Storage's "Sign out", the invitation notice's × and the welcome panel's note. The chart tooltip's lines keep each workflow's own colour, so slate (3.73:1) and violet (4.19:1) fall short there, and very dark custom colours fall far short (1.2:1 to 2.0:1 for black, navy, slate, dark green and brown). Placeholder text measures 3.66:1 against a dark field. Disabled buttons are excepted, as the standard allows. No light surface and no light border is left on any screen; the only light lines are the tooltip's cursor and point rings named above.
- Printing stays light. A page printed with dark mode on is the same, pixel for pixel, as the same page printed in light (measured on the Projects page, the CFD tab and the changelog page).
- Tests. 945 tests in all (8 new). A new check fails when a colour class, a hover or focus colour, or a one-side rule is added to a class string without its dark partner; it does not see inline colours, colours set in code or inherited ones. The style sheet's dark-mode rules, the focus ring among them, are now checked as compiled CSS. 28 tests run against Firestore's emulator, as before.
v0.19.0Clone, the last project, and a welcome for an empty list
November 21, 2026- Clone a project from its tile. A Clone icon joins the row that appears when you point at a tile or move into it with the keyboard: Share (for a cloud project's owner) · Export · Edit · Clone. It makes your own copy, named "X (copy)", or "X (copy 2)" when that name is taken in any capitals, even when you click Clone twice before the first copy is saved (checked in tests). The copy goes right after the project it came from, on screen at once and in the saved order. Cloning the same project again puts the newer copy first, so the tiles read X, X (copy 2), X (copy), as in SPERT® Forecaster. The project you have open stays open, and the focus stays on Clone. `Cloned "X" as "X (copy)".` is announced to screen readers through a polite status region (checked in Chrome and in tests; no screen reader was run), and the same words show under the toolbar with a Dismiss button until the next clone, a failure (an import's included) or Dismiss. Dismiss moves the focus to New Project (measured in Chrome). If the copy cannot be saved, the alert says `Couldn't clone "X" — the copy wasn't saved. Please try again.` and no tile is left. Clone is offered to everyone who can see a project, a viewer of a shared project included. The copy has the project's workflow, snapshots and settings, a new identity and today's date, and nothing of the original's sharing or history. In cloud storage, its history records only that it was cloned, naming the original, then that it was created. If the project you clone is the one open on the CFD tab, the copy includes your latest change, even one not yet saved to the cloud. The Clone icon measured the same as Forecaster's in Chrome at 1280 pixels wide, and the same again at 1024 and 768, at normal and double pixel density: a 28-pixel box with 6-pixel corners and an 18-pixel glyph, grey at rest, violet on a light violet tint with a thin ring when you point at it.
- In cloud storage, a copy keeps its place for everyone. The copy goes in after its original in the order saved for your account, and only the copy moves. If you reordered your projects on another device since this page last loaded, that order is kept. A copy of a project shared with you lands right after it, on this device and after a reload. If the saved order cannot be read, for example when you are offline, the copy goes at the end and the rest of the order is left as it was. Two clones made in quick succession land in the order the screen shows. All of this was checked against Firestore's emulator with the live security rules, not in a browser, which would need signing in.
- A project you create in cloud storage shows Share once it is saved: a copy, a new project or a sample, without a reload (checked in tests). Until then its tile offers no Share, as in SPERT® Forecaster, because the project may not be in the cloud yet. Projects added by Import still show Share only after a reload.
- The last project can now be deleted. "Cannot delete the last project." is gone. Deleting the last one asks first, like any other, and then leaves the welcome panel, with the focus on New Project (measured in Chrome). The CFD tab with no projects says "Open a project from the Projects tab to view its CFD.", with Go to Projects, as before. Deleting the open project still opens the first one left, and deleting another still leaves it open (measured).
- No sample project appears by itself any more. A first visit, and a visit after you have deleted every project, now show the welcome panel. The sample loads only when you ask for it. Measured in Chrome: a first visit stores no project, and after deleting the last project and reloading, none comes back. If an earlier session left a project marked as open, an empty list now opens nothing.
- The welcome panel. "Welcome to SPERT® CFD", then "See how work items flow through your process over time, and spot bottlenecks and WIP buildup early.", Create New Project and Load Sample Project, and the note "The sample project is a working example with 14 days of snapshots. You can explore it, edit it, or delete it at any time." Its box measured the same as Forecaster's in Chrome at 1280 pixels wide: 1136 × 253.09 pixels, 10-pixel corners, a light grey dashed border, white, 32 pixels of padding. It sits 24 pixels below the heading row, as Forecaster's layout sets it. At 1024 and 768 it fills the page's column (960 and 704 pixels wide); the same at double pixel density. Create New Project opens the New Project dialog. Load Sample Project loads the sample and opens it on the CFD tab, with the focus on its project list (measured); the focus never drops to the page while the sample saves or if it fails (checked in tests). The panel shows only when there are no projects and the list has loaded, never under an import's preview. While a cloud account's list is still loading with nothing to show, Forecaster's line shows instead: "Loading your cloud projects — import will be available shortly." It replaces "No projects yet. Use New Project, Load Sample or Import."
- Fixed: a full browser storage no longer takes the whole app down. Measured in Chrome with the storage filled: before this release, adding a row then replaced the whole app with "Something went wrong"; now the row stays on screen and the CFD tab says "This browser's storage is full. Export a project, then delete one to make room.", above the chart and grid panel, where it is seen however far down you are. The change is not saved yet; the next change that fits saves both, and the message goes then or on Dismiss (checked in tests). Dismiss moves the focus to the project list (measured in Chrome). Clone, New Project and Load Sample at full storage say the same words, and leave no tile and nothing half-stored behind (measured). The kept change survives them: measured in Chrome, after a refused New Project, a refused Load Sample, a Clone, a delete or a tab switch, the change was still on the CFD tab and was saved with the next one. Other failures keep their own words.
- An invitation link opened with no local projects waits for sign-in to choose cloud storage. Now that a project list can be empty, opening an invitation with no local projects no longer changes your storage choice when the invitation opens. At sign-in, if you have no local projects, you land in Cloud and see the shared project; if you have made some in the meantime, nothing changes, and you can move them with the usual upload from Cloud Storage. (Before this release a local list was never empty, so the choice did not arise.) Checked in tests, not by signing in a browser.
- Nothing on the page moves when there is no message. With no clone message, the tiles start exactly where they did in v0.18.0 (measured at 1280 pixels wide, at both densities). A clone's message line moves them down 52 pixels until it is dismissed. The CFD tab's panel and its parts measured the same before and after the storage message's place was added, at 1280, 1024 and 768, with a project open and with none.
- Dark mode is ready and still off. The Clone icon and the welcome panel carry Forecaster's dark colours, measured with dark mode forced on: the panel is near-black (#171717) with a grey dashed border (#364153), and Clone turns light violet (#a78bfa) on a faint violet tint. Your computer's dark setting changes nothing (every reading identical).
- Not in this release, and worth knowing. A rename refused because storage is full still changes nothing and says nothing, as before. A local project list whose every project is unreadable now shows the welcome panel, where before it added a sample. A cloud account with no projects whose first load failed keeps the loading line until a reload, with Import unavailable, as before. A Clone made while an import's preview is waiting can make that import's Confirm report that the list changed, as Load Sample already could. Offline in cloud storage, a copy's tile shows but neither its message nor an alert arrives until it is saved. No dependency, Firestore rules, stored-project or legal-document change.
- Tests. 937 tests in all, and 28 that run the real cloud code against Firestore's emulator with the live rules (8 of them new). New tests cover Clone's copy, name and place in both storage modes, two clones started before the first is saved, its messages and focus, the welcome panel and the loading line, deleting the last project, the first visit, a full storage on every kind of change, a change kept at full storage surviving a refused New Project or Load Sample, and the invitation check at sign-in. Each was run against deliberately broken versions of the code it guards, 54 in all. 53 made a named test fail. The one that did not removes a short pause before a clone's words are shown again. By the code, nothing in this release depends on that pause, and it is kept as a safety margin.
v0.18.0The Projects dashboard of the SPERT® suite
November 21, 2026- The Projects page now looks like SPERT® Forecaster's. The heading reads "Projects", without a count. The four toolbar buttons keep their order, their words, their icons and when they are available, and take Forecaster's look. Projects sit in a grid of light grey tiles, 16 pixels apart: one column, two once the grid is 560 pixels wide, three from 860. Each tile has a six-dot grip, the project's name, a Delete icon, two lines about the project, and Export and Edit icons that appear when you point at the tile or move into it with the keyboard. On a touch screen, where nothing can be pointed at, they always show (checked with Chrome's touch emulation). A long name now wraps onto as many lines as it needs: a 200-character name takes 7 lines and makes its row of tiles 239 pixels tall at 1280 pixels wide, where before it was cut short with "…" on one line in a 142-pixel tile. Measured in Chrome at 1280, 1024 and 768 pixels wide, at normal and double pixel density, against the values measured in Forecaster: 220 readings are equal and 80 differ. Of those, 74 were allowed before measuring: CFD's words and data; Forecaster's Clone, Archive and Tile color icons, which CFD does not have yet; tile heights, which follow the names and lines inside them; the heading's distance below the notices, which keeps CFD's compact spacing; and the dialog's single field. The other 6 were not listed in advance: the text colour the grip inherits from the page (black, where Forecaster's is near-black). The grip holds no text, so that colour is never seen; its dots measure the same grey as Forecaster's.
- A tile's two lines say what the project holds: "14 snapshots · 5 states" and "Last snapshot Jun 18, 2026", or "No snapshots yet · 5 states". "Updated" is gone. The date is the latest snapshot's by date, even when an earlier date is stored last, as after adding a back-dated row or importing a newest-first CSV. It reads the same day in New York and in UTC, measured in Chrome. A stored date that is not a real date is shown as written, and the page still opens. Until the details load, a tile says "Loading…".
- Click anywhere on a tile to open its chart, except on its grip and its icons (measured: a click on its lines opens the CFD tab, a click on the grip does nothing). The Open, Export and Rename buttons are gone. The name opens the CFD tab, Export and Edit are icons, and every icon's name includes the project's name for screen readers ("Export Alpha").
- The open project is no longer marked on the tiles. The "Active" badge and the blue tile are gone. Instead, the CFD tab names the open project: a 16-pixel row (measured) above the chart reads "Cumulative flow for", then a list of every project, which switches the open one. It replaces the chart's "Cumulative Flow Diagram" label, and the "Chart" label of a project with no snapshots, so a new project is named too. A long name shrinks to fit, ending in "…". With a 200-character name in the list, the page does not scroll sideways, and the chart starts 8 pixels lower than before (48 instead of 40, at 1280 × 800).
- The project list keeps your place. After you switch projects with it, focus stays on it. This was measured after typing a letter, and after a mouse click on the list followed by a choice made by the test script, since Chrome showed no drop-down in this test. Typing several letters picks the project they spell: "sat" picks "Saturn". The list has a visible blue focus ring and is announced as "Cumulative flow for". Opening a project from its tile, or with Load Sample, puts focus on this list. If no project is open, it offers "Choose a project" above the usual message. All of this was measured in Chrome on a Mac. There, the arrow keys do not change a closed list, so typing a letter was the keyboard test; arrow keys on Windows and Linux were not tried.
- One dialog for New Project and Edit Project. It asks for the "Project Name", with Cancel and Create, or Update to rename. It is wider (560 pixels), and the page behind it cannot be reached while it is open. Its × in the top corner is gone, as in Forecaster; Cancel and Escape close it. Escape closes it, and after closing, focus goes back to the button that opened it, measured in Chrome. Edit replaces the tile's inline rename. Renaming the open project still keeps the new name (the v0.17.6 fix).
- Fixed: one Escape closes one window, and no longer throws away a waiting import. With an import's preview on screen, Escape used to close the window in front and discard the preview as well. That was measured for the New Project dialog, for the Cloud Storage window that Sign in opens, and for the consent window that opens over it, where one Escape closed all three at once. Now each Escape closes only the window in front, and the preview stays. Measured in Chrome for the New Project dialog, the Delete confirmation, the Cloud Storage window, and the consent window over the Cloud Storage window (two Escapes, one window each). The sharing window, its confirmations, and the dialog that asks before switching to local storage now work the same way; they need a cloud account, so they were checked in tests, not in a browser.
- A crash in the chart now stays inside the panel. If a project's data made the chart fail, the error message now shows where the chart and grid were, with the sidebar and the project list still on screen, and choosing another project, from the list or from its tile, shows that project normally. Before, the message replaced the whole tab, and even opening a good project from its tile went on showing it. Measured in Chrome with a deliberately broken chart, a change made only for the test and not shipped. By the code, the grid shares the chart's frame; only the chart was broken in the test. A failure in the sidebar still replaces the whole tab (measured).
- After a delete, focus goes to the next tile, or to the previous one when the last tile goes. It used to go nowhere. Cancel, or Escape, returns focus to that tile's Delete. Deleting the only project is still refused with "Cannot delete the last project."
- Shared projects (cloud storage). "Shared" shows on a project with more than one member, and "View only" alone on a project shared with you to view. Share is offered to the project's owner. For an editor, Delete is disabled, and for a viewer, Delete and Edit are, each with its reason when you point at it and for screen readers. None of this depends on the project's details having loaded, so Delete never looks disabled while they load. In local storage nothing is marked or disabled, even on a local copy of a shared project; before, such a copy showed "Shared". The cloud cases were checked in tests, not signed in to a browser.
- Reordering is by dragging a tile's grip, as before (checked live). The tile is no longer a separate keyboard stop that announced reordering instructions that never worked.
- Dark mode is ready and still off. The new elements carry Forecaster's dark colours, which match its own, measured with dark mode forced on. Your computer's dark setting changes nothing (every reading identical). The page itself, the notices, the confirmation and the import preview stay light until dark mode comes to every screen at once.
- Tests. 836 tests in all. New tests cover the tile, its icons, drawn exactly as Forecaster's, the dialog, Escape in every window, focus after Delete, the project list on the CFD tab, a chart crash, the real chart's missing label, the lines' dates in four time zones, and who may do what with a shared project. Each new or rewritten test file was run against deliberately broken versions of the code it guards, 62 in all, 19 of them written by an independent review and run against every test; every one of them failed. The test that the CFD tab is rebuilt for each project now checks that only the chart, the grid and the sidebar are rebuilt, below the project list.
- Not in this release: Clone, deleting the last project, the first-visit welcome panel, Archive and tile colours. No dependency, Firestore rules, stored-data or legal-document change. The cloud storage code now also reads each project's role and member count from the list it already loads, and writes a warning to the browser's console when a project's last-change time cannot be read (checked in tests).
v0.17.9The SPERT® suite's header and tabs
November 21, 2026- The header now looks like the other SPERT® apps'. "SPERT® CFD" is a large title in a light-to-dark blue gradient, with the tagline "Cumulative Flow Diagram tool for agile teams" in grey italics beneath it. Measured in Chrome at 1280, 1024 and 768 pixels wide, at normal and double pixel density, the title, its ® mark, the tagline and the header's 60-pixel height match the values measured in SPERT® Forecaster.
- The tabs are drawn as in SPERT® Forecaster and GanttApp. The tabs have rounded top corners and sit on a 2-pixel light grey line. The open tab is filled blue; the others are grey and turn light grey when you point at one. The tabs now show a pointing hand, and the Help Center link at the end of the bar is lighter and thinner than before: plain grey text, underlined when you point at it. The four tabs, their order, the link's place and the names screen readers announce are unchanged.
- The sign-in button at the top right now shows a pointing hand. Its background is now the page's own rather than white, which looks the same on today's white page. Its wording, its light grey when you point at it, and what it opens are unchanged. The two signed-in versions of the button get the same change in the code; they were not looked at in a browser, which needs signing in.
- The space above and below the header stays as compact as before, 12 pixels each, rather than the other apps' 32 and 24. Even so, the taller header and tab bar leave every tab 32.5 pixels shorter at 768 pixels wide and wider. On the CFD tab, the chart-and-grid area and the sidebar each lose 32.5 pixels in every case measured: page areas (the part of the browser window that shows the page) 1280 pixels wide and 900, 800 or 720 tall, with no notices, with the local-data caution, and with both first-visit notices. The grid shows one row fewer wherever it showed any.
- Some of what showed before now needs a scroll. Among what was measured with the sample project, whose Review stage is over its WIP limit: with a 1280 × 800 page area and the notices dismissed, the sidebar's WIP Violations warning keeps its heading on screen, but all but the top 2 pixels of its detail line ("Review: 3/2") fall below the sidebar's fold. With a 1280 × 800 page area and the local-data caution showing, the Cycle Time and Lead Time cards lose their bottom 25 pixels, their "Little's Law" captions. With a 1280 × 720 page area on a first visit, the row of series toggles under the chart (Backlog to Done) moves below the fold, and the bottom 6 pixels of the chart's frame are cut off; the chart itself still fits. In shorter page areas, and on a first visit, other sidebar cards also need a scroll. Everything stays reachable by scrolling the sidebar or the chart-and-grid area.
- The About tab's subtitle now matches the header's tagline, "Cumulative Flow Diagram tool for agile teams". It read "Cumulative Flow Diagrams for Agile Teams".
- Dark-mode styles no longer follow your computer's setting. CFD has no dark mode yet, but a note about Microsoft accounts, in small grey text, turned a lighter grey when the computer was set to dark. It now stays as it is in light mode. That was measured in the Cloud Storage dialog; the same note in Settings, shown only when Cloud Storage is available, uses the same style. Dark mode is planned as a release of its own, for every screen at once.
- Tests. The check that the Help Center link is not a tab now reads the tabs' look from the tabs themselves, and refuses any corner, fill, border or padding on the link, including one that would appear only when you point at it. The old check named the old tab's classes, and after the restyle it passed even when the link was given the open tab's classes (seen). The new check fails on that change and on six other ways of making the link look like a tab, the old pill among them (seen), and passes on this release. New tests check that the header and the About tab show the tagline's exact words, and that the stylesheet keeps the SPERT® blues and the dark-mode rule; each fails when its line is removed (seen). There are 733 tests in all.
- Nothing else changes. The notices, the footer, the Projects page, the CFD tab's own layout and the fonts are as they were. No dependency, Firestore or legal-document change.
v0.17.8A link to the Help Center
November 16, 2026- A Help Center link at the end of the tab bar opens the SPERT® Suite Help Center in a new tab. It sits after About, at the right-hand end of the bar, and opens CFD's page, https://spertsuite.com/help/cfd. That page points to the About tab for how CFD works, links to the terms and privacy policy, and says how to get help if you are still stuck. CFD stays open in the tab you were using.
- It is a link, not a fifth tab. The four tabs (Projects, CFD, Settings, About) are unchanged. The link is grey text with a small ↗ arrow, 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. Pressing Tab moves through the four 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. The link opens with `rel="noopener noreferrer"`, so the Help Center page gets no hold on the CFD tab and is not told which page you came from.
- New tests in `tab-navigation-help-center.test.tsx` (11) check 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. They also check that the link is not a tab: the bar holds exactly four buttons, the four tabs in order, and only the active tab is marked as current. Each test was seen to fail on purpose first, against a wrong address, a missing new-tab setting, a weakened `rel`, missing or visible screen-reader text, an arrow left audible, the link on the wrong side of About, the link made a tab, and an extra tab beside it.
- A note for whoever adds a guide. A comment at the top of the new test file, and of `static-assets.test.ts`, says to add any new guide in `public/` to the Help Center's guide list too (`src/data/help.ts` in the spert-landing-page repository).
- Nothing else changes. No dependency, Firestore or legal-document change.
v0.17.7An import over the open project is kept
November 16, 2026- Fixed: in cloud storage, importing a file over the project you have open, and then changing it, no longer undoes the import. After you chose Replace, the open project went on showing its old workflow and snapshots. The next change, such as adding a row, a setting such as the grid's sort order, or a workflow edit, saved them back over the imported ones. The open project now shows the import at once, and later changes keep it.
- An import that was already undone is not restored. Import the file again to bring it back.
- Nothing else changes. Local storage was not affected. Importing over a project that is not open, and adding new projects by import, work as before.
- A note from v0.13.0 was wrong. It said the open project would show the import "shortly after". It never did: the app does not hear its own saves back from the cloud, so nothing brought the import to the open project.
v0.17.6A renamed project keeps its new name
November 16, 2026- Fixed: renaming the open project and then changing it no longer brings back the old name. Adding a row, changing a setting such as the grid's sort order, or editing the workflow saved the project under the name it had when it was opened. The new name was lost, and the card showed the old one after the app was reloaded. This happened in local and cloud storage alike.
- A rename that was already lost is not restored. The project keeps the name it shows now. Rename it again and the new name stays.
- Nothing else changes. Renaming a project that is not open, and every other edit, is saved as before.
v0.17.5The workflow color picker shows every color again
November 16, 2026- Fixed: the color picker for a workflow state lays out its twelve colors as a 4 × 3 grid again. Opened from Edit workflow on the CFD tab, the picker had squeezed them into a strip one square wide, where they overlapped and most could not be clicked. Each color now has its own square, and every one can be picked.
- The picker keeps its colors, its custom hex field and its place under the state's color square, on a phone-sized screen as on a desktop.
- No other behaviour changes. Nothing about projects, snapshots or the cumulative flow diagram has changed.
v0.17.3Routine updates to supporting components
November 16, 2026- The charting, date, icon and styling libraries moved to newer releases, along with five development and test tools. This is routine upkeep: no security advisory changes.
- Every version taken has been public for at least 60 days, the waiting period SPERT® applies to new releases of anything it depends on.
- No behaviour changes. Text now names its system fonts explicitly; it looks the same on macOS, and on some Linux desktops it may use a different font than before. Nothing about projects, snapshots or the cumulative flow diagram has changed.
v0.17.2Security updates to supporting components
November 15, 2026- Twelve supporting components moved to patched versions, clearing 37 of the 106 known security advisories in the project's dependencies. Most of them sit in the development and test tooling, not in the app you use.
- Every version taken has been public for at least 60 days, the waiting period SPERT® applies to new releases of anything it depends on. Of the rest, most wait for their fixes to complete the same 60 days in December, and a few cannot be taken yet, because no fix exists or another component holds them on an older version. None of those that ship with the app can be triggered by the way SPERT CFD uses its components.
- No behaviour changes. Nothing about projects, snapshots or the cumulative flow diagram has changed.
v0.17.1One column for the header and every tab
November 9, 2026- The header, the tabs, the notices and each tab now line up in one centred column, as in GanttApp and SPERT® Forecaster. The header and the tab bar are no longer full-width bars, and the line under the tabs spans the column.
- The Projects tab fills that column, with its toolbar under the sign-in button and up to three project cards across on a wide screen.
- Settings and About start at the left edge of the tabs and keep a comfortable reading width.
- The CFD tab's workflow, metrics, chart and data sit in a bordered panel in the same column.
- The "Some saved data could not be read" notice is now a card with an outlined "Got it", like the other notices.
v0.17.0The Projects toolbar and the app notices
November 8, 2026- The Projects tab now opens with one row: its heading on the left and Export All, Import, Load Sample and New Project on the right, in the same order, words and icons as the other SPERT® apps. Every button is always there; Export All is disabled while there are no projects.
- New Project asks for the name in a small window. Enter creates the project and Escape cancels. The New Project field below the toolbar is gone.
- Load Sample adds a fresh copy of the sample project and opens it, in local and cloud storage alike. A new local workspace still gets the sample automatically.
- The terms notice and the local-storage caution are now cards with an outlined "Got it", like the other SPERT® apps.
- The caution no longer has a "Don't show again" box. "Got it" hides it until the app is next opened. To stop it for good, clear "Warn me on startup when using local storage", now also in Settings.
- Fixed: a project that could not be saved now says so again. Since v0.16.4, a new project that failed to save disappeared from the list without the "wasn't saved" message. The message is back, and the same holds for Load Sample.
v0.16.4Projects from the cloud are checked before they are shown
October 29, 2026- Projects loaded from cloud storage are now checked before they are shown. A snapshot or workflow state that SPERT CFD itself could not have saved is left out, a setting of the wrong kind falls back to its default, and the rest of the project loads normally. A notice names the project when this happens. Loading a project changes nothing in the cloud, and projects saved by SPERT CFD load exactly as before.
- An error in one tab no longer replaces the whole app. That tab shows a message, and the header, the other tabs and sign-out keep working.
- A snapshot date that is not a real calendar date is shown as written instead of stopping the grid and the chart.
v0.16.3The sample runs Monday to Friday
October 27, 2026- The sample project now runs Monday to Friday, June 1–18, 2026, so the days it skips are weekends. Its dates had been laid out for 2024 and moved into the current year, where they fell on Saturdays and Sundays. Samples already saved keep their dates.
v0.16.2Lead Time's average names its unit
October 26, 2026- The Lead Time card's average now says "items", so it no longer reads like a number of days.
v0.16.1Average WIP on the WIP card
October 26, 2026- The WIP card now shows the period's average work in progress, the figure Cycle Time divides by Throughput, with today's count beneath it.
- The Lead Time card shows its own average of backlog and active items, so both times can be checked against the cards.
v0.16.0Cycle Time and Lead Time
October 26, 2026- Cycle Time and Lead Time are now separate. Cycle Time runs from when work starts until it is done; Lead Time runs from when a request enters the backlog until it is done. What v0.15.25 called Lead Time is Cycle Time.
- Arrival Rate now counts new requests entering the backlog. The figure it showed before counted work starting, and is now Start Rate.
- The metrics panel warns when work starts or arrives much faster or slower than it finishes, because Cycle Time and Lead Time assume a steady flow.
- The sample project now shows a steady flow: new requests arrive as work finishes.
v0.15.25Lead Time follows Little's Law
October 26, 2026- Lead Time now follows Little's Law: the period's average work in progress divided by its throughput. It used the latest day's work in progress, so it jumped whenever work was pulled in.
- The metrics panel warns when a Done count goes down, because a CFD needs cumulative Done.
- A metrics period the selector does not offer, such as a custom date range in an imported project, is now named in the selector instead of showing "All data"; a malformed one is read as all data. Rates across a daylight-saving change no longer gain or lose an hour.
v0.15.24A security.txt file
October 25, 2026- SPERT® CFD now publishes 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® CFD’s GitHub repository. 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.15.23New Terms of Service and Privacy Policy
October 25, 2026- SPERT® CFD asks you to accept the new Terms of Service and Privacy Policy the next time you sign in. Both have new editions — version 1.4 of each, effective October 26, 2026 — published at the same spertsuite.com addresses the app already links to. If you are signed in, SPERT® CFD signs you out the next time you open it, so that you can accept them. The acceptance it had recorded was for the October 5, 2026 editions (`TOS_VERSION` was `'10-05-2026'`); it is now `'10-26-2026'`, so the record names the edition you actually accept.
- The new editions 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 on spertsuite.com.
v0.15.22Signing out resets Terms acceptance
October 25, 2026- Signing out now resets Terms acceptance on this browser. Each person who signs in is asked to accept the Terms. Before, after someone signed out, the next person to sign in on the same browser was treated as having already accepted, and was never shown the Terms. Nothing else about the app changes.
v0.15.21Security hardening
October 25, 2026- 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. Nothing else about the app changes.
- The release workflow declares least-privilege permissions. Its automation can only read the repository.
v0.15.20Signing out of cloud storage keeps your local projects
October 22, 2026- Signing out of Cloud Storage no longer deletes the projects you kept in this browser's local storage. They stay on this device, as they already did when you signed out in local mode.
v0.15.19A project you create in cloud storage opens straight away
October 22, 2026- In cloud storage, a project you have just created now opens straight away. Before, opening it showed "Open a project from the Projects tab" until you reloaded the page.
- If a new project cannot be saved, its card is removed and the project you had open before comes back. If you are on the Projects tab, it also tells you.
v0.15.18CSV import reads Excel's dates, says why a row was skipped, and has a real file button
October 11, 2026- Dates like 10/5/2026 now import. The CSV importer accepted only YYYY-MM-DD. A file exported from SPERT® CFD, opened in Excel and saved again comes back with its dates rewritten as M/D/YYYY in a US locale — and then imported nothing, every row skipped as an invalid date. M/D/YYYY is now accepted and stored as YYYY-MM-DD. The month comes first: 5/10/2026 is May 10. A date that cannot be month-first, such as 13/10/2026, is skipped rather than guessed.
- A skipped row now says why. The last step lists the date values it could not read, so a stray character — like the apostrophe in `10/13/2026'` — can be found and fixed, and it states the accepted formats. It also shows the range of dates about to be imported, so a month and day read the wrong way round stands out before anything is saved.
- No more "Import 0 rows". When no row has a usable date the dialog says nothing can be imported and offers no Import button. Before, it said "Ready to import" and offered to import zero rows.
- Choosing the file is obvious. The file picker showed as plain text — "Choose File No file chosen" — with nothing that looked clickable, because the app's base styles strip the browser's own button styling. It is now a Choose CSV file button in a drop zone that also takes a dragged-in file, and the expected layout and date formats are stated before you pick. A Back button returns to the previous step, so a corrected file can be chosen without closing the dialog.
- Fixed: some dates were stored in a form the app then refused to load. The old date check also passed values such as `20261005` and `2026-W40` and stored them exactly as written, but every snapshot date must be YYYY-MM-DD for a project to pass the check the app runs when loading it. The importer now stores only YYYY-MM-DD.
v0.15.17New Terms of Service and Privacy Policy
October 5, 2026- When you sign in, SPERT® CFD asks you to accept the new Terms of Service and Privacy Policy. Both have new editions — version 1.3 of each, effective October 5, 2026 — published at the same spertsuite.com addresses the app already links to. The acceptance it had recorded was for the April 5, 2026 editions (`TOS_VERSION` was `'04-05-2026'` and had never moved); it is now `'10-05-2026'`, so the record names the edition you actually accept.
- None of the changes alters what SPERT® CFD 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 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.15.16A note in the release checks said the licence is copied into nine projects. It is eight.
September 13, 2026- Nothing about the app changed. A comment in a release check only: no application code, no behaviour, no appearance, no data.
- What the note said. The licence file is copied byte-for-byte into every project in the suite, and each project carries a check that its own copy still matches. The note explaining that check said the licence lives in nine projects. It has been eight since August 21, 2026, when one project — private, instructor-only and distributed to nobody — withdrew the open-source grant and deleted its copy.
- What it says now. 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.
- 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.15.15The licence names the company that owns the SPERT® marks
September 13, 2026- Nothing about the app changed. Licence text only: no application code, no behaviour, no appearance, no data.
- The SPERT® Suite business transferred to a company. The spertsuite.com website, the hosting it runs on, and the SPERT®, Statistical PERT® and Estimation Made Easy® trademarks passed to famousdavis, LLC on September 12, 2026. The licence's trademark clause still named the previous owner while the newly published Terms of Service named the company, so two published legal documents disagreed about who owns the marks. The clause now names the company.
- ⚠️ 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 and the credit shown in the app. 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. It is still the GNU General Public License v3 with the same additional terms — the code is free to take, change and share, a modified version must still be released under a different name, and 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.15.14A release check that quietly stopped running
September 4, 2026- Nothing about the app changed. Release tooling only: no application code, no behaviour, no appearance, no data.
- A check was skipping itself. The release gate confirms that this project's internal notes file declares the same version number as everything else. That check skips when the notes file is not present, which is correct on the automated build server, where the file is deliberately excluded from the repository and genuinely absent.
- The same absence had a second, unrelated cause. When a release is prepared in a separate working copy, the tooling that creates that copy leaves excluded files behind. The check saw an absent file, assumed the build-server reason, and skipped — reporting a skip while the gate went green, so nothing looked wrong.
- The two reasons are now told apart. On the build server it skips as before. Otherwise it looks for the notes file in the main working copy and checks it there. If it still cannot be found, that is now a failure rather than a skip, because a check that cannot run should say so instead of passing quietly.
- Shared release script. Kept byte-identical across the suite; this project takes the corrected copy.
v0.15.13The two release scripts are byte-identical across the suite again
September 3, 2026- Nothing about the app changed. Release tooling only: no application code, no behaviour, no appearance, no data.
- Two forms were in circulation. The post-release check added in v0.15.12 went out to the nine projects in the suite in two slightly different shapes. Partway through that rollout one project's code-style tool objected to how a line in it was written, so the line was rewritten; the projects that had already received the file kept the first version.
- Why one line matters here. The two behave identically — the corrected one computes a value before using it rather than nesting one expression inside another. These scripts are deliberately the same file in every project, so that none can quietly drift onto its own version of the release rules, and two forms in circulation is exactly the drift that arrangement exists to prevent. Every project now carries the corrected one.
- 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.15.12The release step that only a written instruction held is now enforced by code
September 3, 2026- Nothing about the app changed. Release tooling only: no application code, no behaviour, no appearance, no data.
- The step that was not enforced. Releasing this app includes bringing the local copy of the project back into line with the copy on the server once a release has landed. Merging advances the server; it does not touch the local copy. If the local one is left behind, every report still reads as though the release arrived everywhere, and the next release is then built on the wrong starting point. That step existed only as a line in a written checklist.
- Why nothing had caught it. Two mechanisms that look like they should have covered it could not. The pre-release check runs before a release is merged, so the condition it would be checking does not exist yet. The automated build cannot check it either, because it is a fact about the machine doing the release rather than about the project, and a fresh automated copy has no view of anyone's working copy. The gap was invisible rather than merely unaddressed.
- Two checks, at the two moments. Before a release, the existing check now refuses to proceed if the local copy is behind the server, so a release is never cut on a stale starting point. Being ahead is normal and is not reported, since that is what the release itself is. After a release, a new command compares the local copy, the local record of the server, and the server's own answer, and reports which one disagrees — three sources rather than two, because the first two can be stale together and agree with each other while both are wrong.
- What the pre-release check deliberately does not do. It does not require a clean working copy, and must not start to. It runs partway through a release, after the version and release-notes edits are made 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 after-the-merge command, where it is correct.
- Why it compares fingerprints instead of reading a command's output. The step had once been reported as done elsewhere in the suite on the strength of a command's closing message, where the informative line had been trimmed away. The message that remained, that everything was already current, cannot distinguish a real check with nothing to do from no check at all. Both checks read the resulting state and compare fingerprints instead. Running a command is not the same as checking its effect.
- The release script stays identical across the suite. It is deliberately the same file in every SPERT® repo so that no one app can quietly drift onto its own rules; this repo now carries the same version as the others.
v0.15.11A note in the code explaining why this app stays quiet where a sibling app warns
August 25, 2026- Nothing about the app changed. No behaviour, no appearance, no data. This release adds explanatory comments only, and that was verified rather than assumed: with all comments stripped, the file is byte-for-byte identical before and after.
- The question it settles. SPERT® Forecaster carries a near-identical copy of the code that reads a project's last-updated time, and at the point it uses that code it writes a warning to the developer console when the stored value carries no usable time. This app does not. A future reader comparing the two would reasonably file that as an oversight in this one.
- It is not an oversight. Forecaster has no place on screen where that case shows up, so without the warning it is completely invisible there. This app does have one — the project row shows `Updated —` — so the case is already in front of the person who needs to know about it, and a console warning would be noise for something that is not hidden.
- Where the note went, and why it matters. The difference is not in the shared classifier — neither app's copy of that file logs anything — it is in the two callers. The note therefore sits at this app's caller, opposite where Forecaster warns, rather than in the shared file. Putting it in the shared file would have created a brand-new difference between two files that are deliberately kept alike, in order to explain a difference that lives somewhere else.
v0.15.10Project rows no longer fail to draw after someone is added to a project
August 24, 2026- What you would have seen. After someone was invited to a project, or accepted an invitation to one, that project's row in the project list could fail to draw. The project was fine and its data was intact; the list simply could not render the row.
- Why it happened. The row shows when the project was last updated, and it expects that to be a plain date written as text. The shared service that adds a person to a project was writing the time in a different form — an object rather than text — and the date formatter throws an error rather than shrugging when handed something it cannot read. Six different forms of that value crash it, and only two are safe.
- What changed. Every form the value can arrive in is now converted to plain text at the point the project is read from the cloud, before anything else touches it. Four of the forms carry a real time and are recovered, so the row shows the true date. The remaining two carry no time at all — an unfinished placeholder, or a missing value — and those now show `Updated —` rather than crashing.
- Two different blanks, deliberately kept apart. A project whose details have not finished loading still shows nothing at all, exactly as before. Only a project that genuinely has no recorded update time shows the dash. Merging the two would have been simpler and would have quietly claimed "no update time recorded" for every project that was merely still loading.
- Text that is not a date is treated as no date, not passed through. This is the one case that would have survived the fix: the stored value is declared to be text, so text that happens not to be a date is the only bad form the app's own type rules still allow. It is now checked rather than assumed.
- The new checks were run against the old code first and had to fail. Removing the conversion fails eight of the twelve; the four that still pass are the ones where doing nothing was already the right answer, which is what makes the other eight meaningful. Merging the two blanks fails exactly the one check written for it and none of the others — which is why that check exists.
v0.15.9Creating several projects at once no longer drops one from the saved order
August 24, 2026- What you would have seen. Creating several projects in quick succession — importing a batch, or accepting several shared projects at once — could leave one of them missing from the saved display order. The project itself was always there and always correct; only its place in your ordering was lost, and it fell to the end of the list instead. Reordering by hand put it back for good.
- Why it happened. Saving the display order worked in two steps: read the current order, then write the whole list back with the new project added. Two creates happening at the same time both read the same list before either had written, so each wrote back a list containing itself and not the other. Whichever landed second won, and the first project's place was gone. It has been a known limitation since v0.13.0 and was recorded in the code as one.
- What changed. Both adding to the order and removing from it are now single instructions sent to the database — "add this one" and "remove this one" — rather than a read followed by a rewrite of the whole list. The database applies each to whatever the order holds at the moment it arrives, so two creates at the same time now both land. There is no read to go stale.
- Dragging to reorder deliberately still rewrites the whole list, because that is what a reorder means: you are stating the complete sequence you want. That is recorded in the code alongside the reason, so the two are not confused later.
- Measured rather than reasoned about. The fault was reproduced against a real database before the change — two simultaneous creates, one id lost — and the same test after the change kept both. The mirror case of creating one project while deleting another was also run, and afterwards produces the right answer regardless of which lands first; before the change, one of the two operations was always lost, and which one varied from run to run.
- The new checks were run against the old code first and had to fail. Four of the five did, for the four reasons expected; the fifth covers the reorder behaviour that was intentionally left alone and passes on both sides. A check that passes before the fix is not checking the fix.
v0.15.8The mutation guard no longer passes the run it exists to catch
August 22, 2026- Development tooling only. No application code changed, and nothing about creating projects, recording snapshots, or reading the cumulative flow diagram is affected.
- The safety check on the mutation-testing run had a hole shaped like the thing it guards against. That check exists to refuse a run that produced no real results but reports a clean-looking one. It counted "no test reaches this code" as a real result. So a run in which every single change went untested — nothing checked, a score of zero per cent — was reported as "the run produced real verdicts". A tool certifying the exact failure it was written to catch.
- The fix is one line, and it separates two questions that had been sharing one sum. Whether a change was left untested is a real fact about the code, and it still counts towards the score exactly as before. Whether the test suite ever actually ran is a different question, and an untested change is silence rather than evidence. The check now asks only the second.
- The cause originally recorded for this was wrong, and that is worth more than the fix. The suite's own notes said the all-untested state came from one specific misconfiguration. Five attempts were made to produce that state on purpose, in two projects, including the one where the misconfiguration should bite hardest. None of them produced it: the tool either refuses to start when no test covers the changed code, or runs the whole suite and reports the changes as surviving instead. The note was describing behaviour the tools no longer have.
- So the new note describes the state being refused and names no cause for it. A note that explains a fault by pointing at one trigger stops being true when the trigger changes; a note that describes what is being refused does not. The hole was real regardless of how a run reaches it, and the fix is unaffected.
- What was verified, and what was not. Four hand-built cases were run through the real checking script, both before and after the change: the faulty case now fails and named its reason, the ordinary case with some untested code still passes, and two already-failing cases are unchanged. Every existing measurement in the projects that keep one still passes, with an identical score. Two of the four projects have a stored measurement containing untested code, which is the case the change had to leave alone; one has none and one has no stored measurement at all, so they are not evidence.
v0.15.7Mutation testing establishes a first quality baseline
August 22, 2026- The test suite is now itself under test. A mutation run makes 1,187 small deliberate changes to the app's core logic — flipping a comparison, dropping a guard — and checks whether any test notices. 604 were caught, 180 slipped through unnoticed, and the rest could not compile. Those 180 are recorded rather than fixed: each one marks a place where the code is exercised but not actually asserted, which is information a coverage percentage cannot express.
- It immediately found two real gaps on the same field. Nothing asserted that a work-in-progress count exactly equal to its limit is not a violation, and nothing used a limit of zero. Both are boundary cases in the WIP-limit warnings, both were invisible to a fully green test suite, and both are now written down.
- This is a measurement, not a gate. The run is deliberately not part of the release checks and cannot fail a build. The score is recorded but explicitly not a target — a single broad assertion can move it far more than ten genuine improvements, so optimising it would reward the wrong work.
- No behaviour changes. Nothing about creating projects, recording snapshots, or reading the cumulative flow diagram is affected.
v0.15.6A false claim removed from the shared release script
August 22, 2026- Development and release tooling only. No application code changed. Nothing about creating projects, recording snapshots, or reading the cumulative flow diagram is affected.
- The note at the top of the shared release-checking script was false, and had been from the day it was written. That script is deliberately the same file in all nine SPERT® Suite projects. Its opening note said there was no automated checking anywhere in the suite — that a green tick on a proposed change meant only that a preview copy had been built, and that nothing ran the tests. Automated checking has run on every one of the nine projects since the script existed, on every proposed change and on every merge, and what it runs is this very script. It gated all four of this project's releases this week.
- It did not go out of date — it was untrue at the moment it was written. The same set of edits that added the script also switched the automated checking on, so the file contradicted a change sitting beside it. That distinction decides the remedy, which is why it is recorded here: a statement that decays can be helped by writing down when it was made; a statement that was never true cannot. 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.
- The damage was quiet. The note told a reader that a green check means nothing, so anyone reading it would discount a real signal or repeat work already checked — a correct-looking pause resting on a false premise, producing no error and simply spending a round trip.
- Two explanations were added to the same file. The first records that automated checking and a check run by hand are complementary rather than ranked: the automated one works from a clean copy and catches anything that quietly depends on a file existing only on the author's 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.
- The second explains the accepted-issue-count trade this project adopted one release ago. The code-style step compares the number of reported issues against an agreed figure instead of reading pass or fail, and it does so for opposite reasons across the suite: where the step reports failure at the agreed figure, reading pass-or-fail would be too strict; where the findings are all advisories and the step reports success, reading pass-or-fail would be too lenient and would let new issues through unnoticed. The note also records that the figure counts every kind of issue rather than 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. Those three points were written into this project's own configuration in v0.15.5; they now live in the shared file, where every project can read them.
- A reference in this project stopped pointing at line numbers. The v0.15.5 note cited a line range inside the shared script. Adding lines to the top of that script moved it, one day after it was written. It now names the part of the script it means. A stale line number is worse than a missing one: it lands on real code, so a reader who follows it finds something plausible and concludes the reference was sound.
- No drift check is proposed as the remedy, and that is deliberate. The file was identical in all nine projects the entire time the claim was false, so a check comparing the copies to each other would have passed on every run and licensed the conclusion that the file was in order. A guard that measures agreement between copies cannot detect a fault all the copies share.
v0.15.5A complexity check now guards the codebase
August 22, 2026- The build now measures how hard each function is to change safely, and holds the line. A cognitive-complexity checker runs on every change. It found 10 functions above the threshold, and that number is now recorded as the accepted baseline — the build fails if it goes up, and equally if it goes down without the baseline being updated. That second half is the point: it catches a change that quietly relocates complexity rather than removing it.
- Nothing was rewritten to reach a number. The 10 findings are accepted, not a backlog. Complexity measures the cost of changing code, not the likelihood that it is wrong, so rewriting working code to satisfy a metric is a poor trade. The most complex function is the one that validates saved project data, which is exactly where careful handling belongs.
- No behaviour changes. Nothing about creating projects, recording snapshots, or reading the cumulative flow diagram is affected. This release adds a check, not a feature.
v0.15.4The changelog page renders bold text
August 22, 2026- Bold text on this page now looks bold. Every entry here is written with emphasis on its opening phrase, and until now that emphasis rendered as literal asterisk characters wrapped around the words instead. It affected 141 of 406 bullets, reaching back to the earliest entry that used the convention in January 2026 — so this page has been slightly harder to scan for its whole life, on every entry you can see below.
- Nothing else changed. No behaviour, no data, no dependency. The fix is confined to how this one page turns the project's changelog file into what you are reading.
v0.15.3Every known security advisory cleared
August 22, 2026- All 25 known security advisories affecting this app are now fixed. The audit went from 25 to 0. Most were in the framework and build tooling rather than in SPERT CFD's own code, and they are cleared outright rather than assessed as low-risk and left. The count is stated the honest way: eight packages were affected, which is the number the tooling reports by default, and those eight carried 25 distinct advisories between them.
- The web framework moved up a version. Next.js 16.2.9 to 16.3.0, which is what makes most of the rest possible — the older version pinned two of its own components below the versions that carry the fixes. The specific release was chosen deliberately over two newer ones: the newer releases fix bugs in features this app does not use, and had been public for barely a day, while this one has been in the wild for nearly three weeks.
- A dependency pin from June has been removed rather than raised. It was added to force a patched component into place, and it had quietly become the thing holding that component below its fix. With the framework upgraded, the pin is unnecessary and the app now resolves to a single up-to-date copy — a cleaner result than the pin was originally built to achieve.
- No behaviour changes. Nothing about creating projects, recording snapshots, or reading the cumulative flow diagram has changed. This release was verified against the running app as well as the test suite.
v0.15.2Coverage is measurable from a clean checkout
August 22, 2026- Test coverage can now be measured at all. The coverage provider was never declared as a dependency — it existed only as an optional extra of the test runner, so a fresh clone of the project installed everything except that, and asking for a coverage report returned a missing-dependency error instead. It is now declared and installs with everything else.
- The report counts every source file, not just the ones a test happens to load. By default the tool omits a file no test imports, rather than listing it at zero. Half the codebase — 41 of 82 files — was invisible that way, which made the headline percentage look considerably better than the real one. All 82 are now counted, and the honest figure is 40.89% of statements rather than 61.43%.
- Generated coverage output no longer affects the lint result. Running coverage writes a report directory into the project, and it carries some third-party JavaScript the linter was reading. It is now excluded, so the lint result no longer depends on whether coverage happened to have been run locally.
v0.15.1Microsoft sign-in now requires a work or school account
August 19, 2026- Personal Microsoft accounts are no longer accepted. outlook.com, hotmail.com and live.com addresses are refused at the sign-in screen, before any password is entered — Microsoft itself enforces this, not the app. The change was made for institutions evaluating the Suite, who reasonably expect "sign in with Microsoft" to mean an organisational account rather than any account at all.
- Nothing changes for personal use — sign in with Google instead. Google still accepts personal accounts, so anyone can still enable cloud sync. The cloud storage window and the Settings page now say so, rather than letting you choose Microsoft and discover the restriction from an error message.
- Internal: corrected documentation describing Firestore rules as deployed by pasting them into the Firebase Console. They now deploy automatically from the canonical repository, and a scheduled check reports any divergence.
v0.15.0The release gate sees the test files the build cannot
August 17, 2026- `npm run typecheck` — `tsc --noEmit`. There was no such command; `tsconfig.json` includes `**/*.ts`, so this covers the test files the build filters out.
- A `typecheck` step in the ship gate, between lint and test, matching the order the shared script has always documented and the position MyScrumBudget uses. It runs in CI on every pull request and push to `main` through the same `npm run shipgate` invocation, so local and CI cannot drift.
- The false note in `shipgate.config.json` was deleted, not softened. Its replacement states what the build does cover, what it does not, and names the command and the source file that establish it. Leaving it in place would have left the configuration contradicting itself — and it is exactly what would later justify removing the new step as redundant.
- The build step was renamed from `build (next build — typechecks)` to `build (next build)`. The suffix carried the same overclaim as the note.
v0.14.14The licence gains two conditions and sheds an overreach
August 2, 2026- The author's name may not be used to endorse or promote a product built from this software without permission. 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. The standard licence already permits a reseller to make such promises; this makes clear they are theirs to stand behind.
- The condition covering on-screen credit was rewritten. It used to require any modified version with a user interface to *display* a notice. The standard licence permits requiring that existing notices be *preserved*, not that new ones be created, and it says elsewhere in as many words that a modified work need not add such notices where the original had none. It now requires that where a modified version already shows legal notices, the original author's name is kept among them.
- A modified version may no longer misrepresent where this software came from, and the trademark condition now says plainly that 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. The registration recital is now date-stamped, since asserting live trademark registration as bare present fact acquires a shelf life.
v0.14.13The release gate learns about extra changelog copies
July 31, 2026- `scripts/shipgate.mjs` supports `changelog.extraSurfaces`. Two match modes: `identical` (byte-for-byte copy) and `firstVersion` (newest in-app entry equals `package.json`). Each failure path was verified by mutation before the change was accepted — a drifted copy, a missing entry, and a deleted file each fail the gate.
- No `extraSurfaces` entry here. The single-source design means there is nothing extra to check; do not add one.
v0.14.12The release checks read this project's own Node version
July 31, 2026- 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.14.11Ship gate, and a changelog that cannot silently lose entries
July 30, 2026- `npm run shipgate` — the release gate. Verifies that `package.json`, both version fields in `package-lock.json`, `APP_VERSION` and the newest `CHANGELOG.md` entry agree, checks `CLAUDE.md` for a stale version declaration, then runs lint, the tests and a production build. It reports every disagreement in one run rather than stopping at the first.
- Continuous integration (`.github/workflows/shipgate.yml`), running the same `npm run shipgate` on every pull request and push to `main`, so the local gate and the automated one cannot drift apart. It installs with `npm ci`, which refuses to run if the lockfile and `package.json` disagree.
- A guard that every changelog entry actually renders. It runs the page's own parser over the real `CHANGELOG.md` and asserts one rendered entry per `## ` heading. Proven against both silent-drop modes first: a heading missing its `(date)` parenthesis, and a valid heading whose content is all prose with no `- ` bullet.
- A guard that `LICENSE` matches the canonical suite licence — one SHA-256 of the licence body, normalised for the repository URL on line 4, the only line that legitimately differs across the nine repositories. This repository had the worst drift of the nine before v0.14.10, shipping 64 lines with none of the operative licence.
- A guard that every static asset linked from source exists in `public/`.
- `parseChangelog` moved out of the page and into `src/lib/parse-changelog.ts` so it can be tested directly. The page imports it; behaviour is unchanged.
v0.14.10Full GNU GPL v3 text and brand reservation
July 29, 2026- The GNU GPL v3 text was almost entirely absent. `LICENSE` was 64 lines: the first three paragraphs of the GPL preamble, then the line "For the complete license text, see <https://www.gnu.org/licenses/gpl-3.0.txt>", then the short "this program is free software" notice. The operative licence — all of Sections 0 through 17, including the conditions on conveying modified source, the patent grant and the warranty disclaimer — was not present in the file at all. GPL v3 Section 4 requires that you "give all recipients a copy of this License along with the Program", and a hyperlink is a weak substitute for that. The file is now the complete 726-line licence.
- The heading carried a retired brand name. Line 1 read "Statistical PERT® Software Suite" — the pre-v1.4 name — rather than "SPERT® Suite".
- The additional terms were an older, weaker wording. This repository still carried the original numbered `1.`/`2.` form of the attribution and UI-notice terms, predating the lettered `a)`/`b)` rewrite. The older wording omitted two things of substance: the prohibition on removing, obscuring or replacing the author attribution with another name, and the requirement that the user-interface notice appear in a visible and accessible location with a link to the original repository where feasible. Both are now present.
- The licence now reserves the SPERT® brand. It has always required that the original author attribution be preserved, but it said nothing at all about the brand, which left room to read the GPL's redistribute-and-modify freedom as carrying the name along with the code. That was never the intent. 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 licence 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.
- `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; this one and GanttApp were the two shipping a summary and a link in place of the licence.
v0.14.9Member names in the sharing modal
July 29, 2026- Member list rendered raw account IDs. SPERT® CFD had no member profile lookup at all — the sharing modal rendered `m.uid === user?.uid ? 'You' : m.uid`, so every other member appeared as a 28-character Firebase Auth UID. Unlike the rest of the SPERT® Suite there was no fallback to degrade from; the read side was simply missing, even though the write side (`writeUserProfile`, which dual-writes `spertcfd_profiles` and `spertsuite_profiles`) had existed all along. (fix)
- Added `useMemberProfiles`. A new hook in `src/lib/use-member-profiles.ts` resolves each member in two tiers: `spertcfd_profiles/{uid}` first, then `spertsuite_profiles/{uid}` only if the first misses. The suite mirror is what matters for anyone added through an emailed invitation — the cross-app Cloud Function resolves an invitee by their suite profile and then writes only `members.{uid}`, never seeding a per-app profile. So a member who has used another SPERT® app but never opened CFD has only the suite document. (fix)
- The current user resolves from the auth context with no Firestore read at all, and a member who has signed into CFD costs exactly one read. `firestore.rules` already permits `get` on both collections for any authenticated user, so no security-rules change and no data backfill were required — members added before this release render correctly on next load. (fix)
- Guarded by five new cases in `src/lib/__tests__/use-member-profiles.test.ts`, covering both tiers, the no-profile case, the current-user short-circuit, and a mixed member list. Suite-wide defect rather than a CFD quirk — first found in SPERT Story Map v0.49.3. (test)
v0.14.8Repository maintenance
July 26, 2026- 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. (chore)
- Resynchronised the version surfaces: `package-lock.json` had been left at 0.14.6 while `package.json` read 0.14.7. Both now read 0.14.8. (chore)
v0.14.7Node 24 LTS
June 26, 2026- Runtime: Node.js 22.x→24.x. `.nvmrc` 22→24, `engines.node` 22.x→24.x, Vercel project setting 22.x→24.x. (toolchain)
- Dependency: @types/node 22.19.17→24.13.2 (matches runtime major; dev-only type definitions, no shipped-bundle change). (deps)
v0.14.6jsdom 29
June 23, 2026- Dependency: jsdom 28.1.0→29.0.2 (major; SoakEligible, 76d; test-environment only — no runtime change). (deps)
v0.14.5React 19.2.5
June 23, 2026- Dependency: react 19.2.4→19.2.5 (SoakEligible, 75d). (deps)
- Dependency: react-dom 19.2.4→19.2.5 (peer of react; moved atomically). (deps)
v0.14.4nanoid + lucide-react
June 23, 2026- Dependency: nanoid 5.1.7→5.1.9 (SoakEligible, 68d). (deps)
- Dependency: lucide-react 0.577.0→1.9.0 (major; SoakEligible, 60d; CFD's 12 icons are all non-brand — unaffected by 1.x brand-icon removal). (deps)
v0.14.3TypeScript 6.0
June 23, 2026- Dependency: TypeScript 5.9.3→6.0.3 (major; SoakEligible, 67d). Type-check only — SWC produces the shipped bundle, so no runtime change. (deps)
v0.14.2Tailwind CSS currency
June 23, 2026- Dependency: tailwindcss 4.2.2→4.2.4 (SoakEligible, 63d). (deps)
- Dependency: @tailwindcss/postcss 4.2.2→4.2.4 (coupled to tailwindcss; exact-pins it). (deps)
v0.14.1Security: dependency regen
June 23, 2026- Security: next 16.1.6→16.2.9 (high-severity advisory cluster, fix floor 16.2.6; 18 advisories cleared). (security)
- Security: postcss 8.5.8→8.5.15 with `next→postcss` override clearing next-bundled 8.4.31 (CVE GHSA-qx2v-qp2m-jg93, moderate). (security)
- Security: protobufjs CVSS 9.8 cluster cleared via regen (protobufjs, @grpc/grpc-js high, @protobufjs/utf8 moderate — all via firebase/Firestore subtree). (security)
- Security: undici, vite, js-yaml, @babel/core, flatted, picomatch, brace-expansion cleared via regen to patched ceilings. (security)
- Dependency: firebase 12.11.0→12.12.1 (SoakEligible, 63d). (deps)
- Dependency: eslint-config-next 16.1.6→16.2.9 (coupled to next). (deps)
- Dependency: vitest 4.1.2→4.1.5 (SoakEligible, 63d; folded into regen to align with floated vite). (deps)
v0.14.0Cloud storage remediation
May 25, 2026- Security: Externally-revoked Firebase sessions now run full sign-out cleanup before clearing user state, cancelling pending Firestore writes before they fire against a revoked token. (E1)
- Data integrity: Signing out while in local storage mode no longer deletes local projects. The localStorage clear is now conditional on having been in cloud mode at sign-out time. (F3)
- Data integrity: Grid cell count inputs and the WIP limit input now buffer keystrokes locally and commit to storage only on blur, Enter, or tab navigation, preventing server-ack snapshots from resetting in-progress edits in cloud mode. (A3)
- Cloud sharing: When a collaborator's access is revoked, the active project is removed from view and the Firestore subscription is unsubscribed to stop repeated permission-denied errors. (I2)
- Data integrity: Workflow, snapshot, and settings saves now catch Firestore write failures and route them to the browser console rather than producing unhandled promise rejections. (L1)
- Cloud saves: `saveProject` now uses `mergeFields` instead of `merge: true`, ensuring that switching the metrics period kind does not leave stale fields on the Firestore document. (C1)
- Cloud saves: Both `beforeunload` and `pagehide` events now trigger a flush of pending writes, covering iOS Safari and back-button (bfcache) navigations. (D2)
- Performance: Cloud save debounce window reduced from 500ms to 200ms. (D1)
- Code quality: `schemaVersion` in `createProject` is now the `SCHEMA_VERSION` named constant rather than an inline string literal. (K2)
- Code quality: Unused `DEBOUNCE_LOCAL_MS` constant removed; local saves are synchronous and require no debounce.
v0.13.1Import hardening
May 24, 2026- Import: Import file-picker button and preview Confirm button are now disabled while
- Import: 'Importing…' button state now reliably renders before write operations begin
- Import: After a cloud-load failure (e.g., no connectivity), the Import button
- Import: Local-mode 'replace' now preserves `createdAt` and `_originRef` from the
- Import: Pressing Escape while an import write is in progress is now a no-op.
- Import: FileReader exception on `readAsText` is now caught and displayed as an error
- Import preview: heading receives programmatic focus on mount for screen reader
- Import preview: Confirm button carries `aria-busy` during import.
- Import preview: "Project list is updating" status uses a stable live region that
- Added `src/hooks/__tests__/use-import-state.test.ts`: eight behavioral tests for the
- Local-mode 'replace' does not preserve `_changeLog`. Fix planned for v0.14.0.
- Import does not emit an 'imported' `_changeLog` entry; emits 'created' instead.
- After enabling cloud sync, give the dashboard a moment to load your existing projects
- If loading your cloud projects fails, the Import button remains disabled. It auto-enables
v0.13.0Level 4 import capability
May 18, 2026- Robust multi-project import with conflict detection and preview — Import accepts both single-project files (JSON object) and multi-project workspace files (the JSON array produced by Export All and the Settings multi-select export). The preview lists every incoming project, flags ID and name conflicts against the current workspace, and offers Skip / Add as Copy / Replace per conflict. Non-conflicting projects always add. All conflicts default to Skip — never Replace.
- Replace confirmation gate — Any import with at least one Replace decision requires a secondary confirmation dialog. Cancelling returns to the preview with decisions intact (the pending-preview ref is not cleared on dismiss).
- Two-layer stale-data guard — Layer 1 re-detects conflicts at confirm-time against the current project list and aborts with a "list changed" error banner if they drifted while the user was reviewing. Layer 2 runs inside the React functional updater so concurrent peer deletes between Layer 1 and the render are respected (the replace target vanishes silently from the UI; the driver write still fires).
- Add-write confirmation with rollback — `createProject` writes are awaited via `Promise.allSettled`; failures are rolled back from React state via a functional `setProjects` and reported in the banner's `addFailedCount` suffix. Sync throws from `localStorage.setItem` (quota exceeded in local mode) are coerced into rejections via a `Promise.resolve().then(...)` wrap so they cannot bypass `allSettled` and escape with optimistic state still applied.
- Single-project auto-switch — Importing a single project (including the "Add as Copy" case where a name conflict produced a renamed copy) switches the active project to the import. Multi-project imports and skip/replace-only outcomes do not change the active project. The switch happens AFTER `await Promise.allSettled` so a failed create never leaves an orphaned `activeProjectId`, and in cloud mode the Firestore document has committed before `ActiveProjectContext` reloads.
- Migration-aware import — Files from older app versions are routed through `migrateProject` before validation. (Plumbing only — `PROJECT_MIGRATIONS` is empty in v0.13.0; activates automatically when a future migration is added.)
- New files — `src/lib/import-utils.ts` (pure-function module: classification, conflict detection, decision application, rollback planning, banner formatting); `src/hooks/use-import-state.ts` (state machine hook: idle → preview → replace-confirm? → banner | error); `src/components/import-preview-section.tsx` (accessible preview UI with radiogroup-per-conflict and labelled badges).
- Increased import file size cap — `MAX_IMPORT_FILE_SIZE` raised from 1 MB to 5 MB. Sizing: 30 projects × 365 snapshots × ~150 bytes/snapshot ≈ 1.6 MB; 5 MB provides 3× headroom for multi-project workspace exports.
- `ProjectListContextValue.applyImportMerge` replaces `importProjectFromJson` — The new function takes `{incoming, decisions, originalConflicts}` and returns an `ImportMergeOutcome` discriminated on `ok`. The old single-project primitive is removed; no callers remained outside `project-list-context.tsx` itself after Phase 6.
- `ProjectListContextValue.projectUpdateKey` — Bumped by `applyImportMerge` after a local-mode replace of the active project, signalling `ActiveProjectContext` to reload from storage. Cloud-mode replaces flow through the existing `onProjectChange` listener; incrementing the key there would race the 500 ms `saveProject` debounce.
- `importProjectFromJson` from `ProjectListContext` — Replaced by `applyImportMerge`. Previously silently appended duplicate-named projects on re-import and could not handle multi-project workspace export files. Grep-verified no callers remained outside the context file before removal.
- The file picker uses `.json` extension as the PRIMARY and REQUIRED guard. The MIME check (`file.type === 'application/json'`) is SECONDARY and intentionally permissive: Safari often reports `''`, some Linux Firefox installs report `'text/plain'`, and Windows Edge reports the canonical type. The MIME check only rejects obvious mismatches (e.g., a renamed binary tagged `'application/octet-stream'`). Inlined comment in `use-import-state.ts` documents this so it doesn't regress to MIME-required.
- Concurrent-add gap — React's `setState` does not expose a compare-and-set primitive, so a peer adding a same-named project between preview-open and Confirm-click is handled by Layer 1 only (not Layer 2). The window is milliseconds; accepted for this release. Switching this slice from Context to Zustand would close the gap.
- `projectOrder` race — Parallel `createProject` calls for multi-project imports race on `spertcfd_settings/{uid}.projectOrder` in cloud mode. Display order may reflect only the last-completing add; data is correct. Pre-existing driver bug newly exposed by multi-project import. Re-drag to reorder. Deferred to follow-up.
- Replace writes are best-effort — `driver.saveProject` is debounced 500 ms in cloud mode and fire-and-forget here; the banner's `replaced` count is optimistic. Firestore's `onSnapshot` reconciles cloud truth on commit.
- Cloud-replace stale-data window — Replacing the currently-active project in cloud mode briefly shows the pre-replace view (~500 ms + round-trip) until the Firestore snapshot listener delivers fresh data. The banner is accurate; the view catches up shortly after. `shouldIncrementProjectKey` deliberately returns false in cloud mode to avoid racing the debounce. Corrected in v0.17.7: the view never caught up, because the listener never hears this device's own save, and the next edit wrote the pre-import data back over the import.
- `_changeLog` provenance — Cloud adds appear as `'created'` (set by `driver.createProject`); cloud replaces preserve existing entries (`merge:true` + `buildSavePayload` exclusion); local adds have no `_changeLog` entry (storage.ts does not set one); local replaces silently wipe the existing `_changeLog` (`saveProject` writes the full object, overwriting localStorage with an undefined field that JSON.stringify omits). A dedicated `'imported'` action and local-replace preservation require driver changes; deferred to follow-up.
- Concurrent delete during preview review — If a peer deletes the replace target while the user is reviewing, Layer 2 drops the replace from the UI silently. In cloud mode the upsert from `saveProject` would still fire and create a malformed document (no owner/members); the rules-layer field allowlist (v0.12.2 M-2) rejects this, so the write fails cleanly. Accepted edge case.
- 381 passing across 23 test files (295 + 86 new in `import-utils.test.ts`). New describe blocks: `normalizeProjectName` (2), `classifyImportData` (12, including the HR6-1 missing-id generation case), `detectImportConflicts` (8), `conflictsEqual` (6), `applyImportDecisions` (14), `buildNewProjectList` (7), `computeImportMerge` (6 — case #5 deep-equality against an independent `applyImportDecisions` invocation, per the strengthened test), `computeWriteRollback` (5), `buildBannerText` (13 — including the HR6-3 partial-failure-with-replaces case), `processImportData` (5), `shouldAutoSwitch` (4), `shouldIncrementProjectKey` (4).
- `npx tsc --noEmit` — 0 errors
- `npm test` — 381/381 across 23 files
- `npm run lint` — 0 errors / 0 warnings
- `npm run build` — succeeds
v0.12.2Security audit closure
May 9, 2026- M-3 — `Export All` no longer leaks cloud metadata — `src/components/projects-tab.tsx` `handleExportAll` previously serialized cloud-mode projects via raw `JSON.stringify(allProjects, null, 2)`, leaking `owner` (UID), `members` (UID→role map), `schemaVersion`, `_originRef`, and `_changeLog` (each entry's `actor` UID) into the downloaded JSON file. Anyone receiving the file — tech-support thread, archive recipient, accidental email forward — saw every collaborator's Firebase UID. Each project now routes through `driver.exportProject(p)` (which strips the cloud-only fields) before being combined into the array. Matches the per-project Export button on the project tile and the multi-select Export Projects in Settings, both of which were already correct. Open since v0.10.0 (flagged at the time as out-of-scope follow-up); finally closed.
- L-6 — legacy `handleAddMemberLegacy` path deleted — `src/components/sharing-modal.tsx` carried a flag-off single-email add path with an unbounded `getDocs(query(collection, where('email','==',...)))` scan against `spertcfd_profiles`, plus a direct `setDoc` member-map merge that bypassed the bulk-invite Cloud Function's rate-limiting and notification throttling. Dead under `INVITATIONS_ENABLED=true` since v0.9.0 but a latent surface for L-1 (no `limit(1)`) and L-5 (role-cast laxity). Removed entirely: handler function, `email` state, `success` state (only set by the legacy handler), `isLoading` state (no longer read after the legacy form's removal), and the `INVITATIONS_ENABLED ? <InvitationSection /> : <legacy>` ternary collapsed to a single `INVITATIONS_ENABLED && <InvitationSection />` gate. Imports `collection`, `query`, `where`, `getDocs`, `PROFILES_COL`, `appendChangeLogEntry`, and the `ChangeLogEntry` type are gone with it. Bulk-invite via `callSendInvitationEmail` is now CFD's only add path; the CF handles existing-user auto-add via members-map merge so the legacy path's user-facing capability is preserved.
- L-3 — resend-cap server-side enforcement documented in `InvitationSection` — Added a SECURITY MODEL block comment above `InvitationSection`'s function declaration explaining that the 5/invitation cap is enforced server-side via `allow write: if false` on `spertsuite_invitations` (architectural backstop) plus the `resendInvite` Cloud Function (which rejects with `resource-exhausted` when `emailSendCount >= 5`). The per-row "Working…" disable on `handleResend` and the `(N/5)` display in `PendingInvitesList` are UX surfaces, not security controls. Without the comment, a future maintainer reading just the React code might assume the cap is client-enforced and weaken it. Cross-references the matching block in `firestore.rules`.
- M-1 — `spertcfd_profiles` bulk-enumeration gap closed — `allow read: if isAuth()` was permitting any authenticated SPERT-suite user (shared auth tenant) to call `getDocs(collection(db, 'spertcfd_profiles'))` and enumerate every CFD user's email/displayName/photoURL/updatedAt. Replaced with auth-only `get` + `limit(1)`-constrained `list`, matching the canonical pattern on `spertsuite_profiles`, `spertahp_profiles`, `spertstorymap_profiles`, `ganttapp_profiles`, and `spertscheduler_profiles`. The companion app-side L-6 deletion above removes the only client path that ever did a profile-collection scan; the active bulk-invite path goes through `callSendInvitationEmail` (Cloud Function) and never reads `spertcfd_profiles` directly.
- M-2 — `spertcfd_projects` field allowlist — Added `spertCfdProjectFields()` helper enumerating the 12 keys the driver ever writes (createProject + buildSavePayload + removeCollaborator transaction + handleChangeRole). Applied `keys().hasOnly()` on create and `affectedKeys().hasOnly()` on update so legacy docs with stale unknown fields stay editable while new unknown keys are rejected. Matches the v0.22.2 GanttApp / v0.42.6 Scheduler pattern.
- L-2 — `spertcfd_settings` field allowlist — `keys().hasOnly(['projectOrder'])` on write. Today the doc only stores `projectOrder` (per `firestore-driver.ts` `loadProjectOrder` / `createProject` / `deleteProject` / `reorderProjects`); the allowlist must be updated in lock-step if CFD ever adds more per-user settings.
- L-4 — `onProjectListChange` ordering race has no security impact — assessed during the audit. The `membershipQuery()` runs server-side scoped to the calling auth context, and the order doc is read from `spertcfd_settings/{this-uid}`; both halves of any interleave touch this-user's data only. Worst case: stale order applied to current list (UX/correctness, not security). Existing TODO comment at `firestore-driver.ts:362` remains the tracking surface; re-evaluate if burst-write traffic patterns change.
- L-5 — role assertion is type-cast not runtime-validated — server-side defense holds (Firestore rules + CF input typing). Retired in practice with the L-6 legacy-path deletion (the legacy member-row select path was the primary L-5 surface). The bulk-invite role select still uses `as 'editor' | 'viewer'`; runtime guard not added in v0.12.2 because the CF runtime-validates role anyway.
- 295 passing across 22 test files (unchanged from v0.12.1). No new tests required — M-3 is a 1-line behavior swap covered by manual verification, L-6 deletes dead code, L-3 is a comment.
- `npx tsc --noEmit` — 0 errors
- `npm test` — 295/295
- `npm run lint` — 0 errors / 0 warnings
- `npm run build` — succeeds
- Manual: with cloud-mode active project, `Export All` produces a JSON file whose entries have no `owner` / `members` / `schemaVersion` / `_originRef` / `_changeLog` fields; `SharingModal` shows the bulk-invite UI for owners (no legacy single-email form); pending-invite resend respects the 5-cap.
v0.12.1Refactor & test-infra hygiene
May 9, 2026- `InvitationSection` extracted from `SharingModal` — `src/components/sharing-modal.tsx` was 624 LOC carrying three orthogonal responsibilities: project load + member list + role/remove controls (parent-owned), the legacy single-email add path (parent-owned), and the bulk-invite flow with its pending-invites list and revoke confirm dialog (now its own sub-component). Same-file declaration pattern matches Story Map v0.29.1 and GanttApp v0.22.1 — the sub-component lives below its parent so the file's concept surface stays contiguous while the bulk-invite state slice is fully isolated. Moved into `InvitationSection`: `bulkEmails`, `role`, `sending` (renamed locally from `isLoading` to avoid collision), `lastResult`, `pendingInvites`, `actionBusy`, `revokeTokenId`, plus the `refreshPending` callback + its triggering `useEffect`, `handleBulkSend` / `handleResend` / `handleRevoke`, the result-summary renderer, and the revoke `ConfirmDialog`. Invitation-flow errors now surface inside `InvitationSection`; the parent's `error`/`success` slot continues to serve the legacy add path, member removal, and role change. Parent re-renders authoritative project state via `onMembersUpdate` after each successful bulk send (Lesson 64 `Promise.allSettled` semantics preserved). The `INVITATIONS_ENABLED === false` legacy form, the member-list rendering, and the remove-member `ConfirmDialog` remain in the parent. Render-site swap is local: `{ownerStatus === 'owner' && (INVITATIONS_ENABLED ? <InvitationSection … /> : <legacy JSX />)}`. Behavior is identical end-to-end; the extraction is structural.
- `tsc --noEmit` clean again — five test-file errors cleared — Vitest 4.x's tightened mock signature inference and the v0.11.0/v0.12.0 `StorageDriver` interface extensions left scaffolding stale. (1) `src/lib/__tests__/cloud-migration.test.ts:46` — `createMockDriver` returned a partial `StorageDriver` missing `removeCollaborator`, `listPendingInvites`, `revokeInvite`, `resendInvite` (TS2739); added no-op async stubs. (2) `src/lib/__tests__/cloud-migration.test.ts:15`, `firestore-driver.test.ts:21`, `firestore-driver.test.ts:22` — `(...args: unknown[]) => mockDoc(...args)` failed TS2556 because `unknown[]` is not assignable to a fixed-arity tuple parameter list; the wrapper signatures now use `Parameters<typeof mockX>` so the spread is a tuple. Direct-pass (`doc: mockDoc`) was attempted first and rejected — vitest hoists `vi.mock` above the `const` declarations, so mock identifiers must remain inside an arrow body to defer access past TDZ. (3) `src/lib/__tests__/download.test.ts:47` — `Mock<Procedure | Constructable>` not assignable to `() => void`; the spy is now declared with an explicit signature `vi.fn<() => void>()`. No production-code changes in this bucket.
- `onProjectListChange` async-snapshot ordering race — `src/lib/firestore-driver.ts:362` registers an `async` snapshot callback that `await`s `loadProjectOrder()` mid-flight; rapid back-to-back snapshots (burst writes from accept-invite or bulk-share) can interleave such that a later snapshot resolves before the earlier one's order, applying stale ordering. A `TODO` comment now documents the failure mode and the two likely fixes (sequence-token guard, or order caching with explicit-reorder invalidation). Flagged for investigation before the next security audit; intentionally NOT patched speculatively in v0.12.1.
- ESLint `@typescript-eslint/no-unused-vars` aligned with codebase conventions — `eslint.config.mjs` now passes `argsIgnorePattern: '^_'`, `varsIgnorePattern: '^_'`, and `ignoreRestSiblings: true` to the rule. The `_`-prefix idiom (already used for stub method params in `local-storage-driver.ts` and the new reserved props on `InvitationSection`) and the destructure-to-strip-with-rest pattern in `firestore-driver.ts` `exportProject` (peeling `owner`, `members`, `schemaVersion`, `_originRef`, `_changeLog` off so `...data` is exportable) are now first-class. Cleared 12 of 13 baseline warnings.
- `useMemo` invalidation-trigger silenced — `src/components/project-dashboard.tsx:24` `useMemo(() => getStorageUsage(), [project?.updatedAt])` uses `updatedAt` as a recompute signal (a project save is what mutates the localStorage size that `getStorageUsage` reads) rather than a referenced input. Added `eslint-disable-next-line react-hooks/exhaustive-deps` with an explanatory comment. Cleared the 13th and last baseline warning.
- Net: `npm run lint` is now 0 errors / 0 warnings.
- `package.json` and `src/lib/constants.ts` `APP_VERSION` bumped to `0.12.1`.
- 295 passing across 22 test files (unchanged from v0.12.0). No new tests required — the extraction is structural-only, and the test-infra fixes restore existing coverage rather than add new assertions.
- `firestore-driver.ts` (549 LOC) helper extraction to a `firestore-mappers.ts` sibling — cosmetic only; the factory pattern fights real decomposition and no genuine seam exists.
- All dependency upgrades — every available bump (firebase 12.13.0, next 16.2.6, react 19.2.6, vitest 4.1.5, lucide-react 1.14.0, tailwindcss 4.3.0, typescript 6.0.3, eslint 10.3.0, jsdom 29.1.1, etc.) was released within the past 60 days and/or is a major-version cross requiring explicit per-dependency owner approval.
v0.12.0Bulk-sharing residual gaps
May 9, 2026- `spert:models-changed` handler now requires `SESSION_KEY` before flipping the banner to `claimed` — `src/hooks/use-invitation-landing.ts` previously dispatched the claimed-banner UI on every `models-changed` event with a non-empty payload. A user signing in normally (no `?invite=` in this browser session) but with claimable pending invitations would see the banner appear unexpectedly. The handler is now extracted to a pure exported `handleModelsChanged(evt, deps)` whose first check is `sessionStorage.getItem(SESSION_KEY)` — no token in this session, no banner. Pending projects still appear in the list either way (via the `ProductList` listener path); the banner UX is reserved for users who arrived through an invite link. Five new tests in `src/hooks/__tests__/use-invitation-landing.test.ts` cover the gate, the success path, empty-payload short-circuit, empty-modelName filtering, and the `removeItem` throw being non-fatal. Establishes `src/hooks/__tests__/` as the hook-test directory paralleling `src/lib/__tests__/`. (Lesson 27)
- `SharingModal` ownership state replaced with four-state `OwnerStatus` enum — `src/components/sharing-modal.tsx` previously derived `isOwner = !!user && project?.owner === user.uid` synchronously from the loaded project, and the `loadProject` `.catch` swallowed errors silently. An offline / transient-network state stranded the modal on "Loading…" forever with only a console message. New `OwnerStatus = 'loading' | 'owner' | 'not-owner' | 'error'` derives from `project` + a new `loadError` boolean; the `.catch` now sets `loadError`, and the `'error'` arm renders a visible "Couldn't load sharing details. Refresh the page to try again." Four `isOwner` read sites (non-owner notice, member-row editor controls, add-UI gate, pending-invites gate) converted to `ownerStatus === 'owner'` / `'not-owner'`. The existing per-operation `error` string state is preserved as a separate surface for send/resend/revoke/remove failures — load-time vs operation-time errors do not share a state slot. (Lesson 60)
- Post-send refresh uses `Promise.allSettled` and authoritatively re-fetches the project — `src/components/sharing-modal.tsx` `handleAddInvitations` previously awaited `refreshPending()` only and relied on the cloud `onProjectChange` subscription to push the updated member list. Subscription latency could leave the result chips ahead of the member list, and a partial subscription failure would leave both stale. Now: `Promise.allSettled([driver.loadProject(project.id), refreshPending()])` runs both in parallel, applies the project result if fulfilled, and logs warnings on individual rejections so a pending-list failure does not discard a fulfilled member fetch. The subscription continues running for subsequent remote changes. (Lesson 64)
- 295 passing across 22 test files (was 290 across 21 at v0.11.0). New: `handleModelsChanged` (5 cases — see above).
v0.11.0Bulk-sharing retrograde audit remediation
May 8, 2026- `claimPendingInvitations` no longer fires for unverified Microsoft personal accounts — `src/contexts/auth-context.tsx` now passes `firebaseUser` through to `claimPendingInvitationsAndNotify` and short-circuits on `!emailVerified`. Previously, every `onAuthStateChanged` resolution for an `@outlook.com`/`@hotmail.com`/`@live.com` user with `emailVerified === false` triggered a `failed-precondition` Cloud Function rejection that was logged silently. (Lesson 26)
- CSP `connect-src` whitelist added — `next.config.ts` now declares `connect-src 'self' https://*.cloudfunctions.net https://*.run.app https://*.googleapis.com https://*.firebaseio.com wss://*.firebaseio.com`. Both Cloud Functions Gen 1 (`*.cloudfunctions.net`) and Gen 2 (`*.run.app`) endpoints are required since Gen 2 routes transparently through Cloud Run. The previous CSP had no `connect-src` directive at all; CF calls worked only because `default-src` was also unset. The moment a `default-src` is added, all four invitation CFs would fail silently in production. (Lesson 24)
- `removeCollaborator` wrapped in `runTransaction` with three semantic guards — `src/lib/firestore-driver.ts` was a bare `updateDoc(deleteField())` call, field-write atomic but with zero protection for semantic invariants. Now: (1) pre-tx fast-fail if caller tries to remove themselves ("Cannot remove yourself from a project."), (2) in-tx caller-must-be-owner check ("Only the project owner can remove members."), (3) in-tx owner-not-target check ("Cannot remove the project owner."). Errors are plain `Error` objects; `SharingModal`'s catch surfaces `err.message` directly without routing through `mapInvitationError` (which is reserved for Cloud Function `FirebaseError` codes). (Lesson 50)
- Cloud-mode auto-flip on invite-link click now gated on `localProjectCount === 0` — `src/hooks/use-invitation-landing.ts` previously called `switchMode('cloud')` unconditionally when `?invite=` was detected. A user with local projects who clicked an invite link would land in cloud mode after sign-in with an apparently-empty project list (the local data was intact in localStorage, but the UX read as data loss). The hook now takes a `localProjectCount` parameter; `InvitationBanner` reads `useProjectList().projects.length` and passes it in. (Lessons 7, 28, 53)
- `parseBulkEmails` partitions input into `{valid, invalid}` — `src/lib/parse-bulk-emails.ts` was a pure normalizer returning `string[]`; malformed entries (missing `@`, missing TLD) were silently dropped before reaching the Cloud Function. The user got no feedback that "broken" or "alice.example" had been swallowed. The parser now applies the same `EMAIL_RE` the server uses; `SharingModal` merges invalid tokens into the result's `failed[]` array with `reason: 'invalid-format'` so they render as red chips alongside CF-side rejections. (Lesson 42)
- Textarea retained on all-invalid batch — Coupled to the parser change: if `valid.length === 0` after parsing, the CF is not called and the textarea content is preserved so the user can correct typos in place without re-pasting the whole list. Successful CF calls (mixed batches) still clear the textarea per existing behavior. (Lesson 43)
- 30-second grace timer auto-dismisses stranded `pre_auth` banner — `src/hooks/use-invitation-landing.ts` had no timeout; an invitee landing on the page with `?invite=` and walking away without signing in would see the banner sit forever, and reloading would replay it from sessionStorage with no escape short of clearing site data. New Effect 4 fires after 30s in `pre_auth` state, consumes `SESSION_KEY` *before* `setState({ kind: 'idle' })` (Lesson 59 — without this ordering, a fast reload after the timer would replay the banner). Matches the Forecaster design (no `failed` state). (Lesson 59)
- InvitationBanner restyled as centered card, not full-width strip — `src/components/invitation-banner.tsx` was `max-w-7xl` (~1280px) with the dismiss button as a flex sibling. The banner is a primary CTA for an invitee who has just clicked an email link, not a passive status notification. Now: `max-w-lg mx-auto` (32rem ~512px), `relative` outer for absolute-positioned dismiss `top-2 right-2`, `pr-6` on inner content so longer copy doesn't run under the ×. Both `pre_auth` and `claimed` paths inherit the new layout. (Lesson 56)
- `ProjectListItem.owner` re-attached at all list-level reload sites — `src/lib/firestore-driver.ts` `loadProjectList` and `onProjectListChange` previously stripped the top-level `owner` field even though they were reading the same Firestore document that already carried it. Downstream consumers had to load the full project (N+1 reads) to compute `isOwner`. Now both list-level paths re-attach `data.owner`; `ProjectListItem` type gains `owner?: string` (optional because local mode has no ownership). The per-project `onProjectChange` listener was already correct via `mapDocToProject`. (Lessons 38, 49)
- `.claude/` added to `.gitignore` — Worktree directories under `.claude/worktrees/*` and Claude Code session-local files would otherwise show up as untracked.
- Centralized Cloud Function wrappers in `src/lib/callables.ts` — Replaces the four lazy `getXxx()` factories that returned `null` and required per-call-site null checks (`if (!callable) return;`). The new `requireFunctions()` guard throws an actionable `'Firebase Functions not initialized.'` error string instead of the SDK's opaque `TypeError: Cannot read properties of null`. Named wrappers (`callSendInvitationEmail`, `callClaimPendingInvitations`, `callRevokeInvite`, `callResendInvite`) unwrap the `r.data` envelope so call sites work with a clean `Promise<Result>`. Per the Q2 design decision, `callClaimPendingInvitations()` stays argless — the `emailVerified` short-circuit lives in AuthContext as the single source of truth. (Lesson 61)
- Extracted `captureInviteTokenFromUrl()` to `src/lib/invite-capture.ts` — Token-capture logic was inline in `useInvitationLanding`'s first effect, tangled with React state transitions and `router.replace` side effects. The pure module function reads `window.location.search` (not `useSearchParams`), writes to `sessionStorage`, and returns the token — testable without mounting the React tree. Per the spec, URL stripping stays in the hook because `router.replace` requires the App Router context. `SESSION_KEY` and `QUERY_PARAM` constants moved to the new module as the single source of truth. (Lesson 58)
- Extracted `writeUserProfile()` to `src/lib/profile-writes.ts` — Out of AuthProvider's private module scope into a dedicated module. Both writes (`spertcfd_profiles` + suite-wide `spertsuite_profiles`) preserved exactly; the function is now testable in isolation. Single-commit extraction per the Q decision (CFD has exactly one caller, so bisect-safety doesn't require Lesson 57's two-commit split). (Lesson 62)
- 290 passing across 21 test files (was 268 across 19 at v0.10.2). New: `parseBulkEmails` (15 cases — partition behavior, mixed batches, missing-TLD/missing-@ rejection, cross-partition dedupe), `captureInviteTokenFromUrl` (7 cases — happy path, sessionStorage fallback, URL-token-wins-over-storage, no-token, flag-off short-circuit, idempotency, no-URL-mutation), `writeUserProfile` (11 cases — both collections written, email lowercased, null-email fallback, displayName denormalization, photoURL preserves null, `serverTimestamp()` placement per Lesson 29, `{ merge: true }` on both writes, payload mirroring symmetry, no-throw on rejection, db-null short-circuit).
v0.10.2Share button now gated on project ownership
May 7, 2026- Share button on the Projects tab is no longer visible to non-owners — `src/components/projects-tab.tsx` previously passed `onShare` to every project card whenever the app was in cloud mode, so editors and viewers (who can't actually share) saw the button anyway. Clicking it would surface `SharingModal`'s read-only "Shared with you" view, but the affordance itself was misleading and inconsistent with the rest of the SPERT Suite (GanttApp gates correctly on `project.owner === user.uid`). Fix: thread `isOwner` through `ProjectStats` (computed during the existing per-project stats load) and gate `onShare` on both `driver.mode === 'cloud'` and `projectStats.get(p.id)?.isOwner`. The modal-side `isOwner` check in `sharing-modal.tsx` is preserved as a second line of defense.
- `src/components/project-row.tsx`: `ProjectStats` interface gains optional `isOwner?: boolean`.
- `src/components/projects-tab.tsx`: imports `useAuth`, populates `isOwner` from `full.owner === user.uid` during stats hydration, and adds `user` to the stats useEffect's dependency array.
v0.10.1Banner width-cap follow-up
May 4, 2026- First-run ToS banner, local-storage warning banner, and invitation banner all stretched edge-to-edge on wide displays — v0.10.0 capped the header, tab nav, dashboard card, and footer at `max-w-7xl` but missed the three notification banners mounted between tab nav and content in `app-shell.tsx`. On 24"+ monitors the banners visually broke the otherwise-centered card layout: "Got it" buttons pinned to the far right edge of the viewport while everything above and below them stopped at the 1280px boundary. `src/components/first-run-banner.tsx`: split outer (full-width `bg-blue-50 border-b py-3`) from inner (`mx-auto flex w-full max-w-7xl items-center gap-4 px-4`). `src/components/local-storage-warning-banner.tsx`: same split with amber palette. `src/components/invitation-banner.tsx`: replaced `mx-4 mt-3` with `mx-auto mt-3 w-[calc(100%-2rem)] max-w-7xl` so the rounded-card variant centers and caps at the same width.
- Verified at simulated 1700px effective viewport (CSS zoom): banner backgrounds span the page, content (text + buttons) centers within `max-w-7xl` with proportional gutters matching the header/footer/dashboard.
v0.10.0Visual polish, trash icon, multi-select export
May 4, 2026- CFD dashboard width capped at `max-w-7xl` — `src/components/project-dashboard.tsx` now wraps the sidebar+main row in a centered card against a `bg-gray-50` page background. On 24"+ monitors the dashboard no longer stretches edge-to-edge; on smaller laptops the layout is unchanged. Header (`app-header.tsx`), tab navigation (`tab-navigation.tsx`), and footer (`footer.tsx`) all gain `max-w-7xl` inner containers so their content edges align with the dashboard card on wide screens. The footer's `text-center` moved from the outer `<footer>` to the inner div so legal links remain centered within the constrained width.
- Page background → `bg-gray-50` — `src/app/layout.tsx` `<body>` now carries `bg-gray-50` so the centered white dashboard card has visual contrast on wide displays. Projects/Settings/About tabs (already capped at `max-w-4xl`) now read as content sitting on a framed page rather than floating in white.
- About tab width unified to `max-w-4xl` — `src/components/about-tab.tsx` switched from `max-w-[800px]` to `max-w-4xl` to match Projects and Settings. Pure consistency cleanup.
- Project tile delete affordance: text "Delete" → trash icon (MyScrumBudget pattern) — `src/components/project-row.tsx` replaces the bordered red text button with an icon-only `<Trash2 />` button: gray (`text-zinc-400`) by default, light-pink background + red icon (`hover:bg-red-50 hover:text-red-600`) on hover, with `transition-colors` for smooth state. `aria-label="Delete {name}"` for screen reader clarity. Confirmation flow (`ConfirmDialog` in `projects-tab.tsx`) is unchanged.
- Multi-select Export Projects section in Settings — new `src/components/project-export-section.tsx` mirrors SPERT Scheduler's `ExportSection` UX: per-project checkboxes, "Select all / Deselect all" toggle, and a single Export button labeled `Export (N)`. Lives below `StorageSection` in `settings-tab.tsx`. Cloud-safe serialization: routes every selected project through `driver.exportProject()` (which strips Firebase `owner`, `members`, and internal `schemaVersion`) before combining into a JSON array. Single-project selection produces `spert-cfd-<projectname>-<timestamp>.json`; multi-project produces `spert-cfd-<timestamp>.json`. Both filenames use existing helpers from `src/lib/download.ts`. Name-only project list: deliberate architectural choice — `ProjectListItem` only exposes `{id, name}`, and replicating the Projects-tab stats-loading pattern would fire N Firestore reads just to render Settings on cloud mode. Users selecting which projects to export don't need snapshot/state counts to make that decision. The existing top-row "Export All" button on the Projects tab is kept as a one-click power-user shortcut. The per-card "Export" button on each project tile is also kept for fast single-project export without tab-switching.
- Out-of-scope follow-up flagged: the Projects-tab "Export All" handler at `projects-tab.tsx:142-149` still uses raw `JSON.stringify(allProjects, null, 2)` and leaks `owner`/`members` UIDs in cloud mode. The new Settings export fixes this for its own path; aligning the Projects-tab path is a separate hygiene PR.
v0.9.2Form-hygiene residual sweep
May 3, 2026- `<input type="date" id="add-row-date">` now also carries `name="add-row-date"` — `src/components/grid/add-row-dialog.tsx` had the id (matched by the adjacent `<label htmlFor>`) but no `name` attribute, the only field across the codebase the prior id+name pass missed.
- Hidden Import-Project file input gets `id` + `name` — `src/components/projects-tab.tsx`'s `<input type="file" className="hidden">` had neither attribute. Added `id="import-project-file"` + `name="import-project-file"`. Pure DevTools-issue cleanup; the input is programmatically clicked, so no behavior change.
- `ColorPicker` hex input switched from a hardcoded `id`/`name` to `useId()` — `src/components/workflow/color-picker.tsx` is rendered conditionally inside each `StateRow` of the workflow list, so the bare `id="color-picker-hex"` was a duplicate-id risk if two pickers ever coexisted in the DOM. Generated id via `useId()`, applied to both `id` and `name`. Preemptive hygiene; no observed UX path mounts two pickers simultaneously today.
- After this sweep the codebase is clean against all five Chrome form-field hygiene rules (autoComplete, id-or-name, label association, htmlFor sanity, duplicate ids). 24 form fields total, 21 already compliant from prior passes, 3 fixed here.
v0.9.1Firestore error-handling hygiene
May 3, 2026- `SharingModal.handleChangeRole` now surfaces write errors — the role-change `setDoc` was previously unhandled, so a Firestore failure left the dropdown silently reverted with no user feedback. Wraps the write in `try/catch` and pipes the error into the modal's existing `setError` state, which already renders inline at the bottom of the dialog body.
- `onSnapshot` listeners in `firestore-driver.ts` now have error callbacks — both `onProjectChange` and `onProjectListChange` previously passed only a success callback, so listener-side failures (permission revoked mid-session, network drop while subscribed) were swallowed. Each listener now receives a third-arg error handler that `console.error`s the Firestore error code. The codebase has no global notification surface and no per-doc subscription tracking set, so a user-visible toast and an automatic resubscribe path are deferred — this change closes the silent-failure gap without inventing infrastructure for it.
- Collaborator-invite email field no longer autofills the inviter's own address — `<input type="email">` in `SharingModal`'s legacy single-invite form had `autoComplete="email"`, which causes browsers to pre-fill the signed-in user's email into a field meant for entering someone else's. Switched to `autoComplete="off"` to match the field's actual purpose (sharing/lookup/invitation per the suite-wide convention).
v0.9.0Bulk email invitations
May 3, 2026- Bulk email invitations — owners can paste up to 25 emails (comma, semicolon, or newline separated) and invite collaborators in one shot. Existing SPERT users are auto-added immediately and receive a "you've been added" notification email; unknown emails receive a one-time invitation link via Resend that expires in 30 days.
- Pending invitations list — owners see all outstanding invitations for a project with `Resend` and `Revoke` action buttons, send-count visibility (`N/5`), and expiry dates. Resend is capped at 5 per invitation server-side; Revoke uses the existing `ConfirmDialog` (no `window.confirm`).
- Invitation claim flow with banner — recipients clicking `?invite=tokenId` from an email land on the app, see a dismissible banner with inline Google + Microsoft sign-in CTAs, and after sign-in the banner transitions to a "you've been added to {project}" confirmation. Token is persisted in `sessionStorage` so it survives the OAuth popup AND the consent-modal flow. Storage mode auto-flips to cloud on `?invite=` detection so the freshly-claimed project is visible.
- Suite-wide profile mirror — `AuthContext.writeUserProfile` now dual-writes to both `spertcfd_profiles/{uid}` and the suite-shared `spertsuite_profiles/{uid}` so cross-app invitations from any SPERT app can resolve email→uid server-side.
- Microsoft AD name normalization at write time — `denormalizeLastFirst()` reorders Microsoft "Last, First Middle" displayName format to "First Middle Last" before it lands in either profile collection. Prevents the broken RFC 5322 From-line bug at the source.
- `src/lib/feature-flags.ts` — `INVITATIONS_ENABLED` toggle (now `true`).
- `src/lib/parse-bulk-emails.ts`, `src/lib/invitation-errors.ts`, `src/lib/auth-name.ts` — pure utilities, fully unit-tested (56 new test cases).
- `src/hooks/use-invitation-landing.ts` — App Router state machine using `useSearchParams` + `router.replace`; mounted under `<Suspense>` in `app-shell.tsx`.
- `src/components/invitation-banner.tsx`, `src/components/pending-invites-list.tsx` — new shell components.
- Cloud Functions generalized to multi-app — `sendInvitationEmail`, `claimPendingInvitations`, and `resendInvite` in the suite-shared `spert-suite` Firebase project now branch on the caller's `appId` (`spertahp` | `spertcfd`) instead of hardcoding AHP. Project collection name derived as `${appId}_projects`; brand strings ("SPERT AHP" / "SPERT CFD") and origin allowlists are per-app maps. CFD model docs (no `collaborators` array, no `responses` map) skip the AHP-shaped writes via a `collaborators !== undefined` guard, so the universal `members.{uid}` mutation alone is sufficient. Shipped via [spert-landing#25](https://github.com/famousdavis/spert-landing/pull/25).
- `SharingModal.handleRemoveMember` routes through `driver.removeCollaborator` — replaces the prior inline `setDoc({ members })` read-modify-write with a targeted `members.{userId}: deleteField()` merge. Race-safe vs. concurrent owner edits and uses the storage-driver abstraction the rest of the app already lives behind.
- `AuthContext` exposes `firebaseAvailable` — `InvitationBanner` needs it to gate sign-in CTAs when Firebase isn't configured. Sign-in functions now typed as `() => Promise<void>` so banner CTAs can await completion.
- `StorageDriver` interface extended with `listPendingInvites`, `revokeInvite`, `resendInvite`, `removeCollaborator` — implemented in `firestore-driver.ts` (real callable wrappers + `tsToMillis` / `mapToPendingInvite` helpers) and stubbed as no-ops in `local-storage-driver.ts` (sharing is cloud-only).
- `PendingInvite` and `InvitationStatus` types added to `src/types/index.ts`. `modelId` field stores CFD's projectId — the suite-shared schema keeps the field name stable across SPERT apps.
- Form-field accessibility cleanup — every `<input>`, `<textarea>`, `<select>` across the app now has stable `id` and `name` attributes. Suppresses Brave/Chrome DevTools "form field element should have an id or name attribute" autofill hints. Per-row fields derive their identifier from the parent's stable id (e.g. `grid-cell-${date}-${stateId}`, `state-name-${state.id}`). No behavior change. Shipped via [#33](https://github.com/famousdavis/spert-cfd/pull/33).
- Firebase Cloud Functions live in the `spert-landing` repo and were deployed and CORS-smoke-tested before this release.
- CFD's callable `appId` is `'spertcfd'` (no hyphen, matches collection prefix); distinct from CFD's `APP_ID` constant `'spert-cfd'` which remains the per-user consent-record discriminator.
- `isVoting` field is kept on `PendingInvite` for cross-suite schema compatibility but is always `false` from CFD and never rendered (no voting concept in CFD).
- Rollback: flip `INVITATIONS_ENABLED = false` in `src/lib/feature-flags.ts` and ship a patch release. The flag-off path preserves the legacy single-email-input UI byte-identically; pending invitations stay in Firestore and can be claimed later when the flag re-flips.
v0.8.2Header icon polish
May 1, 2026- Header favicon styling aligned with SPERT® Suite — applied `rounded-lg` and `ring-1 ring-white/20` to the favicon `<img>` in `src/components/app-header.tsx`, matching the SPERT® Scheduler convention. Pure CSS polish, no behavior change. Backfilled from [#30](https://github.com/famousdavis/spert-cfd/pull/30).
v0.8.1Branded favicon + header icon
April 30, 2026- Branded favicon and header icon — new `spert-favicon-cfd.png` (192×192 PNG, purple `#7c3aed` panels with rounded corners) is wired as the browser tab favicon via `metadata.icons` in `src/app/layout.tsx` and rendered to the immediate left of the "SPERT® CFD" wordmark in `src/components/app-header.tsx`. A charcoal dark-mode variant (`spert-favicon-cfd-dark.png`) ships alongside it in `public/` for future use; the markup currently wires only the light variant since CFD has no theme hook yet.
v0.8.0Cloud Storage Modal
April 26, 2026- Cloud Storage modal launched from the auth chip — single dialog handles all three valid auth × storage states (signed-out, signed-in-local, signed-in-cloud). Replaces the prior popover/Settings-tab routing from the auth chip.
- Full-color Google and Microsoft sign-in buttons — native-color brand SVGs on a unified blue background, equal-width row that wraps below ~320px viewport.
- Notifications toggle — "Warn me on startup when using local storage" controls the same `LS_SUPPRESS_LS_WARNING` key already read by `LocalStorageWarningBanner`, so the modal toggle and the banner's inline dismiss stay in sync automatically.
- `src/components/cloud-storage-modal.tsx` — the new four-state modal (state 4, signed-out + cloud, is structurally impossible).
- `src/components/cloud-migration-flow.tsx` — shared `forwardRef` component encapsulating the local→cloud migration UX (idle → confirm → migrating → done | error). Consumed by both `StorageSection` and the new modal so the migration flow is implemented once.
- `src/components/icons/google-logo.tsx` and `src/components/icons/microsoft-logo.tsx` — inline full-color brand SVGs.
- `normalizeDisplayName(displayName)` in `src/lib/user-display.ts` — sibling of `getFirstName`; swaps Microsoft Entra ID's "Last, First MI" to "First MI Last" for full-name display in identity cards.
- `AppHeader` prop renamed `onNavigateToSettings` → `onOpenModal`; all three chip variants now open the new modal instead of routing to Settings or rendering a popover.
- `AppContent` (in `app-shell.tsx`) hoists `cloudModalOpen` state and mounts `<CloudStorageModal>` unconditionally so it bails internally when closed.
- `StorageSection` retains the same external behavior but now consumes `<CloudMigrationFlow ref={migrationRef} />` instead of inlining the migration state machine and panels. The Settings tab remains a secondary access path with full functionality.
- `src/components/sign-out-popover.tsx` — fully replaced by the modal.
- `src/components/signed-in-local-popover.tsx` — fully replaced by the modal.
- The cloud→local direction (`SwitchToLocalDialog` orchestration) is intentionally not extracted into `CloudMigrationFlow`. Each parent owns its own copy because the modal must remain open after the dialog resolves so the user sees the in-place transition to State 2, while `StorageSection` simply re-renders without that constraint. Rationale captured in `cloud-migration-flow.tsx`'s JSDoc and in ARCHITECTURE.md.
- Sign-out from the modal closes the modal explicitly via `onClose()` — no page reload. `onAuthStateChanged` cascades naturally and the chip re-renders to the signed-out variant.
v0.7.8Banner Render Order Alignment
April 20, 2026- FirstRunBanner and LocalStorageWarningBanner now render below the header and tab navigation — banners appear above the main content area instead of above the header, matching the layout convention used across the SPERT® Suite
v0.7.7Auth/Storage Security Remediation
April 19, 2026- Sign-out now cancels pending Firestore writes before revoking credentials — previously, the last ~500ms of edits were silently flushed with revoked credentials and rejected with `PERMISSION_DENIED` (finding A3)
- Cross-user localStorage leakage on shared browsers — project data under `cfd-lab*`, `spertcfd-active-project`, and `spertcfd-has-uploaded-to-cloud` are now cleared on sign-out so a subsequent user does not see or upload the prior user's projects (findings A2, A2-b, C3, D4)
- `LS_HAS_UPLOADED` migration-skip bug — this per-user flag was persisting across sign-out and silently skipping the upload dialog for the next user (finding A2)
- `saveProject` promise now correctly rejects on `setDoc` failure — previously the promise hung forever on any Firestore write error (finding A3-c)
- Coalesced `saveProject` promises now resolve on supersession — no more hanging fire-and-forget awaiters (finding A3-d)
- ToS Firestore write failure no longer orphans the consent record — `LS_TOS_WRITE_PENDING` is now preserved on setDoc failure so the next sign-in retries Branch A (finding A7)
- Auth chip now renders the signed-in + local state (d) — avatar + first name + lock icon, with a popover offering "Switch to Cloud Storage" (navigates to Settings) and "Sign Out" (finding F2)
- Cloud → local switch now prompts the user — three-way dialog with "Keep Local Copy", "Discard", and "Cancel"; Keep copies in-memory cloud projects to this browser (finding C4, C5)
- Migration reads from in-memory project list, not raw localStorage — prevents cross-user data from being uploaded (finding C3)
- `auth/popup-blocked` surfaces a user-visible banner — "Popups are blocked. Please allow popups for this site and try again." (finding D1)
- `src/lib/sign-out-cleanup-registry.ts` — module-level registry bridging AuthProvider → StorageProvider for pre-sign-out cleanup
- `src/lib/app-data-reset-registry.ts` — synchronous in-memory reset registry so `ProjectListContext` and `ActiveProjectContext` can zero state during sign-out before the auth cascade fires
- `src/lib/user-display.ts` — shared `getFirstName(displayName, email)` utility, handles Microsoft Entra ID "Last, First" format
- `src/components/signed-in-local-popover.tsx` — new popover for the (d) auth chip state
- `src/components/switch-to-local-dialog.tsx` — three-button Keep/Discard/Cancel dialog for cloud → local switch
- `StorageDriver.cancelPendingSaves()` — discards pending debounced writes without firing them (used on sign-out)
- `AuthContext.signInError` / `clearSignInError` — surface auth popup errors to UI
- `performSignOutWithCleanup` in `StorageProvider` runs the full ordered teardown: zero in-memory state → cancel pending writes → clear per-user localStorage → `firebaseSignOut`
- `migrateLocalToCloud` signature now accepts a `Project[]` array directly (breaking within-repo change; no external consumers)
- `SignOutPopover` now takes `firstName` instead of raw `displayName` for consistent display
- `spertcfd-storage-mode` (auto-resume intent)
- `spert_tos_accepted_version` (shared ToS document across all users)
- `spertcfd-workspace-id`, `spert_firstRun_seen`, `spert_suppress_ls_warning`
v0.7.6Auth Chip Sign-Out Popover
April 9, 2026- Auth chip in header is now a single `<button>` for both signed-in and signed-out states — one pill, one click target (matches SPERT® Suite convention)
- Signed-in: clicking anywhere on the pill opens a lightweight popover showing display name, email, and a Sign out button (no longer navigates to the Settings tab)
- Signed-out: clicking the pill still opens the existing sign-in flow via the Settings tab (unchanged)
- `src/components/sign-out-popover.tsx` — anchored popover with `role="dialog"`, Escape + outside-click dismissal, and a try/finally loading state (`"Signing out…"`) that guards against re-entry and dismissal mid-await
- `aria-haspopup="dialog"` / `aria-expanded` on the signed-in chip button, `aria-label` on both states, focus-visible ring for keyboard users
- Popover sign-out handler mirrors the existing Settings → Storage sign-out (`signOut()` only, no `switchMode` side-effects) for parity
v0.7.5Legal Update
April 5, 2026- 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
- Bumped `TOS_VERSION` to `'04-05-2026'` (triggers re-consent for returning Cloud Storage users)
v0.7.4Standardized Auth Chip
April 5, 2026- Replaced header auth indicator 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
- Removed separate "Cloud" text badge and full display name from header
v0.7.3Per-Project Sharing UI
April 4, 2026- Share button on project tiles (cloud mode only) — opens a modal for per-project member management, following the GanttApp pattern
- Sharing modal (`src/components/sharing-modal.tsx`) — replaces the Settings tab sharing section; loads project by ID, real-time member updates via `onSnapshot`, escape key dismissal
- "Shared" badge on project tiles when a project has more than one member
- `memberCount` field in `ProjectStats` for badge display
- Sharing UI moved from Settings tab to project tiles — now discoverable at the per-project level
- Settings tab now contains only `StorageSection` (storage mode, auth, migration)
- Non-owners see read-only "Shared with you" message in the sharing modal
- `src/components/sharing-section.tsx` — replaced by `sharing-modal.tsx`
v0.7.2Security Audit
April 4, 2026- Added application-level ownership checks to all sharing callbacks (`handleAddMember`, `handleRemoveMember`, `handleChangeRole`) — defense-in-depth beyond Firestore rules
- Added email format validation (RFC 5321, max 254 chars) before Firestore profile lookup in sharing UI
- Added `sanitizeCloudFields()` to strip malformed optional cloud/fingerprinting fields (`owner`, `members`, `schemaVersion`, `_originRef`, `_storageRef`, `_changeLog`) on project load and import — strips invalid fields rather than rejecting the entire document
- Fixed `renameProject` to trim whitespace before saving (was checking `!name.trim()` but storing untrimmed value)
- XSS via member UID display: React JSX escapes text content by default — not a vulnerability
- `_hasUploadedToCloud` localStorage flag: manipulation equivalent to clicking "Skip" in migration dialog — no security impact
- `_storageRef` in exported JSON: intentional fingerprinting field per ARCHITECTURE.md §9 — not PII
- `allow list: if isAuth()` Firestore rule: intentionally permissive, `allow get` gates data access — acknowledged
- `npm audit`: 5 transitive dependency vulnerabilities (next, undici, picomatch, flatted, brace-expansion) — all fixable only by upgrading parent packages deferred in v0.7.1; none affect CFD's usage
- CSP `connect-src` directive: not set, all connections allowed — future hardening opportunity, not a current vulnerability
v0.7.1Refactor & Dependency Update
April 4, 2026- Added `.catch()` error handlers to all fire-and-forget driver operations in `ProjectListContext` (`createProject`, `deleteProject`, `renameProject`) and `ActiveProjectContext` (`loadProject`) — prevents unhandled promise rejections in cloud mode
- Added missing test for `_storageRef` injection in `LocalStorageDriver.exportProject` (Issue 7 coverage gap from v0.6.0)
- Updated nanoid 5.1.6 → 5.1.7
- Updated recharts 3.7.0 → 3.8.1
- Updated tailwindcss 4.1.18 → 4.2.2
- Updated @tailwindcss/postcss 4.1.18 → 4.2.2
- Updated postcss 8.5.6 → 8.5.8
- `flush()` inside `setDriver` state updater: confirmed idempotent — second call finds empty `pendingWrites` map
- `activeProjectId` migration TOCTOU race: confirmed benign — writes identical value, localStorage is single-threaded
- `onProjectListChange` `hasPendingWrites` query-level suppression: intentional (Issue 8)
- `saveProject` debounce dangling Promise: callers fire-and-forget, same pattern as Story Map and MyScrumBudget
v0.7.0Cloud Storage
April 4, 2026- Optional Firebase cloud storage with Firestore backend — opt-in via Settings tab
- `FirestoreDriver` factory (`src/lib/firestore-driver.ts`) — implements `StorageDriver` against Firestore with 500ms debounced writes, `hasPendingWrites` echo prevention, and monolithic project documents
- Settings tab fully populated: storage mode toggle (Local/Cloud), sign-in UI (Google/Microsoft), migration dialog, account info
- Sharing UI (`src/components/sharing-section.tsx`) — per-project member management with owner/editor/viewer roles, email-based member lookup via `spertcfd_profiles`
- Local → Cloud migration (`src/lib/cloud-migration.ts`) — uploads local projects to Firestore with collision detection (§21.13 `PERMISSION_DENIED` pattern), `_hasUploadedToCloud` flag prevents re-upload on re-sign-in
- Real-time sync in cloud mode — `onSnapshot` listeners on active project and project list; changes from other tabs/devices appear instantly
- User profiles written to `spertcfd_profiles/{uid}` on every sign-in for sharing UI email lookups
- Cloud mode indicator — "Cloud" badge in app header when in cloud mode
- Fingerprinting fields on `Project` type: `_originRef`, `_storageRef`, `_changeLog` (optional, backward compatible)
- Cloud metadata fields on `Project` type: `owner`, `members`, `schemaVersion` (optional)
- `ChangeLogEntry` type for structured audit trail
- Firestore helper utilities (`src/lib/firestore-helpers.ts`): `stripUndefined()`, `appendChangeLogEntry()`, collection name constants
- Security rules reference copy (`firestore.rules`) with `isCfdMember`/`isCfdOwner`/`isCfdEditor` helpers
- `.env.local.example` for new developer onboarding
- 17 new tests: 10 for `FirestoreDriver`, 7 for cloud migration (181 total across 13 files)
- `StorageProvider` now auth-aware: blocks children with loading spinner until driver is ready, prevents flash of local data when cloud mode is active
- `StorageContextValue` expanded with `switchMode()`, `isCloudAvailable`, `storageReady`
- `firebase.ts` uses `initializeFirestore` with `memoryLocalCache()` instead of `getFirestore` — prevents stale security rule decisions in IndexedDB (§21.5)
- `LocalStorageDriver.exportProject` now injects `_storageRef: workspaceId` at export time (interface contract fix)
- App header simplified: sign-in UI moved to Settings tab, header shows cloud badge and user name only
- About tab "Your Data & Storage" section updated with Cloud Storage subsection
v0.6.0Storage Abstraction Layer
April 4, 2026- `StorageDriver` interface (`src/lib/storage-driver.ts`) — async abstraction over persistence, supporting CRUD, preferences, real-time sync stubs, export/import, and flush lifecycle
- `LocalStorageDriver` factory (`src/lib/local-storage-driver.ts`) — wraps existing `storage.ts` behind the `StorageDriver` interface; all operations resolve immediately
- `StorageProvider` context (`src/contexts/storage-context.tsx`) — provides the active driver to all consumers via `useStorage()` hook; uses `useState` lazy initializer to prevent infinite re-render (GanttApp lesson)
- Settings tab (`src/components/settings-tab.tsx`) — fourth tab in navigation (Projects | CFD | Settings | About); placeholder for cloud storage UI in v0.7.0
- Dedicated `spertcfd-active-project` localStorage key for active project ID, with one-time migration from old `StorageIndex.activeProjectId`
- `spertcfd-workspace-id` localStorage key for local-mode fingerprinting (nanoid(8), created on first access)
- `beforeunload` flush handler in `ActiveProjectContext` for cloud-mode data safety
- Cloud-mode UI guards: storage indicator hidden and localStorage warning banner suppressed when `driver.mode === 'cloud'`
- 25 new tests for `LocalStorageDriver` (164 total across 11 files)
- Provider hierarchy updated: `ErrorBoundary > AuthProvider > StorageProvider > ProjectListProvider > AppContent > ActiveProjectProvider`
- `ProjectListContext` refactored to consume `useStorage()` — all persistence via driver, no direct `storage.ts` imports
- `ActiveProjectContext` refactored to consume `useStorage()` — manual debounce logic removed (driver handles internally), load is async with cancellation
- `projects-tab.tsx` refactored to consume `useStorage()` — project stats loading converted from `useMemo` to async `useEffect`, export functions now async
- Sample project seeding gated on `driver.mode === 'local'` — cloud mode shows empty state instead
- Tab navigation expanded from 3 to 4 tabs (`TabId` union updated)
- Priority 1: Removed hidden index-update side effect from `saveProject()` in `storage.ts` (lines 89–93). Index bookkeeping now lives exclusively in `LocalStorageDriver.createProject()`, breaking the coupling that would have caused phantom index writes in cloud mode.
v0.5.1Security Audit, Refactoring & Dependency Audit
April 3, 2026- Fixed CSV formula injection (CWE-1236): `escapeField()` now prefixes formula-triggering characters (`=`, `+`, `-`, `@`) with a tab character to prevent spreadsheet interpretation
- Added validation to `reorderProjects()`: incoming array must be a permutation of existing project IDs (same length, no duplicates, all IDs present) before persisting
- Tightened `validateProjectData()` for imported projects: `wipLimit` must be a positive finite number if present; snapshot dates must match `YYYY-MM-DD` format; `metricsPeriod.kind` must be a valid discriminant (`all` | `days` | `range`)
- Sanitized `console.error` calls in auth context to log only error codes, not full Firebase error objects
- Added `role="alert"` to Projects tab error banner for screen reader accessibility
- Removed unnecessary `handleRename` callback wrapper in Projects tab (passes `renameProject` directly)
- Extracted shared `timestamp()` helper in `download.ts` to DRY up duplicated formatting in `exportFilename()` and `exportAllFilename()`
- Updated @tailwindcss/postcss 4.2.1 → 4.2.2
- Updated @types/node 22.19.15 → 22.19.17
- Updated firebase 12.10.0 → 12.11.0
- Updated nanoid 5.1.6 → 5.1.7
- Updated recharts 3.8.0 → 3.8.1
- Updated tailwindcss 4.2.1 → 4.2.2
- Updated vitest 4.0.18 → 4.1.2
- Confirmed @dnd-kit packages at latest (core 6.3.1, sortable 10.0.0, utilities 3.2.2); mismatched majors are intentional
v0.5.0Tab Navigation, Projects Tab & About Page
April 3, 2026- Three-tab navigation: Projects (default), CFD, and About tabs
- Projects tab: dedicated landing page with tile-style project cards, inline add form, and per-project Open / Export / Rename / Delete actions
- About tab: app overview, feature guide, storage info, author/source, trademark, license, and warranty disclaimer (follows SPERT® Forecaster pattern)
- Per-project summary stats on project cards: snapshot count, workflow state count, and last-updated date
- Drag-to-reorder project cards with persistent order (`@dnd-kit/core` + `@dnd-kit/sortable`)
- Export All button on Projects tab — bundles all projects into a single JSON download
- Standardized export filename pattern: `spert-cfd-<project>-<YYYYMMDD-HHmmss>.json` (and `.csv`)
- "Go to Projects" button on CFD tab empty state
- Simplified app header (`AppHeader`): retains only branding and Cloud Storage auth controls; all project CRUD moved to Projects tab
- Projects and About tabs use centered `max-w-4xl` / `max-w-[800px]` layout; CFD tab remains full-width
- Tab navigation bar centered to align with tab content
- CFD chart animation disabled (`isAnimationActive={false}`) to prevent replay on tab switch
- Sample project data year updated to 2026 (dynamically uses current year in 2027+)
- Footer font size increased from `text-xs` to `text-sm` to match SPERT® Forecaster
- `ProjectListContext` now exposes `reorderProjects()` for persistent drag-to-reorder
- `ProjectSelector` header component (replaced by `AppHeader` + `ProjectsTab`)
v0.4.7localStorage Warning Banner
April 2, 2026- Added amber warning banner informing users that data exists only in the browser and can be lost without exporting
- Banner appears on every session load below the first-run banner
- "Got it" dismisses for the session; "Don't show again" checkbox permanently suppresses via `spert_suppress_ls_warning` localStorage key
v0.4.6Legal & Branding Update
March 31, 2026- 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
- Added License link to app footer (links to GitHub LICENSE file)
v0.4.5Legal Document Update
March 20, 2026- Updated Terms of Service and Privacy Policy (effective March 20, 2026)
- Replaced reference copies in /legal directory
- Bumped TOS_VERSION to 03-20-2026 (triggers re-consent for returning Cloud Storage users)
v0.4.4First-Run Banner Update
March 16, 2026- Revised first-run notification text to include browsewrap consent language
v0.4.3Node 22 LTS Pinning
March 11, 2026- Added engines field to package.json requiring Node >=22
- Created .nvmrc pinned to Node 22 for developer tooling and Vercel deployment
- Aligned @types/node to ^22 to match target runtime
- All dependencies verified compatible with Node 22 LTS (140 tests, clean build)
v0.4.2Security Hardening
March 11, 2026- Added security headers: X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, Referrer-Policy, Permissions-Policy, and Content-Security-Policy
- Disabled X-Powered-By header to prevent framework fingerprinting
- Removed dead next.config.mjs (next.config.ts takes precedence)
- Enforced MAX_NAME_LENGTH (200) on project create, project rename, and workflow state rename
- Added maxLength attribute to all project and workflow state name inputs
- Added hex color format validation (#RRGGBB) in validateProjectData for imported projects
- Added color validation test cases (140 total tests across 10 files)
v0.4.1Maintenance & Bug Fixes
March 11, 2026- Fixed data loss when navigating away during debounced save window (flush pending save on unmount)
- Fixed Cloud Storage dropdown not closing on outside click (added useClickOutside dismiss handler)
- Fixed workflow state name validation allowing empty names on import
- Added memoization for sortedSnapshots in DataGrid and importResult in CsvImportModal
- Extracted shared download utility (sanitizeFilename, downloadFile) to reduce duplication
- Improved Firebase type safety: removed unsafe null casts, added proper null guards
- Updated lucide-react to 0.577.0, recharts to 3.8.0, and other minor dependency updates
- Added download utility test suite (136 total tests across 10 files)
v0.4.0ToS & Privacy Consent
March 11, 2026- Added persistent footer links to Terms of Service and Privacy Policy on all pages
- Added first-run informational banner for new visitors
- Added clickwrap consent modal for Cloud Storage enablement
- Added Firebase Authentication integration (Google and Microsoft sign-in)
- Added Firestore consent record with read-before-write and version checking
- Added returning-user ToS version check with automatic sign-out on mismatch
- Added reference copies of legal documents in /legal directory
- Added consent utility test suite (126 total tests across 9 files)
- Graceful local-only mode when Firebase env vars are absent
- Synced package.json version with APP_VERSION constant
v0.3.2App Rebrand
March 10, 2026- Rebranded from CFD Laboratory to SPERT® CFD across UI, metadata, and documentation
v0.3.1Copyright Attribution
March 10, 2026- Added copyright headers to all human-authored source files and root config files
- Updated LICENSE with author attribution block and GPL v3 Section 7 additional terms
- Added Copyright & Attribution Standing Instructions to CLAUDE.md
v0.3.0Security & Stability
February 3, 2026- Added file size limits (1MB) for CSV and JSON imports
- Added length limits for project and workflow state names
- Improved export filename sanitization
- Added Error Boundary for graceful error recovery
- Fixed data integrity issues with rapid project operations
- Fixed "Last N days" metrics filter to be relative to data, not current date
- Fixed project data versioning for future migrations
- Replaced browser alert/confirm dialogs with custom modals
- Performance optimizations for workflow sorting and storage checks
- Added comprehensive tests for date utilities
v0.2.0Dependency Upgrades
February 2, 2026- Upgraded to Next.js 16.1.6 and React 19.2.4
- Migrated to Tailwind CSS v4 with CSS-based configuration
- Migrated to ESLint 9 with flat config
- Upgraded Vitest to v4, date-fns to v4, Recharts to v3
- Updated all remaining dependencies to latest stable versions
- Resolved all npm audit vulnerabilities (0 remaining)
v0.1.0Initial Release
January 31, 2026- Multi-project support with localStorage persistence
- Customizable workflow states with drag-to-reorder, color picker, and category assignment (backlog/active/done)
- WIP limits on active states with visual warnings
- Editable data grid with keyboard navigation (arrow keys, Tab, Enter, Escape)
- Add snapshots with carry-forward from previous day
- CSV export and import with auto-column-mapping
- Stacked area CFD chart with brush zoom and toggleable legend
- Flow metrics panel: WIP, throughput, arrival rate, and average lead time (Little's Law)
- Configurable metrics period (all data, last N days, or custom date range)
- Project export/import as JSON
- Sample project with demo data on first visit
- Data migration framework for future upgrades