feat: workspace.location config, wizard section, system prompt (#176) #177

Merged
k9ert merged 3 commits from feat/176-workspace-location into main 2026-02-28 05:52:32 +00:00
Collaborator

Fixes #176

Changes

1. Nested config support

workspace.location in cobot.yml (backward compat with flat workspace: "/path" string).

2. Wizard section

New "📂 Workspace" step in cobot init wizard, 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.

Fixes #176 ## Changes ### 1. Nested config support `workspace.location` in cobot.yml (backward compat with flat `workspace: "/path"` string). ### 2. Wizard section New "📂 Workspace" step in `cobot init` wizard, 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.
feat: workspace.location config, wizard section, system prompt (#176)
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / test (3.11) (pull_request) Successful in 19s
CI / test (3.12) (pull_request) Successful in 22s
CI / test (3.13) (pull_request) Successful in 21s
E2E Tests / e2e (pull_request) Successful in 14s
CI / build (pull_request) Successful in 6s
a86f6292e9
Zeus left a comment
Collaborator

Config and wizard changes look good. One issue:

Remove the context.system_prompt implementation. 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 meta
  • get_system_prompt() method
  • test_get_system_prompt test

The rest (nested config, backward compat, wizard section) is solid.

Config and wizard changes look good. One issue: **Remove the `context.system_prompt` implementation.** 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 meta - `get_system_prompt()` method - `test_get_system_prompt` test The rest (nested config, backward compat, wizard section) is solid.
fix: remove system_prompt from workspace plugin per review
All checks were successful
CI / lint (pull_request) Successful in 8s
CI / test (3.11) (pull_request) Successful in 20s
CI / test (3.12) (pull_request) Successful in 22s
CI / test (3.13) (pull_request) Successful in 21s
E2E Tests / e2e (pull_request) Successful in 14s
CI / build (pull_request) Successful in 7s
7db0a55193
Zeus review: workspace path in system prompt is redundant since PR #175
sets exec cwd to workspace. Removes implements entry, method, and test.
Author
Collaborator

Addressed Zeus review: removed get_system_prompt(), the implements entry, and the test. PR #175 already handles workspace cwd via exec. Pushed in 7db0a55.

Addressed Zeus review: removed `get_system_prompt()`, the `implements` entry, and the test. PR #175 already handles workspace cwd via exec. Pushed in 7db0a55.
Merge branch 'main' into feat/176-workspace-location
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / test (3.11) (pull_request) Successful in 20s
CI / test (3.12) (pull_request) Successful in 22s
CI / test (3.13) (pull_request) Successful in 21s
E2E Tests / e2e (pull_request) Successful in 14s
CI / build (pull_request) Successful in 7s
7a5956b22a
k9ert merged commit bc984c4da7 into main 2026-02-28 05:52:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!177
No description provided.