---
id: 7397
title: Update AGENTS.md with Correct Health Check Endpoint
state: CLOSED
labels:
  - enhancement
  - ai
assignees:
  - tobiu
createdAt: '2025-10-07T07:28:29Z'
updatedAt: '2025-10-07T07:41:42Z'
githubUrl: 'https://github.com/neomjs/neo/issues/7397'
author: tobiu
commentsCount: 0
parentIssue: 7316
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-10-07T07:41:42Z'
---
# Update AGENTS.md with Correct Health Check Endpoint

This ticket addresses a critical error in the agent's session initialization protocol as documented in `AGENTS.md`. The current instructions specify using `http://localhost:8001/health` to check the status of the memory core server. This endpoint is incorrect for the version of ChromaDB in use, resulting in a `404 Not Found` error and causing the health check to fail silently.

This silent failure has led to repeated debugging cycles in multiple sessions. The correct, functional endpoint has been identified as `http://localhost:8001/api/v2/healthcheck`. Additionally, the Swagger UI available at `http://localhost:8001/docs/` is a valuable resource for endpoint discovery and should be documented for future debugging.

This sub-task aims to:
- Correct the health check command in `AGENTS.md` to prevent future initialization failures.
- Add a note about using the `/docs` endpoint for easier debugging of the memory server API.

## Acceptance Criteria

1.  The `curl` command in `AGENTS.md` for the memory core health check is updated to use the correct `/api/v2/healthcheck` endpoint.
2.  A note is added to `AGENTS.md` mentioning the availability of the Swagger UI at the `/docs` endpoint for debugging purposes.

## Timeline

- 2025-10-07T07:28:29Z @tobiu assigned to @tobiu
- 2025-10-07T07:28:30Z @tobiu added the `enhancement` label
- 2025-10-07T07:28:30Z @tobiu added the `ai` label
- 2025-10-07T07:28:30Z @tobiu added parent issue #7316
- 2025-10-07T07:41:07Z @tobiu referenced in commit `cc29481` - "Update AGENTS.md with Correct Health Check Endpoint #7397"
- 2025-10-07T07:41:42Z @tobiu closed this issue

