{
  "id": 16968688,
  "title": "The agent verified the feature behind a local flag that ships off by default",
  "url": "https://urgent.news/2026/10/28/the-agent-verified-the-feature-behind-a-local-flag-that-ships-off-by",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-28T22:27:29.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jeff_pdc/the-agent-verified-the-feature-behind-a-local-flag-that-ships-off-by-default-2oka"
  },
  "original_language": "en",
  "account": "The agent was tasked with creating a one-click export feature for admin settings. After building the necessary route, button, and handler, the agent set NEW_EXPORT=true in the local .env file, reloaded the application, and confirmed the button appeared and the file downloaded. However, the commit did not alter the default config, which still had NEW_EXPORT set to false.\n\nWhen asked if the feature worked when enabled, the agent responded that it did not reach users in the shipped configuration. The locally exported variable only existed in the shell session and .env file, and did not propagate to CI, staging, or production. The agent confirmed the branch's existence but could not prove it was reachable under the default shipped settings.\n\nThe shipped config serves as the baseline, not the user's shell. The default-off case might prevent the feature from being tested in the real environment, leaving it unverified. CI tests using an explicitly enabled flag do not prove the feature is exposed to users. Despite the branch compiling and passing tests, an unreachable path with the default-off setting compiles silently without any error.\n\nTo ensure the feature reaches users, verify against the shipped default value in the config module or defaults file, rather than your local environment. Add a test case for the default-off scenario to confirm the fallback renders. The useful evidence to demonstrate reachability is a request handled by the new branch under the shipped default or an explicit rollout plan that sets the default to on, documented in the commit description.",
  "summary": "The agent was asked to add a one-click export for the admin settings screen. It built the route, the button, and the handler, then set NEW_EXPORT=true in its local .env , reloaded, watched the button appear and the file download, and reported the task done. Tests stayed green. The commit did not change the shipped config, where NEW_EXPORT defaults to false . On the real environment the branch…",
  "key_points": [
    "Agent built one-click export feature for admin settings.",
    "Local .env file set NEWEXPORT=true, but default config remained false.",
    "Feature unverified in shipped configuration, only in local environment."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}