Skip to content

Merge feat/3.1.0 into release: ask_user conditional questions, remove duplicate model settings tab - #2876

Merged
jieyuhuayang merged 2 commits into
releasefrom
feat/3.1.0
Dec 3, 2026
Merged

jieyuhuayang merged 2 commits into
releasefrom
feat/3.1.0

Conversation

@jieyuhuayang

@jieyuhuayang jieyuhuayang commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This merge brings two new commits from feat/3.1.0 to release:

  • 736929b feat(linsight): let ask_user show follow-up questions on condition
  • 19e00d1 refactor(platform): remove duplicate model settings tab from client management

A clarify card can now declare that a question shows only when an earlier question got a given answer (when: {id, option}). The card pages only through the questions that are shown, and the answer includes only them. An invalid condition is dropped and the question shows as usual. The ask_user run event gets an optional when field; the event omits it when it is empty, so old clients see no change.

Spec: features/v3.1.0/005-ask-user-conditional-questions/spec.md

The client management page no longer has the "Model permissions" tab. That tab rendered the same component as Model > System model settings > User selectable models and wrote the same configuration, but it did not show the tenant scope banner or the child tenant inheritance check. When credit billing is off, the client page now opens the model audit tab by default.

Verification

  • Backend: test_ask_user_coercion.py, test_unified_event_mapping.py, test_stream_event_mapper.py and the related linsight / open API contract tests pass.
  • Frontend: stepUtils.test.ts, ClarifyCard.run.test.tsx, the new IntentRow.test.tsx, and the chat / run store tests pass. ESLint and tsc-strict are clean on the changed files.
  • Client management tab removal: DshPage and SystemPage/dsh vitest suites pass; platform lint, tsc-strict and check-i18n are clean.
  • After merge: end-to-end check on test (116:3001) with deep research and daily chat.

🤖 Generated with Claude Code

jieyuhuayang and others added 2 commits December 3, 2026 18:11
A clarify card can now declare that a question shows only when an earlier
question got a given answer. The model gives the earlier question an "id"
and the follow-up a "when": {"id", "option"}. The card pages only through
the questions that are shown, and the answer text includes only them.

- ask_user keeps "id" and "when". It drops a condition that points at an
  unknown or later question, or at an option that does not exist, and
  shows the question as usual. Duplicate ids get a suffix.
- The ask_user run event carries an optional "when". The event omits it
  when it is empty, so old clients see no change.
- The confirmed-intent row pairs answer lines by question text for cards
  with conditions. Cards without conditions keep index pairing.

Spec: features/v3.1.0/005-ask-user-conditional-questions/spec.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anagement

The client management "Model permissions" tab rendered the same
WorkbenchModel component as Model > System model settings > User
selectable models, and it read and wrote the same configuration. The
client tab did not show the tenant scope banner or the child tenant
inheritance check. Keep only the system model settings entry.

When credit billing is off, the client page now opens the model audit
tab by default. A saved ?tab=models link opens the first available tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jieyuhuayang jieyuhuayang changed the title Merge feat/3.1.0 into release: ask_user conditional follow-up questions Merge feat/3.1.0 into release: ask_user conditional questions, remove duplicate model settings tab Dec 3, 2026
@jieyuhuayang
jieyuhuayang merged commit 5a8fc7c into release Dec 3, 2026
3 checks passed
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