Skip to content

fix: sanitize project IDs derived from folder names with dots/special chars#2992

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

fix: sanitize project IDs derived from folder names with dots/special chars#2992
vanshx999 wants to merge 1 commit into
AgentWrapper:mainfrom
vanshx999:fix/sanitize-project-id

Conversation

@vanshx999

@vanshx999 vanshx999 commented Jul 22, 2026

Copy link
Copy Markdown

When running ao start in a folder whose name contains dots (e.g. llama.cpp), the auto-derived project ID produces a session ID like llama.cpp-1 that fails the session ID pattern [a-zA-Z0-9_-]+.

This sanitizes the project ID at derivation time replacing any character outside [a-zA-Z0-9_-] with a hyphen so llama.cpp becomes llama-cpp and sessions are valid.

Closes #1877

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