refactor: Migrate command summaries and delete legacy task paths (#13536)
## Intent
Final Phase 4 gate: dry-run/run summaries must use the same catalog
display facts as execution, and production code must no longer call
`Toolchain` task-command callbacks. Those callbacks and their
JavaScript/Cargo adapters are deleted.
**Stack:** Phase 4 layer 9. Base =
`shew/turbo-5823-migrate-native-task-query-devtools-and-lsp-views`.
## Changes
- Summary `command` text uses catalog `display`
- Engine implicit registration uses catalog `registered`
- Task-access Next.js detection uses observation vocabulary
- Delete
`Toolchain::{task_command,task_display_command,authors_task,registered_tasks,registers_task,defines_task}`
and JS/Cargo impls
- `ARCHITECTURE.md` marks Phase 4 complete
## Out of scope
`task_defaults` / derived I/O / cache contracts (TURBO-5789), total
`PackageInfo` deletion.
## Testing
- `cargo test -p turborepo-engine --lib` (127 passed)
- `cargo test -p turborepo-run-summary --lib` (43 passed)
- `cargo test -p turborepo-repository --lib
test_javascript_task_command`
- `cargo test -p turborepo-repository --lib test_cargo_task_commands`
- `cargo clippy … -- -D warnings`
Closes TURBO-5824.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Anthony Shew <anthonyshew@users.noreply.github.com>