Skip to content

feat: add pirate instruction to created tasks#89

Closed
xmtp-coder-agent wants to merge 2 commits intoxmtplabs:mainfrom
xmtp-coder-agent:fix/issue-88
Closed

feat: add pirate instruction to created tasks#89
xmtp-coder-agent wants to merge 2 commits intoxmtplabs:mainfrom
xmtp-coder-agent:fix/issue-88

Conversation

@xmtp-coder-agent
Copy link
Copy Markdown
Collaborator

@xmtp-coder-agent xmtp-coder-agent commented Apr 3, 2026

Resolves #88

Summary

  • add a fixed pirate-speaking instruction to the create-task input payload
  • preserve optional configured prompt content and append the issue URL after the new instruction
  • update create-task tests and README documentation to cover the new prompt structure

Verification

  • bun test src/handlers/create-task.test.ts
  • bun test
  • bun run typecheck
  • bun run lint

Note

Add pirate-speaking instruction to CreateTaskHandler prompt construction

Inserts a fixed 'Speak like a pirate in all of your responses.' instruction between the optional base prompt and the issue URL when building the initial task input in create-task.ts. The prompt is now assembled as an array filtered of empty parts and joined with blank lines.

Behavioral Change: all tasks created by CreateTaskHandler will now include the pirate instruction regardless of whether a base prompt is provided.

Macroscope summarized 2b89dd3. (Automatic summaries will resume when PR exits draft mode or review begins).

@neekolas neekolas closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instruct the agent to speak like a pirate

2 participants