Skip to content

Bug/stale project id parsing#299

Merged
Alex793x merged 3 commits intodevelopfrom
bug/stale-project-id-parsing
Mar 15, 2026
Merged

Bug/stale project id parsing#299
Alex793x merged 3 commits intodevelopfrom
bug/stale-project-id-parsing

Conversation

@Alex793x
Copy link
Copy Markdown
Contributor

No description provided.

Alex Holmberg and others added 3 commits March 11, 2026 10:18
is_generation_query() only checked the current user input, so short
follow-up messages like "sure go ahead fix all then" didn't match any
keyword and caused the agent to be built without WriteFileTool,
WriteFilesTool, and ShellTool. The model then tried to call those tools
(they were in conversation history) and got ToolNotFoundError.

Two fixes:
1. Add commonly missing generation verbs to is_generation_query:
   fix, update, add, change, modify, edit, configure, setup, patch,
   install - these clearly imply file modification intent.

2. Track last_was_generation in ChatSession. For short inputs (< 60
   chars) that aren't planning mode, inherit generation mode from the
   previous turn so confirmations like "sure", "yes", "go ahead" keep
   write/shell tools active.

Co-Authored-By: Claude <noreply@anthropic.com>
The agent created a hallucinated project_id when deploying for the syncable platform.
Instead of relying context, the project_id is now ALWAYS derrived directly from the session, where users attach them selves to a project.
@Alex793x Alex793x merged commit 3a3e61b into develop Mar 15, 2026
4 checks passed
Alex793x added a commit that referenced this pull request Mar 28, 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.

1 participant