Update an existing website while keeping a way to return to the previous version. You need the project and a specific change. First check the change in a copy, then prepare publication. New inquiries and user files are preserved independently of the code version.
Paste the prompts into Codex or Work with access to the task materials.
Step 1. Save the working state
Ask Codex to find the current release and check the website’s main action. Saved code does not automatically include the database and uploaded files. Before editing, find out where each part is stored.
Find the live website project and the description of the required change. Identify the current release, settings, data and attachments. Save the necessary versions without exposing secrets. Check the main action before changes and suggest a procedure for rolling back the code without deleting new user data.
Step 2. Test the change in a copy
Repeat the original scenario after editing. If the data structure changes, separately check whether the old version can read new records. Simply restoring files may then be insufficient.
Apply the agreed change in a copy of the project you found. Check the main action, an error and the mobile screen. If the data structure changes, test compatibility between old and new versions on a practice copy. Fix problems and prepare a specific recovery method.
Step 3. Release and check the website
Before publishing, review the finished version and rollback method. After release, open the public URL and repeat the main action. If an error appears only on the server, save the log and restore the checked version using the planned method.
Prepare the checked website change for release: verify the current version, settings and absence of another release in progress. Show the result and rollback method. If I have authorized publication, release this version and check the public URL, main action and preservation of data. Record the actual version and checks.
What you will have
The checked change is published only with release authorization; the previous version and a separate method for protecting data are saved.
Full plan: Change an existing website and preserve working features.
Prompt for the whole task
Paste into the same chat to assign every stage in one message.
Complete the task below in the available project. Find the source materials and agreed decisions; ask me about any missing goal.
Find the live website project and the description of the required change. Identify the current release, settings, data and attachments. Save the necessary versions without exposing secrets. Check the main action before changes and suggest a procedure for rolling back the code without deleting new user data.
Apply the agreed change in a copy of the project you found. Check the main action, an error and the mobile screen. If the data structure changes, test compatibility between old and new versions on a practice copy. Fix problems and prepare a specific recovery method.
Prepare the checked website change for release: verify the current version, settings and absence of another release in progress. Show the result and rollback method. If I have authorized publication, release this version and check the public URL, main action and preservation of data. Record the actual version and checks.