BRIEF §6.2 forbids a SQLite index in a synchronised folder. AppEnvironment.Detect now resolves the data folder
through Core.Windows' AppPaths and OneDriveFolders: a portable copy whose .\data would lie under a OneDrive sync
root (a OneDrive folder, or a Desktop or Documents folder backed up into one) keeps its data in
%LOCALAPPDATA%\Titano and stays portable otherwise; AppEnvironment.SyncedFolder names the OneDrive folder so the
user can be told. The pure choice lives in Core/IO/DataLocation (tested on Linux); reading the OneDrive accounts
key no longer fails start-up when it cannot be read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
Task Manager's Startup tab keeps the Run value and writes a StartupApproved\Run value whose odd first byte means
off. The client and the Uploader now show such an entry as off; ticking the box removes the marker so the entry
runs again, unticking removes it with the Run value, and re-pointing the command after an update leaves it as it
is. Core/IO/StartupApproval holds the rule; the registry hive is injectable for tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
RemoveLeftovers deleted every Titano or Titano Uploader Run value that
started a file the upgrade removed, including a client or Uploader the
new version only renamed or moved. The new program then found no entry
to follow and Start with Windows was silently off. Setup now points such
an entry at the program of the same component in the new payload (its
shortcut target), keeping the options and the value name, and removes
it only when the component is no longer installed. Uninstall still
removes the entries of the programs its log lists.
StartupCommand.StartsFrom, left over from the superseded folder-scoped
cleanup, is gone; StartupCommand.Retarget replaces it and its misleading
test now covers how setup moves an entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
The client's HKCU Run value now counts as on only when it starts this executable, so a portable copy, a
second install or a development build no longer shows the box ticked, and starting one no longer rewrites the
entry to itself. Refresh only follows an entry whose program an update renamed in this copy's folder, and
unticking removes only this copy's entry. Portable copies keep the choice in memory and hide the Startup row,
since they leave nothing in the registry.
The uninstaller removes the client's and the Uploader's sign-in entries when they start a program of the folder
it removes. StartupCommand in Titano.Core holds the Run key, the value names and the command parsing shared by
both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC