All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
RC-1: Gitea org fallback already removed (no-op, confirmed) RC-3: Push/pull now explicitly target origin main (HEAD:main) in both pod_git_operations.go and claudebox/git.go — fixes Woodpecker webhook trigger by ensuring pushes always land on the main branch RC-4: wait_for_pipeline records baseline pipeline number before polling; only returns success when a NEWER pipeline completes — prevents false positive when a prior pipeline was already success RC-5: Redis WRONGPASS fixed on live persona-community-5 instance; platform gap noted (no reprovision endpoint for Redis ACL drift) RC-6: Removed on_error:continue from all infra provisioning steps (add-db, add-redis) across persona-community, slackpath-2/3/4/5 trees — infra failures now fail the tree instead of silently continuing to a crash RC-7: Added .pnpm-store/ to skeleton .gitignore — prevents thousands of cache files being committed by agents after pnpm install RC-2: Updated all 12 cookbook trees — git_clone_url jordan/ → threesix/ (24 occurrences across all slackpath, aeries, full-stack, genkit trees) Also: strings.Cut and strings.SplitSeq lint fixes in pod_git_operations.go and claudebox/git.go Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
61 lines
2.0 KiB
YAML
61 lines
2.0 KiB
YAML
name: aeries-2-simulation
|
|
description: "Aeries Phase 2: The Spark of Life. Extracts Agent Simulation logic into a dedicated service."
|
|
version: 1
|
|
|
|
vars:
|
|
project_id: "" # Required - ID from genesis run
|
|
feature_slug: "extract-simulation"
|
|
|
|
steps:
|
|
# --- Step 1: Mitosis (Extraction) ---
|
|
create-simulation-svc:
|
|
description: "Scaffold new Simulation Service"
|
|
action: api
|
|
method: POST
|
|
endpoint: "/projects/{{ .vars.project_id }}/components"
|
|
body: { type: worker, name: "simulation-svc" }
|
|
|
|
extract-logic:
|
|
description: "Agent moves Agent Logic from Core to Simulation Service"
|
|
action: api
|
|
method: POST
|
|
endpoint: "/projects/{{ .vars.project_id }}/builds"
|
|
body:
|
|
prompt: "/extract-service core-api/internal/domain/agent_logic simulation-svc --pattern strangler"
|
|
auto_commit: true
|
|
auto_push: true
|
|
git_clone_url: "https://git.threesix.ai/threesix/{{ .vars.project_id }}.git"
|
|
outputs:
|
|
- build_id: .data.task_id
|
|
|
|
wait-extraction:
|
|
description: Wait for extraction to complete
|
|
depends_on: [extract-logic]
|
|
action: wait_build
|
|
build_id: "{{ .outputs.extract-logic.build_id }}"
|
|
max_attempts: 120
|
|
poll_interval: 5
|
|
|
|
wait-deploy:
|
|
action: wait_pipeline
|
|
project_id: "{{ .vars.project_id }}"
|
|
|
|
# --- Verification: Parity ---
|
|
verify-parity:
|
|
description: "Ensure Core API still returns Agent data (now proxied)"
|
|
depends_on: [wait-deploy]
|
|
action: shell
|
|
command: |
|
|
DOMAIN=$(curl -s "$RDEV_API_URL/projects/{{ .vars.project_id }}" -H "X-API-Key: $RDEV_API_KEY" | jq -r .domain)
|
|
# Assuming we have an agent from Genesis
|
|
ID=$(curl -s "https://$DOMAIN/api/agents" | jq -r '.[0].id')
|
|
|
|
RESP=$(curl -s "https://$DOMAIN/api/agents/$ID")
|
|
if [[ -n "$ID" && "$ID" != "null" ]] && echo "$RESP" | grep -q "$ID"; then
|
|
echo "Parity Verified: Proxied request succeeded"
|
|
exit 0
|
|
else
|
|
echo "Failure: Request failed after extraction"
|
|
exit 1
|
|
fi
|