{"version":"2.1.280","anchor":"register-repo-root-gains-structured-sdk-telemetry-and-error","canonical_anchor":"register-repo-root-gains-structured-sdk-telemetry-and-error","heading":"register_repo_root gains structured SDK telemetry and error codes","tier":"internal","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/register-repo-root-gains-structured-sdk-telemetry-and-error","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### register_repo_root gains structured SDK telemetry and error codes\n\nregister_repo_root, which adds a working directory, now logs detailed telemetry and error codes\n\n**What**\n\nThe `register_repo_root` tool, used to add a working directory to a session, now tracks which reload options were requested (`reload_claude_md`, `reload_skills`, `reload_plugins`) and sends a new, more specific telemetry event when it runs, including a distinct error code on failure instead of a generic one.\n\n**Why**\n\nThis makes it easier to diagnose exactly what went wrong when registering a new repo root fails, and what reload behavior was requested at the time.\n\n- Area: Elsewhere\n- Names: `register_repo_root`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}