Skip to content

Add Step 2 (P1): natural-language intent routing and intent UI#35

Merged
rad1092 merged 2 commits into
mainfrom
codex/check-remaining-tasks-and-unused-md-files-qda2yv
Feb 15, 2026
Merged

Add Step 2 (P1): natural-language intent routing and intent UI#35
rad1092 merged 2 commits into
mainfrom
codex/check-remaining-tasks-and-unused-md-files-qda2yv

Conversation

@rad1092
Copy link
Copy Markdown
Owner

@rad1092 rad1092 commented Feb 15, 2026

Motivation

  • Provide a natural-language "작업 요청(intent)" layer so users can give free-text instructions separate from question and have the UI route to the appropriate workflow.
  • Start a simple but useful intent-routing surface (analysis / multi-compare / visualize / fallback) to reduce friction for common multi-step flows.

Description

  • Added an intent textarea and an intentActions region to the UI (bitnet_tools/ui/index.html) to capture task intent and surface recommended actions.
  • Implemented first-pass intent classification in classifyIntent and intent-driven execution via runByIntent in bitnet_tools/ui/app.js, routing intents to analyze, multi (multi-compare), visualize, or unknown fallback flows.
  • Extracted and reused runMultiAnalyze and added requestState to store separated question, intent, and route, plus a modeGuide to explain quick/advanced flows.
  • Added fallback recommended action buttons and live UI hints while typing the intent, and minor accessibility/status improvements (aria-live) and styling in bitnet_tools/ui/styles.css.

Testing

  • Ran the test suite with pytest -q and all tests passed (26 passed).
  • Launched the web UI and ran an automated Playwright smoke script that filled the intent and captured a screenshot at artifacts/ui-step2-intent.png, which verified the new intent input, live hint text, and recommended-action buttons rendering.

Codex Task

@rad1092 rad1092 merged commit a5dcab3 into main Feb 15, 2026
4 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 159920a16b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bitnet_tools/ui/app.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant