Skip to content

S12: spec-draft mode over ACP - #17

Merged
FabioLeitao merged 1 commit into
mainfrom
epic/s12-spec-draft-mode
Oct 20, 2026
Merged

FabioLeitao merged 1 commit into
mainfrom
epic/s12-spec-draft-mode

Conversation

@FabioLeitao

Copy link
Copy Markdown
Owner

Summary

Implements S12 — spec-draft mode over ACP for upstream Twigpine#664.

Changes

  • internal/acp/agent.go:
    • handleSetMode: allow PermissionModeSpecDraft in addition to Auto, Ask, Plan
    • handleSetConfigOption: allow PermissionModeSpecDraft in config option mode
    • modeState: advertise spec-draft in AvailableModes from session/new

Acceptance

  • session/set_mode with spec-draft succeeds ✅
  • session/set_config_option with configID: mode and value: spec-draft succeeds ✅
  • session/new returns spec-draft in availableModes ✅
  • Spec-draft treated like Plan (read-only, no write/shell tools) ✅

Depends on

Closes #8

- internal/acp/agent.go: allow spec-draft mode in handleSetMode and handleSetConfigOption
- internal/acp/agent.go: advertise spec-draft in AvailableModes from session/new

Part of S12 implementation for upstream Twigpine#664.
@FabioLeitao
FabioLeitao merged commit ab90c70 into main Oct 20, 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.

upstream feedback aberto: #1106 (overflow real, CodeRabbit) e #1107 (overlap com #1082, mantenedor humano)

1 participant