Skip to content

Refactor away OpenCode subtask command mode#58

Merged
dbpolito merged 1 commit intomainfrom
refactor/remove-subtask-command-mode
Mar 26, 2026
Merged

Refactor away OpenCode subtask command mode#58
dbpolito merged 1 commit intomainfrom
refactor/remove-subtask-command-mode

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Mar 26, 2026

Ticket

SKIPPED

Description

Remove the unused OpenCode subtask command stripping mode so the adapter always uses a single behavior and the config surface matches the runtime.

Checklist

Runtime behavior

  • Remove conditional subtask command stripping from the OpenCode plugin hook.
  • Stop loading adapter config that only existed to support that removed mode.

Config surface

  • Remove subtaskCommandMode from bundled configs, schema, and merged config types.
  • Delete config tests that exercised the removed setting.

Test coverage

  • Remove OpenCode tests that covered conditional subtask command stripping.
  • Keep existing task-hook and command-execution coverage focused on supported behavior.

Validation

  • Verify task and command hooks still log and preserve supported payloads correctly.
  • Check OpenCode config loading still works with the remaining adapter settings.

- remove the adapter config and schema for subtask command stripping
- simplify the OpenCode plugin by dropping conditional subtask command removal
- delete tests that covered the removed configuration path
@dbpolito dbpolito self-assigned this Mar 26, 2026
@dbpolito dbpolito merged commit 2e5520b into main Mar 26, 2026
1 check passed
@dbpolito dbpolito deleted the refactor/remove-subtask-command-mode branch March 26, 2026 20:21
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