ownership-partitioning

Enforce file write partitioning between parallel Unity pipeline agents.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill ownership-partitioning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ownership-partitioning
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/ownership-partitioning
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill ownership-partitioning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents parallel Unity pipeline agents from writing to the same or unauthorized file paths, avoiding conflicting edits and silent rule violations.

Core Features & Use Cases

  • Enforced write partitioning: Limits each writer agent to only the repo-root-relative globs assigned to it in workspace/ownership.lock.json.
  • Controlled shared read-only handling: Allows reading shared_read_only paths but forbids writing them during the session to protect critical configuration.
  • Forbidden-path safety: Blocks any touch to forbidden globs (e.g., plugin directories) to avoid destabilizing generated or third-party content.
  • Deterministic runtime verification: Requires an explicit orchestrate.py ownership-check <agent> <files...> call before moving to the next phase, failing fast on violations.

Quick Start

Use the orchestrator to verify your planned edits by running ownership-check for your agent and listing the files you intend to modify.

Frequently Asked Questions about ownership-partitioning

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

FAQPage Schema
How do I prevent parallel agents from overwriting the same files in a Unity pipeline?

You can prevent file overwrites by enforcing hard write partitioning across parallel agents. This requires reading workspace/ownership.lock.json to validate assigned file globs and blocking any writes to shared_read_only or forbidden paths.

What are forbidden paths in workspace ownership governance?

Forbidden paths in workspace governance are file globs, such as plugin directories, that agents are blocked from touching. This safety validation prevents destabilizing generated or third-party content during parallel pipeline phases.

How do I validate file ownership before modifying repository content?

You validate file ownership by running orchestrate.py ownership-check with the agent name and target files. This deterministic runtime verification checks planned edits against assigned globs and fails fast with a non-zero exit on violations.

Can I write to shared_read_only paths during a parallel agent session?

You cannot write to shared_read_only paths during a parallel agent session. While agents can read these paths to access critical configuration, writing them is strictly forbidden to protect essential files from conflicting edits.

When do I need file partitioning for parallel pipeline agents?

You need file partitioning when pipeline.parallel_allowed is true and writer agents run in phases that modify repository content. It enforces hard write boundaries to avoid conflicting edits and silent rule violations between parallel workers.

What happens if an agent violates file write partitioning rules?

If an agent violates file write partitioning rules, the orchestrate.py ownership-check command exits with a non-zero code. This deterministic runtime verification fails fast, preventing the pipeline from moving to the next phase.