The system prompt is the set of instructions Claude Code gives the model. A background agent is a helper that keeps working after Claude has replied. The instruction about background agents now has a second version, used when a setting called staysForBackgroundAgentAfterReply is on. It tells Claude:
Work that has an end, such as a build or a test run, can run in a background agent.
A background agent should not be used to keep a server or a watcher running.
A restart of the server the session runs on can stop the agent.
When the setting is off, Claude gets the earlier single line saying work that must continue after the reply can run in a background agent.
Why
This changes how Claude handles long-running work, so it should avoid relying on a background agent for anything that needs to stay up indefinitely.