Files
FinalToken/.agents/mind/gotchas.md
T
Florian Schmidt afa6d83f2a
agent-review agent review: pass
tools: register the updater in the normal command path
Install the container updater under /usr/local/bin so shells without sbin can discover it. Print the absolute installed path as a fallback for custom environments and retain existing managed links. Reproduce command discovery through a real Bash lookup before fixing registration.

Refs #23
2026-11-15 15:05:16 +01:00

23 lines
2.9 KiB
Markdown

# Gotchas
- [2026-10-14] `claude -p "/usage"` writes a transcript into the working directory's project folder unless `--no-session-persistence` is passed; that transcript would show up in Claude token history.
- [2026-10-14] Git Bash rewrites an argument that starts with `/` (`/usage` becomes `C:/Program Files/Git/usage`). Run CLI probes from PowerShell, or set `MSYS_NO_PATHCONV=1`. The app itself starts processes with an argument list, so it is not affected.
- [2026-10-18] Avalonia 12 `CustomPopupPlacementCallback` gets the target's bounds in window coordinates, and a flip mirrors anchor and gravity but not the offset. Put a gap into the anchor rectangle (see `DataTooltip.BesidePointer`).
- [2026-10-18] Fluent caps `ToolTip` `MaxWidth` at 320 px, and a tooltip that covers the pointer takes pointer-over from its control, which raises `PointerExited`. `Ui.Theme` raises the cap; tall tips open beside the pointer.
- [2026-11-14] Official Claude manual-code login must be relayed to the original process, not a browser's remote localhost. Redirected-stdin support needs live verification; Codex uses device auth. Worker D3 print-mode quota probing is opt-in because current docs do not promise it as a non-interactive quota API.
- [2026-11-14] Proxmox `pct exec` environment defaults differ by version. Installer calls explicitly use `--keep-env 0`; build/CLI installation also uses a clean environment under the intended non-root user.
- [2026-11-15] Documentation checks must skip `artifacts/` as well as `.artifacts/`: ignored build/audit downloads can contain third-party Markdown and are not project documentation.
- [2026-11-15] Plain `git pull` can silently overwrite ignored files newly tracked upstream. The Proxmox updater fetches then merges with `--ff-only --no-overwrite-ignore`; a real-Git regression covers ignored operator-state collisions.
- [2026-11-15] npm's local `--prefix` install writes `node_modules/.bin`; the Linux worker's `.local/bin/codex` requires a user-owned global prefix. The regression installs an offline synthetic package with real npm.
- [2026-11-15] Compare copied/archived license bytes with source bytes. `read_text()` normalizes Windows CRLF while ZIP reads retain it; explicit LF/CRLF fixtures cover both checkouts.
- [2026-11-15] Do not assume a bundled proxy or host-driven updates for LXC deployments. Use the operator's existing proxy and an in-container updater; preserve the public Host/Origin when the private backend uses HTTP.
- [2026-11-15] A build-owned source/output cannot supply code later executed as root. Capture updater bytes from the verified archive before build handoff and atomically install them in the root-owned release, excluding build-supplied updater files.
- [2026-11-15] Container shells can omit `/usr/local/sbin`. Register the updater in `/usr/local/bin`, print an absolute-path fallback, and test real shell lookup with sbin excluded.
## Archive