cpflow 6.0.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.agents/bin/README.md +3 -2
  3. data/.agents/bin/docs +2 -1
  4. data/.agents/bin/lint +2 -1
  5. data/.agents/shaka/bin/setup +6 -0
  6. data/.agents/shaka/bin/test +6 -0
  7. data/.agents/shaka/bin/validate +7 -0
  8. data/.agents/{agent-workflow.yml → shaka/config.yml} +1 -1
  9. data/.agents/shaka.md +3 -2
  10. data/.github/actions/cpflow-setup-environment/action.yml +1 -1
  11. data/.github/dependabot.yml +10 -5
  12. data/.github/scripts/deployment_lock.py +141 -0
  13. data/.github/workflows/claude-code-review.yml +1 -1
  14. data/.github/workflows/claude.yml +1 -1
  15. data/.github/workflows/command_docs.yml +1 -1
  16. data/.github/workflows/cpflow-cleanup-stale-review-apps.yml +1 -1
  17. data/.github/workflows/cpflow-delete-review-app.yml +2 -2
  18. data/.github/workflows/cpflow-deploy-review-app.yml +219 -95
  19. data/.github/workflows/cpflow-promote-staging-to-production.yml +1 -1
  20. data/.github/workflows/rspec-shared.yml +3 -3
  21. data/.github/workflows/rspec.yml +2 -2
  22. data/.github/workflows/rubocop.yml +1 -1
  23. data/.github/workflows/trigger-docs-site.yml +1 -1
  24. data/AGENTS.md +4 -4
  25. data/CHANGELOG.md +18 -1
  26. data/CONTRIBUTING.md +6 -2
  27. data/Gemfile.lock +15 -10
  28. data/cpflow.gemspec +1 -1
  29. data/docs/ci-automation.md +89 -8
  30. data/docs/commands.md +3 -1
  31. data/lib/command/apply_template.rb +12 -1
  32. data/lib/command/base.rb +10 -0
  33. data/lib/command/run.rb +7 -7
  34. data/lib/command/setup_app.rb +6 -1
  35. data/lib/core/bootstrap_image.rb +21 -0
  36. data/lib/core/controlplane.rb +7 -6
  37. data/lib/cpflow/version.rb +1 -1
  38. data/lib/github_flow_templates/.github/workflows/cpflow-promote-staging-to-production.yml +1 -1
  39. data/script/check_shell_scripts +3 -3
  40. metadata +11 -9
  41. data/.agents/bin/setup +0 -5
  42. data/.agents/bin/test +0 -5
  43. data/.agents/bin/validate +0 -6
  44. /data/.agents/{trusted-github-actors.yml → shaka/trusted-github-actors.yml} +0 -0
@@ -388,20 +388,28 @@ the run early instead of deploying an image that cannot boot.
388
388
 
389
389
  Review apps are different: the generated `+review-app-deploy` workflow creates
390
390
  temporary PR apps as needed, including the identity and secret policy binding.
391
- For an existing review app, each deployment runs
392
- `cpflow setup-app --refresh-templates` before building and deploying the new
393
- image. Refresh mode reapplies the configured `setup_app_templates` without
391
+ Each eligible deployment first builds the full PR head and verifies that the
392
+ registry image tag belongs to that review app and contains the exact full PR SHA.
393
+ A failed build or mismatched image stops before app setup or template refresh.
394
+ For an existing review app, the workflow then runs
395
+ `cpflow setup-app --refresh-templates --bootstrap-image APP:NUMBER_FULL_COMMIT_SHA`.
396
+ Refresh mode reapplies the configured `setup_app_templates` without
394
397
  deleting the GVC or running `hooks.post_creation`, answers template replacement
395
398
  prompts noninteractively, preserves each matching workload container's exact
396
399
  configured app-image reference even when the app is unhealthy or workloads use
397
400
  different image versions, and repairs the configured app and shared-secret
