You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The hooks README documents that a Pi session runs guards only from its starting checkout (or the bundled corpus), never another checkout's scripts, and the proposed decision 153 records why the guard corpus is not selected per call (#1114)
Security
The write guard now takes the dependency-manifest policy (allowDependencyManifestWrites, or a Cratis origin) from the session's repository, not from the repository being written to. The target repository can only make the policy stricter, so a checkout the agent can create or edit no longer unlocks edits to package manifests, lockfiles, global.json or NuGet configuration. A session that cannot be determined blocks those edits. The Pi extension passes its session directory to the write guards (#1256)