mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
34f615a0fb
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.
9 lines
623 B
JSON
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"
|
|
]
|
|
}
|