Files
skillshare/internal/sourcefs/testdata/raw_writes.tsv
T
Willie c040917bc7 fix(security): enforce credential and filesystem trust boundaries (#861)
Bind provider credentials to canonical or explicitly configured HTTPS origins and preserve that policy across remote consumers. Reject cross-site credentialed reads, linked fallback directories, and discovered-agent writes outside the source; audit staged content before rooted atomic publication.

Add boundary regressions, private Git update coverage, stable cross-platform fixtures, and aligned documentation. Verified the integrated main baseline with all executed CI checks passing.
2026-11-11 23:17:54 +08:00

41 KiB

1# Raw os write calls allowed outside sourcefs. See ratchet_test.go.
2# filefunctioncalleepath argumentreason
3cmd/skillshare/completion.gocmdCompletionos.MkdirAlldirshell
4cmd/skillshare/completion.gocmdCompletionos.WriteFiledestPathshell
5cmd/skillshare/doctor.gocheckSymlinkSupportos.MkdirAlltestTargettmp
6cmd/skillshare/doctor.gocheckSymlinkSupportos.RemovetestLinktmp
7cmd/skillshare/doctor.gocheckSymlinkSupportos.RemovetestLinktmp
8cmd/skillshare/doctor.gocheckSymlinkSupportos.RemoveAlltestTargettmp
9cmd/skillshare/doctor.gocheckSymlinkSupportos.RemoveAlltestTargettmp
10cmd/skillshare/doctor.gocheckTargetIssuesos.CreatetestFiletarget
11cmd/skillshare/doctor.gocheckTargetIssuesos.RemovetestFiletarget
12cmd/skillshare/extras_init.goextrasInitGlobalos.MkdirAllsourceDirextras
13cmd/skillshare/extras_init.goextrasInitProjectos.MkdirAllsourceDirextras
14cmd/skillshare/extras_remove.gocleanEmptyExtrasDiros.Removedirextras
15cmd/skillshare/extras_remove.gocleanEmptyExtrasDirQuietos.Removedirextras
16cmd/skillshare/helpers.gocopyDiros.MkdirAlldstPathsource-unmigrated
17cmd/skillshare/helpers.gocopyFileos.OpenFiledstsource-unmigrated
18cmd/skillshare/helpers.goremoveEmptyDiros.Removedirextras
19cmd/skillshare/init_apply.goapplyInitPlanos.MkdirAlldirsource-root
20cmd/skillshare/init_apply.goreplaceIdenticalCopiesos.RemoveAlldsttarget
21cmd/skillshare/init_project.gocreateProjectTargetDirsos.MkdirAllabsPathtarget
22cmd/skillshare/init_project.goensureProjectGitignoreos.WriteFilegitignorePathproject
23cmd/skillshare/init_remote.goinspectRemoteos.MkdirTemptmp
24cmd/skillshare/init_remote.goinspectRemoteos.RemoveAlltmptmp
25cmd/skillshare/json_output.gosuppressUIToDevnullos.OpenFileos.DevNulldevnull
26cmd/skillshare/main.gocleanupOldBinaryos.RemoveoldPathbinary
27cmd/skillshare/new.gocmdNewos.MkdirAlldirPathsource-unmigrated
28cmd/skillshare/new.gocmdNewos.MkdirAllskillDirsource-unmigrated
29cmd/skillshare/new.gocmdNewos.RemoveAllskillDirsource-unmigrated
30cmd/skillshare/new.gocmdNewos.WriteFilegitkeepsource-unmigrated
31cmd/skillshare/new.gocmdNewos.WriteFileskillFilesource-unmigrated
32cmd/skillshare/restore_tui.go(restoreTUIModel).startDeleteos.RemoveAlltsDirbackup
33cmd/skillshare/restore_tui.go(restoreTUIModel).startDeleteos.RemoveAllversion.Dirbackup
34cmd/skillshare/target.gounlinkMergeModeos.RemoveskillPathtarget
35cmd/skillshare/target.gounlinkSymlinkModeos.RemovetargetPathtarget
36cmd/skillshare/target_project.gotargetAddProjectos.MkdirAllabsPathtarget
37cmd/skillshare/ui.goclearCurrentUIStateIfMatchesos.RemovecurrentUIStateFile()config
38cmd/skillshare/ui.goopenUILogos.MkdirAlldirconfig
39cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
40cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
41cmd/skillshare/ui.gostopUIos.RemoveuiPidFile(opts)config
42cmd/skillshare/ui.gowriteCurrentUIStateos.MkdirAllconfig.CacheDir()config
43cmd/skillshare/ui.gowriteCurrentUIStateos.WriteFilecurrentUIStateFile()config
44cmd/skillshare/ui.gowriteUIPidFileos.MkdirAllconfig.CacheDir()config
45cmd/skillshare/ui.gowriteUIPidFileos.WriteFileuiPidFile(opts)config
46cmd/skillshare/upgrade.godownloadAndReplaceos.RemovearchivePathbinary
47cmd/skillshare/upgrade.godownloadArchiveos.CreateTempbinary
48cmd/skillshare/upgrade.godownloadArchiveos.Removetmp.Name()binary
49cmd/skillshare/upgrade.gowriteBinaryos.ChmodtmpPathbinary
50cmd/skillshare/upgrade.gowriteBinaryos.CreateTempfilepath.Dir(destPath)binary
51cmd/skillshare/upgrade.gowriteBinaryos.RemoveoldPathbinary
52cmd/skillshare/upgrade.gowriteBinaryos.RemoveoldPathbinary
53cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
54cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
55cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
56cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
57cmd/skillshare/upgrade.gowriteBinaryos.RemovetmpPathbinary
58cmd/skillshare/upgrade.gowriteBinaryos.RenamedestPath, oldPathbinary
59cmd/skillshare/upgrade.gowriteBinaryos.RenameoldPath, destPathbinary
60cmd/skillshare/upgrade.gowriteBinaryos.RenametmpPath, destPathbinary
61cmd/skillshare/upgrade.gowriteBinaryos.RenametmpPath, destPathbinary
62internal/audit/patterns.goInitRulesFileos.MkdirAllfilepath.Dir(path)config
63internal/audit/patterns.goInitRulesFileos.WriteFilepathconfig
64internal/audit/rules_mutate.goResetRulesos.Removepathconfig
65internal/audit/rules_mutate.gowriteRulesFileos.MkdirAllfilepath.Dir(path)config
66internal/audit/rules_mutate.gowriteRulesFileos.WriteFilepathconfig
67internal/backup/backup.gocopyDiros.MkdirAlldstbackup
68internal/backup/backup.gocopyFileos.OpenFiledstbackup
69internal/backup/backup.gocreateInDiros.ChmodstagingPathbackup
70internal/backup/backup.gocreateInDiros.MkdirAllbackupDirbackup
71internal/backup/backup.gocreateInDiros.MkdirAlltimestampDirbackup
72internal/backup/backup.gocreateInDiros.MkdirTempbackupDirbackup
73internal/backup/backup.gocreateInDiros.RemoveAllstagingPathbackup
74internal/backup/backup.gocreateInDiros.RenamestagingPath, backupPathbackup
75internal/backup/backup.goremoveDirIfEmptyos.Removepathbackup
76internal/backup/cleanup.gocleanupInDiros.RemoveAllbackup.Pathbackup
77internal/backup/cleanup.gocleanupInDiros.RemoveAllpathbackup
78internal/backup/cleanup.gocleanEmptyDirsos.RemovesubPathbackup
79internal/backup/delete.goDeleteInDiros.RemoveAllpathbackup
80internal/backup/restore.goRestoreToPathos.RemovedestPathtarget
81internal/backup/restore.goRestoreToPathos.RemoveAlldestPathtarget
82internal/check/checktest/fixture.goSeedos.MkdirAlldirtest-helper
83internal/check/tree_check.goFetchRemoteTreeHashesForRefos.MkdirTemptmp
84internal/check/tree_check.goFetchRemoteTreeHashesForRefos.RemoveAlltmpDirtmp
85internal/config/config.godecodeConfigos.RenametmpPath, destconfig
86internal/config/config.godecodeConfigos.WriteFiletmpPathconfig
87internal/config/config.gomigrateSkillsToRegistryos.WriteFileconfigPathconfig
88internal/config/extras_migrate.goMigrateExtrasDiros.RenameoldPath, newPathextras
89internal/config/migrate.gomigrateDiros.MkdirAllfilepath.Dir(newPath)source-root
90internal/config/migrate.gomigrateDiros.RenameoldPath, newPathsource-root
91internal/config/project.go(*ProjectConfig).SaveInos.MkdirAlldirconfig
92internal/config/project.go(*ProjectConfig).SaveInos.WriteFilepathconfig
93internal/config/project.goLoadProjectos.Chmodf.Name()config
94internal/config/project.goLoadProjectos.CreateTempfilepath.Dir(dest)config
95internal/config/project.goLoadProjectos.Removef.Name()config
96internal/config/project.goLoadProjectos.Renamef.Name(), destconfig
97internal/config/registry.go(*Registry).Saveos.MkdirAlldirsource-unmigrated
98internal/config/registry.go(*Registry).Saveos.WriteFilepathsource-unmigrated
99internal/config/registry.goMigrateRegistryToSourceos.RemoveoldPathsource-unmigrated
100internal/config/registry.goMigrateRegistryToSourceos.WriteFilenewPathsource-unmigrated
101internal/config/save_candidate.go(*SaveCandidate).writeos.MkdirAlldirconfig
102internal/config/save_candidate.go(*SaveCandidate).writeos.OpenFiletmpPathconfig
103internal/config/save_candidate.go(*SaveCandidate).writeos.Removetmp.Name()config
104internal/config/save_candidate.go(*SaveCandidate).writeos.Renametmp.Name(), destconfig
105internal/git/info.goresolveMetadataConflictsos.WriteFilefilepath.Join(dir, path)source-unmigrated
106internal/git/scope.goDisableNestedRepoos.RenamegitDir, disabledsource-unmigrated
107internal/git/scope.goInitScopeRepoos.MkdirAlldirsource-unmigrated
108internal/git/scope.goWriteScopeGitignoreos.WriteFilegitignoresource-unmigrated
109internal/git/scope.goWriteScopeGitignoreos.WriteFilegitignoresource-unmigrated
110internal/git/scope.goappendGitignoreLineos.WriteFilegitignoresource-unmigrated
111internal/git/scope.goensureGitignoreEntryos.WriteFilegitignoresource-unmigrated
112internal/git/scope.goensureGitignoreEntryos.WriteFilegitignoresource-unmigrated
113internal/git/scope.goremoveCheckedOutos.Removepathsource-unmigrated
114internal/git/scope.goremoveCheckedOutos.RemoveAllpathsource-unmigrated
115internal/git/scope.gosnapshotConfigos.Chmodpathsource-unmigrated
116internal/git/scope.gosnapshotConfigos.Symlinktarget, pathsource-unmigrated
117internal/git/scope.gosnapshotConfigos.WriteFilepathsource-unmigrated
118internal/hooks/apply.go(*Service).applyScopedos.Removef.pathplugin
119internal/hooks/apply.go(*Service).applyScopedos.Removes.journalPath()plugin
120internal/hooks/apply.go(*Service).applyScopedos.Removes.journalPath()plugin
121internal/hooks/apply.go(*Service).pruneBackupsos.Removefilepath.Join(dir, name)plugin
122internal/hooks/apply.go(*Service).recoverPendingos.Removes.journalPath()plugin
123internal/hooks/apply.goatomicWriteos.CreateTempfilepath.Dir(path)plugin
124internal/hooks/apply.goatomicWriteos.MkdirAllfilepath.Dir(path)plugin
125internal/hooks/apply.goatomicWriteos.Removefile.Name()plugin
126internal/hooks/apply.goatomicWriteos.Renamefile.Name(), pathplugin
127internal/hooks/apply.gopruneCreatedDirsos.Removedirplugin
128internal/hooks/apply.gopruneEmptyDirsos.Removedirplugin
129internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.CreateTempfilepath.Dir(f.path)plugin
130internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.MkdirAllfilepath.Dir(f.path)plugin
131internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.Removef.pathplugin
132internal/hooks/git_ops.go(*filePlan).prepareGitWriteos.RemovestagePathplugin
133internal/hooks/service.go(*Service).lockos.MkdirAlls.stateDir()plugin
134internal/hub/drafts.go(DraftStore).Deleteos.Removepathconfig
135internal/hub/drafts.go(DraftStore).lockedos.MkdirAlls.Dirconfig
136internal/hub/drafts.go(DraftStore).persistos.CreateTemps.Dirconfig
137internal/hub/drafts.go(DraftStore).persistos.Removetmp.Name()config
138internal/hub/drafts.go(DraftStore).persistos.Renametmp.Name(), pathconfig
139internal/hub/index.goWriteIndexos.MkdirAllfilepath.Dir(path)source-unmigrated
140internal/hub/index.goWriteIndexos.WriteFilepathsource-unmigrated
141internal/install/copy.gocopyDirExcludingos.MkdirAlldstPathsource-unmigrated
142internal/install/copy.gocopyFileos.OpenFiledstsource-unmigrated
143internal/install/git_candidate.go(*GitUpdateCandidate).Closeos.RemoveAllc.tempDirtmp
144internal/install/git_candidate.goStageGitUpdateos.MkdirAllfilepath.Dir(dst)tmp
145internal/install/git_candidate.goStageGitUpdateos.MkdirTemptmp
146internal/install/git_candidate.goStageGitUpdateos.Removedsttmp
147internal/install/git_candidate.goStageGitUpdateos.Symlinktarget, dsttmp
148internal/install/gitea_download.gocnbWriteContentItemos.MkdirAlltargetclone
149internal/install/gitea_download.gocnbWriteContentItemos.MkdirAlltargetclone
150internal/install/gitea_download.godownloadCNBDiros.MkdirAlldestDirclone
151internal/install/gitea_download.godownloadGiteaDiros.MkdirAlldestDirclone
152internal/install/gitea_download.gogiteaDownloadDirRecursiveos.MkdirAllchildDirclone
153internal/install/github_download.godownloadDirRecursiveos.MkdirAllchildDirclone
154internal/install/github_download.godownloadGitHubDirWithAPIBaseos.MkdirAlldestDirclone
155internal/install/github_download.gowriteDownloadedFileos.MkdirAllfilepath.Dir(destPath)clone
156internal/install/github_download.gowriteDownloadedFileos.OpenFiledestPathclone
157internal/install/gitignore.gowriteGitignoreLinesos.WriteFilepathsource-unmigrated
158internal/install/install.go<package>os.RemoveAll<ref>source-unmigrated
159internal/install/install.go<package>os.RemoveAll<ref>source-unmigrated
160internal/install/install_apply.goinstallAgentFromDiscoveryInternalos.MkdirTemptmp
161internal/install/install_apply.goinstallAgentFromDiscoveryInternalos.RemoveAlltempDirtmp
162internal/install/install_apply.goinstallFromDiscoveryInternalos.MkdirAllworkDestsource-unmigrated
163internal/install/install_apply.goinstallFromDiscoveryInternalos.MkdirTemptmp
164internal/install/install_apply.goinstallFromDiscoveryInternalos.RemoveAlltempDirtmp
165internal/install/install_apply.goinstallFromGitSubdiros.MkdirTemptmp
166internal/install/install_apply.goinstallFromGitSubdiros.RemoveAlltempRepoPathtmp
167internal/install/install_apply.goinstallFromGitSubdiros.RemoveAlltempRepoPathtmp
168internal/install/install_apply.goinstallFromLocalos.MkdirAlldestPathsource-unmigrated
169internal/install/install_audit.gocleanEmptyInstallParentsos.Removediragents
170internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.MkdirTemptmp
171internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAllrepoPathtmp
172internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAllrepoPathtmp
173internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAlltempDirtmp
174internal/install/install_discovery.godiscoverFromGitSubdirWithProgressImplos.RemoveAlltempDirtmp
175internal/install/install_discovery.godiscoverFromGitWithProgressImplos.MkdirTemptmp
176internal/install/install_git.goShallowCloneToTempos.MkdirTemptmp
177internal/install/install_update.gohandleUpdateos.MkdirTemptmp
178internal/install/install_update.gohandleUpdateos.RemoveAlltempDirtmp
179internal/install/install_update.goupdateRepoRootOrchestratoros.MkdirTemptmp
180internal/install/install_update.goupdateRepoRootOrchestratoros.RemoveAlltempDirtmp
181internal/install/local_changes.goLocalChangesos.MkdirTemptmp
182internal/install/local_changes.goLocalChangesos.RemoveAlltmptmp
183internal/install/lock.go(*Lock).Saveos.Removepathproject
184internal/install/lock.go(*Lock).Saveos.WriteFilepathproject
185internal/install/meta.goWriteMetaos.WriteFilemetaPathsource-unmigrated
186internal/install/metadata.go(*MetadataStore).Saveos.CreateTempdirsource-unmigrated
187internal/install/metadata.go(*MetadataStore).Saveos.MkdirAlldirsource-unmigrated
188internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
189internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
190internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
191internal/install/metadata.go(*MetadataStore).Saveos.RemovetmpNamesource-unmigrated
192internal/install/metadata.go(*MetadataStore).Saveos.RenametmpName, targetsource-unmigrated
193internal/install/metadata_migrate.gowalkAgentSidecarsos.RemovesidecarPathagents
194internal/install/metadata_migrate.gowalkSkillDiros.RemovesidecarPathsource-unmigrated
195internal/instructions/convert.goApplyos.Removec.Pathplugin
196internal/instructions/convert.goWriteFileos.MkdirAllfilepath.Dir(path)plugin
197internal/instructions/convert.goWriteFileos.WriteFilepathplugin
198internal/instructions/project.goApplyShimos.MkdirAllfilepath.Dir(own)plugin
199internal/instructions/project.goApplyShimos.Symlinkrel, ownplugin
200internal/mcp/backups.go(*Service).pruneBackupsos.Removefilepath.Join(dir, name)plugin
201internal/mcp/service.go(*Service).lockos.MkdirAlldirplugin
202internal/mcp/write.go(*Service).applyScopedos.RemovejournalPathplugin
203internal/mcp/write.go(*Service).applyScopedos.RemovejournalPathplugin
204internal/mcp/write.goatomicWriteos.CreateTempfilepath.Dir(path)plugin
205internal/mcp/write.goatomicWriteos.MkdirAllfilepath.Dir(path)plugin
206internal/mcp/write.goatomicWriteos.Removefile.Name()plugin
207internal/mcp/write.goatomicWriteos.Renamefile.Name(), pathplugin
208internal/memory/commit.gocommitNoteos.Renamedraft, pathextras
209internal/memory/commit.gocreateExclusiveos.OpenFilepathextras
210internal/memory/commit.gocreateExclusiveos.Removepathextras
211internal/memory/commit.goremoveNoteos.Removepathextras
212internal/memory/guidance_plan.gocommitGuidanceChangeos.MkdirAllfilepath.Dir(c.Path)plugin
213internal/memory/move.goMoveos.MkdirAllfilepath.Dir(destination)extras
214internal/memory/move.goMoveos.OpenFiledestinationextras
215internal/memory/move.goMoveos.Removedestinationextras
216internal/memory/move.goMoveos.Removesourceextras
217internal/memory/store.goWriteos.CreateTempfilepath.Dir(abs)extras
218internal/memory/store.goWriteos.MkdirAllfilepath.Dir(abs)extras
219internal/memory/store.goWriteos.Removetmp.Name()extras
220internal/oplog/oplog.goClearos.Truncatepathconfig
221internal/oplog/oplog.goWriteos.MkdirAlldirconfig
222internal/oplog/oplog.goWriteos.OpenFilefilepath.Join(dir, filename)config
223internal/oplog/oplog.gorewriteEntriesos.Createtmpconfig
224internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
225internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
226internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
227internal/oplog/oplog.gorewriteEntriesos.Removetmpconfig
228internal/oplog/oplog.gorewriteEntriesos.Renametmp, pathconfig
229internal/plugin/apply.go(*Service).applyChangeos.RemoveAllbackupplugin
230internal/plugin/apply.go(*Service).applyChangeos.RemoveAllfailedplugin
231internal/plugin/apply.go(*Service).applyChangeos.Renamebackup, pathplugin
232internal/plugin/apply.go(*Service).applyChangeos.Renamefailed, pathplugin
233internal/plugin/apply.go(*Service).applyChangeos.Renamepath, failedplugin
234internal/plugin/apply.go(*Service).materializeos.MkdirAllfilepath.Dir(p)plugin
235internal/plugin/apply.go(*Service).materializeos.MkdirAllparentplugin
236internal/plugin/apply.go(*Service).materializeos.MkdirTempparentplugin
237internal/plugin/apply.go(*Service).materializeos.RemoveAlltempplugin
238internal/plugin/apply.go(*Service).materializeos.Renamebackup, expectedplugin
239internal/plugin/apply.go(*Service).materializeos.Renameexpected, backupplugin
240internal/plugin/apply.go(*Service).materializeos.Renametemp, expectedplugin
241internal/plugin/apply.go(*Service).materializeos.WriteFilepplugin
242internal/plugin/config.go(*Service).saveos.CreateTempfilepath.Dir(path)plugin
243internal/plugin/config.go(*Service).saveos.MkdirAllfilepath.Dir(path)plugin
244internal/plugin/config.go(*Service).saveos.Removef.Name()plugin
245internal/plugin/config.go(*Service).saveos.Renamef.Name(), pathplugin
246internal/plugin/lifecycle.go(*Service).Lockos.MkdirAllfilepath.Dir(path)config
247internal/plugin/lifecycle.go(*Service).Lockos.OpenFilepathconfig
248internal/plugin/lifecycle.go(*Service).Lockos.Removepathconfig
249internal/plugin/local_bundle.go(*Service).applyLocalos.MkdirAllrootplugin
250internal/plugin/local_bundle.go(*Service).applyLocalos.MkdirTemprootplugin
251internal/plugin/local_bundle.go(*Service).applyLocalos.Removemarkerplugin
252internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAllbackupplugin
253internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAlldestplugin
254internal/plugin/local_bundle.go(*Service).applyLocalos.RemoveAlltempplugin
255internal/plugin/local_bundle.go(*Service).applyLocalos.Renamebackup, destplugin
256internal/plugin/local_bundle.go(*Service).applyLocalos.Renamedest, backupplugin
257internal/plugin/local_bundle.go(*Service).applyLocalos.Renametemp, destplugin
258internal/plugin/local_bundle.goatomicNativeWriteos.CreateTempfilepath.Dir(path)plugin
259internal/plugin/local_bundle.goatomicNativeWriteos.MkdirAllfilepath.Dir(path)plugin
260internal/plugin/local_bundle.goatomicNativeWriteos.Removef.Name()plugin
261internal/plugin/local_bundle.goatomicNativeWriteos.Renamef.Name(), pathplugin
262internal/plugin/omp_extensions_write.go(*Service).ApplyOMPExtensionsos.MkdirAllparentplugin
263internal/plugin/omp_extensions_yaml.go(*Service).ompBackupos.MkdirAlldirplugin
264internal/plugin/package_config.go(*Service).applyOpenCodeos.MkdirAllfilepath.Dir(path)plugin
265internal/plugin/pi_extensions_lock.go(*piNativeLock).releaseos.Removel.pathplugin
266internal/plugin/pi_extensions_lock.goacquirePiNativeLockos.Mkdirpathplugin
267internal/plugin/pi_extensions_lock.goacquirePiNativeLockos.Mkdirpathplugin
268internal/plugin/pi_extensions_write.go(*Service).piBackupos.MkdirAlldirplugin
269internal/plugin/pi_extensions_write.go(*Service).piBackupos.Removerecordplugin
270internal/plugin/pi_registration_private_other.gomakePiRegistrationDiros.MkdirAllpathplugin
271internal/plugin/pi_registration_private_windows.gomakePiRegistrationDiros.MkdirAllfilepath.Dir(path)plugin
272internal/plugin/source.goacquireRefos.MkdirTempplugin
273internal/plugin/source.goacquireRefos.RemoveAllrootplugin
274internal/plugin/source.gocopyTreeos.MkdirAlltoplugin
275internal/plugin/source.gocopyTreeos.Symlinklink, toplugin
276internal/plugin/source.gocopyTreeos.WriteFiletoplugin
277internal/projects/lock.golockPathos.MkdirAlldirconfig
278internal/resource/agent.go(AgentKind).CreateLinkos.Symlinksrc, dsttarget
279internal/resource/skill.go(SkillKind).CreateLinkos.Symlinksrc, dsttarget
280internal/search/index.goreadIndexFromGitCloneos.RemoveAlldirtmp
281internal/search/preview.gofetchViaCloneos.RemoveAlldirtmp
282internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.MkdirAllresolvedagents
283internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.RemoveignorePathagents
284internal/server/handler_agentignore.go(*Server).handlePutAgentignoreos.WriteFileignorePathagents
285internal/server/handler_audit.go(*Server).handlePutAuditRulesos.MkdirAllfilepath.Dir(path)config
286internal/server/handler_audit.go(*Server).handlePutAuditRulesos.WriteFilepathconfig
287internal/server/handler_config.go(*Server).handlePutConfigos.WriteFilepathconfig
288internal/server/handler_create_skill.go(*Server).handleCreateSkillos.MkdirAlldirPathsource-unmigrated
289internal/server/handler_create_skill.go(*Server).handleCreateSkillos.MkdirAllskillDirsource-unmigrated
290internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
291internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
292internal/server/handler_create_skill.go(*Server).handleCreateSkillos.RemoveAllskillDirsource-unmigrated
293internal/server/handler_create_skill.go(*Server).handleCreateSkillos.WriteFilegitkeepsource-unmigrated
294internal/server/handler_create_skill.go(*Server).handleCreateSkillos.WriteFileskillFilesource-unmigrated
295internal/server/handler_extensions.go(*Server).handleExtensionsOpenos.MkdirAlldirplugin
296internal/server/handler_extensions.go(*Server).handleExtensionsRemoveos.RemoveAllpathplugin
297internal/server/handler_extras.go(*Server).handleExtrasCreateos.MkdirAllsourceDirextras
298internal/server/handler_skill_content.gowriteFileAtomicos.CreateTempdiragents
299internal/server/handler_skill_content.gowriteFileAtomicos.RemovetmpPathagents
300internal/server/handler_skill_content.gowriteFileAtomicos.RenametmpPath, pathagents
301internal/server/handler_skillignore.go(*Server).handlePutSkillignoreos.RemoveignorePathsource-unmigrated
302internal/server/handler_skillignore.go(*Server).handlePutSkillignoreos.WriteFileignorePathsource-unmigrated
303internal/skillignore/write.goAddPatternos.MkdirAllfilepath.Dir(filePath)source-unmigrated
304internal/skillignore/write.goAddPatternos.WriteFilefilePathsource-unmigrated
305internal/skillignore/write.goRemovePatternos.WriteFilefilePathsource-unmigrated
306internal/skillserve/edit.go(*service).checkos.MkdirTemptmp
307internal/skillserve/edit.go(*service).checkos.RemoveAlltmptmp
308internal/skillserve/edit.gowriteCopyos.MkdirAllfilepath.Dir(path)tmp
309internal/skillserve/edit.gowriteCopyos.WriteFilepathtmp
310internal/sourcefs/sourcefs.go(*Root).MoveInos.Renamesrc, filepath.Join(r.dir, name)sourcefs
311internal/sourcefs/sourcefs.go(*Root).moveInAnchoredos.RemoveAllsrcsourcefs
312internal/sourcefs/sourcefs.goCreateos.MkdirAlldirsourcefs
313internal/sync/agent_sync.goPruneOrphanAgentLinksos.Removefilepath.Join(targetDir, name)target
314internal/sync/agent_sync.goPullAgentos.RemoveAlldestPathagents
315internal/sync/agent_sync.goPullAgentos.WriteFiledestPathagents
316internal/sync/agent_sync.goPullAgentsos.MkdirAllsourcePathagents
317internal/sync/agent_sync.goSyncAgentsTransformos.MkdirAlltargetDirtarget
318internal/sync/agent_sync.goSyncAgentsTransformos.RemovetargetDirtarget
319internal/sync/agent_sync.goSyncAgentsTransformos.RemovetgtFiletarget
320internal/sync/agent_sync.goSyncAgentsTransformos.RemovetgtFiletarget
321internal/sync/agent_sync.goSyncAgentsTransformos.WriteFiletgtFiletarget
322internal/sync/agent_sync.gosyncAgentsCopyos.MkdirAlltargetDirtarget
323internal/sync/agent_sync.gosyncAgentsCopyos.RemovetargetPathtarget
324internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
325internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
326internal/sync/agent_sync.gosyncAgentsCopyos.WriteFiletargetPathtarget
327internal/sync/agent_sync.gosyncAgentsMergeos.MkdirAlltargetDirtarget
328internal/sync/agent_sync.gosyncAgentsMergeos.RemovetargetPathtarget
329internal/sync/agent_sync.gosyncAgentsMergeos.RemovetargetPathtarget
330internal/sync/agent_sync.gosyncAgentsMergeCopyos.MkdirAlltargetDirtarget
331internal/sync/agent_sync.gosyncAgentsMergeCopyos.RemovetargetPathtarget
332internal/sync/agent_sync.gosyncAgentsSymlinkos.MkdirAllfilepath.Dir(targetDir)target
333internal/sync/agent_sync.gosyncAgentsSymlinkos.RemovetargetDirtarget
334internal/sync/agent_sync.gosyncAgentsSymlinkos.RemoveAlltargetDirtarget
335internal/sync/copy.gopruneOrphanCopiesWithConfigos.RemoveAllentryPathtarget
336internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemovetargetSkillPathtarget
337internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemoveAlltargetSkillPathtarget
338internal/sync/copy.goSyncTargetCopyWithSkillsOptionsos.RemoveAlltargetSkillPathtarget
339internal/sync/copy.gocopySkillToTargetos.ChmodskillFiletarget
340internal/sync/copy.gocopySkillToTargetos.ChmodskillFiletarget
341internal/sync/copy.gocopySkillToTargetos.RemoveAlldsttarget
342internal/sync/detach_target.go<package>os.Remove<ref>target
343internal/sync/detach_target.gocopySkillDiros.MkdirAlldstPathtarget
344internal/sync/detach_target.gocopySkillDiros.OpenFiledstPathtarget
345internal/sync/extension.gorunExtensionFileos.MkdirAllfilepath.Dir(tgtFile)target
346internal/sync/extension.gorunExtensionFileos.WriteFiletgtFiletarget
347internal/sync/extras.goCollectExtraFilesos.MkdirAllfilepath.Dir(destPath)extras
348internal/sync/extras.goCollectExtraFilesos.MkdirAllsourceDirextras
349internal/sync/extras.goCollectExtraFilesos.Removepathextras
350internal/sync/extras.goCollectExtraFilesos.WriteFiledestPathextras
351internal/sync/extras.gocleanEmptyParentsos.Removedirtarget
352internal/sync/extras.gopruneExtraManagedFilesos.Removepathtarget
353internal/sync/extras.gopruneExtraOrphansos.Removepathtarget
354internal/sync/extras.gopruneExtraSymlinkTargetos.RemovetargetPathtarget
355internal/sync/extras.gosyncExtraSymlinkModeos.MkdirAllfilepath.Dir(targetPath)target
356internal/sync/extras.gosyncExtraSymlinkModeos.RemovetargetPathtarget
357internal/sync/extras.gosyncExtraSymlinkModeos.RemoveAlltargetPathtarget
358internal/sync/extras.gosyncExtraTransformos.MkdirAllfilepath.Dir(tgtFile)target
359internal/sync/extras.gosyncExtraTransformos.RemovetgtFiletarget
360internal/sync/extras.gosyncExtraTransformos.RemoveAlltgtFiletarget
361internal/sync/extras.gosyncExtraTransformos.WriteFiletgtFiletarget
362internal/sync/extras.gosyncOneExtraFileos.MkdirAllfilepath.Dir(tgtFile)target
363internal/sync/extras.gosyncOneExtraFileos.RemovetgtFiletarget
364internal/sync/extras_backup.gobackupExtraDriftos.MkdirAlldirbackup
365internal/sync/extras_backup.gobackupExtraDriftos.WriteFilefilepath.Join(dir, name)backup
366internal/sync/extras_backup.goclearExtraAttachos.Removefilepath.Join(dir, name)backup
367internal/sync/extras_backup.goclearExtraImportBaseos.Removefilepath.Join(extraBackupDir(path), extraImportBase)backup
368internal/sync/extras_backup.goclearExtraWrittenos.Removefilepath.Join(extraBackupDir(path), extraWritten)backup
369internal/sync/extras_backup.gopruneExtraBackupsos.Removefilepath.Join(dir, names[0])backup
370internal/sync/extras_backup.goputBackExtraRestorePointos.Symlinkstring(dest), pathbackup
371internal/sync/extras_backup.goputBackExtraRestorePointos.WriteFilepathbackup
372internal/sync/extras_backup.gorecordExtraAttachos.MkdirAlldirbackup
373internal/sync/extras_backup.gorecordExtraAttachos.WriteFilefilepath.Join(dir, name)backup
374internal/sync/extras_backup.gorecordExtraImportBaseos.MkdirAlldirbackup
375internal/sync/extras_backup.gorecordExtraImportBaseos.WriteFilefilepath.Join(dir, extraImportBase)backup
376internal/sync/extras_backup.gorecordExtraWrittenos.WriteFilefilepath.Join(extraBackupDir(path), extraWritten)backup
377internal/sync/extras_backup.gostoreExtraBackupos.MkdirAlldirbackup
378internal/sync/extras_backup.gostoreExtraBackupos.WriteFilefilepath.Join(dir, name)backup
379internal/sync/extras_block.goapplyExtraBlockos.MkdirAllfilepath.Dir(f.Target)target
380internal/sync/extras_block.goapplyExtraBlockos.Removef.Targettarget
381internal/sync/extras_block.goapplyExtraBlockos.WriteFilef.Targettarget
382internal/sync/extras_block.gocollectExtraBlockos.WriteFilef.Sourceextras
383internal/sync/extras_block.gorestoreExtraBlockos.Removef.Targettarget
384internal/sync/extras_block.gorestoreExtraBlockos.WriteFilef.Targettarget
385internal/sync/extras_file.goCollectBackExtraFileos.MkdirAllfilepath.Dir(f.Source)extras
386internal/sync/extras_file.goCollectBackExtraFileos.WriteFilef.Sourceextras
387internal/sync/extras_file.goRestoreExtraTargetos.Removef.Targettarget
388internal/sync/extras_file.goRestoreExtraTargetos.Removef.Targettarget
389internal/sync/extras_file.goreplaceDriftedTargetos.Removef.Targettarget
390internal/sync/extras_file.gorestoreExtraImportos.Removef.Targettarget
391internal/sync/extras_file.gorestoreExtraImportos.Removef.Targettarget
392internal/sync/extras_file.gorestoreExtraImportos.WriteFilef.Targettarget
393internal/sync/extras_file.gosyncExtraFileReplaceos.MkdirAllfilepath.Dir(f.Target)target
394internal/sync/extras_file.gosyncExtraFileReplaceos.Removef.Targettarget
395internal/sync/extras_file.gosyncExtraFileReplaceos.Removef.Targettarget
396internal/sync/extras_file.gosyncExtraFileReplaceos.WriteFilef.Targettarget
397internal/sync/extras_file.gosyncExtraImportos.MkdirAllfilepath.Dir(f.Target)target
398internal/sync/extras_file.gosyncExtraImportos.Removef.Targettarget
399internal/sync/extras_file.gosyncExtraImportos.WriteFilef.Targettarget
400internal/sync/file_backups.goRestoreFileBackupos.MkdirAllfilepath.Dir(path)target
401internal/sync/file_backups.goRestoreFileBackupos.MkdirAllfilepath.Dir(path)target
402internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
403internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
404internal/sync/file_backups.goRestoreFileBackupos.Removepathtarget
405internal/sync/file_backups.goRestoreFileBackupos.Symlinkv.LinkTo, pathtarget
406internal/sync/file_backups.goRestoreFileBackupos.WriteFilepathtarget
407internal/sync/filelink.go(*copyTracker).pruneOrphansos.Removefilepath.Join(t.dir, rel)target
408internal/sync/manifest.goRemoveManifestos.Removefilepath.Join(targetPath, ManifestFile)target
409internal/sync/manifest.goWriteManifestos.WriteFilefilepath.Join(targetPath, ManifestFile)target
410internal/sync/pull.goPullSkillos.RemoveAlldestPathsource-unmigrated
411internal/sync/relative.goreformatLinkos.RemovelinkPathtarget
412internal/sync/relative.goreformatLinkos.RemovetmpPathtarget
413internal/sync/relative.goreformatLinkos.RemovetmpPathtarget
414internal/sync/relative.goreformatLinkos.RenametmpPath, linkPathtarget
415internal/sync/skill_run.goSyncSkillTargetos.Removesc.Pathtarget
416internal/sync/skills_off.goDetachSkillsos.RemoveentryPathtarget
417internal/sync/skills_off.goDetachSkillsos.Removefoldertarget
418internal/sync/symlink_unix.gocreateLinkos.Symlinktarget, linkPathtarget
419internal/sync/symlink_windows.gocanCreateRelativeLinkos.Mkdirtargettmp
420internal/sync/symlink_windows.gocanCreateRelativeLinkos.MkdirTemptmp
421internal/sync/symlink_windows.gocanCreateRelativeLinkos.RemoveAlldirtmp
422internal/sync/symlink_windows.gocreateLinkos.SymlinkabsSource, absTargettarget
423internal/sync/symlink_windows.gocreateLinkos.SymlinkabsSource, absTargettarget
424internal/sync/symlink_windows.gocreateLinkos.Symlinkrel, linkPathtarget
425internal/sync/symlink_windows.goplatformCanCreateFileLinkos.MkdirTemptmp
426internal/sync/symlink_windows.goplatformCanCreateFileLinkos.RemoveAlldirtmp
427internal/sync/symlink_windows.goplatformCanCreateFileLinkos.WriteFiletargettmp
428internal/sync/sync.goCreateSymlinkos.MkdirAllfilepath.Dir(targetPath)target
429internal/sync/sync.goMigrateToSourceos.MkdirAllfilepath.Dir(sourcePath)source-unmigrated
430internal/sync/sync.goMigrateToSourceos.RemoveAlltargetPathtarget
431internal/sync/sync.goMigrateToSourceos.RemoveAlltargetPathtarget
432internal/sync/sync.goMigrateToSourceos.RenametargetPath, sourcePathsource-unmigrated
433internal/sync/sync.goPruneOrphanLinksWithSkillsos.RemoveAllentryPathtarget
434internal/sync/sync.goSyncTargetos.Removesc.Pathtarget
435internal/sync/sync.goSyncTargetMergeWithSkillsos.RemovetargetSkillPathtarget
436internal/sync/sync.gocopyDirectoryWithStateos.MkdirAlldstPathsource-unmigrated
437internal/sync/sync.gocopyFileos.OpenFiledstsource-unmigrated
438internal/sync/sync.goensureRealTargetDiros.MkdirAlltargetPathtarget
439internal/sync/sync.goensureRealTargetDiros.MkdirAlltargetPathtarget
440internal/sync/sync.goensureRealTargetDiros.RemovetargetPathtarget
441internal/sync/sync.gomergeDirectoriesos.MkdirAlldstPathsource-unmigrated
442internal/sync/sync.goreplaceWithLinkos.Removepathtarget
443internal/sync/sync.goreplaceWithLinkos.RemoveAllparkedtarget
444internal/sync/sync.goreplaceWithLinkos.Renameparked, pathtarget
445internal/sync/sync.goreplaceWithLinkos.Renamepath, parkedtarget
446internal/sync/target_naming_migration.goselectActiveTargetNameForSyncos.RenamelegacyPath, desiredPathtarget
447internal/sync/target_naming_migration.goselectActiveTargetNameForSyncos.RenamedesiredPath, legacyPathtarget
448internal/testutil/git_helpers.goSeedRemoteBranchos.MkdirAllfilepath.Dir(full)test-helper
449internal/testutil/git_helpers.goSeedRemoteBranchos.WriteFilefulltest-helper
450internal/testutil/testutil.go(*Sandbox).CreateNestedSkillos.MkdirAllskillDirtest-helper
451internal/testutil/testutil.go(*Sandbox).CreateNestedSkillos.WriteFilepathtest-helper
452internal/testutil/testutil.go(*Sandbox).CreateProjectSkillos.MkdirAllskillDirtest-helper
453internal/testutil/testutil.go(*Sandbox).CreateProjectSkillos.WriteFilepathtest-helper
454internal/testutil/testutil.go(*Sandbox).CreateSkillos.MkdirAllskillDirtest-helper
455internal/testutil/testutil.go(*Sandbox).CreateSkillos.WriteFilepathtest-helper
456internal/testutil/testutil.go(*Sandbox).CreateSymlinkos.MkdirAlldirtest-helper
457internal/testutil/testutil.go(*Sandbox).CreateSymlinkos.Symlinktarget, linktest-helper
458internal/testutil/testutil.go(*Sandbox).CreateTargetos.MkdirAllpathtest-helper
459internal/testutil/testutil.go(*Sandbox).SetupProjectDiros.MkdirAlldirtest-helper
460internal/testutil/testutil.go(*Sandbox).SetupProjectDiros.MkdirAllfilepath.Join(projectRoot, p)test-helper
461internal/testutil/testutil.go(*Sandbox).WriteConfigos.MkdirAlldirtest-helper
462internal/testutil/testutil.go(*Sandbox).WriteConfigos.WriteFilesb.ConfigPathtest-helper
463internal/testutil/testutil.go(*Sandbox).WriteFileos.MkdirAlldirtest-helper
464internal/testutil/testutil.go(*Sandbox).WriteFileos.WriteFilepathtest-helper
465internal/testutil/testutil.go(*Sandbox).WriteProjectConfigos.MkdirAlldirtest-helper
466internal/testutil/testutil.go(*Sandbox).WriteProjectConfigos.WriteFilepathtest-helper
467internal/testutil/testutil.goNewSandboxos.MkdirAlldirtest-helper
468internal/trash/trash.goDeleteos.RemoveMetadataFile(entryPath)trash
469internal/trash/trash.goDeleteos.RemoveAllentryPathtrash
470internal/trash/trash.goMoveAgentToTrashos.MkdirAlltrashDirtrash
471internal/trash/trash.goMoveAgentToTrashos.RemoveagentFileagents
472internal/trash/trash.goMoveAgentToTrashos.RemovemetaFileagents
473internal/trash/trash.goMoveAgentToTrashos.RenameagentFile, destFileagents
474internal/trash/trash.goMoveAgentToTrashos.RenamemetaFile, destMetaagents
475internal/trash/trash.goMoveAgentToTrashos.WriteFiledestFiletrash
476internal/trash/trash.goMoveAgentToTrashos.WriteFiledestMetatrash
477internal/trash/trash.goMoveToTrashos.Rename<ref>source-checked
478internal/trash/trash.goRestoreos.Rename<ref>source-unmigrated
479internal/trash/trash.goRestoreAgentos.MkdirAlltargetDiragents
480internal/trash/trash.goRestoreAgentos.RemoveAllentry.Pathtrash
481internal/trash/trash.goRestoreAgentos.RenamesrcPath, destPathagents
482internal/trash/trash.goRestoreAgentos.WriteFiledestPathagents
483internal/trash/trash.gocleanEmptyParentsos.Removedirtrash
484internal/trash/trash.gocopyDiros.MkdirAlldstsource-unmigrated
485internal/trash/trash.gocopyFileos.OpenFiledstsource-unmigrated
486internal/trash/trash.gomoveLinkos.Removedstsource-unmigrated
487internal/trash/trash.gomoveLinkos.Removesrcsource-checked
488internal/trash/trash.gomoveToTrashos.MkdirAllfilepath.Dir(trashPath)trash
489internal/trash/trash.gomoveToTrashos.RemoveAllsrcPathsource-checked
490internal/trash/trash.gorecreateLinkos.Symlinktarget, dstsource-unmigrated
491internal/trash/trash.gorestoreos.RemoveAllentry.Pathtrash
492internal/uidist/uidist.goClearCacheos.RemoveAlldirconfig
493internal/uidist/uidist.goClearVersionos.RemoveAlldirconfig
494internal/uidist/uidist.goDownloados.MkdirAlldirconfig
495internal/uidist/uidist.goDownloados.RemovetmpFileconfig
496internal/uidist/uidist.goDownloados.RemoveAlldirconfig
497internal/uidist/uidist.gocleanOldVersionsos.RemoveAllfilepath.Join(uiDir, e.Name())config
498internal/uidist/uidist.godownloadToTempos.CreateTempconfig
499internal/uidist/uidist.godownloadToTempos.Removetmp.Name()config
500internal/uidist/uidist.goextractTarGzos.MkdirAllfilepath.Dir(target)config
501internal/uidist/uidist.goextractTarGzos.MkdirAlltargetconfig
502internal/uidist/uidist.goextractTarGzos.OpenFiletargetconfig
503internal/uninstall/uninstall.gorestoreMetadataos.Removefiletrash
504internal/uninstall/uninstall.gosaveMetadataos.WriteFiletrash.MetadataFile(trashPath)trash
505internal/utils/frontmatter_write.goSetFrontmatterListos.WriteFilefilePathsource-unmigrated
506internal/utils/frontmatter_write.goSetFrontmatterValueos.WriteFilefilePathtarget
507internal/utils/frontmatter_write.goSetFrontmatterValueos.WriteFilefilePathtarget
508internal/utils/frontmatter_write.goToggleFrontmatterFlagos.WriteFilefilePathsource-unmigrated
509internal/utils/frontmatter_write.goToggleFrontmatterFlagos.WriteFilefilePathsource-unmigrated
510internal/utils/link_windows.goCreateJunctionos.MkdirlinkPathsource-unmigrated
511internal/utils/link_windows.goCreateJunctionos.RemovelinkPathsource-unmigrated
512internal/version/check.goClearCacheos.RemovegetCachePath()config
513internal/version/check.gocleanupLegacyCacheos.RemovelegacyPathconfig
514internal/version/check.gocleanupLegacyCacheos.RemoveparentDirconfig
515internal/version/check.gosaveCacheAtos.MkdirAllfilepath.Dir(cachePath)config
516internal/version/check.gosaveCacheAtos.WriteFilecachePathconfig
517internal/config/config.go(*Config).Saveos.MkdirAlldirconfig
518internal/config/config.go(*Config).Saveos.WriteFilepathconfig
519internal/plugin/state.go(*Service).saveStateos.MkdirAlls.managedRoot()config