Found while implementing #6984 (PR #7104) — surfaced by that PR's --list output, which prints the gate's skipped paths. Out of scope there; filed unassigned.
Observation
The repo root carries a tracked symlink named core whose target is an absolute path inside one particular agent container:
$ git ls-tree origin/main core
120000 blob 52ffc2becd565598dea5acc5ca4da8d39306d2a1 core
$ git cat-file -p $(git rev-parse origin/main:core)
/tmp/workspace/objectstack-ai/objectstack/packages/core
It is the only tracked symlink in the repo:
$ git ls-files -s | awk '$1=="120000"{print $4}'
core
On any checkout that is not literally at /tmp/workspace/objectstack-ai/objectstack the link dangles. In this worktree (/home/user/objectstack-6984) it does:
$ ls -la core
lrwxrwxrwx 1 root root 55 ... core -> /tmp/workspace/objectstack-ai/objectstack/packages/core
Provenance
Added 2026-05-25 by copilot-swe-agent[bot], inside a commit whose subject is about something else entirely:
$ git log -1 --format="%an %ad%n%s" --diff-filter=A -- core
copilot-swe-agent[bot] Mon May 25 09:50:01 2026 +0000
fix: update spec package.json exports to nested TypeScript conditions
So it reads as an artifact of that agent's working directory that got swept up by a git add -A, not as a deliberate convenience alias.
Why this is finding and not a defect
Nothing resolves through it today. A grep for a root-level core path finds only unrelated hits (packages/objectql's ./core export subpath, @objectstack/core package specifiers, ./core.zod relative imports); no tsconfig path, no workflow, no package manifest names the repo-root core. It is not inside any package, so it is not published. pnpm lint, the build and the type-check jobs are all green with it dangling, which is the evidence that it is inert rather than the argument that it is harmless.
The visible effect is cosmetic and single-line: it is the 1 non-regular in check:nul-bytes's summary, skipped by that gate's rule 1 (lstat, not stat — a dangling symlink is skipped rather than crashing the run, which is working as designed).
Recording it rather than fixing it in #6984's PR, because a deletion is a main-touching change on a path nobody asked me to look at, and because the interesting question is not "delete it?" but whether anything upstream relies on repo-root aliases of this shape. If the answer is no, git rm core is the whole fix.
Refs #6984, PR #7104.
Found while implementing #6984 (PR #7104) — surfaced by that PR's
--listoutput, which prints the gate's skipped paths. Out of scope there; filed unassigned.Observation
The repo root carries a tracked symlink named
corewhose target is an absolute path inside one particular agent container:It is the only tracked symlink in the repo:
On any checkout that is not literally at
/tmp/workspace/objectstack-ai/objectstackthe link dangles. In this worktree (/home/user/objectstack-6984) it does:Provenance
Added 2026-05-25 by
copilot-swe-agent[bot], inside a commit whose subject is about something else entirely:So it reads as an artifact of that agent's working directory that got swept up by a
git add -A, not as a deliberate convenience alias.Why this is
findingand not a defectNothing resolves through it today. A grep for a root-level
corepath finds only unrelated hits (packages/objectql's./coreexport subpath,@objectstack/corepackage specifiers,./core.zodrelative imports); no tsconfig path, no workflow, no package manifest names the repo-rootcore. It is not inside any package, so it is not published.pnpm lint, the build and the type-check jobs are all green with it dangling, which is the evidence that it is inert rather than the argument that it is harmless.The visible effect is cosmetic and single-line: it is the
1 non-regularincheck:nul-bytes's summary, skipped by that gate's rule 1 (lstat, notstat— a dangling symlink is skipped rather than crashing the run, which is working as designed).Recording it rather than fixing it in #6984's PR, because a deletion is a
main-touching change on a path nobody asked me to look at, and because the interesting question is not "delete it?" but whether anything upstream relies on repo-root aliases of this shape. If the answer is no,git rm coreis the whole fix.Refs #6984, PR #7104.