ssot-write-gate

Validate artifact target paths against SSOT sovereign territory rules before file writes.

Updated Oct 9, 2025
One-click install
npx skills add https://github.com/Siamese001/Agentic-Workflow --skill ssot-write-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssot-write-gate
Source: https://github.com/Siamese001/Agentic-Workflow/tree/main/.windsurf/skills/ssot-write-gate
Command: npx skills add https://github.com/Siamese001/Agentic-Workflow --skill ssot-write-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents unauthorized or misplaced file writes, ensuring all artifacts are stored in their designated, secure locations within the project's sovereign territories.

Core Features & Use Cases

  • Path Validation: Checks if a target write path adheres to repository root, whitelist, and artifact type rules.
  • SSOT Enforcement: Guarantees that artifacts like plans, evidence, and reports are saved in their canonical directories (e.g., docs/reports/plans/).
  • Security Guardrail: Blocks writes to sensitive user directories or IDE configuration paths.
  • Use Case: Before saving a new research report, this Skill automatically verifies it's placed in docs/reports/plans/ and not in a user's home directory.

Quick Start

Ensure any new artifact is written to its correct canonical path using the ssot-write-gate skill.

Frequently Asked Questions about ssot-write-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent file writes to unauthorized project directories?

To prevent unauthorized file writes, you need a write gate that validates artifact target paths against Single Source of Truth (SSOT) sovereign territories. This enforces predefined path validation rules, ensuring files are only saved to whitelisted directories and canonical artifact type locations.

What is SSOT path validation for artifact management?

SSOT path validation is a data governance mechanism that checks target write paths against predefined sovereign territories before any file write operation. It guarantees that artifacts like plans, evidence, and reports are stored in their canonical directories, maintaining strict repository organization.

How to enforce canonical artifact locations before saving reports?

You enforce canonical artifact locations by applying path validation rules before file write operations occur. This automatically verifies that artifacts like research reports are placed in predefined directories such as docs/reports/plans/ instead of arbitrary user home directories.

Can I block file writes to user home directories and IDE configuration paths?

Yes, you can block file writes to user home directories and IDE configuration paths by using a security guardrail. This write gate intercepts file operations and rejects any target paths that do not match the repository root or whitelisted directories.

Does path security validation require predefined artifact type mappings?

Yes, path security validation requires predefined path validation rules and artifact type mappings to function correctly. These mappings define the sovereign territories and canonical locations that the write gate checks against before allowing any file write operation to proceed.

What are the limitations of using a write gate for data governance?

The limitation of using a write gate for data governance is that it strictly requires adherence to predefined path validation rules and artifact type mappings. It cannot dynamically adapt to new directories or artifact types unless those sovereign territories are explicitly defined beforehand.