398
- policy bindings. A missing or invalid workload image uses only an unambiguous
399
- app image from ready workloads; refresh fails closed rather than selecting the
400
- registry's newest image. Preserving image references keeps release-phase and
401
- ordered-deploy gates in control of image rollout; a template failure stops the
402
- workflow before the image build or deployment. Existing secret templates are skipped
401
+ policy bindings. The explicit bootstrap image must exist in the same org's
402
+ registry and match the app and full-commit tag format. It initializes only missing
403
+ images or that app's `NO_IMAGE_AVAILABLE` placeholders; foreign configured images
404
+ fail closed. Without this option, missing or invalid images still require an
405
+ unambiguous app image from ready workloads. Refresh never implicitly selects the
406
+ registry's newest image as a fallback. Preserving valid image references keeps
407
+ release-phase and ordered-deploy gates in control of their rollout; initializing
408
+ placeholders can start previously unbootstrapped workloads during refresh.
409
+ A template failure stops before the deployment phase. Existing secret templates are skipped
403
410
  as whole resources, so refresh neither changes existing values nor adds newly templated
404
411
  keys; provision required new keys separately before deployment.
412
+ An automatic PR update still skips an app that has not been explicitly created.
405
413
  You still need the shared review-app runtime secret values described by your
406
414
  templates, and the staging token must have access to create and update
407
415
  review-app GVCs, workloads, images, identities, policies, and secrets in the
@@ -788,6 +796,44 @@ or clones that copy the workflow before configuring Control Plane can remove
788
796
  wrapper-level `if:` guard shown in that file, for example
789
797
  `vars.REVIEW_APP_PREFIX != '' || vars.CPLN_ORG_STAGING != ''`.
790
798
 
799
+ ## Coordinate review-app deployments across CI providers
800
+
801
+ Set the reusable deploy workflow's `deployment_lock` input to `true` when
802
+ another CI provider can deploy the same review app. Every participating provider
803
+ must acquire the same Control Plane lock before provisioning, refreshing
804
+ templates, building the app image, or deploying it. Existing consumers keep their
805
+ current behavior until they opt in.
806
+
807
+ The standalone `.github/scripts/deployment_lock.py` helper accepts `acquire`,
808
+ `release`, and `run`. Use the same immutable upstream revision in every provider.
809
+ Pass the exact `--org`, `--app`, a distinct `--owner` for each job attempt, and a
810
+ job-private `--receipt` path. `run` additionally accepts the deployment command
811
+ after `--`; it releases ownership only when that command succeeds, preserving
812
+ its exit status. The command must wait for any remote deployment work to finish;
813
+ do not use a detached command. GitHub acquires and releases inside its deploy job
814
+ so rerunning that job also reacquires ownership, and releases only after success.
815
+
816
+ Provide the existing deployment token through `CPLN_TOKEN`. It must already have
817
+ permission to create, read, and delete the lock secret in the review-app org.
818
+ The helper creates an opaque secret containing no credentials, with the app and
819
+ owner recorded in its tags. Acquisition failures stop deployment; they never
820
+ overwrite or remove an existing lock. Cleanup verifies both the owner and the
821
+ resource identity before deleting it.
822
+
823
+ Failed, canceled, or forcibly terminated runners retain their locks. A nonzero
824
+ deployment exit can leave remote release jobs running, including after a local
825
+ observation timeout. An uncertain API result also fails closed. There is no
826
+ age-based expiry: an old timestamp does
827
+ not prove a deployment stopped. Before manually removing a stranded lock,
828
+ confirm that its recorded owner and any deployment children have stopped, inspect
829
+ the app's deployment state, and obtain operator approval to delete that exact
830
+ lock secret. Do not recover a lock while its owner could still run cleanup.
831
+
832
+ The guard coordinates deployments only. Review-app deletion and scheduled
833
+ cleanup need their own coordination when they can overlap an external deploy.
834
+ Validate token permissions and contention in an approved disposable environment
835
+ before enabling this option in a consumer.
836
+
791
837
  ## Upstream Workflows And Actions
792
838
 
793
839
  Most generated workflows are intentionally small wrappers. The deployment
@@ -1211,3 +1257,38 @@ Expand that prompt with app-specific requirements before editing files:
1211
1257
  - keep workflow files generic and put app names, org names, branch names, and Docker build knobs in repository `vars` and `secrets`
1212
1258
 
1213
1259
  When the agent applies this to a project, it should avoid hardcoding app names or org names into the workflow files. Those belong in repository `vars` and `secrets`.
