History & Safe Rollback
Review project changes grouped by release version and feature, track who requested each change, and safely detach features without overwriting newer code.
Traditional file-level undo or git checkout often clobbers unrelated edits made later in the same file. LightCode's History panel organizes work by what changed for users, not raw chat logs, and lets AI cleanly unhook a change without breaking everything around it.
Versions, features & changes#
Open History from the top toolbar to see your project organized in three clear levels:
- Release versions: Changes are grouped under Current version (expanded by default) and archived under past versions whenever a verified deployment succeeds (showing the deployed version and stage icon). Use the All versions dropdown in the History header to filter to a specific release.
- User-facing features: Related changes across one or more sessions are grouped into clear feature rows showing the feature title, who requested it, timestamp, and a concise summary of the behavior—keeping file names, file counts, and commit details tucked inside expandable technical details.
- Individual changes: Expand any feature with View N changes to inspect each individual step, session report, and provenance link.
Safe rollback: Detach this change / Detach this feature#
Need to remove an experiment or roll back a feature after shipping other updates on top of it?
- Click Detach this change on a single change or Detach this feature on a feature group.
- Instead of blindly restoring an old file snapshot, LightCode starts a scoped AI editing task that unhooks that specific behavior at its entry points and removes only code nothing else uses—preserving later edits, unrelated features, and user data.
Verify before shipping: Because detaching spawns an AI editing task, wait for the task to finish and verify the result in your session or Browser before deploying.
Retention & plan limits#
- Free plan: Shows changes from the last 3 days. Older history is kept safely on disk and becomes visible again if you upgrade.
- Pro plan: Full history retention for up to 90 days. Entries older than 7 days are automatically compressed on disk so project history stays fast without eating storage.