Files
FinalToken/.agents/mind/gotchas.md
T
schmidt.florian 43caf1e412 tools: update inside LXC and use the existing proxy (#22)
Use the operator's HTTPS proxy with a private backend on port 5187. Limit the Proxmox host script to container creation and install a self-updating command inside the LXC. Preserve keys/history during legacy proxy migration and keep root updater code isolated from unprivileged build output.

Closes #21
2026-11-15 13:06:04 +01:00

2.7 KiB

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.

Archive