1260
+
1261
+ ### Review-app deployment reporting
1262
+
1263
+ The reusable review deployment, deletion, and stale cleanup jobs pin Ubuntu 24.04 rather than following
1264
+ `ubuntu-latest`, because an application Ruby patch release may not have a
1265
+ prebuilt binary for a newly introduced runner image. This does not change the
1266
+ application's declared Ruby version.
1267
+
1268
+ After source authorization and review configuration resolution, the workflow
1269
+ records an explicitly requested target commit, PR number, workflow run, and transient GitHub
1270
+ deployment before installing Ruby or provisioning the app. The PR comment
1271
+ includes the final failure or cancellation outcome even when provisioning never
1272
+ started. Automatic pushes to an uncreated app leave no deployment or PR comment.
1273
+ Automatic updates of an existing app post only the final outcome comment, without a
1274
+ starting comment or progress edits.
1275
+ Automatic updates check the live Control Plane GVC before Ruby setup and record
1276
+ an in-progress deployment when the app exists, including apps without earlier GitHub
1277
+ deployment records. Stale GitHub metadata cannot activate a deleted app. If an app
1278
+ disappears between that lookup and later detection, the attempt becomes inactive.
1279
+ The early read uses curl's bounded transient/transport retries with per-request
1280
+ and retry-window deadlines. Authorization is supplied through stdin, and redirects
1281
+ are not followed. The reusable workflow targets the standard Control Plane API.
1282
+ If the early Control Plane lookup still fails, the workflow fails without guessing that
1283
+ an app exists; its run logs remain the diagnostic source. Ready status requires
1284
+ a successful job and a detected preview URL.
1285
+
1286
+ Consumers can build a review queue from environments named `review/<app-name>`,
1287
+ deployment payload `pr_number` and `run_id`, the deployment SHA, and its latest
1288
+ status and URLs. A successful deployment establishes preview availability, not
1289
+ product approval or merge readiness. Feedback should identify the reviewed commit.
1290
+
1291
+ Reporting still depends on GitHub accepting the final API writes. A terminated
1292
+ runner or API outage can leave an in-progress record; consumers should reconcile
1293
+ it with the linked workflow run's terminal status and display missing evidence
1294
+ as unavailable, rather than assuming success.
data/docs/commands.md CHANGED
@@ -32,6 +32,7 @@ cpflow ai-github-flow-prompt
32
32
  - Use `--preserve-existing-runtime` to retain each workload container's configured app image, even when the workload is unready, and skip existing secret resources entirely while applying other template changes
33
33
  - Use `--exclude-secret-template NAME` and `--exclude-policy-template NAME` to exclude exact named templates without changing workload image handling
34
34
  - Missing or invalid workload images use only an unambiguous app image from ready workloads; refresh fails before applying templates when no safe fallback exists
35
+ - With `--preserve-existing-runtime`, use `--bootstrap-image APP:NUMBER_FULL_COMMIT_SHA` to initialize missing or own-app placeholder images from an explicitly verified registry image; valid configured images remain unchanged and foreign images are rejected
35
36
 
36
37
  **Preprocessed template variables:**
37
38
 
@@ -568,6 +569,7 @@ cpflow run -a $APP_NAME --entrypoint /app/alternative-entrypoint.sh -- rails db:
568
569
  - If the hook exits with a non-zero code, the command will stop executing and also exit with a non-zero code
569
570
  - Use `--skip-post-creation-hook` to skip the hook if specified in `controlplane.yml`
570
571
  - Use `--refresh-templates` to apply configured templates noninteractively to an existing app while preserving each workload's configured app image even when workloads are unready or use mixed image versions, skipping existing secret templates (but filling missing opt-in generated review keys), repairing secrets access bindings, and skipping the post-creation hook
572
+ - With `--refresh-templates`, use `--bootstrap-image APP:NUMBER_FULL_COMMIT_SHA` to repair a partial bootstrap from a freshly built own-app registry image; valid workload images are preserved
571
573
 
