Skip to content

Commit 4c2ccf7

Browse files
committed
chore(vendor): re-sync the Interchange set and @intX deps to 0.5.0
Every published @intx/* dependency moves 0.3.0 -> 0.5.0 (root dependencies and devDependencies, plus the published-package entries inside the vendored manifests) and all eleven vendored Interchange paths re-sync to upstream aa7b78ee, the peel of tag v0.5.0, recorded as a SHA because the released npm metadata ships an empty gitHead. All forty-one entries across the five PATCHES.md ledgers re-adjudicate to KEEP (32 inference, 4 types, 3 agent, 1 storage-isogit, 1 tools-posix); store.ts is the one patched file upstream drift touched and goes through a three-way merge. The adopted storage-isogit durability rewrite adds reads-before-write to every session-record checkpoint: +1,000 .git readFile, +400 worktree readFile and +200 worktree stat per 200 turns, against -200 .git/index writes. Those are counted operations, not timings, so the CI session-store perf baseline moves with the branch and is re-recorded here from the head arm; the four failing counters, the cause and the accepted trade are disclosed in docs/VENDORING.md rather than rounded away. bin/vendor-patch-diff now prints the shape of each divergence (files, +, -) so the per-ledger numbers quoted in PATCHES.md come from repo tooling; the five re-sync sections quote its current output.
1 parent 0d780ee commit 4c2ccf7

28 files changed

Lines changed: 2483 additions & 161 deletions

‎bin/vendor-patch-diff‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,35 @@ for i in "${!WORK_NAMES[@]}"; do
207207

208208
# Unified diff of source only. diff exits 1 on differences — that is success
209209
# for this tool (we expect patches). Exit 2 is a real error.
210+
#
211+
# The diff is captured so the run also prints its own shape (files touched,
212+
# added and removed lines). Each PATCHES.md re-sync section quotes exactly
213+
# these three numbers as the proof that a sync carried every patch across, so
214+
# they must come from this tool rather than from a hand-tallied scratch diff.
215+
diff_out="$TMP/diff-$i.txt"
210216
set +e
211-
diff -ruN "$pristine_src" "$vendor_src"
217+
diff -ruN "$pristine_src" "$vendor_src" > "$diff_out"
212218
code=$?
213219
set -e
220+
cat "$diff_out"
214221
if [[ $code -eq 0 ]]; then
215222
echo "(no source differences)"
216223
elif [[ $code -eq 1 ]]; then
217224
OVERALL=1
225+
counts="$(
226+
awk '
227+
/^[+][+][+] / { next }
228+
/^--- / { next }
229+
/^[+]/ { plus++; next }
230+
/^-/ { minus++; next }
231+
/^diff / { files++ }
232+
/^Only in / { files++ }
233+
END { printf "%d %d %d", files + 0, plus + 0, minus + 0 }
234+
' "$diff_out"
235+
)"
236+
read -r changed plus minus <<<"$counts"
237+
echo
238+
echo "# local divergence: $changed files, $plus +, $minus -"
218239
else
219240
echo "error: diff failed for $name (exit $code)" >&2
220241
exit 1

‎bun.lock‎

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)