Skip to content

[AIC-3343] Apply prompt sync plans - #808

Draft
ctawiah wants to merge 1 commit into
ctawiah/AIC-3344/interactive-bootstrapfrom
ctawiah/AIC-3343/apply-prompt-sync
Draft

ctawiah wants to merge 1 commit into
ctawiah/AIC-3344/interactive-bootstrapfrom
ctawiah/AIC-3343/apply-prompt-sync

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Context

This completes the conflict-free local-to-server prompt sync path after durable planning. It supports both the normal plan-review-apply workflow and applying an existing durable plan directly.

Summary

  • Plans every project, renders the complete review, blocks resource errors and unresolved server changes or conflicts, confirms once, and applies each project plan.
  • Adds --yes for explicit non-interactive plan-then-apply execution while requiring terminal input and output for interactive confirmation.
  • Adds --apply <plan-id> to apply without replanning, with one-project workspace inference and explicit --project enforcement when needed.
  • Adds typed apply API requests, terminal and partial outcomes, and structured JSON containing plan and apply results.
  • Replaces raw plaintext diff JSON with deterministic wide side-by-side panels and narrow or Markdown stacked before-and-after sections.

Verification

  • go test ./internal/sync/... ./cmd/sync -count=1
  • git diff --check

@ctawiah
ctawiah added this pull request to stack #799 September 19, 2026 06:16
@ctawiah ctawiah changed the title ctawiah/AIC 3343/apply prompt sync [AIC-3343] Apply prompt sync plans Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant