mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
233b509928
`showcase/integrations/mastra/shared-tools` was a real committed directory where a symlink into the single source of truth belongs, violating the single-source symlink mechanism documented in showcase/AGENTS.md. Root cause: commit534cd1efa7("fix(showcase): D5 integration fixes across 12 frameworks") deleted the symlink and committed 14 real files in its place — the classic clobber the guard in showcase/scripts/validate-shared-symlinks.ts was written to catch. The symlink was originally added by 93d5815cdb and pointed at `../../shared/typescript/tools`. Divergence inventory: NONE. All 14 files were byte-identical to showcase/shared/typescript/tools (identical git blob hashes and sha256s), so nothing mastra-specific, stale, or additive was carried in the copy. Restoring the symlink is therefore a pure structural fix with zero content change — the restored link blob is the same object (ddc634b6) the pre-erosion symlink had. Also removes the healed `mastra/shared-tools` key from validate-shared-symlinks.baseline.json, per the shrink-only ratchet (the validator reports stale entries specifically so this is mechanical). langgraph-typescript/shared-tools and claude-sdk-typescript/shared-tools are eroded the same way by the same commit and are also byte-identical to the shared source; they stay baselined here and are left for follow-up so each conversion carries its own behavior proof.
8 lines
596 B
JSON
8 lines
596 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"
|
|
]
|
|
}
|