[codex] Add Conductor workspace setup (#5)

* Add Conductor workspace setup

* Refine Conductor setup script structure

* Separate Conductor setup steps

* Consolidate Conductor setup script

* Use KTX env var for agent overlays

* Restore Orbit verification summary docs
This commit is contained in:
Andrey Avtomonov 2026-05-11 10:40:30 +02:00 committed by GitHub
parent dc66ffdffb
commit 075764fe77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 39 additions and 1 deletions

View file

@ -82,8 +82,27 @@ resolve_uv_for_project() {
printf '%s\n' "$workspace_uv"
}
link_agent_overlays() {
if [ -z "${KTX_AGENT_OVERLAYS_ROOT:-}" ] || [ ! -d "${KTX_AGENT_OVERLAYS_ROOT}/.agents" ]; then
return 0
fi
if [ -L .agents ]; then
return 0
fi
if [ -e .agents ]; then
echo "Skipping .agents symlink because .agents already exists and is not a symlink." >&2
return 0
fi
ln -s "${KTX_AGENT_OVERLAYS_ROOT}/.agents" .agents
}
echo "=== Conductor KTX workspace setup ==="
link_agent_overlays
if [ -n "${CONDUCTOR_ROOT_PATH:-}" ] && [ -f "$CONDUCTOR_ROOT_PATH/.env" ]; then
ln -sf "$CONDUCTOR_ROOT_PATH/.env" .env
echo "Linked .env"