Validation failed: This project did not pass its latest build, test, or lint checks after automated repairs. It may not work as described and should be treated as a work in progress.

A caller asking “Where is my order?” needs a useful answer, but an order lookup is not permission to reveal everything associated with a customer. That makes order status a good small example of a larger voice-agent design problem: connect a conversation to a narrow piece of data, keep identity and privacy boundaries visible, and explain the result without exposing unrelated information.

That is the goal of this work in progress: an order-status voice agent built around Telentir. The repository describes a workflow involving lookup, an identity-check boundary, status explanation, delivery context, and escalation. The code currently provides only a small starting point for that idea, though. Automated validation still failed after repair attempts, and I can’t claim that setup, the tests, or the intended workflow work as written.

View the repository

Start with the boundary, not the voice

The project goal is to retrieve an order status from an internal API and explain it without exposing unrelated data. I like that framing because it makes the hard part explicit: the agent should not treat a caller’s question as permission to return an entire customer record.

The repository’s feature list names an identity-check boundary and an audit note, but those should be read as intended workflow concepts—not verified implementation. The supplied source does not show identity verification, an audit-note mechanism, or an internal order API. It also does not show a voice interface or conversation state. The page at src/pages/index.tsx renders a heading and welcome message; it is a placeholder for the larger interaction rather than evidence of a working voice flow.

That distinction matters when building conversational systems. A project can describe a safe interaction pattern before the code enforces it. The useful next step is to make the boundary concrete: define what information is needed to identify an order, what must be checked before revealing status, and which fields the response is allowed to contain. In this repository, those decisions remain design work.

The current architecture is a thin client layer

The implementation centers on @silyze/telentir-sdk. Both src/index.ts and src/telentirClient.ts construct a TelentirClient with an ObjectManager. The manager sets a Telentir API base, reads TELENTIR_API_KEY from the environment, and supplies empty arrays, caches, and asynchronous no-op functions for its other members. The client configuration is an empty object.

The lookup function in src/index.ts shows the intended call shape:

export const getOrderStatus = async (orderId: string) => { try { const response = await client.getOrderStatus(orderId); console.log(`Order Status for ${orderId}:`, response); } catch (error) { console.error('Error retrieving order status:', error); } }; 

This is useful as a sketch of responsibility: pass an order identifier to the client, handle a rejected call, and do something with the response. But it is not yet a complete application boundary. The response is logged rather than converted into a carefully scoped spoken answer, and the catch block logs the error. The source also calls getOrderStatus('12345') at module load, so importing that file triggers a lookup attempt with a fixed sample identifier.

There is also duplication: the Telentir manager and client setup appear in both files. A future refactor could make telentirClient.ts the single construction point and have application code import that instance. That would make the integration easier to configure and test, but it has not happened in the supplied code.

The project is Telentir-centered. Although this article also references Sportmicro, no Sportmicro SDK, endpoint, adapter, or other integration appears in the repository. I would treat a Sportmicro connection as a separate future integration, not as part of the current implementation.

Implementation flow: what exists and what remains

I read the current flow as a starting path, not as a demonstrated voice interaction:

  1. The code constructs a Telentir client using an API key from the environment.
  2. getOrderStatus accepts an order ID and calls client.getOrderStatus(orderId).
  3. On success, the code logs the returned value; on failure, it logs an error.
  4. The Next.js page renders static welcome content.

The repository goal places an internal API between the conversation and order data, but the provided excerpts do not show that service or how it is called. The visible lookup calls the SDK method directly. That leaves an important architectural question open: does Telentir itself provide the order lookup, or should the agent call a separate internal service? The project description points toward the latter, while the current source does not establish the connection. I would resolve that before adding more conversational behavior.

Likewise, the listed delivery context and escalation do not appear in the supplied source excerpt. The repository contains tests/orderStatus.test.ts, but its contents are not provided here, so I can’t describe its coverage or claim that it validates the flow. The available evidence is enough to identify the intended shape, but not to say the features have been demonstrated.

A compact view of the repository makes that gap clear:

. ├── .env.example ├── package.json ├── README.md ├── src/ │ ├── index.ts │ ├── telentirClient.ts │ └── pages/ │ └── index.tsx └── tests/ └── orderStatus.test.ts 

The tree shows a small application surface: a page, two client-related source files, and a test file. It does not by itself indicate a voice runtime, an internal API implementation, or an identity service.

Local setup, with the right caveat

The README documents installing dependencies with npm install and creating a .env file containing TELENTIR_API_KEY. The package scripts declare dev as next dev, build as next build, start as next start, and test as jest. These are repository instructions and configured script names, not confirmation that any command currently succeeds.

The project’s latest automated build, test, or lint validation failed after automated repairs. The available context does not identify the exact failing command or error, so I won’t guess at a fix or present a successful local run. Treat the documented setup as something to investigate in a checkout, not as a verified path to a working application. The .env.example file is present, but its contents are not included in the supplied repository evidence, so I can’t say whether it provides a complete environment template.

There is another practical reason to inspect before relying on the setup: src/index.ts invokes a lookup as soon as the module is loaded. Until that side effect is removed or isolated, importing the module may attempt a request with the hard-coded sample ID. That could complicate both local exploration and tests, regardless of the intended application flow.

Design constraints considered

The repository does not document a specific implementation incident or setback, so the useful discussion here is about constraints suggested by the goal and the current code.

First, order status is sensitive enough that the response should be narrower than the underlying data. The README’s identity-check boundary points in the right direction, but no check is visible in the source. A future implementation should make authorization a prerequisite to lookup or disclosure, rather than relying on the voice prompt to ask the right question.

Second, raw logging is convenient while sketching an integration but can expose more than the final response should. The current function logs the complete response object and logs caught errors. A next iteration should decide what may safely be logged and return a limited, typed result to the conversation layer instead of printing the payload. That change would also separate retrieval from phrasing: one component can fetch and constrain status data, while another can turn the allowed fields into a clear response.

Finally, the empty manager methods and the duplicated client setup are boundaries to resolve, not proof of a functioning backend. Before adding features, I would clarify which operations the SDK is expected to perform, what the internal API owns, and where errors are translated into user-safe outcomes.

What I would build next

I would start by making the lookup callable without a module-load side effect and by consolidating client construction. Then I’d define a small result shape for order status and decide exactly which fields can leave the service boundary. That gives the UI—or a future voice layer—a stable, limited object to work with rather than an unrestricted response.

Next, I’d implement and test the identity-check boundary and the internal API connection described by the project goal. The test file is already part of the project layout, but its current contents are unknown here; the next tests should make the expected behavior explicit, including what happens when an order is not found or a lookup fails. Those are proposed next steps, not features currently verified in this repository.

Only after that would I expand the conversational layer to cover delivery context and escalation. The README names those as intended features, but there is no evidence in the supplied source that they are implemented. Keeping them downstream of a narrow, tested lookup would make the privacy boundary easier to reason about.

The takeaway is simple: an order-status agent is not just a lookup wrapped in a voice interface. The useful engineering work is deciding what the caller may learn, where that decision is enforced, and how the application handles the result without leaking the underlying record. This repository is an early Telentir-based sketch of that problem—not a completed or validated agent—and that makes the boundary between intention and implementation the most important thing to keep visible.