Skip to content

[Bug]: forge doesn't get context from the command I run #2639

@syabro

Description

@syabro

Bug Description

~/Downloads
❯ rm test                                                                                                                                󱙺 FORGE  gpt-5.4-mini
rm: cannot remove 'test': Is a directory

~/Downloads
❯ : fix it                                                                                                                               󱙺 FORGE  gpt-5.4-mini
⏺ [11:11:07] Initialize 729a620c-de9b-4d67-a287-b8af9efab6db
Investigating the task

I'm trying to figure out what "fix it" means without any context. I need to explore the codebase first, and maybe I'll need to ask for clarification later. There might be an issue in the current folder, or perhaps something in Downloads that's related. Since the user said to "fix it," I need to identify what "it" refers to, like a failing test or build. I'll look into the directories using the tools available to see what I can find.Deciding on command usage

Steps to Reproduce

log above:

  • new session
  • rm <dirnane>
  • ask forge to gix it

Expected Behavior

context passed, forge can do something about it

Actual Behavior

context not passed, forge doesn't know about my commands

Error Logs

Forge Version

2.1.0

Operating System

Linux (Arch)

OS Version

No response

AI Provider

OpenAI

Model

gpt-5 mini

Installation Method

Other

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureBrand new functionality, features, pages, workflows, endpoints, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions