You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brings upd/split/3-permissions at 3c9f4b0, which carries main at
066ea3c through split/1, split/2 and split/3, into
split/4-client-resolve. Two files conflicted. Each resolution keeps both
sides' changes.
ec/finalize.rs takes main's imports for identity-graph writes and EID
collection, and keeps this branch's expire_ec_resolved_marker beside
them. This branch's two resolved-marker tests from ee07418 sit beside
main's orphan-recovery tests from #885, and now pass main's mutable
context to ec_finalize_response.
docs/guide/api-reference.md keeps this branch's section for the
POST /_ts/api/v1/ec/resolve endpoint and drops the POST /third-party/ad
section, which main's #1016 removed.
Copy file name to clipboardExpand all lines: .github/workflows/format.yml
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,36 @@ permissions:
9
9
contents: read
10
10
11
11
jobs:
12
+
check-claude-md-symlink:
13
+
name: CLAUDE.md symlink guard
14
+
runs-on: ubuntu-latest
15
+
steps:
16
+
- uses: actions/checkout@v4
17
+
18
+
# AGENTS.md is the source of truth and CLAUDE.md must stay a symlink to
19
+
# it. A checkout with core.symlinks=false (the Git for Windows default)
20
+
# materializes the symlink as a plain text file containing "AGENTS.md";
21
+
# if that file is committed, agents silently load it as the entire
22
+
# project instructions. Guard the tree entry so the broken form cannot
23
+
# land (see issue #1091).
24
+
- name: Verify CLAUDE.md is a symlink to AGENTS.md
25
+
shell: bash
26
+
run: |
27
+
mode=$(git ls-tree HEAD CLAUDE.md | awk '{print $1}')
28
+
if [ "$mode" != "120000" ]; then
29
+
echo "::error file=CLAUDE.md::CLAUDE.md must be a symlink to AGENTS.md (tree mode 120000), found mode ${mode:-<missing>}. This usually means a checkout with core.symlinks=false committed the materialized text file; re-add the symlink with core.symlinks=true."
30
+
exit 1
31
+
fi
32
+
target=$(git cat-file blob HEAD:CLAUDE.md)
33
+
if [ "$target" != "AGENTS.md" ]; then
34
+
echo "::error file=CLAUDE.md::CLAUDE.md must point at AGENTS.md, found '${target}'."
35
+
exit 1
36
+
fi
37
+
if [ ! -f AGENTS.md ]; then
38
+
echo "::error file=AGENTS.md::CLAUDE.md points at AGENTS.md, but AGENTS.md does not exist."
0 commit comments