Skip to content

[codex] Add channel output tone and grammar fixer#276

Draft
crazygo wants to merge 1 commit into
mainfrom
codex/channel-output-tone-grammar-fixer
Draft

[codex] Add channel output tone and grammar fixer#276
crazygo wants to merge 1 commit into
mainfrom
codex/channel-output-tone-grammar-fixer

Conversation

@crazygo

@crazygo crazygo commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the channel-level output tone and input grammar fixer architecture discussed in the product design thread.

  • Adds channel output tone storage with Direct, Socratic, Rhetorical, and Custom settings.
  • Injects the current channel output tone into the default/local model system prompt.
  • Adds channel grammar fixer enable/disable state and display-only grammar check metadata.
  • Adds system tools so the model can update output tone, custom output tone, and grammar fixer settings.
  • Updates the mobile channel settings UI, user-bubble grammar indicators, tests, docs, backlog, migration, and code maps.

Product Notes

Output tone is channel state, not a per-response model invocation. Grammar fixer does not rewrite the main user input; it only updates user-message metadata with accepted/suggested UI feedback.

Reply action buttons are intentionally out of this PR and captured in backlog.

Validation

  • cd apps/node_backend && npm run type-check
  • cd apps/node_backend && npm test -- src/services/chatRouterService.test.ts src/services/localAgentLoopService.test.ts src/routes/chat.test.ts
  • cd apps/mobile_chat_app && flutter analyze
  • cd apps/mobile_chat_app && flutter test
  • Code maps parsed with local apps/node_backend/node_modules/js-yaml

Full backend npm test still requires database env and currently stops at src/app.test.ts when no DATABASE_URL / Postgres URL is configured.

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bricks Ready Ready Preview, Comment Jun 17, 2026 9:50am

Request Review

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