Skip to content

feat: boost interactive elements for action-oriented queries#13

Merged
luigi-agosti merged 1 commit intomainfrom
feat/issue-2-interactive-boost
Mar 25, 2026
Merged

feat: boost interactive elements for action-oriented queries#13
luigi-agosti merged 1 commit intomainfrom
feat/issue-2-interactive-boost

Conversation

@Djain912
Copy link
Copy Markdown
Collaborator

Summary

  • add Interactive to ElementDescriptor
  • propagate interactive from snapshot JSON to descriptors in CLI loading
  • apply interactive score boost in lexical matcher
  • action-oriented queries get a stronger boost than non-action queries
  • add tests for action verb detection, boost behavior, interactive ranking, and snapshot propagation

Issue

Closes #2

Validation

  • go test -c ./internal/engine (compile-only)
  • go test -c ./cmd/semantic (compile-only)
  • Full test execution is blocked in this environment by Windows Application Control policy for generated test executables

Copy link
Copy Markdown
Contributor

@luigi-agosti luigi-agosti left a comment

Choose a reason for hiding this comment

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

@Djain912 if you have dependent pr you could also do a pr on top of one, also in this early phases when there is a lot to do I'll not complain if you do multiple fixes in one pr

@luigi-agosti
Copy link
Copy Markdown
Contributor

@Djain912 fix the conflict and feel free to merge this pr

@luigiagent luigiagent force-pushed the feat/issue-2-interactive-boost branch from 34339a3 to a4aaf2b Compare March 25, 2026 09:03
@luigi-agosti luigi-agosti merged commit 8b0b4ed into main Mar 25, 2026
7 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.

Boost interactive elements when query implies action

2 participants