572
574
  ```sh
573
575
  cpflow setup-app -a $APP_NAME
@@ -598,7 +600,7 @@ once no workflow is pinned to 6.0.0. It never deletes them itself.
598
600
  All top-level workflows are preserved by default, including their refs,
599
601
  triggers, permissions, and deployment ownership. Use --workflows FILE...
600
602
  to explicitly add or replace named generated workflows. Replacement resets
601
- each selected workflow to its template and matching v6.0.1 ref;
603
+ each selected workflow to its template and matching v6.1.0 ref;
602
604
  review and reapply any downstream customizations in the same PR.
603
605
 
604
606
  Selecting cpflow-deploy-staging.yml preserves a single existing push branch
@@ -13,6 +13,7 @@ module Command
13
13
  skip_confirm_option,
14
14
  add_app_identity_option,
15
15
  preserve_existing_runtime_option,
16
+ bootstrap_image_option,
16
17
  exclude_secret_template_option,
17
18
  exclude_policy_template_option
18
19
  ].freeze
@@ -25,6 +26,7 @@ module Command
25
26
  - Use `--preserve-existing-runtime` to retain each workload container's configured app image, even when the workload is unready, and skip existing secret resources entirely while applying other template changes
26
27
  - Use `--exclude-secret-template NAME` and `--exclude-policy-template NAME` to exclude exact named templates without changing workload image handling
27
28
  - Missing or invalid workload images use only an unambiguous app image from ready workloads; refresh fails before applying templates when no safe fallback exists
29
+ - With `--preserve-existing-runtime`, use `--bootstrap-image APP:NUMBER_FULL_COMMIT_SHA` to initialize missing or own-app placeholder images from an explicitly verified registry image; valid configured images remain unchanged and foreign images are rejected
28
30
 
29
31
  **Preprocessed template variables:**
30
32
 
@@ -54,6 +56,7 @@ module Command
54
56
  VALIDATIONS = %w[config templates].freeze
55
57
 
56
58
  def call # rubocop:disable Metrics/MethodLength
59
+ @bootstrap_image = BootstrapImage.resolve(config, cp, preserving: config.options[:preserve_existing_runtime])
57
60
  @template_parser = TemplateParser.new(self)
58
61
  @names_to_filenames = config.args.to_h do |name|
59
62
  [name, @template_parser.template_filename(name)]
@@ -179,7 +182,7 @@ module Command
179
182
 
180
183
  def preserve_existing_runtime(templates)
181
184
  cache_existing_workloads(templates)
182
- ready_fallback_image = unambiguous_ready_app_image
185
+ ready_fallback_image = @bootstrap_image || unambiguous_ready_app_image
183
186
 
184
187
  skip_existing_secret_resources(templates).each do |template|
185
188
  preserve_workload_images(template, ready_fallback_image) if template["kind"] == "workload"
@@ -257,9 +260,17 @@ module Command
257
260
  def preserved_image(existing_image, ready_fallback_image)
258
261
  return existing_image if deployable_app_image?(existing_image)
259
262
 
263
+ raise "Cannot bootstrap a foreign workload image." if @bootstrap_image && !bootstrap_placeholder?(existing_image)
264
+
260
265
  ready_fallback_image
261
266
  end
262
267
 
268
+ def bootstrap_placeholder?(image)
269
+ return true if image.to_s.empty?
270
+
271
+ image.delete_prefix("/org/#{config.org}/image/") == "#{config.app}:#{Controlplane::NO_IMAGE_AVAILABLE}"
272
+ end
273
+
263
274
  def workload_ready?(workload)
264
275
  workload&.dig("status", "readyLatest") == true
265
276
  end
data/lib/command/base.rb CHANGED
@@ -483,6 +483,16 @@ module Command
483
483
  }
484
484
  end
485
485
 
486
+ def self.bootstrap_image_option
487
+ {
488
+ name: :bootstrap_image,
489
+ params: {
490
+ desc: "Verified own-app image with a full commit SHA, used only for missing images during refresh",
491
+ type: :string
492
+ }
493
+ }
494
+ end
495
+
486
496
  def self.exclude_secret_template_option(required: false)
487
497
  {
488
498
  name: :exclude_secret_template,
data/lib/command/run.rb CHANGED
@@ -736,13 +736,13 @@ module Command
736
736
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
737
737
 
738
738
  def current_job_status(timeout_seconds: nil)
739
- result = if timeout_seconds
740
- cp.fetch_cron_workload(runner_workload, location: location, timeout_seconds: timeout_seconds)
741
- else
742
- cp.fetch_cron_workload(runner_workload, location: location)
743
- end
744
- job_details = result&.dig("items")&.find { |item| item["id"] == job }
745
- job_details&.dig("status")
739
+ command = cp.fetch_workload_command(runner_workload, job, timeout_seconds: timeout_seconds)
740
+ stage = command&.dig("lifecycleStage")
741
+ case stage
742
+ when "running" then "active"
743
+ when "completed" then "successful"
744
+ else stage
745
+ end
746
746
  end
747
747
 
748
748
  def job_status_reconciliation_deadline
@@ -8,7 +8,8 @@ module Command
8
8
  skip_secret_access_binding_option,
9
9
  skip_secrets_setup_option,
10
10
  skip_post_creation_hook_option,
11
- refresh_templates_option
11
+ refresh_templates_option,
12
+ bootstrap_image_option
12
13
  ].freeze
13
14
  DESCRIPTION = "Creates an app and all its workloads"
14
15
  LONG_DESCRIPTION = <<~DESC
@@ -26,6 +27,7 @@ module Command
26
27
  - If the hook exits with a non-zero code, the command will stop executing and also exit with a non-zero code
27
28
  - Use `--skip-post-creation-hook` to skip the hook if specified in `controlplane.yml`
28
29
  - Use `--refresh-templates` to apply configured templates noninteractively to an existing app while preserving each workload's configured app image even when workloads are unready or use mixed image versions, skipping existing secret templates (but filling missing opt-in generated review keys), repairing secrets access bindings, and skipping the post-creation hook
30
+ - With `--refresh-templates`, use `--bootstrap-image APP:NUMBER_FULL_COMMIT_SHA` to repair a partial bootstrap from a freshly built own-app registry image; valid workload images are preserved
29
31
  DESC
30
32
  VALIDATIONS = %w[config templates].freeze
31
33
 
@@ -41,6 +43,8 @@ module Command
41
43
  end
42
44
  raise "App '#{config.app}' does not exist, so its templates cannot be refreshed." if !app && refresh_templates
43
45
 
46
+ bootstrap_image = BootstrapImage.resolve(config, cp, preserving: refresh_templates)
47
+
44
48
  skip_secrets_setup = skip_secrets_setup?
45
49
 
46
50
  # Validate shared grants before app resource creation so config/policy
@@ -52,6 +56,7 @@ module Command
52
56
  args.push("--add-app-identity") unless skip_secrets_setup
53
57
  args.push("--yes") if refresh_templates
54
58
  args.push("--preserve-existing-runtime") if refresh_templates
59
+ args.push("--bootstrap-image", bootstrap_image) if bootstrap_image
55
60
  if !skip_secrets_setup && config.generated_review_secret_keys.any?
56
61
  args.push("--exclude-policy-template", config.secrets_policy)
57
62
  args.push("--exclude-secret-template", config.secrets) unless refresh_templates
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # An explicit build result may initialize placeholders, never replace a deployed image.
4
+ class BootstrapImage
5
+ def self.resolve(config, controlplane, preserving:)
6
+ image = config.options[:bootstrap_image]
7
+ return unless image
8
+
9
+ raise "--bootstrap-image requires runtime preservation or --refresh-templates." unless preserving
10
+
11
+ name = image.delete_prefix("/org/#{config.org}/image/")
12
+ unless name.match?(/\A#{Regexp.escape(config.app)}:[0-9]+_[a-f0-9]{40}\z/)
13
+ raise "Bootstrap image must belong to this app and carry a full commit SHA."
14
+ end
15
+
16
+ details = controlplane.fetch_image_details(name)
17
+ raise "Bootstrap image does not exist in this org's registry." unless details && details["name"] == name
18
+
19
+ image
20
+ end
21
+ end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "cgi"
3
4
  require "shellwords"
4
5
 
5
6
  class Controlplane # rubocop:disable Metrics/ClassLength
@@ -340,12 +341,12 @@ class Controlplane # rubocop:disable Metrics/ClassLength
340
341
  end
341
342
  end
342
343
 
343
- def fetch_cron_workload(workload, location:, timeout_seconds: nil)
344
- cmd = [
345
- "cpln", "workload", "cron", "get", workload,
346
- *gvc_org_args, "--location", location, "-o", "yaml"
347
- ]
348
- perform_yaml(cmd, timeout_seconds: timeout_seconds)
344
+ def fetch_workload_command(workload, job_id, timeout_seconds: nil)
345
+ org_name, gvc_name, workload_name, command_id = [org, gvc, workload, job_id].map do |segment|
346
+ CGI.escapeURIComponent(segment)
347
+ end
348
+ path = "/org/#{org_name}/gvc/#{gvc_name}/workload/#{workload_name}/-command/#{command_id}"
349
+ perform_yaml(["cpln", "rest", "get", path, "-o", "yaml"], timeout_seconds: timeout_seconds)
349
350
  end
350
351
 
351
352
  def cron_workload_deployed_version(workload)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cpflow
4
- VERSION = "6.0.1"
4
+ VERSION = "6.1.0"
5
5
  MIN_CPLN_VERSION = "3.1.0"
6
6
  end
@@ -534,7 +534,7 @@ jobs:
534
534
  fi
535
535
 
536
536
  - name: Set up Docker Buildx
537
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
537
+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
538
538
 
539
539
  - name: Copy image from staging
540
540
  id: copy-image
@@ -13,9 +13,9 @@ fi
13
13
  extensionless_shell_files=(
14
14
  .agents/bin/docs
15
15
  .agents/bin/lint
16
- .agents/bin/setup
17
- .agents/bin/test
18
- .agents/bin/validate
16
+ .agents/shaka/bin/setup
17
+ .agents/shaka/bin/test
18
+ .agents/shaka/bin/validate
19
19
  lib/github_flow_templates/bin/test-cpflow-github-flow
20
20
  script/check_command_docs
21
21
  script/check_cpln_links
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.1'
33
+ version: '3.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.1'
40
+ version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: psych
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -75,17 +75,17 @@ executables:
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".agents/agent-workflow.yml"
79
78
  - ".agents/bin/README.md"
80
79
  - ".agents/bin/docs"
81
80
  - ".agents/bin/lint"
82
- - ".agents/bin/setup"
83
- - ".agents/bin/test"
84
- - ".agents/bin/validate"
85
81
  - ".agents/legacy-workflow-policy.yml"
86
82
  - ".agents/shaka.md"
83
+ - ".agents/shaka/bin/setup"
84
+ - ".agents/shaka/bin/test"
85
+ - ".agents/shaka/bin/validate"
86
+ - ".agents/shaka/config.yml"
87
+ - ".agents/shaka/trusted-github-actors.yml"
87
88
  - ".agents/trusted-actions.yml"
88
- - ".agents/trusted-github-actors.yml"
89
89
  - ".agents/workflows/address-review.md"
90
90
  - ".agents/workflows/ai-rollout-e2e-test.md"
91
91
  - ".claude/commands/address-review.md"
@@ -103,6 +103,7 @@ files:
103
103
  - ".github/actions/cpflow-wait-for-health/action.yml"
104
104
  - ".github/dependabot.yml"
105
105
  - ".github/pull_request_template.md"
106
+ - ".github/scripts/deployment_lock.py"
106
107
  - ".github/workflows/check_cpln_links.yml"
107
108
  - ".github/workflows/claude-code-review.yml"
108
109
  - ".github/workflows/claude.yml"
@@ -228,6 +229,7 @@ files:
228
229
  - lib/command/update_github_actions.rb
229
230
  - lib/command/version.rb
230
231
  - lib/constants/exit_code.rb
232
+ - lib/core/bootstrap_image.rb
231
233
  - lib/core/config.rb
232
234
  - lib/core/controlplane.rb
233
235
  - lib/core/controlplane_api.rb
@@ -318,7 +320,7 @@ licenses:
318
320
  metadata:
319
321
  rubygems_mfa_required: 'true'
320
322
  post_install_message: |
321
- cpflow 6.0.1 installed.
323
+ cpflow 6.1.0 installed.
322
324
  Generated GitHub Actions users: run `cpflow update-github-actions` after upgrading.
323
325
  Docs: https://github.com/shakacode/control-plane-flow/blob/main/docs/ci-automation.md#updating-generated-github-actions-after-gem-updates
324
326
  rdoc_options: []
data/.agents/bin/setup DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Install dependencies.
3
- set -euo pipefail
4
- cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../.." && pwd)"
5
- exec bundle install
data/.agents/bin/test DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Run the test suite. Extra args pass through to rspec.
3
- set -euo pipefail
4
- cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../.." && pwd)"
5
- exec bundle exec rspec "$@"
data/.agents/bin/validate DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Pre-push gate: full local validation (run before pushing).
3
- set -euo pipefail
4
- cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../.." && pwd)"
5
- ./script/check_shell_scripts
6
- exec bundle exec rake