Skip to main content

tensor-grep-cross-platform-path-confinement

Use when writing or reviewing any code that confines filesystem access to a root (checkpoint snapshot/undo, LSP documentChanges, index reuse, install/upgrade, scan-writer paths) and must behave CORRECTLY on BOTH Windows and POSIX — especially junctions vs symlinks vs hardlinks, the drive-absolute `/C:/...` escape that only exists on Windows, canonicalize-or-fail-closed, handle-anchored identity versus resolve-then-act (TOCTOU/A38/A48), or a path-shape transform that is platform-meaningful (A84). Triggers: "junction", "symlink", "drive-absolute", "reparse point", "path confinement", "within_root", "TOCTOU", "canonicalize", "opened identity", "CWE-59", "CWE-1386", "mklink /J", "out-of-root". Sibling of tensor-grep-hermetic-hostile-tests (the fixture that must BITE) and tensor-grep-index-fingerprint-freshness (identity of the tree being served); this one is the cross-platform path-security discipline itself.

跳到安装

来源信息

仓库
oimiragieo/tensor-grep
最近来源活动
2026年8月14日 01:12
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。