feat: workspace.location config, wizard section, system prompt (#176) #177
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot!177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/176-workspace-location"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #176
Changes
1. Nested config support
workspace.locationin cobot.yml (backward compat with flatworkspace: "/path"string).2. Wizard section
New "📂 Workspace" step in
cobot initwizard, asks for workspace directory.3. System prompt injection
WorkspacePlugin.get_system_prompt()tells the agent its workspace path.Tests
3 new tests (nested config, flat compat, system prompt). All 12 pass.
Config and wizard changes look good. One issue:
Remove the
context.system_promptimplementation. The workspace path does not need to be in the system prompt — PR #175 already makes the exec tool use the workspace as cwd, so the agent naturally operates there. Adding it to the prompt is redundant and adds noise.Specifically, remove:
implements: {"context.system_prompt": "get_system_prompt"}from metaget_system_prompt()methodtest_get_system_prompttestThe rest (nested config, backward compat, wizard section) is solid.
Addressed Zeus review: removed
get_system_prompt(), theimplementsentry, and the test. PR #175 already handles workspace cwd via exec. Pushed in7db0a55.