Files
Reaktor/.reaktor-root
adminandClaude Opus 5 35000db86a Reaktor, and seven functions nobody was calling
The project is renamed. Curie becomes Reaktor everywhere it appeared: 1462
occurrences across 41 files, in three spellings, plus five files whose names
carried it - the root sentinel, src/curie.h, and the three branding marks. The
CMake targets go with them, so the binary is reaktor.exe and the page is
reaktor.html, and so do the environment variables, which are REAKTOR_TAB and
the rest now. Nothing under third_party/ was touched; the submodules are
upstream's and stay that way.

The replacement was case-preserving and checked before it ran rather than
after: the only place "curie" appeared adjacent to another letter was
CurieElement in the macOS bridge, which is ours, so there were no words to
break. Afterwards the tree was swept for any spelling that survived, including
inside the binaries, and none did.

Ahead of that, the dead code. Seven functions were defined, declared in a
header, and called by nothing:

  curie_glyph and curie_link      one-line pass-throughs to icon() and
                                  text_link(), which every caller uses directly
  curie_snap_shutdown             the snapshot's teardown, from a design where
                                  the platform API had one; it has init, push
                                  and drain and never grew a fourth
  curie_css_flatten_text          the from-memory twin of curie_css_flatten,
                                  which is the one the app actually uses
  curie_unpx and curie_px_rect    the unused half of the scale helpers
  curie_svg_surface               a convenience wrapper naming an Ionicon,
                                  where every caller has a path already

The web bridge's two exported functions look the same to a search and are not:
curie_a11y_web_activate and curie_a11y_web_focus are EMSCRIPTEN_KEEPALIVE and
called from JavaScript. They stay.

Two documented claims had gone stale and were corrected rather than renamed
around: ACCESSIBILITY.md listed curie_link among the wrappers a page uses, and
the README described branding/ as holding two inks when it holds one mark in
three formats.

Off disk: the .obj files and the gen/ directory left at the root by the
hand-rolled cl.exe build that CMakeLists.txt replaced - flatdump.obj outlived
the source file it was built from. .claude/settings.local.json is local
configuration and is now ignored rather than sitting untracked forever.

Checked, not assumed. Both builds run clean from scratch: the native binary
links and starts, and its accessibility tree dumps twenty-seven nodes with the
window and its title now reading Reaktor, which is the end-to-end proof that
the renamed .reaktor-root sentinel still resolves and the assets under it still
load. The model's golden test passes. The web build links reaktor.html with an
86 KB data package, so the asset and icon globs still match at their new paths
- that number is the one that went to 903 KB the last time they did not.

One cosmetic consequence, left alone on purpose. "reaktor" is two characters
longer than "curie", which pushed 55 lines from 80 to 83 columns in a tree that
otherwise wraps at 79. Rewrapping them would have meant reflowing whole comment
paragraphs and hand-breaking half the code lines, which would bury a rename
that is currently reviewable by reading one substitution. It is a separate
pass if it is wanted.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 19:29:48 +02:00

3 lines
105 B
Plaintext

# Marker for reaktor_root(): identifies the repository root at runtime.
# Do not delete. See src/util.c.