feat(M3): Shared-source generator for agent variants
This commit is contained in:
+31
-33
@@ -1,41 +1,39 @@
|
||||
# pnpm workspace — non-mutating, exclusion-only policy (M1)
|
||||
# pnpm workspace — includes canonical sources + uniquely-named generated variants (M3)
|
||||
#
|
||||
# IMPORTANT: This file implements the M1 exclusion-only policy described in
|
||||
# docs/DEVELOPMENT.md. Only canonical *source* packages are included as
|
||||
# workspace members. All generated agent-variant directories are excluded via
|
||||
# negative globs so pnpm never hoists, modifies, or renames their
|
||||
# package.json files.
|
||||
# M3 update: every generated agent-variant package.json now carries a unique
|
||||
# private name (@ai-coding-skills/<skill>-<agent>), which allows pnpm to include
|
||||
# ALL generated roots alongside the canonical sources. The M1 negative-glob
|
||||
# exclusions are replaced by explicit positive includes.
|
||||
#
|
||||
# Canonical source packages (M1):
|
||||
# - skills/atlassian/shared/scripts → the shared Atlassian runtime
|
||||
# - skills/web-automation/codex/scripts → provisional canonical copy until
|
||||
# M3 finalises the web-automation source-of-truth and renames packages
|
||||
# Canonical source packages (never generated):
|
||||
# - skills/atlassian/shared/scripts → atlassian-skill-scripts (source + tests)
|
||||
# - skills/web-automation/shared → web-automation-scripts (source template)
|
||||
#
|
||||
# Generated agent-variant directories (excluded):
|
||||
# skills/*/codex (except web-automation/codex above)
|
||||
# skills/*/claude-code
|
||||
# skills/*/cursor
|
||||
# skills/*/opencode
|
||||
# skills/*/pi
|
||||
# pi-package/**
|
||||
#
|
||||
# The package-name collision between atlassian variants is sidestepped in M1
|
||||
# by this exclusion. A generator-driven rename to give each variant a unique
|
||||
# name is deferred to M3.
|
||||
# Generated agent-variant directories (now uniquely named, included):
|
||||
# - skills/atlassian/{claude-code,codex,cursor,opencode,pi}/scripts
|
||||
# - skills/web-automation/{claude-code,codex,cursor,opencode,pi}/scripts
|
||||
# - pi-package/skills/atlassian/scripts (@ai-coding-skills/atlassian-pi-mirror)
|
||||
# - pi-package/skills/web-automation/scripts (@ai-coding-skills/web-automation-pi-mirror)
|
||||
|
||||
packages:
|
||||
# ── Canonical source packages ────────────────────────────────────────────
|
||||
- "skills/atlassian/shared/scripts"
|
||||
- "skills/web-automation/codex/scripts"
|
||||
- "skills/web-automation/shared"
|
||||
|
||||
# ── Exclude generated agent-variant directories ──────────────────────────
|
||||
- "!skills/atlassian/codex/scripts"
|
||||
- "!skills/atlassian/claude-code/scripts"
|
||||
- "!skills/atlassian/cursor/scripts"
|
||||
- "!skills/atlassian/opencode/scripts"
|
||||
- "!skills/atlassian/pi/scripts"
|
||||
- "!skills/web-automation/claude-code/scripts"
|
||||
- "!skills/web-automation/cursor/scripts"
|
||||
- "!skills/web-automation/opencode/scripts"
|
||||
- "!skills/web-automation/pi/scripts"
|
||||
- "!pi-package/**"
|
||||
# ── Generated atlassian agent-variant packages ───────────────────────────
|
||||
- "skills/atlassian/claude-code/scripts"
|
||||
- "skills/atlassian/codex/scripts"
|
||||
- "skills/atlassian/cursor/scripts"
|
||||
- "skills/atlassian/opencode/scripts"
|
||||
- "skills/atlassian/pi/scripts"
|
||||
|
||||
# ── Generated web-automation agent-variant packages ──────────────────────
|
||||
- "skills/web-automation/claude-code/scripts"
|
||||
- "skills/web-automation/codex/scripts"
|
||||
- "skills/web-automation/cursor/scripts"
|
||||
- "skills/web-automation/opencode/scripts"
|
||||
- "skills/web-automation/pi/scripts"
|
||||
|
||||
# ── Generated pi-package mirrors ─────────────────────────────────────────
|
||||
- "pi-package/skills/atlassian/scripts"
|
||||
- "pi-package/skills/web-automation/scripts"
|
||||
|
||||
Reference in New Issue
Block a user