Skip to content

feat(kernel): add WHEN TO USE guidance to task tool and promote spawn-background to core (#1348)#1352

Merged
crrow merged 1 commit intomainfrom
issue-1348-task-tool-desc
Apr 13, 2026
Merged

feat(kernel): add WHEN TO USE guidance to task tool and promote spawn-background to core (#1348)#1352
crrow merged 1 commit intomainfrom
issue-1348-task-tool-desc

Conversation

@crrow
Copy link
Copy Markdown
Collaborator

@crrow crrow commented Apr 13, 2026

Summary

  • Enrich task tool description with WHEN TO USE / WHEN NOT TO USE sections (Hermes delegate_task pattern), so the LLM knows when to delegate vs do it itself
  • Promote spawn-background from deferred to core tier so it's always visible
  • Remove redundant delegation paragraph from context_contract (tool description is now authoritative)

Type of change

Type Label
New feature enhancement

Component

core

Closes

Closes #1348

Test plan

  • cargo check -p rara-kernel passes
  • Pre-commit hooks pass (check, fmt, clippy, doc)
  • Manual verification: task tool description now shows WHEN TO USE guidance

…-background to core (#1348)

- Enrich task tool description with WHEN TO USE / WHEN NOT TO USE
  sections following the Hermes delegate_task pattern, so the LLM
  knows when delegation is appropriate
- Promote spawn-background from deferred to core tier so it is
  always visible in the tool list
- Remove redundant delegation guidance from context_contract (now
  authoritative in tool description)

Closes #1348
@crrow crrow added enhancement New feature or request core Core system changes labels Apr 13, 2026
@crrow crrow merged commit cdab37e into main Apr 13, 2026
2 checks passed
@crrow crrow deleted the issue-1348-task-tool-desc branch April 13, 2026 15:14
@github-actions github-actions bot mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core system changes enhancement New feature or request

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

feat(kernel): improve task tool description with WHEN TO USE guidance

1 participant