{"name":"exitCode","slug":"exitcode","family":"setting","title":"Settings keys","noun":"settings key","description":"Lessons from shell commands now record the command, exit code and directory, even when no lesson was found.","description_source":"entry","described_by":{"version":"2.1.234","anchor":"command-lessons-are-recorded-with-the-command-that-produced-"},"presence":{"first_seen":"2.1.309","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":1,"mined_builds":150,"first_cited":{"version":"2.1.281","released_at":"2026-09-23 17:01:17","spans":3}},"aliases":[],"entries":[{"version":"2.1.234","anchor":"command-lessons-are-recorded-with-the-command-that-produced-","heading":"Command lessons are recorded with the command that produced them","line":"Lessons from shell commands now record the command, exit code and directory, even when no lesson was found.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"},{"version":"2.1.140","anchor":"bridge-process-management-unified","heading":"Bridge Process Management Unified","line":null,"released_at":"2026-05-12 19:50:28","reason":"found in this entry's text"},{"version":"2.0.12","anchor":"internal-code-organization","heading":"Internal Code Organization","line":null,"released_at":"2025-10-09 15:43:28","reason":"found in this entry's text"},{"version":"0.2.126","anchor":"improved-exit-handling","heading":"Improved Exit Handling","line":null,"released_at":"2025-05-22 02:22:07","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"api","path":"agents-and-tools\/tool-use\/text-editor-tool","title":"text-editor-tool","documented":false},{"source":"api","path":"build-with-claude\/mid-conversation-effort-example","title":"mid-conversation-effort-example","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"plugins\/mods\/api","title":"Use the mods API","documented":false},{"source":"claude-code","path":"plugins\/mods\/events","title":"React to events with a mod","documented":false},{"source":"claude-code","path":"plugins\/mods\/test","title":"Test a mod","documented":false}],"docs_total":6,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/exitcode","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}