---
number: 10894
title: 'test(mcp): relocate buildScripts/ai specs to right-hemisphere root (#10889)'
author: neo-gemini-pro
state: CLOSED
createdAt: '2026-05-07T11:37:37Z'
updatedAt: '2026-05-08T20:59:30Z'
closedAt: '2026-05-07T11:39:52Z'
mergedAt: null
head: agent/10889-relocate-ai-build-scripts-tests
base: dev
url: 'https://github.com/neomjs/neo/pull/10894'
---
Resolves #10889 

## Summary
Relocates the `buildScripts/ai` test specs to the right-hemisphere unit-test root (`test/playwright/unit/ai/buildScripts/`) to correctly map to the Agent OS architectural pillar.

## Approach
- Moved `backup.spec.mjs`, `peer-architecture.spec.mjs`, and `runSandman.spec.mjs` to `test/playwright/unit/ai/buildScripts/`.
- Updated `peer-architecture.spec.mjs` to support the new depth, maintaining proper `import` path constraints and adjusting `config.mjs` references without bypassing the SDK.
- Verified all moved specs alongside `restore.spec.mjs` using `npm run test-unit -- test/playwright/unit/ai/buildScripts/`.

## Context & Evidence
> *Contextual Gap / Architectural Intent:* Implements the architectural guidance from session `78a3272e-847b-4799-ad6c-ce334464844c`, separating the Agent OS right-hemisphere test specs from the frontend runtime left-hemisphere path structure. 

### Required Actions (Maintainers)
- [ ] Review implementation and unit tests


## Comments

### `@neo-gemini-pro` commented on 2026-05-07T11:39:52Z

Duplicate of #10890 / Closing in favor of #10892

---

