{
    "archive_path": "archive/1791842730.781163",
    "base_url": "github.com/openai/codex/issues/48195",
    "basename": "48195",
    "bookmarked_date": "2026-10-12 22:05",
    "canonical": {
        "archive_org_path": "https://web.archive.org/web/github.com/openai/codex/issues/48195",
        "dom_path": "output.html",
        "favicon_path": "favicon.ico",
        "git_path": "git/",
        "google_favicon_path": "https://www.google.com/s2/favicons?domain=github.com",
        "headers_path": "headers.json",
        "htmltotext_path": "htmltotext.txt",
        "index_path": "index.html",
        "media_path": "media/",
        "mercury_path": "mercury/content.html",
        "pdf_path": "output.pdf",
        "readability_path": "readability/content.html",
        "screenshot_path": "screenshot.png",
        "singlefile_path": "singlefile.html",
        "warc_path": "warc/",
        "wget_path": "github.com/openai/codex/issues/48195.html"
    },
    "domain": "github.com",
    "extension": "",
    "hash": "1GFYD9XVPS3BD1P795SX",
    "history": {
        "archive_org": [],
        "dom": [],
        "favicon": [
            {
                "cmd": [
                    "curl",
                    "--silent",
                    "--location",
                    "--compressed",
                    "--max-time",
                    "120",
                    "--output",
                    "favicon.ico",
                    "--user-agent",
                    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 ArchiveBox/0.7.4 (+https://github.com/ArchiveBox/ArchiveBox/) curl/curl 8.14.1 (x86_64-pc-linux-gnu)",
                    "https://www.google.com/s2/favicons?domain=github.com"
                ],
                "cmd_version": "curl 8.14.1 (x86_64-pc-linux-gnu)",
                "end_ts": "2026-10-12T22:09:31.127614+00:00",
                "index_texts": null,
                "output": "favicon.ico",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:30.483973+00:00",
                "status": "succeeded"
            }
        ],
        "git": [],
        "headers": [
            {
                "cmd": [
                    "curl",
                    "--silent",
                    "--location",
                    "--compressed",
                    "--head",
                    "--max-time",
                    "120",
                    "--user-agent",
                    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 ArchiveBox/0.7.4 (+https://github.com/ArchiveBox/ArchiveBox/) curl/curl 8.14.1 (x86_64-pc-linux-gnu)",
                    "https://github.com/openai/codex/issues/48195"
                ],
                "cmd_version": "curl 8.14.1 (x86_64-pc-linux-gnu)",
                "end_ts": "2026-10-12T22:09:31.635722+00:00",
                "index_texts": null,
                "output": "headers.json",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:31.144289+00:00",
                "status": "succeeded"
            }
        ],
        "htmltotext": [],
        "media": [],
        "mercury": [
            {
                "cmd": [
                    "/app/node_modules/@postlight/parser/cli.js",
                    "https://github.com/openai/codex/issues/48195"
                ],
                "cmd_version": "1.0.0",
                "end_ts": "2026-10-12T22:09:53.266909+00:00",
                "index_texts": null,
                "output": "mercury",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:44.475976+00:00",
                "status": "succeeded"
            }
        ],
        "pdf": [],
        "readability": [
            {
                "cmd": [
                    "/app/node_modules/readability-extractor/readability-extractor",
                    "/tmp/tmp0y3b1j3a",
                    "https://github.com/openai/codex/issues/48195"
                ],
                "cmd_version": "0.0.11",
                "end_ts": "2026-10-12T22:09:44.468739+00:00",
                "index_texts": [
                    "What variant of Codex are you using?\nCLI \u2014 0.157.0, installed via npm install -g @openai/codex, Linux (WSL2)\nWhat feature would you like to see?\nPlease make daemon_auto_start opt-in (default false) for the CLI, or at least ask once before turning it on.\nSince 0.157.0, just opening an interactive codex session:\n\nStarts a persistent background daemon (codex app-server --managed-daemon). It runs in its own session with no TTY and keeps running after every Codex window is closed (reparented to PID 1) until codex app-server daemon stop or a reboot.\nCopies the whole platform package (~374 MB: codex, codex-code-mode-host, bundled bwrap/zsh/rg) into ~/.codex/packages/app-server-daemon/releases/<version>/ \u2014 byte-identical to what npm had just installed \u2014 and runs the daemon from that copy. From then on the backend's version is decoupled from the CLI version I installed with my package manager.\nStarts a detached updater (codex app-server daemon pid-update-loop) that checks for updates 5 minutes after start and then hourly, downloads new releases and restarts the backend (which can kill active turns, see app-server daemon: auto-update force-kills active turns after a 60s drain budget, and cannot be disabled\u00a0#40969).\nPins the environment of whichever session happened to start it. I launch Codex through a wrapper that sets HTTPS_PROXY per invocation; the daemon keeps the first session's proxy variables and its outbound connections go through that proxy, whatever later sessions are launched with. Hooks in --remote mode receive the daemon's cwd, not the session's\u00a0#42457 and Hooks spawned by the app-server daemon cannot identify the client terminal, breaking terminal-targeting hooks\u00a0#37537 (daemon cwd / terminal instead of the session's) look like the same root cause.\n\nFor a CLI, the least surprising default is that the backend lives and dies with the window, runs the binary I installed, and doesn't update itself in the background. A shared, self-updating daemon makes sense for Remote Control / the desktop app, so it would be fine to enable it there, or when the user explicitly runs codex app-server daemon start / bootstrap.\nIf it stays on by default, please at least:\n\nexit an auto-started daemon when its last client disconnects;\nnot copy/self-update when the CLI was installed by a package manager (npm/brew/pacman) \u2014 run the installed binary instead (Support externally managed app-server daemon executables\u00a0#41188, npm update leaves app-server on old version, but daemon update/restart refuse recovery\u00a0#46468, Codex 0.157.0 no longer starts with the Arch Linux package unless --no-daemon is used\u00a0#48050).\n\nAdditional information\nBug found while turning it off: codex app-server daemon stop stops the app-server but leaves the pid-update-loop updater running (still alive 70 s later, had to kill it manually).\nWorkaround I'm using:\ncodex features disable daemon_auto_start\ncodex app-server daemon stop\npkill -f 'app-server daemon pid-update-loop'   # not stopped by `daemon stop`\nrm -rf ~/.codex/packages/app-server-daemon\nWith the flag off, a new TUI session no longer spawns a daemon.\nRelated: #40969, #41188, #46468, #48050, #42457, #37537"
                ],
                "output": "readability",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:40.347581+00:00",
                "status": "succeeded"
            }
        ],
        "screenshot": [],
        "singlefile": [],
        "title": [
            {
                "cmd": [
                    "curl",
                    "--silent",
                    "--location",
                    "--compressed",
                    "--max-time",
                    "120",
                    "--user-agent",
                    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 ArchiveBox/0.7.4 (+https://github.com/ArchiveBox/ArchiveBox/) curl/curl 8.14.1 (x86_64-pc-linux-gnu)",
                    "https://github.com/openai/codex/issues/48195"
                ],
                "cmd_version": "curl 8.14.1 (x86_64-pc-linux-gnu)",
                "end_ts": "2026-10-12T22:09:40.344379+00:00",
                "index_texts": null,
                "output": "CLI: make `daemon_auto_start` opt-in \u2014 a persistent, self-updating background daemon shouldn't be the default \u00b7 Issue #48195 \u00b7 openai/codex \u00b7 GitHub",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:40.305615+00:00",
                "status": "succeeded"
            }
        ],
        "wget": [
            {
                "cmd": [
                    "wget",
                    "--no-verbose",
                    "--adjust-extension",
                    "--convert-links",
                    "--force-directories",
                    "--span-hosts",
                    "--no-parent",
                    "-e",
                    "robots=off",
                    "--reject=js,mjs,woff,woff2,ttf,otf,eot,mp4,m4v,mov,webm,ogv,mkv,avi,flv",
                    "--timeout=120",
                    "--restrict-file-names=windows",
                    "--page-requisites",
                    "--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 ArchiveBox/0.7.4 (+https://github.com/ArchiveBox/ArchiveBox/) wget/GNU Wget 1.21.3",
                    "--compression=auto",
                    "--timestamping",
                    "https://github.com/openai/codex/issues/48195"
                ],
                "cmd_version": "GNU Wget 1.21.3",
                "end_ts": "2026-10-12T22:09:40.300082+00:00",
                "index_texts": null,
                "output": "github.com/openai/codex/issues/48195.html",
                "pwd": "/data/archive/1791842730.781163",
                "schema": "ArchiveResult",
                "start_ts": "2026-10-12T22:09:31.650229+00:00",
                "status": "succeeded"
            }
        ]
    },
    "icons": null,
    "is_archived": true,
    "is_static": false,
    "latest": {
        "archive_org": null,
        "dom": null,
        "favicon": "favicon.ico",
        "git": null,
        "media": null,
        "pdf": null,
        "screenshot": null,
        "singlefile": null,
        "title": "CLI: make `daemon_auto_start` opt-in \u2014 a persistent, self-updating background daemon shouldn't be the default \u00b7 Issue #48195 \u00b7 openai/codex \u00b7 GitHub",
        "warc": null,
        "wget": "github.com/openai/codex/issues/48195.html"
    },
    "link_dir": "/data/archive/1791842730.781163",
    "newest_archive_date": "2026-10-12T22:09:44.475976+00:00",
    "num_failures": 0,
    "num_outputs": 6,
    "oldest_archive_date": "2026-10-12T22:09:30.483973+00:00",
    "path": "/openai/codex/issues/48195",
    "schema": "Link",
    "scheme": "https",
    "snapshot_id": "0dc2e68c-308e-432d-a58c-f271f5951f86",
    "sources": [
        "/data/sources/1791842730-import.txt"
    ],
    "tags": null,
    "tags_str": "",
    "timestamp": "1791842730.781163",
    "title": "CLI: make `daemon_auto_start` opt-in \u2014 a persistent, self-updating background daemon shouldn't be the default \u00b7 Issue #48195 \u00b7 openai/codex \u00b7 GitHub",
    "updated": "2026-10-12T22:09:30.483469+00:00",
    "updated_date": "2026-10-12 22:09",
    "url": "https://github.com/openai/codex/issues/48195"
}