Skip to content
github-actions[bot] edited this page Nov 29, 2026 · 21 revisions

English · Polski

Generated from docs/devlog/TODO.md; edit the source, not this page.


TODO

What is being worked on now. The idea of every phase: VISION.md; versions: ROADMAP.md; questions: BRAINSTORM.md; history: ../changelog/.

Every item is one commit on dev/<name> (dev/Cleo, or dev/Sarverott for the owner's edits), ticking its box. An item waiting for an answer names its Q<n>. Every stop of work opens a pull request development → master; its merge releases a build Sett tests in the wild, and Sett's reports are written in docs/.agents/NOTES.md by Cleo (Sett, 2026-11-27). Anonymised pages as tests/fixtures/ come when an issue needs one.

Phase 0: the skeleton

  • Standard anatomy of a BOS project: README, LICENSE, AGENTS.md + CLAUDE.md, Taskfile, src/, docs/, tests/, .github/
  • Devlog in the standard look of BOS; the owner's words of 2026-11-26 word for word in docs/changelog/phase-0.md
  • Manifest V3 for Firefox: event page, gecko id, data_collection_permissions: none, Firefox 142+
  • The kit: unified format save-my-chat/0, DOM to Markdown, reader registration, validate
  • Markdown and JSON output, file names save-my-chat/<reader>/<day>-<title>.<ext>
  • Background: enabled readers registered with scripting.registerContentScripts, injected on demand into tabs opened earlier; save through the downloads API
  • Popup (which reader sees this tab, save as md / json) and options (readers on and off)
  • Draft readers for Google AI Mode and GitHub Copilot, marked unverified
  • Checks: Biome, web-ext lint, vitest with jsdom; task verify green
  • First commit on master, then development, dev/Sarverott, dev/Cleo, dev/Jarvis, dev/Joker, dev/dependabot (Q4)
  • The owner's answers and inquiries moved word for word into the changelog; the plan renumbered
  • License MPL-2.0 (Q1)
  • Gecko id save-my-chat@radiokociamuzyka.pl (Q2, corrected 2026-11-27)
  • Cleo in .github/AUTHORS; AGENTS.md: a commit per step, the branch set (Q4)
  • Husky hooks: commitlint on commit-msg, task verify on pre-push
  • Dependabot into dev/dependabot
  • .github/workflows/checks.yml seen green on GitHub
  • Version bumped by a hook per commit: Z of vX.Y.Z on every dev/* commit, a merge driver taking the higher version (Q7)
  • Release on master: a merged pull request from development tags vX.Y.Z, attaches the packed extension, marks it the latest; master merged back into development (Q7)

Phase 1: the first readers for real

  • Turndown (with its GFM plugin) converts messages instead of the hand-written converter, vendored unchanged into src/vendor/
  • Selectors as sets of candidates; the kit collects turns of every role in page order
  • Google AI Mode reader rebuilt from Sett's proof of work, the snippet kept in src/readers/drafted-snippets/ (Q5)
  • The lost user messages in the almanac: case, cause, solution
  • Selector overrides from storage.local, so a changed class name is fixed without a release
  • The options page edits the selector overrides of each reader
  • The popup reports what the reader saw: messages per role, which selector found them, so a test in the wild says what to fix
  • The report shows the order of roles (U A U A), and warns when a chat does not start with the user, end with the agent and alternate (Sett)
  • GitHub Copilot reader from Sett's snippet (.message-container, user__ / ai__)
  • AI Mode in its true order when a question sits inside its answer's block (Sett: 1,0,3,2,5,4); messages ordered by where their own text starts
  • The add-on id corrected to save-my-chat@radiokociamuzyka.pl (Sett's inquiry)
  • dev/dependabot caught up with development, every workflow on the same actions; the almanac case
  • The version hook: a merge neither bumps nor reformats a file; the almanac case
  • src/vendor/ held to its npm packages by a test, so a dependency bump cannot leave the old copy
  • Workflow dependabot.yml: dev/dependabot follows development, lands by a pull request; a collision becomes an issue for Jarvis
  • Jarvis's instructions and dependabot prompt (.github/copilot-instructions.md, .github/prompts/); Joker's review guidelines in AGENTS.md
  • Jarvis and Joker in .github/AUTHORS (Q11)
  • resources/data/chats.yaml: the chat webapps, their domains and conversation addresses, held to readers.js by a test (PP2)
  • readers.js and host permissions written from chats.yaml (task chats), checked by a test (Q10)
  • src/vendor/ out of git, every dependency gathered into it by task build, the batch: vendor, chats, pack (Q10)
  • The version hook stages the version alone

Phase 2: GitHub integration

  • task github:devlog: a milestone per milestone of ROADMAP, an issue per phase (its items a task list), per Q<n> and per PP<n>; answered and decided ones closed with the owner's words
  • A project board for the devlog (organization project #1, private until Sett opens it)
  • Announcements (discussion #17): short notes with links - changelog posts, proposals with their issue and a discussion of their own, changes of phases and concepts, releases introduced, other news
  • Almanac cases as Q&A discussions, their solution the answer
  • The wiki (save-my-chat.wiki.git) for developers and contributors: the almanac and the devlog generated into it, English and Polish, translated by LibreTranslate or Argos (task wiki, wiki.yml after each release)
  • The wiki seen published by wiki.yml
  • Read the Docs: the documentation of the project, without what the wiki holds - the manual and the guides (mkdocs.yml, .readthedocs.yaml, task docs)
  • The documentation seen built on Read the Docs
  • A static page of the project on the github-pages branch (resources/pages/, task pages, pages.yml after each release)
  • The page served by GitHub Pages (Pages set to deploy the github-pages branch: a repository setting, Sett)
  • Workflow devlog.yml: the devlog synced on each push of it to development
  • Workflows: the release (release.yml) and the checks on every pull request into master
  • The checks required before a merge into master (branch protection, a repository setting: RR1)
  • task github:discussions and feed.yml: the feed of #17 and the almanac's Q&A, written after each release

Phase 3: prototypes

  • Options page: copy a default reader into an editor, save as a prototype in storage.local
  • userScripts permission asked from the options page (optional permission in Firefox)
  • Prototypes registered with userScripts.register in the USER_SCRIPT world, messaging on (configureWorld), re-registered on update
  • A prototype replaces its default for the same matches; turning it off brings the default back
  • Export and import of prototypes as files
  • Prototypes checked in a real Firefox: the permission, a change seen in the saved file, the default back when off (RR2)

Phase 4: the frontend

  • The build step (Q12): Vite builds the pages from .vue files into dist/extension/ with the rest of src/ as it is; web-ext runs and packs that; task run rebuilds on change
  • Each release attaches its source archive for AMO, and the README says how to build it
  • The toolbar button's context menu opens the library and settings (RR4)
  • Each release submitted to AMO's listed channel by release.yml (amo.sh), with its source and notes, the secrets of the releasing environment
  • Vue components, Bulma styles for options and popup
  • A viewer of saved conversations (Markdown and JSON of the unified format)
  • Tests driving the extension in a real Firefox: Selenium with geckodriver, a temporary add-on, its pages by moz-extension:// address (Q14)
  • The public site on github-pages built by Astro: the project page, popup and options shown with Firefox's APIs stubbed, a viewer of saved chats needing no extension; Playwright tests it (Q13)
  • The library (PP1): an index of saved chats in storage.local, search, re-export, a chat that grew since it was saved
  • An explorer of the stored files on ZenFS (IndexedDB) with isomorphic-git, both dependencies gathered by task build (Q8)
  • A "gist" button: a saved chat as a secret gist through Octokit, the user's token, api.github.com optional, declared in data_collection_permissions.optional (Q9)

Phase 5: more webapps

  • The licenses met in phase 4 (LGPL-3.0 in MPL-2.0) an almanac case: what each asks, how the extension meets it
  • The library packed into one .zip: every chat as Markdown and JSON, in the folders of the downloads (a backup)
  • The conversations a webapp lists found on its page: links matching the chat's addresses in chats.yaml, or the reader's own list()
  • Gathering them one by one into the library, at the user's click: each opened in a background tab, read, closed; progress, a stop, then the zip
  • Optional readers: a reader shipped with its hosts an optional permission, granted from the Readers tab (status: optional)
  • Readers of ChatGPT, Claude and Gemini, optional, from their known page structure (unverified); Claude refitted to Sett's rows (RR7)
  • Lists and chats loaded whole before they are read: scrolled to their end, load and wait, until no more come (RR7)
  • Gathering in a window of its own, where the chat is shown (RR7)
  • ChatGPT's list loaded whole: a step back before each scroll to its end, three quiet rounds, every chat seen kept (RR8)
  • ChatGPT read by its transcript's rows, Claude's rows by human / assistant (RR8)
  • The debug gate, in the debug build only: the Debug tab, native messaging to a host, an MCP server for the agent; outline, query, try, marks, the user pointing (RR8, Q15)
  • task run on a snap's Firefox: a profile kept in dist/firefox-profile/; Vite and web-ext stopped as groups (RR9)
  • The live webapps looked at through the gate, the notes in scrapnotes (docs/devlog/scrapnote-*.md); what was left of phase 5 moved to phases 7-9 (Sett, 2026-11-28: "small steps method")

Phase 6: release

  • Icons, store listing, privacy statement: the icon in the manifest (16-128 px), docs/statements/privacy.md and listing.md, the site's Privacy page reading it from master (Sett, #7)
  • The media container (resources/media/.index.json): task media fetches, sizes by ffmpeg once, places the small ones for the builds; the logo the icon and favicon, the banner the site's header and card, the poster sized (Sett, #7)
  • AMO's listing filled in from docs/statements/listing.md, its images, the privacy policy linked (Sett, RR10)
  • A throttled upload to AMO told and passed over, not failing the release and what follows it (RR10's error)
  • 1.0.0, the release for everyone, after phases 7-9 (Q16)
  • The id settled for good and the first signing (AMO_JWT_* secrets, Sett), listed on AMO

Phase 7: the readers on the live pages

Small steps, each tried through the debug gate before it is ticked (Sett, 2026-11-28). The notes: docs/devlog/scrapnote-*.md of 2026-11-28.

  • ChatGPT read by [data-chatgpt-search-unit-key$=":user"] / ":assistant", its hidden h4[data-conversation-role] left out (marks matched by Sett)
  • A list loaded with its tab in front (ChatGPT, fresh tabs: 21 in the background, 47 in one run in front; watched with the scroll tool)
  • Claude's listed addresses without their query (?artifact=), titles without "Includes an artifact"
  • The gate reconnects by itself after the extension reloads, when it was connected (each commit's version bump reloads it under task run, closing the port)
  • A scroll tool for the gate: a box to its top or bottom, its position before and after, to watch a webapp load
  • Long chats collected while they scroll: each turn kept by its key, scrolled up until the box, after a pause, cannot go further into the past (virtualized: ChatGPT, DeepSeek); live: a ChatGPT chat, 500 messages in 17 min and still going
  • A long chat's whole read seen to its end live: ChatGPT, 736 messages in 17 min from a fresh tab, the same twice; keyed by message ids (its unit keys renumber), stepping from the end and putting back a view ChatGPT pulls there (almanac: chatgpt-fallback-keys)
  • A message with no text kept as a blank where a question follows a question (turns[].blank: what the page held), so a save shows the gap (Sett, 2026-11-29); the two places of the long ChatGPT chat looked at live: 347-348 ChatGPT's own (no answer element), 496-497 the read's gap where ChatGPT cannot draw what follows a question (seen with the gate's scroll hold)
  • A stretch of a long chat ChatGPT cannot draw (it jumps to the end): told in the save as a gap where it lies, and read some other way if there is one that keeps everything on the machine
  • A long chat gathered (in a window of its own, 17 min): the event page kept alive meanwhile? the two questions in a row and the one gap warning of the ChatGPT chat looked at
  • The same end for lists: the box cannot go further down after a pause; live: ChatGPT's 47 in 11 s, three more scrolls to the bottom with 4 s waits brought none (AI Mode's 215 of 215 before)
  • AI Mode's history: its threads listed from their buttons (data-thread-id, a virtual list: 215 of 215), each opened by a click when gathered and saved under the list's address (smc-thread); an address can't open a thread (mtid is no thread id)
  • AI Mode's notebooks looked at live (button[data-journey-id], 12, each opened by its button, its address then ajid=<id>): a name, instructions, sources (files, sites, copied text) and threads; Sett's 12 hold no thread, so there is no chat to read yet: their sources go to phase 8
  • The gate's close: the tabs it opened closed after a session, never the user's (Sett, 2026-11-28)
  • A DeepSeek reader, optional: .ds-message with or without .ds-markdown, keyed by its virtual list; live: 12 chats listed, a 26-message chat read whole (5 at once)
  • DeepSeek's Cloudflare check met while gathering; a DeepThink answer's reasoning
  • Grok on grok.com, optional: its test ids, the 'You' / 'Grok' headings left out, keyed by response-<uuid>; the list from /history (the sidebar's chats are buttons); live: 5 chats, a 20-message chat read whole
  • Grok on x.com, optional: X's turns (data-turn-id), the user's part and the quotable answer (grok.com's ids); the list from /i/grok/history; live: 5 chats, the same 20 messages as on grok.com
  • Samples of each webapp's pages from the public shares Sett lists in resources/samples/.map.json, saved by the gate's sample; tests reading them as fixtures
  • Each reader's patterns checked on the live webapp, verified: true in chats.yaml: AI Mode, GitHub Copilot, ChatGPT, Claude, Gemini (its list and title fixed), DeepSeek, AI Studio, Grok, Grok on X, NotebookLM

Phase 8: artifacts, where they were born

  • What each webapp's artifacts are and where they live in its page: ChatGPT's images and files, Claude's artifacts, Grok's library (notes: the artifacts scrapnote)
  • The unified format's attachments: a turn names its files, save-my-chat/1 (a version bump of format.md)
  • Artifacts saved beside their chat and linked in its Markdown where they were born; in the zip, the viewer and the explorer
  • AI Mode's notebooks: a notebook's sources (.h30KKd[aria-label] > .vhVYm, a name and a kind each; sites by their link) and its threads, saved with it, once a notebook with a thread is seen
  • Fetching a file a page does not hold already is a network request: a Q<n> for Sett before it is built (rule 4)

Phase 9: more webapps

  • Google AI Studio (turns by role, headers and thoughts left out, read whole) and NotebookLM (now notebook.google.com), optional readers, live
  • Microsoft Copilot (now copilot.com), Perplexity (sessions), Mistral Le Chat (chats and Vibe Work), HuggingChat: optional readers, read live
  • Perplexity's long threads read whole: it holds its view at the bottom and fills older blocks only on a real scroll
  • Google Colab's helper
  • Self-hosted webapps' readers at an address the user types, https://*/* and http://*/* optional (Q15 a), with the first of them: Sett's Gradio space (it asks for a Hugging Face login: a chat in it first), Open WebUI
  • WebMCP: the gate's tools offered to an agent in the browser, when Firefox has navigator.modelContext (PP3, approved)

English: Home · Polski: Home

Clone this wiki locally