Skip to content

Conversation

@sylwia-budzynska
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 12, 2025 18:31
Copilot finished reviewing on behalf of sylwia-budzynska November 12, 2025 18:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR attempts to update the help message example for the -p (personality) parameter from -p assistant to -p personalities.assistant. However, the change is incomplete.

Key Issue

  • The updated example uses personalities.assistant, but the correct format throughout the codebase is seclab_taskflow_agent.personalities.assistant (the full package path)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

help_msg = parser.format_help()
help_msg += "\nExamples:\n\n"
help_msg += "`-p assistant explain modems to me please`\n"
help_msg += "`-p personalities.assistant explain modems to me please`\n"
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example help message uses an incomplete personality reference. Based on the codebase, the correct format should be seclab_taskflow_agent.personalities.assistant (the full package path), not just personalities.assistant.

This is evident from:

  1. The README.md (line 71) which shows: hatch run main -p seclab_taskflow_agent.personalities.assistant 'explain modems to me please'
  2. The documentation (README.md lines 487-491) which explains that names like seclab_taskflow_agent.personalities.assistant get split at the last . into package name and filename
  3. The actual implementation in available_tools.py (line 59-61) which splits on . and expects format "packagename.filename"
  4. All taskflow YAML files throughout the codebase use the full format seclab_taskflow_agent.personalities.assistant

The help message should use the same format to be consistent with actual usage.

Suggested change
help_msg += "`-p personalities.assistant explain modems to me please`\n"
help_msg += "`-p seclab_taskflow_agent.personalities.assistant explain modems to me please`\n"

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @copilot. If you install with pip install seclab_taskflow_agent, then the correct name for the assistant is seclab_taskflow_agent.personalities.assistant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When running the docker container with the script, the way to run it would be with -p personalities.assistant explain modems to me please. We could consider unifying this and/or updating the docker docs too.

Copy link
Contributor

Copilot AI commented Nov 13, 2025

@kevinbackhouse I've opened a new pull request, #72, to work on those changes. Once the pull request is ready, I'll request review from you.

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.

4 participants