Skip to content

feat(subagents): support model and thinking configuration - #62

Merged
akonwi merged 3 commits into
mainfrom
feat/subagent-model-settings
Oct 4, 2026
Merged

akonwi merged 3 commits into
mainfrom
feat/subagent-model-settings

Conversation

@akonwi

@akonwi akonwi commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a patch-style API for changing a durable subagent conversation's model and/or thinking level
  • persist configuration changes and serialize model transitions against task admission, claims, dismissal, and owner deletion
  • expose subagent-specific model and thinking controls in the TUI and macOS app without changing the main-session controls
  • regenerate the OpenAPI and Swift clients and document the configuration behavior
  • load settled child transcripts directly from their durable store so archived conversations do not depend on their original runtime bundle or working directory
  • encode empty transcript content as [] to preserve the OpenAPI contract for strict Swift decoding

Behavior

  • thinking changes may be applied while work is active; the in-flight request remains unchanged and the next request uses the new value
  • model changes require no active or queued work
  • model transitions assess and compact durable child context when necessary before committing the authoritative configuration
  • active runtime application failures stop the worker and return the committed configuration with a warning
  • concurrent accepted patches are server-serialized; the last accepted same-field write wins

Validation

  • gofmt -l .
  • git diff --check
  • go build ./...
  • go vet ./...
  • go test ./...
  • go test -race ./internal/droids/sqlitestore ./internal/session ./internal/subagent ./internal/server
  • OpenAPI emission and staleness checks
  • generated Swift source check
  • targeted macOS subagent configuration tests
  • full macOS Xcode test suite: 475 tests passed
  • manual macOS verification against a durable subagent whose original working directory had been removed

@akonwi
akonwi merged commit 5deed36 into main Oct 4, 2026
4 checks passed
@akonwi
akonwi deleted the feat/subagent-model-settings branch October 4, 2026 04:34
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