Skip to content

autocontext bleeding into agent's main workspace #233

@shaunbuswell

Description

@shaunbuswell

After every prompt, autocontext is calling the same agent with the following prompt

/context

After completing the requested changes, please create a git commit
with an appropriate message. Follow these guidelines:
- Use Conventional Commits format (feat:, fix:, docs:, style:,
refactor:, test:, chore:)
- Include a clear, concise description of the changes
- Only commit files that are directly related to this task
- If this project uses changesets and you've made a user-facing
change, you may run 'pnpm changeset' if appropriate"

The agent (in the main workspace) is then replying with things like "I'll use the /context skill to manage the project context." or "Could you specify what you mean by /context Or if you meant something different by /context, please clarify what you're trying to do."

As these additional prompts don't show in the main UI, the agent is silently sometimes derailing or loading additional files.

I know this with certainty as I just used the new v0.3.4 and tested it with these simple prompts:

"Can you read @README.md?"

"Can you confirm the process for logging issues?"

"Can you confirm what role you have loaded?"

Agent response was "Based on the /load execution I just completed, I loaded....."

Looked at logs and the following occurred:

  1. After "Can you read @README.md?" then prompt above was appended
  2. agent replied: "I'll use the /context skill to manage the project context."
  3. When it couldn't find a "/context skill", it stated "I need to extract the role from your command. You used /context which isn't a role alias. Let me clarify what you're asking for. Looking at the /load syntax, I need a role name. The aliases include...."

So this definitely is a bug but it's possible it's due to something i've done that I'm unaware of (even though it's using the official app, maybe there's some link with dev apps behind the scenes?).

If you need more info, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions