Files
jason.woltjeandClaude Opus 5.5 5a68df7275 agents: darkwing row 118 round 1 packet (#1612)
SAFE in packages/seat/src/checkout.mjs adds maintenance.auto=false and
gc.auto=0; probe, tests, mutants m1-m3 (all killed), targeted gate
(seat 132/0, cli 184/0) and the leftover sweep. Candidate is build.patch
against 2727dd3ec; manifest digests check out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 14:41:09 -05:00

16 lines
699 B
JavaScript

// Write n valid loose blobs whose ids start with 17 into <objects>/17.
import { createHash } from "node:crypto";
import { deflateSync } from "node:zlib";
import { mkdirSync, writeFileSync } from "node:fs";
import { join } from "node:path";
const [objects, n] = [process.argv[2], Number(process.argv[3])];
mkdirSync(join(objects, "17"), { recursive: true });
for (let i = 0, made = 0; made < n; i++) {
const body = Buffer.from(`loose ${i}\n`);
const raw = Buffer.concat([Buffer.from(`blob ${body.length}\0`), body]);
const id = createHash("sha1").update(raw).digest("hex");
if (!id.startsWith("17")) continue;
writeFileSync(join(objects, "17", id.slice(2)), deflateSync(raw));
made++;
}