Panel Changes Diff ban nhap truoc Save
Mot nguon sua tai mot thoi diem

Appifio Creator · Lesson X13 · Troubleshooting

MCP IDE conflict
↔ Creator

Two writers editing the sandbox at once - files “jump,” Diff gets messy, live doesn’t match intent. Rule: one source of truth at a time; close one side before you open the other.

Goal: Avoid editing the same file in parallel; Diff → Save workflow; recover when it’s already messy (Clone/Checkpoint).

Before: T12, T01, X09 · After: (end of X series)

UI: Changes · Current · Compare changes / Diff · Save changes · Discard · Files · Versions · Clone

1. Conflict handling map

ONE source of truth at a time
A) IDE/MCP shift:
→ Pause large Creator AI chats + Inspector
→ Finish in the IDE → close the agent or idle MCP
B) Back to Creator:
→ Open Changes · Files tab · Compare changes
→ Diff file by file · ✓ valid hunks · ✗ duplicates/conflicts
→ Only when clean: Save changes
C) Creator shift:
→ Stop the IDE MCP agent · wait for Save before resuming MCP
Too messy → Clone the version / Checkpoint / intentional Discard (T10)

2. Glossary

ConceptMeaning
MCP sandboxIDE writes into the sandbox session - not live for visitors yet
Creator virtual diskAI/Inspector also write drafts - same space as MCP after sync
ConflictBoth sides edited the same file - unclear which “last” version wins
Save changesPublish the unpublished draft to the live site (T01/T12)

Conflict ≈ two people Git-push without pull - Appifio does not smart-merge for you; you must Diff deliberately.

3. Daily prevention steps

Panel MCP Connect - nguon sua sandbox thu hai
Tam dung MCP truoc khi sua Creator
  1. Pick a work shift: morning IDE (MCP), afternoon Creator - or the reverse; don’t interleave every minute.
  2. Before opening a Cursor agent: close Creator AI chat tabs or pause - avoid two writers.
  3. After MCP: open Creator → Changes badge → open Diff before prompting Creator AI further.
  4. Before Save changes: scan the Files tree - unexpected files / unwanted reverts.
  5. Suspect a bad overwrite: don’t Save - Clone or Discard with control (Clone first).
  6. Keep tokens/MCP only on trusted machines; rotate if leaked (X09).

4. Real conflict examples

  • IDE edits the index.html header; Creator AI edits the footer in the same file → Diff shows two hunks - merge by hand or pick one side.
  • MCP adds a routes.json entry; you forget the Routes tab Save → duplicate or missing route (T08).
  • Creator Discard while the IDE still thinks the sandbox is new - resume the MCP session (X09) then Diff again.

5. Issues · Advice

SituationFix
File “jumps” between two versionsStop one side · Diff · Clone as backup
IDE edits OK, visitors don’t see themHaven’t clicked Save changes in Creator (T12)
Diff too large to reviewDiscard the draft · Clone · redo one MCP-only shift
Both sides editing login.json / shardsT04 - denied; reject that Diff immediately

6. End-of-X checklist

  1. Can you handle X02 (preview), X04 (404), X08 (template wipe)?
  2. Do you avoid parallel MCP + Creator AI edits without Diff?
  3. Do you treat APK/MCP/domain limits as design, not “broken”?
  4. One shift = one source; close the IDE or pause Creator before switching?

X series complete (13/13)

T + K + X are covered. Full set: A-H how-to + T terms + K techniques + X troubleshooting.

Internal navigation (same language)

Appifio Creator · User guide · X13