Unverified50% confidenceDecision RuleExact time
It is recommended that after restoring a session you first have the Agent check the repository state (such as git status, git diff) before continuing, rather than having it re-run directly, because an interrupted tool call may already have produced side effects.
1
Sources
50%
Confidence
Long-term
Relevance
10/14/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedPreToolUse 事件在工具准备被调用前触发,适合安全防呆,可拦截危险的 Git 指令如 git reset --hard76% similarUnverifiedWhen using Agent mode for larger-scale refactoring or fixes, it is recommended to create checkpoints in advance with version control (such as Git) to enable rollback.73% similarUnverifiedThe GitHub platform iterates continuously, and each new feature launch, architecture adjustment, or third-party service integration may introduce new attack surface entry points, while the attack surface of old features may depreciate due to continuous coverage.68% similarUnverifiedGit提供三种主要回退策略:git checkout(不修改提交历史)、git revert(创建反向commit)和git reset(移回分支指针)68% similarUnverifiedGitHub's official documentation states: success, skipped, or neutral statuses can all satisfy the platform-level branch protection check requirements.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1025385API
curl https://kongchang.com/api/v1/knowledge/claims/1025385MCP
get_claim(id=1025385)