name: LeDecaf cloud editorial desk run-name: LeDecaf ${{ github.event_name == 'workflow_run' && 'release recovery' || inputs.mode || 'scheduled' }} on: workflow_run: workflows: [CI] types: [completed] branches: [main] schedule: # Thursday readiness check, Friday edition, Saturday recovery if needed. - cron: '17 7 * * 4,5,6' workflow_dispatch: inputs: mode: description: Cloud desk operation type: choice options: [preflight, watchdog_probe, weekly, scheduled, maintenance, verify_current, backfill] default: preflight backfill_anchor: description: Last completed historical Friday (automatic continuation) type: string default: '' backfill_interludes: description: Completed priority editions since that history (maximum 2) type: number default: 0 permissions: contents: write # All production publisher workflows use this one non-cancelling lock. concurrency: group: ledecaf-production-release cancel-in-progress: false # Preserve a current/readiness run arriving during the continuation check. queue: max jobs: release_gate: # Never check out PR/fork input or restore publishing secrets in this job. if: >- github.event_name == 'workflow_run' && github.event.repository.private == true && github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository && github.event.workflow_run.run_attempt == 1 && github.run_attempt == 1 && vars.LEDECAF_NO_COST_VERIFIED == 'true' && vars.LEDECAF_GITHUB_ZERO_BUDGET == 'true' && vars.LEDECAF_CLOUD_ENABLED == 'true' runs-on: ubuntu-24.04 timeout-minutes: 3 permissions: contents: read actions: read pull-requests: read outputs: eligible: ${{ steps.qualify.outputs.eligible }} sha: ${{ steps.qualify.outputs.sha }} ci_run_id: ${{ steps.qualify.outputs.ci_run_id }} pull_request: ${{ steps.qualify.outputs.pull_request }} ticket_identity: ${{ steps.qualify.outputs.ticket_identity }} steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.workflow_run.head_sha }} persist-credentials: false - name: Qualify the exact tested release and reviewed recovery ticket id: qualify env: GH_TOKEN: ${{ github.token }} run: python3 -m ops.release_recovery qualify --event "$GITHUB_EVENT_PATH" editorial: needs: release_gate if: >- always() && !cancelled() && (github.event_name != 'workflow_run' || needs.release_gate.outputs.eligible == 'true') && github.event.repository.private == true && vars.LEDECAF_NO_COST_VERIFIED == 'true' && vars.LEDECAF_GITHUB_ZERO_BUDGET == 'true' && vars.LEDECAF_CLOUD_ENABLED == 'true' # Keep the OS used by the verified cloud release; upgrade deliberately. runs-on: ubuntu-24.04 # At most one correction (120m), one weekly issue (120m), and two meetings (40m). # The account's hard $0 overage cap remains the spending boundary. timeout-minutes: 300 outputs: backfill_action: ${{ steps.backfill_continuation.outputs.action }} backfill_target: ${{ steps.backfill_continuation.outputs.target }} backfill_anchor: ${{ steps.backfill_continuation.outputs.anchor }} backfill_interludes: ${{ steps.backfill_continuation.outputs.interludes }} env: PYTHONPATH: ${{ github.workspace }} CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }} LEDECAF_STATE_NAMESPACE: ${{ vars.LEDECAF_STATE_NAMESPACE }} LEDECAF_STATE_RELEASE_ID: ${{ vars.LEDECAF_STATE_RELEASE_ID }} MODE: ${{ github.event_name == 'workflow_run' && 'release_recovery' || inputs.mode || 'scheduled' }} LEDECAF_RELEASE_SHA: ${{ needs.release_gate.outputs.sha }} LEDECAF_RELEASE_CI_RUN_ID: ${{ needs.release_gate.outputs.ci_run_id }} LEDECAF_RELEASE_PR: ${{ needs.release_gate.outputs.pull_request }} LEDECAF_RELEASE_TICKET_IDENTITY: ${{ needs.release_gate.outputs.ticket_identity }} BACKFILL_ANCHOR: ${{ inputs.backfill_anchor || '' }} BACKFILL_INTERLUDES: ${{ inputs.backfill_interludes || 0 }} TZ: Europe/Berlin PRISM_ENV: production DATABASE_URL: '' steps: - name: Set private temporary working paths run: | echo "CODEX_HOME=$RUNNER_TEMP/ledecaf-codex" >> "$GITHUB_ENV" echo "BUNDLE=$RUNNER_TEMP/ledecaf-state" >> "$GITHUB_ENV" echo "LEDECAF_NATIVE_RUNTIME_DIR=$RUNNER_TEMP/ledecaf-native-runtime" >> "$GITHUB_ENV" - uses: actions/checkout@v4 with: ref: ${{ github.event_name == 'workflow_run' && needs.release_gate.outputs.sha || 'main' }} persist-credentials: false - name: Record the actual checkout before any publication filing run: echo "LEDECAF_ACTUAL_CHECKOUT=$(git rev-parse HEAD)" >> "$GITHUB_ENV" - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - name: Install locked publishing tools and pinned Codex run: | pip install -r requirements.txt -r ops/requirements-cloud.txt npm ci --no-audit --no-fund VERSION=$(python -c 'import json; print(json.load(open("ops/weekly_codex_runtime.json"))["runtime_version"])') npm install -g "@openai/codex@$VERSION" --no-audit --no-fund - name: Restore encrypted authority and dedicated login id: restore env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py restore --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" - name: Reserve the reviewed recovery once against the actual held authority id: release_claim if: env.MODE == 'release_recovery' run: python -m ops.release_recovery claim --bundle "$BUNDLE" --auth "$CODEX_HOME/auth.json" - name: Confirm the one-time reservation before any editorial model call id: release_claim_checkpoint if: env.MODE == 'release_recovery' && steps.release_claim.outputs.eligible == 'true' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published - name: Select deployment or Git filing recovery before another edition id: route if: env.MODE != 'release_recovery' || (steps.release_claim.outputs.eligible == 'true' && steps.release_claim_checkpoint.outcome == 'success') run: python -m ops.cloud_cycle select --bundle "$BUNDLE" --mode "$MODE" - name: Check the bounded historical request before doing more work if: env.MODE == 'backfill' env: TARGET: ${{ steps.route.outputs.target }} ROUTE_ACTION: ${{ steps.route.outputs.action }} run: python -m ops.backfill_continue guard --bundle "$BUNDLE" --completed-target "$TARGET" --route-action "$ROUTE_ACTION" --anchor "$BACKFILL_ANCHOR" --interludes "$BACKFILL_INTERLUDES" - name: Install the qualified isolated runtime only for model-capable routes id: isolated_runtime if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill","noop","preflight","verify_current"]'), steps.route.outputs.action) timeout-minutes: 10 env: GH_TOKEN: ${{ github.token }} run: | python -m ops.native_policy_artifact --manifest ops/native_policy_release.json --destination "$LEDECAF_NATIVE_RUNTIME_DIR" python -c 'import os; from pathlib import Path; from ops.native_policy_runtime import load_qualified_runtime; load_qualified_runtime(Path(os.environ["LEDECAF_NATIVE_RUNTIME_DIR"]), Path("ops/native_policy_release.json").resolve())' sudo apt-get update sudo apt-get install -y bubblewrap apparmor-profiles apparmor-utils libssl3t64 libgcc-s1 sudo install -m 0644 /usr/share/apparmor/extra-profiles/bwrap-userns-restrict /etc/apparmor.d/bwrap-userns-restrict sudo apparmor_parser -r /etc/apparmor.d/bwrap-userns-restrict - name: Renew and durably save the dedicated session before model work id: session_renewal if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill","noop","preflight","verify_current"]'), steps.route.outputs.action) env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python -m ops.subscription_session renew --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" - name: Remember the restored publication fingerprint run: echo "RESTORED_DATABASE_SHA=$(python -m ops.cloud_cycle database-fingerprint --bundle "$BUNDLE")" >> "$GITHUB_ENV" - name: Research due follow-ups, check corrections, and remember Sucre id: meeting if: contains(fromJSON('["prepare","prepare_correction","noop"]'), steps.route.outputs.action) run: python -m ops.cloud_cycle maintenance --bundle "$BUNDLE" - name: Preserve the editorial meeting before authoring if: steps.meeting.outcome == 'success' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published - name: Select the saved correction, weekly issue, or bounded historical issue id: cycle if: env.MODE != 'release_recovery' || (steps.release_claim.outputs.eligible == 'true' && steps.release_claim_checkpoint.outcome == 'success') run: python -m ops.cloud_cycle select --bundle "$BUNDLE" --mode "$MODE" - name: Recheck the historical limit after editorial planning if: env.MODE == 'backfill' env: TARGET: ${{ steps.cycle.outputs.target }} ROUTE_ACTION: ${{ steps.cycle.outputs.action }} run: python -m ops.backfill_continue guard --bundle "$BUNDLE" --completed-target "$TARGET" --route-action "$ROUTE_ACTION" --anchor "$BACKFILL_ANCHOR" --interludes "$BACKFILL_INTERLUDES" - name: Check the dedicated subscription and model if: steps.cycle.outputs.action == 'preflight' || steps.cycle.outputs.action == 'verify_current' run: python ops/run_cloud_weekly.py --preflight --database "$BUNDLE/prism.db" --state-file "$BUNDLE/state.json" - name: Check the optional reviewer without spending credits if: steps.cycle.outputs.action == 'preflight' || steps.cycle.outputs.action == 'verify_current' env: OPENROUTER_API_KEY: ${{ secrets.LEDECAF_OPENROUTER_KEY }} run: python -m ops.external_review --preflight - name: Research, write, and review the bilingual issue id: prepare if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill"]'), steps.cycle.outputs.action) env: TARGET: ${{ steps.cycle.outputs.target }} RUN_KIND: ${{ steps.cycle.outputs.run_kind }} OPENROUTER_API_KEY: ${{ secrets.LEDECAF_OPENROUTER_KEY }} run: | KIND_ARGS=() if [ "$RUN_KIND" = 'retrospective' ]; then KIND_ARGS=(--run-kind retrospective); fi python -m ops.cloud_cycle review --bundle "$BUNDLE" --target "$TARGET" --allow-correction-hold "${KIND_ARGS[@]}" - name: Keep a held correction and its independent review evidence if: steps.prepare.outputs.held == 'true' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published - name: Retain accepted copy and reviews before any publication change if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published - name: Rehearse and prepare the durably accepted publication id: release_prepare if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' env: TARGET: ${{ steps.cycle.outputs.target }} run: python -m ops.cloud_cycle prepare --bundle "$BUNDLE" --target "$TARGET" - name: Persist the exact reviewed release before public deployment if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status pending_deployment - name: Publish the saved release and verify both languages id: publish if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill","recover"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' env: TARGET: ${{ steps.cycle.outputs.target }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} run: python -m ops.cloud_cycle deploy --bundle "$BUNDLE" --target "$TARGET" - name: Prove hosted deployment of the existing public edition if: steps.cycle.outputs.action == 'verify_current' env: CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} run: python -m ops.cloud_cycle verify-current --bundle "$BUNDLE" - name: Save confirmed public state id: published_checkpoint if: contains(fromJSON('["prepare","prepare_correction","prepare_backfill","recover","verify_current"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published - name: File the published packet in version history id: file_packet if: (steps.cycle.outputs.action == 'prepare' || steps.cycle.outputs.action == 'prepare_correction' || steps.cycle.outputs.action == 'prepare_backfill' || steps.cycle.outputs.action == 'recover' || steps.cycle.outputs.action == 'file') && steps.prepare.outputs.held != 'true' env: TARGET: ${{ steps.cycle.outputs.target }} GH_TOKEN: ${{ github.token }} run: | PACKET=$(python -m ops.cloud_cycle file-packet --bundle "$BUNDLE" --target "$TARGET") git config user.name 'LeDecaf AI editorial desk' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' gh auth setup-git test -n "$PACKET" git add -- "$PACKET" if ! git diff --cached --quiet; then git commit -m "editorial: publish bilingual issue for $TARGET" git pull --rebase origin main git push origin HEAD:main fi - name: Keep the weekly edition moving after a completed correction id: continuation if: env.MODE != 'backfill' && env.MODE != 'release_recovery' && (steps.cycle.outputs.action == 'prepare_correction' || steps.cycle.outputs.action == 'file' || (steps.cycle.outputs.action == 'recover' && startsWith(steps.cycle.outputs.target, 'correction-'))) run: python -m ops.cloud_cycle select --bundle "$BUNDLE" --mode "$MODE" --skip-corrections - name: Renew the session before model work following filing recovery id: continued_session_renewal if: steps.continuation.outputs.action == 'prepare' && steps.session_renewal.outcome == 'skipped' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python -m ops.subscription_session renew --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" - name: Refresh editorial memory for the continued weekly issue if: steps.continuation.outputs.action == 'prepare' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: | python -m ops.cloud_cycle maintenance --bundle "$BUNDLE" python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published echo "RESTORED_DATABASE_SHA=$(python -m ops.cloud_cycle database-fingerprint --bundle "$BUNDLE")" >> "$GITHUB_ENV" - name: Prepare the due weekly issue after correction work id: weekly_continuation if: steps.continuation.outputs.action == 'prepare' env: TARGET: ${{ steps.continuation.outputs.target }} OPENROUTER_API_KEY: ${{ secrets.LEDECAF_OPENROUTER_KEY }} run: python -m ops.cloud_cycle review --bundle "$BUNDLE" --target "$TARGET" - name: Save and publish the continued weekly edition id: continued_weekly_publication if: steps.continuation.outputs.action == 'prepare' env: TARGET: ${{ steps.continuation.outputs.target }} GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: | git config user.name 'LeDecaf AI editorial desk' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' gh auth setup-git python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published python -m ops.cloud_cycle prepare --bundle "$BUNDLE" --target "$TARGET" python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status pending_deployment python -m ops.cloud_cycle deploy --bundle "$BUNDLE" --target "$TARGET" python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published PACKET=$(python -m ops.cloud_cycle file-packet --bundle "$BUNDLE" --target "$TARGET") test -n "$PACKET" git add -- "$PACKET" if ! git diff --cached --quiet; then git commit -m "editorial: publish bilingual issue for $TARGET" git pull --rebase origin main git push origin HEAD:main fi - name: Preserve review holds when published data remains unchanged if: failure() && (steps.prepare.outcome == 'failure' || steps.release_prepare.outcome == 'failure' || steps.weekly_continuation.outcome == 'failure') && steps.restore.outcome == 'success' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: | if [ "$(python -m ops.cloud_cycle database-fingerprint --bundle "$BUNDLE")" = "$RESTORED_DATABASE_SHA" ]; then python ops/cloud_state.py checkpoint --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" --status published else echo 'Keeping the earlier authoritative cloud checkpoint for safe recovery.' fi - name: Preserve the dedicated login, including after failure id: auth_checkpoint if: always() && steps.restore.outcome == 'success' env: GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} LEDECAF_STATE_KEY: ${{ secrets.LEDECAF_STATE_KEY }} run: python -m ops.subscription_session save-current --directory "$BUNDLE" --auth "$CODEX_HOME/auth.json" - name: Record the weekly outcome independently of publication success id: weekly_outcome if: >- always() && steps.restore.outcome == 'success' && (contains(fromJSON('["scheduled","weekly","preflight","watchdog_probe"]'), env.MODE) || (env.MODE == 'release_recovery' && steps.cycle.outputs.action == 'prepare')) timeout-minutes: 2 env: CLOUDFLARE_API_TOKEN: ${{ secrets.LEDECAF_CLOUDFLARE_TOKEN }} MONITOR_JOB_STATUS: ${{ job.status }} MONITOR_AUTH_CHECKPOINT: ${{ steps.auth_checkpoint.outcome }} MONITOR_PUBLICATION_CHECKPOINT: ${{ steps.continuation.outputs.action == 'prepare' && steps.continued_weekly_publication.outcome || steps.published_checkpoint.outcome }} MONITOR_SELECTED_ACTION: ${{ steps.continuation.outputs.action || steps.cycle.outputs.action || steps.route.outputs.action }} MONITOR_SELECTED_TARGET: ${{ steps.continuation.outputs.target || steps.cycle.outputs.target || steps.route.outputs.target }} run: >- python -m ops.weekly_outcome --bundle "$BUNDLE" --mode "$MODE" --selected-action "$MONITOR_SELECTED_ACTION" --selected-target "$MONITOR_SELECTED_TARGET" --job-status "$MONITOR_JOB_STATUS" --auth-checkpoint "$MONITOR_AUTH_CHECKPOINT" --publication-checkpoint "$MONITOR_PUBLICATION_CHECKPOINT" --publish - name: Select one historical successor after all durable completion checks id: backfill_continuation if: >- success() && env.MODE == 'backfill' && contains(fromJSON('["prepare_backfill","prepare","prepare_correction","recover","file"]'), steps.cycle.outputs.action) && steps.prepare.outputs.held != 'true' && (steps.cycle.outputs.action == 'file' || (steps.publish.outcome == 'success' && steps.published_checkpoint.outcome == 'success')) && steps.file_packet.outcome == 'success' && steps.auth_checkpoint.outcome == 'success' env: TARGET: ${{ steps.cycle.outputs.target }} run: python -m ops.backfill_continue select --bundle "$BUNDLE" --mode "$MODE" --completed-target "$TARGET" --anchor "$BACKFILL_ANCHOR" --interludes "$BACKFILL_INTERLUDES" continue_backfill: needs: editorial if: >- needs.editorial.result == 'success' && inputs.mode == 'backfill' && needs.editorial.outputs.backfill_action == 'dispatch' && github.event.repository.private == true && vars.LEDECAF_NO_COST_VERIFIED == 'true' && vars.LEDECAF_GITHUB_ZERO_BUDGET == 'true' && vars.LEDECAF_CLOUD_ENABLED == 'true' runs-on: ubuntu-24.04 timeout-minutes: 3 # No publishing credentials or model session enter this short dispatch job. permissions: contents: read actions: write steps: - uses: actions/checkout@v4 with: ref: ${{ github.sha }} persist-credentials: false - name: Keep other production work first, then dispatch once env: GH_TOKEN: ${{ github.token }} COMPLETED_TARGET: ${{ needs.editorial.outputs.backfill_anchor }} NEXT_TARGET: ${{ needs.editorial.outputs.backfill_target }} INTERLUDES: ${{ needs.editorial.outputs.backfill_interludes }} run: python3 ops/backfill_continue.py dispatch --completed-target "$COMPLETED_TARGET" --next-target "$NEXT_TARGET" --interludes "$INTERLUDES"