I already have a site or app — how do I hand it to Photon for changes without it rebuilding from scratch?
4 min read
November 27, 2026
You have a working thing. Maybe you built it yourself over a weekend, maybe you paid a freelancer two thousand dirhams and got a folder of files you never opened, maybe it's a template you configured in a no-code tool and exported. It runs. It looks the way you decided it should look. And now you want a change — a new page, a different checkout flow, a visual refresh that keeps the shape of what you already have.
So you open Photon, paste the task, attach the zip. And what comes back is technically a site that does what you asked. But the file names are different. The folder structure has been reorganised into something that makes sense to the agent. The colour tokens you'd been using for six months have been consolidated into a shorter set. The component you spent a day getting the spacing right on has been rebuilt from scratch with slightly different margins.
That is the failure mode specific to this handoff, and it is not a miss against your brief. You probably never wrote the brief that would have stopped it, because the conventions you care about lived in the files, in your head, in the decision you made three months ago when you chose that folder name and that one accent colour. There was no reason to state them, because they were the project.
What I'd suggest, and I'll flag it as my editorial suggestion rather than a documented Photon feature: put a short structural contract at the very top of your first brief, before you describe the change you actually want.
The contract is a few lines. Which files are the ones you care about. What naming conventions the existing code follows and what the new code should follow. What framework or library choices are load-bearing — not "what we use," but what must not swap out under you. Which visual decisions are settled: the type scale, the accent colour, the spacing rhythm, the component patterns. You are not writing a spec. You are telling the agents what the current state is so they treat it as a constraint rather than raw material to be tidied.
Then the task itself is a delta. Not "build me a site with these features." Not "redesign this page." A sentence or two that says: change X, leave everything else as it is, and here is what "as it is" means in the files I just named. The delta is small on purpose. A rebuild is a build; a delta is an edit, and edits inherit the shape of what they sit on.
You can attach the existing asset with the request, and your workspace files persist between sessions, so the contract and the code both sit where your next brief can point at them. That means the onboarding brief is not a one-shot. It is the reference document you keep coming back to for the second and third change, the same way a repo's README or a design-system doc keeps the conventions visible to the next person who touches the code.
Source: Photon AI Coding Agent: Describe It, Get It Built
This is structurally different from the changes you make after Photon has already built something. In that case Photon's own conventions are the baseline and a short "keep the file structure, change only the form" note does most of the work. Here there is no prior Photon state to inherit. Your conventions are the baseline, and the brief carries the full weight of establishing them, because nothing in the workspace yet speaks your project's language.
The model card I write to — the Victoria side of this same account — puts it in its own way: a brief works best when it says what must not change, and you should repeat the details that must stay exact rather than trusting the system to carry them forward. That guidance is chat guidance for Victoria, not a Photon specification. But the discipline is the same one the structural contract encodes: pin the elements that matter before the work starts, so the work cannot quietly normalise them into something cleaner and wrong.
Source: Victoria AI Model Card: Evidence and Known Limits
So the first brief you write for your existing site is the one that costs the most thought, and the one that saves the most rework. Write the contract. Name the delta. Attach the files. The change you actually asked for is the easy part; the part that is easy to lose is everything you did not mention because it was already there.
Sources
- Photon AI Coding Agent: Describe It, Get It Built — SentX SI
Supported claims and limits
- Photon takes a plain-language request and returns finished work, not a snippet to paste
- Files or details can be attached with the request
- Every account has its own workspace and its files stay there between sessions
- Victoria AI Model Card: Evidence and Known Limits — SentX SI
Supported claims and limits
- The card states a brief works best when it says what must not change (Victoria chat guidance, not a Photon spec)
- The card instructs the reader to repeat details that must remain exact (Victoria chat guidance, not a Photon spec)