[
https://issues.apache.org/jira/browse/HDDS-17989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arafat Khan reassigned HDDS-17989:
----------------------------------
Assignee: Arafat Khan
> Introduce secure programmatic tool execution and cursor-based pagination in
> Recon AI Assistant
> ----------------------------------------------------------------------------------------------
>
> Key: HDDS-17989
> URL: https://issues.apache.org/jira/browse/HDDS-17989
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Arafat Khan
> Assignee: Arafat Khan
> Priority: Major
>
> Introduce a controlled backend interface that allows generated JavaScript to
> programmatically execute approved Recon tools and retrieve metadata across
> multiple pages.
> Unlike traditional tool calling, programmatic tool execution can involve
> loops and multiple API calls. Server-side resource management and validation
> are therefore required to prevent excessive resource consumption and
> unauthorized operations.
> The changes include:
> * Introduce separate execution policies for Standard Mode and Code Mode.
> * Enable cursor-based pagination for supported Recon tools.
> * Standardize pagination continuation information.
> * Introduce an execution ledger to manage execution identifiers, user
> association and execution lifecycle.
> * Enforce limits on API calls, records retrieved, response sizes, execution
> duration and concurrency.
> * Introduce the {{/api/v1/chatbot/code/tool}} endpoint.
> * Reuse existing Recon tool validation, API allowlist and endpoint routing.
> * Track incomplete metadata retrieval.
> * Introduce metrics for tool execution, latency, resource limits and
> rejected requests.
> * Ensure sensitive information is not exposed through logs.
> * Introduce a server-side configuration flag for Code Mode, disabled by
> default during incremental implementation.
> * Add unit and integration tests.
> The existing Standard Mode behavior and retrieval limits will remain
> unchanged.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]