Repository navigation
feat(desktop): desktop release, demos, docs, the parity pass and a full-window 3D View (0.14.1) - #8
Merged
Merged
Conversation
Balancing reached agents only through run_command; the module balances reaction SMILES without a drawing or checks and writes a drawn step's coefficients with the window's solver. Checked in process: propane combustion 1:5:3:4, H2 + O2 step written as 2:1:2 in one undo step, co-product hints for esterification and methane coupling.
Spec A section 3: with snapping on, free objects snap while atoms snap only when Snap Atoms to Grid is also on. Bond, chain and ring placement go through the atom gate; snapAtomPoint is there for the select tool's atom drag.
Isotope patterns reached agents only through the window; the module answers for a formula, a SMILES or a drawing's structures with the Analysis panel's convolution. Checked in process: bromobenzene 100 / 97.45, caffeine 194.0804, CHDCl2 from a drawing, sulfate 2- read with a spaced charge.
HELM writing was only in the window's Copy as HELM; agents now get the same writer with its read-back check for SMILES, a molfile or a drawn structure. Checked in process: the Ala-Gly-Cys tripeptide writes PEPTIDE1{A.G.C}$$$$V2.0 from SMILES and from a drawing; benzene is refused with the unmatched piece named.
… bond tools (0.14.0) Spec A 4.1 lists these four bond types as palette tools; the renderer already drew them but nothing could set them. tsc clean; drawn with each tool in the window.
measure.dihedral returned the negated angle against RDKit and the window (a +60 degree geometry read -60). Checked five angles from -120 to 170 against the constructed geometry and RDKit GetDihedralDeg.
The minimise route takes only (atoms that move, the rest frozen), fixed atoms and distance, angle or dihedral constraints, reports each held value and the energy terms; the stored energy excludes the restraint. Checked: butane C-C-C-C held at 60 reads 60.0, terms sum to the total, only one carbon moved with only.
… cycle order on double-click (0.14.0) Spec A 4.2 and 4.3: a click on a full atom is ignored with a status hint, a bond placed in a gap under 60 degrees says the atom is crowded, and a double-click on a bond with any bond tool cycles single, double, triple in one undo step. tsc clean.
…ndows-1252, Latin-1 (0.14.0) Spec B 14 asks for detection by BOM then by validity; BOM-less UTF-16 from Windows tools fell through to Windows-1252 and bytes outside it became replacement marks. Checked: one molfile named Ethanol with an accent read the same from UTF-8, UTF-8 BOM, UTF-16 BOM, UTF-16 LE and BE without BOM, Windows-1252, Latin-1 with a C1 byte, CRLF and CR.
Add, duplicate (objects copied with fresh ids through the paste plan), delete, reorder, page setup and Fit Page to Drawing build one transaction each, for spec A 2.2. Typechecked; driven in the window with the page strip.
…(0.14.0) POST /3d/rectify rebuilds each atom's hydrogens from valence and charge on the stored heavy-atom positions and relaxes only the hydrogens. Checked: glycolamide with one hydrogen deleted from its conformer goes back to C2H5NO2, heavy-atom RMSD 0.0 and the heavy coordinates byte-identical.
…gh HELM (0.14.0) Paste and File > Open refused FASTA; records now become HELM peptides or nucleic acids drawn as atoms with FormChem's monomer data, up to 300 residues and 20 records, each named from its header. Checked: an insulin B-chain fragment, d(ACGTAC) C58H74N23O33P5 (matches the nucleoside sum by hand) and ACGU read; B, X and Z refused by name; reaction SMILES still detected as reactions.
Embedding and minimisation run in chunks of 25 on every core (threads settable), a job id lets POST /api/3d/cancel stop the search between chunks and keep what was made, and n goes to 5000. Checked: seed 7 twice gives identical coordinates, butane keeps anti and gauche (78.92/21.08), a 3000 run cancelled at 3 s returned 49 conformers in 0.19 s.
GET /3d/surface reports van der Waals, solvent-accessible and solvent-excluded area and volume (Shrake-Rupley dots, grid volumes) at low, medium or high resolution for a probe radius or a named solvent; GET /api/3d/solvents lists twelve solvents. Checked: a lone carbon's vdW area is 36.32 against the sphere's 36.32, and aspirin's SAS area rises 306.9, 365.0, 432.3, 567.6 for probes 1.0 to 2.7.
Journals ask for LZW TIFF and one-bit line art, which the window's canvas cannot encode; FormChem now writes them itself with no new dependency. Checked under Node: RGBA, RGB and bilevel TIFF and a one-bit PNG of a 517 x 301 test image decode pixel for pixel in Pillow and ImageMagick, with 1200 and 300 dpi read back.
POST /3d/rotate turns the smaller side of a bond (or the other side) by an angle, or sets a four-atom dihedral to a value, stores the conformer and its single-point energy, and refuses ring bonds. Checked: butanol C-C-C-O set to 60.0 on either side, a further 30 degree turn reads 90.0, and a cyclohexane bond answers 'Cannot rotate a ring bond.' with the drawing unchanged.
relaxed false turns the dihedral without minimising and takes single-point energies (ring bonds refused); every scan answer carries a CSV with method and engine in its header. Checked on butane at 30 degree steps: relaxed barrier 5.21 kcal/mol, rigid 10.60, minimum at 180 in both.
The molblock route takes a comma-separated list of conformer ids, so the conformer table can save only the rows the person ticked. Checked: three of ten pentanol conformers give an SD file of exactly three records, each with FORMCHEM_ENERGY, in the order asked.
POST reactions/space and reactions/stretch take window-measured boxes so spacing uses the drawn bounds; perceive stretches arrows by default (stretch false to skip). Checked by py_compile and the route calls in the window pass.
….14.0)
Spec A 2.2: {page}, {pages}, {file} and {date} expand per page; furnitureSvg gives exports and printing the same lines the canvas draws. Typechecked.
The view steps between pages, an auto-grow page now grows left and up as well as right and down so switching to it never leaves objects outside, and the paper carries the page header and footer, patched by key so only changed text is touched. Typechecked; checked in the window.
Spec A 13.2 lets the person choose text as text or as paths; outline_text replaces each text element with the glyph outlines of the bundled fonts, keeping anchors, tspans, colour, transforms and the embedded drawing. Checked: a red centred O2H label with a subscript tspan became one group of paths, the font-face rules were dropped and the source metadata kept.
footnote_ops labels each arrow of a multi-step reaction (a), (b) and gathers each step's condition text, runs and subscripts kept, into one footnote block under the scheme. Checked with /tmp/rx14/foot.py: two steps lettered, footnote runs kept, model.validate clean, a second run gives no ops.
…mistry (0.14.0) abbrev.resolve falls back to the condensed grammar, convert.to_mol bonds a label atom's bonds to its attachment points in z then id order (CH2CH2 between two atoms) and flags formula-looking labels such as C6H12O6 as text. Checked: CH3 plus CH2CH2OH gives C3H8O, C(O)NHMe C3H7NO, CO2tBu C6H12O2, C-CH2CH2-O C3H8O, C6H12O6 flagged.
Spec A 13.2 asks for a PDF/A-2b option; write_pdfa adds XMP with the PDF/A identification matching the Info dictionary, an sRGB output intent built by LittleCMS through Pillow, a trailer ID, a transparency group and glyph widths for the searchable text layer, and leaves the editable drawing out with a note. Checked with qpdf --check (no errors) and pdfinfo -meta; not run through veraPDF.
…14.0) FORMAT.md and the window read a text's x as its left edge, so a note placed at the arrow middle started mid-arrow and ran over the product; the note now starts at the tail with w equal to the arrow length and centred inside it. Checked with /tmp/rx14/note.py: note spans 172.8 to 291.7, the arrow exactly, product starts at 298.9.
… (0.14.0) crystal.pack reads the cell, space group, symmetry operations, fractional sites, occupancies and disorder groups, completes molecules across symmetry, packs 1 to 4 cells per axis and writes a PDB with CRYST1 for the viewer; GET /3d/crystal serves it, hiding parts on request. Checked: a P21/c test CIF with Z = 4 packs four molecules, a P-1 half molecule on the inversion centre completes to one, part 2 hides.
layout_steps emitted a plus before every reactant after the first even when an earlier one was already placed in another row; pluses now go only between species placed in the same row, for reactants and products. Checked with /tmp/rx14/plus.py (A + B to C, then A + D to E): 1 stray plus before the fix, 0 after.
… and cyclopentadiene ring tools (0.14.0) Spec A 7.1: dragging from an atom turns the ring around it in 15 degree steps (Alt free), Mod+click with benzene places an aromatic ring with a circle, Shift+click on a ring swaps its Kekule form, and cyclopentadiene and both chairs join the ring palette. Checked in headless Chromium at 4x CPU throttling: orders 2,1,2,1,2,1 swap to 1,2,1,2,1,2, the circled ring is drawn, layout shift 0.
… by id (0.14.0) GET /3d/variant rewrites a PDB or mmCIF model for a chosen altloc and a REMARK 350 assembly; POST /3d/fetch downloads an entry from RCSB PDB only with consent true and opens it as a model. Checked: 1EJG lists altlocs A, B, C and A and B differ; 1STP assembly 1 gives chains A to D (4004 atoms); 1CRN downloads as mmCIF with 46 residues; no consent answers 428.
…ations, templates and the published values (0.14.0) Sources and terms from the data files' own source fields and the rx14, chem14, three14, labels14 and templates14 notes; no new dependency.
…E.md and AGENTS.md (0.14.0) Tool count from len(mcp.TOOLS) in the engine's venv; the template rule in the owner's words.
…ation and style files and the undo journal (0.14.0) From three_d/fetch.py check_code and the 428 consent rule, abbrev.save_user, style-commands parseStyleFile and store._journal, read in the code.
…ce (0.14.0) Compress first: the body drops to about 4260 estimated tokens before the 0.14.0 additions. Validator FAIL 0 WARN 0; mirrors synced with setup/agents.py sync.
Status with all fourteen phases built, PARITY decisions to read first, and routing rows for templates and pages, styles and labels, scheme layout, spectra tables and the new exports. Body about 4560 estimated tokens of 5000.
…actions sub-skill; spectra tables in names-and-spectra (0.14.0) File maps, rules and gate lines from the rx14 notes, with the HASHOUT entry numbers.
…ges and object editing in the annotations sub-skill (0.14.0) From the templates14, gesture14 and pages14 notes; PARITY decisions named so they are not rebuilt by accident.
…g in the canvas sub-skill and its key map (0.14.0) From the gesture14, labels14, style14 and integ14 notes; the hover key reference loses its 'keys left free' section now that ', / and = are bound.
…stereo-and-queries and formats-and-export (0.14.0) The fix rule now allows a transaction fix (check.hypervalent_fix), the known gaps match the PARITY decisions, and the picture, print and reading rules follow the export14 notes.
…ll (0.14.0) Module, handler and consent rule for each, from mcp.py and the agent modules' mutating().
…ion, IR bands, TIFF and journal styles (0.14.0) Evals 40 to 44 and eight trigger tests (six should, two near misses that belong to the harness or to no skill); 44 evals, 79 triggers. JSON parses.
…and the IR and MS tables in the skillset description (0.14.0) The auditor warned on four new trigger phrases; trimmed words elsewhere to stay at 1023 of 1024. Coverage 21 of 21, SCORE 13 of 14 (the remaining note is the 200-character listing figure).
…14.0) Compress first: the table moves whole to references/failures.md and the body points at it, dropping the body from about 4800 to about 3500 estimated tokens. Validator FAIL 0 WARN 0.
…4.0 (0.14.0) 104 tools in four new groups, the template rule, what is still not a tool, and routing rows for pages, gestures, scheme layout and the new analysis tools. Body about 4000 estimated tokens.
…of 0.14.0 in the harness sub-skills (0.14.0) drawing, reactions, structure-analysis and three-d gain the 27 tools with their arguments from mcp.TOOLS and their consent rules.
….14.0) Command ids checked against frontend/src and parameter names read from their definitions (map, degrees, preset, to, page).
…es, IR and MS, and the template rule (0.14.0) Evals 48 to 52 and six trigger tests (four should, two near misses for the skillset and for no skill); 52 evals, 92 triggers. JSON parses.
…ediction in the harness description (0.14.0) The auditor warned on two new trigger phrases; words trimmed elsewhere keep it at 1024 of 1024. Coverage 19 of 19, SCORE 13 of 14.
Moves the nine version sites to 0.14.0: the parity pass (phase 14), the last phase of the plan, and says in the README status that the 0.14.0 Linux packages were built and run. Checked: tsc, build, compileall, agents sync --check, counts --check, notices --check, i18n check (25 languages); formcompiler contract build gave the deb, rpm and AppImage, the installed app ran under Xvfb with Home and the demos, and the frozen engine read the CIAAW weight table.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(desktop): desktop release, demos, docs, the parity pass and a full-window 3D View (0.14.1)
Summary
.fchem,.fcdb, molfile, SD, RXN, CDXML, CDX, PDB, CIF, mmCIF and JCAMP-DX), with document icons for.fchemand.fcdb. In 0.12.0 nothing acted on a file opened from the file manager;ui/system-open.tsis now wired intoapp.ts.backend/app/dataout of the frozen engine, so Structure from Name found only systematic names (caffeine was not understood) and HELM answered 500.build_appandsetup/freeze_backend(both twins) now bundle it atapp/data. The new binary returns caffeine's InChIKey RYYVLZVUVIJVGH-UHFFFAOYSA-N and parsesPEPTIDE1{G.G}$$$$.demos/, in-app demos on Home and under Help > Demos,docs/MANUAL.md, the full wiki, anddocs/PARITY.mdscored row by row against the clean-room specs.docs/PARITY.md: of 560 v1 rows, 443 Full and 117 with a written decision, none Partial or None (at 0.12.0: 286 Full, 192 Partial, 75 None, 7 Decision).apps/formchem.jsonadds.fcdbtoproject_extensions.Commits
One line per commit, oldest first, release commits marked. The short hashes change when
fpushsigns.Version
v0.14.1 (release commit is last). 0.13.0 and 0.14.0 have their own release commits in the series, so all three CHANGELOG sections are on main;
formai-buildbuilds 0.14.1. Version sites bumped three times, by hand:frontend/package.json,frontend/package-lock.json(two fields),frontend/src/version.ts,backend/app/__init__.py,src-tauri/Cargo.toml,src-tauri/Cargo.lock,src-tauri/tauri.conf.json, the Flatpakmetainfo.xmlrelease lines and the README badge.Checks
npx tsc --noEmitclean;./formchem buildclean;python -m compileall backend/appclean;formchem_engine.py --selfcheckreports formchem 0.14.0 with RDKit 2025.09.3 and Indigo 1.49.0;./formchem i18n checkpassed;setup/agents.py sync --checkin step (104 tools);setup/notices.py --checkpassed;./formchem counts --checkin step; the emoji and em dash scan clean; skill packs and mirrors 0 FAIL, 0 WARN with the god-tier-skill-creator validator../formchem install,./formchem install-desktop,./formchem desktop build --config '{"bundle":{"linux":{"rpm":{"compression":{"type":"none"}}}}}') built the 0.14.0 deb, rpm and AppImage in about 5 minutes. The installed deb launched under Xvfb, its engine started and Home rendered with the 260 templates and the demos. The frozen engine answered templates, densities, IR bands, MS fragments and isotope patterns, and named the CIAAW 2024 weight table (soapp/datais bundled)..fchemon macOS, the phase 13 exit criterion, is not yet seen); the MCP tools from a real Claude Code or Codex client; printing on paper; a real screen reader; real xtb or CREST; the CI workflow itself; a browser pass of the translated windows (the 25 languages pass the key and placeholder checks only).Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.