feat: Behavior settings home for chat defaults #3

Merged
hegdeatri merged 9 commits from feature/behavior-settings-home into master 2026-05-18 20:46:35 +01:00
Owner

Summary

  • New top-level Behavior section in the nav rail (between Models and Indexer) with the robot icon
  • Moves Default tool backend + Default agent mode radio groups out of Indexer > Status into their dedicated home
  • Adds a read-only summary card in BehaviorRight; per-thread overrides in the composer still take precedence
  • Reverts the Indexer > Status hint copy to indexing-only language
  • Drops redundant per-control help text now that the section header already conveys the same message

Spec: docs/superpowers/specs/2026-05-18-behavior-settings-home-design.md
Plan: docs/superpowers/plans/2026-05-18-behavior-settings-home.md

Test plan

  • bun run lint clean
  • bun run build clean (Next.js 16 static export)
  • Manual smoke: Behavior page renders, both controls round-trip to settings.json
  • Manual smoke: webview reload preserves selections
  • Manual smoke: Indexer > Status no longer shows the moved controls and hint reads "Progress and reindexing."
  • Manual smoke: per-thread mode/backend override in the composer still wins over the Behavior defaults

🤖 Generated with Claude Code

## Summary - New top-level **Behavior** section in the nav rail (between Models and Indexer) with the robot icon - Moves **Default tool backend** + **Default agent mode** radio groups out of `Indexer > Status` into their dedicated home - Adds a read-only summary card in `BehaviorRight`; per-thread overrides in the composer still take precedence - Reverts the `Indexer > Status` hint copy to indexing-only language - Drops redundant per-control help text now that the section header already conveys the same message Spec: `docs/superpowers/specs/2026-05-18-behavior-settings-home-design.md` Plan: `docs/superpowers/plans/2026-05-18-behavior-settings-home.md` ## Test plan - [x] bun run lint clean - [x] bun run build clean (Next.js 16 static export) - [ ] Manual smoke: Behavior page renders, both controls round-trip to settings.json - [ ] Manual smoke: webview reload preserves selections - [ ] Manual smoke: Indexer > Status no longer shows the moved controls and hint reads "Progress and reindexing." - [ ] Manual smoke: per-thread mode/backend override in the composer still wins over the Behavior defaults 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Two specs for the remaining Tier 2 work:

- 2026-05-18-behavior-settings-home-design.md — moves the
  default-tool-backend + default-agent-mode controls out of
  Indexer > Status into a dedicated top-level Behavior section.
  Closes the v1b carry-over from the agent-modes design.

- 2026-05-18-history-compression-design.md — adds a backend
  compressor that summarises older turns when projected token
  cost crosses a mode-aware percentage of the model's context
  window. Incremental caching via SSE round-trip. v1 covers
  older-turn compression only; reasoning compaction and
  tool-result stubbing are deferred.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two implementation plans for the remaining Tier 2 items, one per
spec. Each plan stands alone and produces a working, testable
slice on its own branch.

- 2026-05-18-behavior-settings-home.md — 7 mechanical tasks,
  frontend only, moves chat defaults out of Indexer > Status.
- 2026-05-18-history-compression.md — 16 TDD-driven tasks
  spanning backend (Compressor + cache reuse/extension/failure
  fallback), SSE wire format, and frontend (per-session cache
  + telemetry chip).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The section header already says "Defaults for new chat threads —
existing threads keep their per-thread choice." The per-control
form-help blocks repeated that verbatim. Drop them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hegdeatri left a comment

This looks good, ready to merge.

This looks good, ready to merge.
hegdeatri merged commit e760fac000 into master 2026-05-18 20:46:35 +01:00
hegdeatri deleted branch feature/behavior-settings-home 2026-05-18 20:46:35 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
hegdeatri/pkma-rs!3
No description provided.