refactor: remove all uncaged codename references
CI / check (pull_request) Failing after 8m0s

- Remove UNCAGED_CAS_DIR and UNCAGED_WORKFLOW_STORAGE_ROOT env var fallbacks
- Tests updated to use OCAS_DIR / UWF_STORAGE_ROOT
- All docs, READMEs, scripts, workflows, skills updated
- Only symlink migration code retains .uncaged paths (functional requirement)

Closes #12 (Phase 5 complete)
This commit is contained in:
2026-06-03 00:08:45 +08:00
parent e2098e7371
commit 87b893bd28
51 changed files with 214 additions and 271 deletions
+2 -2
View File
@@ -7,12 +7,12 @@
# Examples:
# ./scripts/batch-solve.sh 448 449
# ./scripts/batch-solve.sh --agent "bun run $(pwd)/packages/agent-claude-code/src/cli.ts" 448 449
# ./scripts/batch-solve.sh --repo uncaged/workflow --count 15 448 449
# ./scripts/batch-solve.sh --repo shazhou/united-workforce --count 15 448 449
set -euo pipefail
AGENT=""
REPO="uncaged/workflow"
REPO="shazhou/united-workforce"
COUNT=10
ISSUES=()
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Check development environment prerequisites for uncaged/workflow.
# Check development environment prerequisites for shazhou/united-workforce.
# Non-interactive — prints actionable fix instructions on failure.
# Exit 0 = all good, exit 1 = missing dependencies.
set -euo pipefail
@@ -54,7 +54,7 @@ echo "=== Workflow ==="
REPO_DIR="${WORKFLOW_REPO:-$(cd "$(dirname "$0")/.." && pwd)}"
check "repo at ~/repos/workflow or WORKFLOW_REPO set" \
"[ -f '$REPO_DIR/packages/cli/src/cli.ts' ]" \
"Clone the repo: git clone https://git.shazhou.work/uncaged/workflow ~/repos/workflow"
"Clone the repo: git clone https://git.shazhou.work/shazhou/united-workforce ~/repos/workflow"
# Check bun install
check "node_modules installed" \
@@ -89,7 +89,7 @@ echo ""
echo "=== Config ==="
# Check workflow config exists
CONFIG_DIR="${UNCAGED_WORKFLOW_STORAGE_ROOT:-$HOME/.uncaged/workflow}"
CONFIG_DIR="${UWF_STORAGE_ROOT:-$HOME/.shazhou/united-workforce}"
check "config.yaml exists" \
"[ -f '$CONFIG_DIR/config.yaml' ]" \
"Run: uwf setup"
+7 -7
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# E2E walkthrough for uncaged/workflow.
# Runs inside Docker with isolated UNCAGED_WORKFLOW_STORAGE_ROOT.
# E2E walkthrough for shazhou/united-workforce.
# Runs inside Docker with isolated UWF_STORAGE_ROOT.
# Exercises: setup → workflow add → thread start/exec → cancel/fork → read/inspect.
#
# Usage:
@@ -69,9 +69,9 @@ cat > "$E2E_DIR/run.sh" << 'INNER_SCRIPT'
#!/usr/bin/env bash
set -euo pipefail
# Isolated storage — never touches host's ~/.uncaged/workflow
export UNCAGED_WORKFLOW_STORAGE_ROOT="/tmp/uwf-e2e-storage"
mkdir -p "$UNCAGED_WORKFLOW_STORAGE_ROOT"
# Isolated storage — never touches host's ~/.uwf
export UWF_STORAGE_ROOT="/tmp/uwf-e2e-storage"
mkdir -p "$UWF_STORAGE_ROOT"
REPO_DIR="$1"
AGENT="$2"
@@ -156,8 +156,8 @@ if [ -n "$PROVIDER" ] && [ -n "$MODEL" ] && [ -n "$API_KEY" ]; then
run_test "uwf setup (non-interactive)" bash -c "$SETUP_CMD"
else
# Copy host config if available
if [ -f "$HOME/.uncaged/workflow/config.yaml" ]; then
cp "$HOME/.uncaged/workflow/config.yaml" "$UNCAGED_WORKFLOW_STORAGE_ROOT/config.yaml"
if [ -f "$HOME/.shazhou/united-workforce/config.yaml" ]; then
cp "$HOME/.shazhou/united-workforce/config.yaml" "$UWF_STORAGE_ROOT/config.yaml"
echo " Copied host config.yaml" >&2
fi
fi