Files
copilotkit__copilotkit/showcase/scripts/validate-shared-symlinks.baseline.json
Jordan Ritter 34f615a0fb fix(showcase): restore single-source python tool symlinks + iron-rule guard
Restore the 12 Python integration tools/ dirs to symlinks into
shared/python/tools. They had eroded to real, drifting copies via an
accidental stage_shared() leak (commit 534cd1efa7) — the structural root
cause of showcase divergence bugs. Symlinking re-establishes the single
source of truth; content is identical to shared (only render_a2ui naming
and the shared roll_dice/sanitize additions are adopted).

Add showcase/AGENTS.md documenting the 4 iron rules and the single-source
symlink mechanism, plus a validate-shared-symlinks CI guard (shrink-only
baseline) that fails on any NEW erosion.
2026-07-14 22:17:54 -07:00

9 lines
623 B
JSON

{
"_comment": "Known single-source erosions grandfathered by validate-shared-symlinks.ts. These are */shared-tools, */tools, */_shared dirs that SHOULD be symlinks into showcase/shared/... but are currently real directories. See showcase/AGENTS.md. This baseline is a SHRINK-ONLY ratchet: as symlinks are restored, remove the healed key (the validator reports stale entries). When this list reaches [], the guard becomes fully enforcing — any new real dir where a symlink belongs fails CI.",
"keys": [
"claude-sdk-typescript/shared-tools",
"langgraph-typescript/shared-tools",
"mastra/shared-tools"
]
}