bd4b709258
Copilot CLI 1.0.78 reworked /rewind to restore only the files the agent changed, 'skipping any file whose contents no longer match what Copilot last wrote'. This ports that protection to Hermes checkpoints: - tools/checkpoint_manager.py: per-project agent-write ledger (sha256 of every landed write_file/patch), safe_restore_plan() classifier, and restore(safe=True) that reverts only agent-authored changes, deletes agent-created files, and preserves user hand-edits. Empty ledger (pre-existing stores) falls back to the classic full restore. - run_agent.py: feed the ledger from _record_file_mutation_result on every landed mutation (zero new hooks; rides the existing verifier). - CLI + gateway /rollback: safe mode is the default; --all/--force restores everything; skipped files are reported with a hint. - 17 locales: new gateway.rollback.kept_user_edits key. - Docs: checkpoints-and-rollback.md updated. - Tests: 7 new cases incl. user-edit preservation, post-agent user tweaks, agent-created file removal, empty-ledger fallback.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.