Repository navigation
feat(carve): carve apply — graduation + full carve-out docs (#197) - #997
Merged
Merged
Conversation
Apply graduation, the dial-turn from observe to apply. `chant carve apply --from <tf-dir> --select <address> --env <env>` resolves the ownership marker that makes the carved resource chant-owned (reusing core ownershipEntries) and finalizes the ordered apply runbook. BYOL-honest: no cloud call. It computes the marker + plan; the apply is your lifecycle (native CLI / CI / ApplyOp), which stamps the marker the emitted source carries. --write saves the graduation doc. - terraform/graduate.ts: ownership marker + tags (chant:managed-by/stack/env, mirroring the AWS lexicon's tag channel) + reversible runbook. - carve apply command: dry-run plan by default; --write emits the doc. - docs: cli/carve-out.mdx documents the full emit → bridge → apply arc. - carve-arc.test.ts: end-to-end, one resource through all three steps. PR C of 3 — completes the boundary-bridging carve (#197). emit + bridge + apply now compose end to end (advisor #214 → emit #995 → bridge #996 → apply).
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply graduation — the dial-turn from observe to apply — completing the strangler-fig carve (#197). Builds on emit (#995) and bridge (#996).
chant carve apply --from <tf-dir> --select <address> --env <env>resolves the ownership marker that makes the carved resource chant-owned (reusing core'sownershipEntries) and finalizes the ordered apply runbook.BYOL-honest
It makes no cloud call. It computes the marker + plan; the apply itself is whatever lifecycle you brought (native CLI, CI, ApplyOp), which stamps the ownership marker the emitted source carries.
--writesaves the graduation doc. This keeps chant out of the apply path, consistent with bring-your-own-lifecycle.What's here
terraform/graduate.ts— ownership marker + tags (chant:managed-by/stack/env, mirroring the AWS lexicon's tag channel since core can't import a lexicon) + a reversible runbook.carve applycommand — dry-run plan by default;--writeemits the graduation doc.docs/cli/carve-out.mdx— documents the full emit → bridge → apply arc with an end-to-end shell walkthrough.carve-arc.test.ts— end-to-end: one resource (aws_s3_bucket.assets) through all three steps, asserting they compose (selector, boundary, data-source rewrite, ownership marker).The carve, end to end (across the three PRs)
advisor (#214) →
carve emit(#995) →carve bridge(#996) →carve apply(this).Verification
Part of #197.