Skip to content

Sanitize derived project IDs#2163

Open
KairosOps wants to merge 1 commit into
AgentWrapper:mainfrom
KairosOps:fix/sanitize-derived-project-id
Open

Sanitize derived project IDs#2163
KairosOps wants to merge 1 commit into
AgentWrapper:mainfrom
KairosOps:fix/sanitize-derived-project-id

Conversation

@KairosOps

@KairosOps KairosOps commented Jun 20, 2026

Copy link
Copy Markdown

Fixes #1877.

This keeps project IDs derived from local paths on the same path as configured project IDs. A directory like llama.cpp now registers as llama-cpp instead of writing a dotted key into config, and the flat-config registration path uses the same helper.

Checked locally:

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm --filter @aoagents/ao-cli... build
  • pnpm --filter @aoagents/ao-cli test -- __tests__/commands/start.test.ts
  • pnpm --filter @aoagents/ao-cli typecheck
  • pnpm exec eslint packages/cli/src/commands/start.ts packages/cli/__tests__/commands/start.test.ts
  • git diff --check origin/main..HEAD

I used --ignore-scripts only to avoid the local Windows native rebuild step; the relevant workspace packages were built before running the CLI checks.

@KairosOps KairosOps changed the title fix: sanitize derived project ids Sanitize derived project IDs Jun 21, 2026
@KairosOps KairosOps marked this pull request as ready for review June 21, 2026 04:05
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.

Project IDs with dots/special chars cause validation error on ao start

1 participant