Repository navigation
Anabasis 3.0.0
Anabasis 3.0: one .anabasis file for each project, copies that merge by themselves (by hand, or through a sync folder), a stronger lock, automatic backups, its own address at anabasis.zerohistory.net, and long books that stay quick, tested in Chromium, Firefox and WebKit against the stress tests in the 3.0 design. Everything below is new since the second test build; the two test builds' own notes follow. Anabasis 2.12 stays at zerohistory.net/anabasis/app/. 3.0 opens 2.12's .json projects; 2.12 can't open .anabasis files.
Added
- The manuscript map. Every chapter as a column of section cards, each with its words, citations, open flags and claims. Drag a section to another place or another chapter (or use ↑ ↓ and Move to), drag a chapter to move it in the book, click a section to open it. Margin comments go with their text, and each chapter touched gets a safety draft first.
- Pre-writing tools at the top of the Outline tab: a mind map that becomes the plan’s outline, a question grid (who, what, when, where, why, how, so what?) whose answers become notes or research questions, and Freewrite.
- From WordStar: blocks that stay marked while you go elsewhere, then move, copy, delete or count them; place markers 0–9; go back to where you were. All in the command search, and with WordStar keys on in Settings, Ctrl+K and Ctrl+Q work as WordStar’s prefixes.
- A lighter Quartermaster ledger. A change inside one paragraph is kept as just that change, not the whole paragraph again, and saved files leave out the ledger’s copy of the text (rebuilt from the chain on opening). An afternoon of revising one long paragraph now takes a small fraction of the room it did. The report’s replay follows both kinds of entry.
- Compact merge records (command search): starts each document’s merge record again from the text as it is now, after checking the text is unchanged to the character. A document with a Quartermaster ledger gets a receipt in its chain, and the report says the history was compacted with the text verified unchanged and the ledger intact. Copies made before compacting are reported as started separately rather than merged into a muddle.
- Locked projects merge. A locked project in a synced folder now merges another device’s save by itself, as an unlocked one does, with no password to enter: every copy shares the project’s key. A new password, recovery key or passkey set on one device comes along with its save. Merging a copy by hand that was locked again with a new key asks for that copy’s password. An unlocked project that merges a locked copy becomes locked.
- Review copies for comments only. Send for review now asks what your reviewer can do: comment and suggest changes, or comment only. A comments-only copy has just Comment, its review file holds only comments, and when it comes back only comments go in, even if the file was edited to carry changes. The project remembers which copies went out for comments only.
- The Oracle follows the thread. It answers “yes”, “no” and “hmm” against what it actually asked; knows who “he” is when you’ve just named someone; never takes “Maybe” or “Perhaps” for a subject; asks whether a writer’s motive is in the text or in what you know; gives a chapter’s real word count when you say it’s too long; and, when you name a source’s author just after a claim, points to where the draft makes that claim with nothing citing it. Something you said you could do comes back when you pause, with Add it as a next step.
- Socrates listens. In Examine a claim, a definition that only repeats the word is sent back once; the passage held against the claim really pushes against it (never your own restatement); waving it away, or calling the witness unreliable, is asked about; ground given and then taken back is noticed; a hedge becomes the last question; and “I don’t know” is kept as a question still open, which one click adds to your research questions. If you’ve marked the claim in the draft, Socrates says how it stands.
- Slope charts. Labels and two columns of values, for who rose and who fell between two dates: rises and falls in two colors, the end labels kept apart, and the check under the chart says how many of each. In Chart from data and on dashboard tiles.
- Datasets from this project. Under “From this project” in Data: words by chapter, citations by chapter, words written each day for the last 90 days, sources by type and by year, notes by kind. They update by themselves and any tile or chart can use them. Dashboard of this project lays one out for you.
- Timelines with groups and eras. Give events a group and each group gets its own color and a key; add eras, shaded spans with their names, for a war, a reign, a term in office. A timeline can start by hand when no notes have dates, and × removes an event or an era.
- Maps with words on them. The Text tool puts a region’s name, a sea or a short note anywhere on the map; drag a marker’s label where it reads best (with a leader line if it goes far); add a north arrow.
- The release ledger and Check your copy, on the website. anabasis.zerohistory.net/releases/ lists every release with the SHA-256 fingerprint of its
anabasis.html, and how to check one by hand or check where it was built. anabasis.zerohistory.net/check/ checks a copy you have: pick the file, and it says whether it’s a release exactly as published, which one, and whether there’s a newer one, or that it has been changed. The file never leaves your computer and the page connects to nothing: the list is written into the page when the site is built. - Sync folders. Keep the project file in a folder Google Drive, iCloud Drive or OneDrive syncs, with Autosave to file on (Chrome and Edge), and another device’s save is merged in by itself before Anabasis writes: both sets of edits kept, paragraphs changed in both places outlined, the cursor left where it was. It checks every 15 seconds while you’re looking and when you come back to the window. A file it can’t merge (a 2.x
.json, or a copy locked again with a new key) is never written over: it asks. - Automatic backups. A copy of the whole project at the first change of a session and every half hour of work after: the newest 12, plus the first of each day for a week, kept in this browser, apart from the project, and locked if the project is. Find them in Project checkpoints, to restore or download. One is also taken before opening another project with unsaved changes. Backup folder (Chrome and Edge): each Save also writes a dated copy to a folder you pick, a USB drive or a synced folder; the newest 10 are kept.
- Projects (Project home, or the command search): every project opened in this browser, with its kind and counts, and a search across all of them: their documents, notes and sources, grouped by project. A result opens the project at the match. A locked project is never indexed or searched.
- Updates you control. Settings → Stay on this version keeps the version you have through new releases; Anabasis says when there’s a newer one, and Update now brings it in one click. Earlier versions are kept whole on the website, at anabasis.zerohistory.net/versions/, with how to go back safely, and an earlier version warns before opening work a newer one saved.
- Its own address. Anabasis 3.0 lives at anabasis.zerohistory.net. The first visit says once where projects kept at the old address are and how to bring them across. Where the browser can install it in one click, a notice offers that from the second day you use it; Not now waits two weeks.
- About this copy (Help, or the command search): where the copy you’re using runs from (an official Zero History address, a downloaded file, this computer, or an address that isn’t official, named plainly), and Check a file, which fingerprints any
anabasis.htmlon your computer and compares it with every published release. - Script tools. A screenplay’s Scenes: every scene with its length and who’s in it, and numbered scenes in every export. The copies a production needs, each a new document: a clean copy for the cast, sides for one character, and a shot list. A video or podcast script gets a Rundown: every cue with its start time at the script’s pace. New templates: an interview rundown and a 60-second video script.
- Explain it plainly (research journal): the Feynman test. Name an idea and explain it as if to a bright twelve-year-old; as you type, Anabasis lists specialists’ words, abbreviations, long words and long sentences, with a reading grade. Where you got stuck becomes an unknown in Known and unknown, and each attempt can be saved to see it get simpler.
- An annotated bibliography (Page setup → Bibliography → Annotated): each source’s annotation under its entry, in every export, Word included. New parts: half title, copyright page, a note on usage, a colophon, a pull quote and a section break.
- Share a usage summary (Help, the command search, the Alpha button): which of Anabasis’s tools you’ve opened and on how many days, counted in this browser only. It shows you every line first, then opens it as a GitHub issue or copies it, only if you choose. Nothing you wrote can reach a count; turn counting off or clear it in the same place.
- Your settings in another browser. Settings → This browser → Your settings: Export settings to a file, Import settings in another browser and choose which areas to bring in (writing, look and layout, reading and the prompter, starting and saving, research tools, GitHub backup), or Reset an area to how it started. They take effect at once; your work isn’t touched. The file never holds a project or your GitHub token.
Changed
- Starts faster, most of all on older computers. Word export and Word import now load the first time you use them instead of at every start, and the citation engine (which takes a second or more to build on a slower machine) waits until Anabasis is ready and idle; the page shows its citations as last formatted until then, and a document with no citations never builds it. On a computer four times slower than a current laptop, Anabasis is ready in about 2.5 seconds instead of 3.9; six times slower, 3.8 instead of 6.7.
- The same reading font on every computer. Drafts, notes, cards and quotations were set in whatever serif the computer had, so on Linux, Android and ChromeOS (which have none of the document fonts) they fell back to a Times look-alike. Anabasis now carries Charis SIL, an open-licensed book face in the same family as Charter and Palatino, and uses it when the computer has none of its own; PDFs and quotation cards use it too. (Adds about 0.4 MB.)
- Clearer icons. Outline, the plan, combining documents into a manuscript, reading a PDF, page setup, margin notes and the Internet Archive check each had an icon that looked like another button's; each now has its own. Every icon is hidden from screen readers, which read the button's name instead.
- Dates before the common era. “431–404 BCE” is now read as BCE at both ends (it put the start in 431 CE, stretching the timeline across eight centuries), and short years with their era written, like “50 BCE” or “14 AD”, are read as dates.
- Map scale bars no longer print their “0” on top of the distance when the bar is short.
- Phones and tablets. On the notes board, hold a card to pick it up; a swipe that starts on a card now scrolls the board instead of getting stuck. The plan’s outline has ⇤ ⇥ ↑ ↓ buttons on the chosen item for what Tab and Alt+arrows do, and its details open from ⓘ instead of covering the outline on a phone or upright tablet. Board column actions and drag handles no longer wait for a mouse to hover. Messages sit above the on-screen keyboard, the page scrolls its last lines clear of it, and typewriter scrolling keeps your line where you can see it. Connections draws a tall graph on a phone so names stay readable, and Project home’s buttons fit on one row.
- A stronger lock. Each locked project has a random key of its own, opened by your password (now stretched with Argon2id, which makes guessing on graphics cards slow and costly), by a recovery key you print or save, or by a passkey (Touch ID, Face ID, Windows Hello, a security key) in the installed app or at anabasis.zerohistory.net. Changing the password no longer re-encrypts anything. Checkpoints and backups kept in this browser are locked and unlocked with the project. Projects locked by 2.x open with their password and move to the new lock; once saved, 2.x can’t open them.
- Long books save, open and type quickly. A 1,000,000-word book with 5,000 sources, 10,000 notes and 500 pictures opens in about 2 seconds and saves in about 3 (it took 9 and 20), and typing in a 20,000-word chapter stays under 50 ms from key to screen (it froze for up to a second at every pause). Each chapter's readable copy is kept until the chapter changes; the package is compressed and unpacked by the browser on its own thread; the working copy in this browser keeps each chapter's words and each picture apart and writes only what changed.
- Pictures in a package are files of their own (package 2). 500 MB of pictures opens and saves; it ran the tab out of memory before. Each picture is checked against the manifest, and one that's damaged is left out and said so. Anabasis 3.0 test builds before this can't open the new packages; 3.0 opens theirs.
- Backups keep each picture once, for every backup that has it, rather than a copy in every backup.
- A warning past 150 MB of pictures, the most a phone or tablet's browser could hold in testing.
- Lookups give up after 20 seconds with a plain message when the network doesn't answer, rather than waiting for ever, and say "Couldn't reach…" rather than the browser's "Failed to fetch".
Fixed
- Merge another copy of this project is now in the Export menu, next to Save as, as well as the command search.
- Opening and merging project files on an iPhone or iPad. Safari greyed out
.anabasisfiles in its file picker, because it doesn’t know the extension; there, the picker now lists every file, and Anabasis checks what you choose. - Citations and punctuation. Author-date styles put the citation inside the sentence, before the period and after a closing quote (“the long war” (Tuchman, 1962).); note styles put the number after the punctuation and the closing quote (“the long war.”¹). A citation typed on the wrong side is moved when citations are laid out, every export agrees, and “et al.” and quoted questions are left alone.
- Arranging Project home had no way out in sight once you moved a card. A bar now stays at the top while you arrange, with Done arranging and Back to the standard layout; Esc finishes too.
- Socrates’ owl is redrawn: round, with no ear tufts, so it no longer reads as a hooded figure.
- Test screenshots no longer land in the top folder of the repository (eight had been committed by mistake); they go with the rest of the test output.
- On an upright tablet, the top bar ran off the screen once “Unsaved changes · kept in browser” appeared, pushing Settings and Help out of reach and letting the page scroll sideways. The bar now fits itself again whenever what’s in it changes, moving the least-needed buttons into ⋯.
- On a phone, the command search and Recent documents ran off the bottom of the screen; they now fill it, like every other window there.
- Versions: save or compare in the command search did nothing (it called something that no longer existed); it opens Drafts.
- The checkboxes in Compile manuscript and Compile notes, and the status and deadline fields in Writing record, now have names a screen reader can say; so does the command search.
- “canceled” and “traveled”, in American spelling.
- A QA sweep in CI. A new test runs every command on a phone in the dark theme with an example project open, every tab and research-desk view on a phone, a tablet and a desktop, and the top bar at six widths, and fails on any error, any window bigger than the screen, sideways scrolling, anything past the edge of the screen, or a control without a name.
- A failed retraction or link check erased what the last one found, so a retraction could vanish because the network did. It's kept now, marked as not checked again.
- When this browser has no room left to keep the working copy, Anabasis now says so, calmly, with Save now. Nothing typed is lost while the tab is open.
- Clearing this browser's storage for the site while Anabasis was open left it writing to a database that was gone; it starts a fresh one at once.
- Restoring a backup asked whether to keep newer work from this browser, which would undo the restore.
- Storage use is shown and warned about in browsers that can't say whether it's kept.
Security
- A code-scanning pass over all of 3.0 (CodeQL’s first look before 3.0 reached
main). A document’s role, status, deadline and script pace from a file now take only the values Anabasis itself writes. Fountain export, script tools and quick-print read a document’s HTML in a page with no window, where nothing loads. The ledger replays only its own kinds of event. A Fountain title page can’t make the reader work for seconds. And the web clipper’s address is escaped inside its script. - Clip links ask first. A clip arrives in the page’s address, so any link could carry one. The web clipper bookmark now carries a key that belongs to your browser; a clip without it is shown to you and added only if you agree, and no lookup runs before you do. Every field of a clip is checked, and its address must be a real web address. (Made your bookmark before 3.0? Drag the new one over it.)
- A locked project’s search index is sealed. The text read from its PDFs and photos for Search inside sources was kept in the browser unencrypted; it’s now sealed with the project’s key, like the PDFs themselves.
- A locked project asks before anything leaves it unsealed. Exporting a Word file, PDF, web page, Markdown or a copy for someone, printing, or saving its sources to your (unlocked) library asks once a session. Saving the project itself, a backup or the recovery key never asks.
- CSV exports can’t carry formulas. A cell that would start with
=,+,-or@gets an apostrophe first, so a crafted dataset or returned copy can’t run a formula when you open the CSV in a spreadsheet. Plain numbers are left alone. - Citation data is tidied on the way in. From any file, library, project or lookup: names must be lists of names, dates must be dates, everything else text, nothing enormous, and nothing that could reach an object’s prototype. A file whose author was plain text, or that was nested thousands deep, no longer stops the sources panel.
- Word files are read in an inert document until they’re cleaned, as pasted text, ePubs and Markdown already were.
- Answers from lookups are checked harder. A Crossref notice’s DOI must look like a DOI, and a Wayback Machine address is rebuilt by the browser’s own URL parser.
- Fuzzing in CI. A new test feeds hostile files through every importer and hostile answers through every lookup service, and fails if anything runs, loads, reaches the page uncleaned, pollutes a prototype, crashes or hangs. SECURITY.md now has a threat model: what’s protected, from whom, and where outside data comes in.
Download anabasis.html, open it in your browser, and choose Save to keep your project. SHA-256 checksum in SHA256SUMS.txt; to check where it was built, run gh attestation verify anabasis.html -R gmichaelrapp/anabasis.