Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore: regenerate llms-full.txt and the structural-suites manifest for the wave 16 W4 rows; type the stub registry's server

garrytanc0a1554e26eb
diff --git a/llms-full.txt b/llms-full.txt
index 4ae3aad621..44eb3de21a 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -1191,9 +1191,11 @@ and publishes a checksummed archive with POSIX mode `0600`. On Windows, built-in
Windows PowerShell establishes and verifies access for the current owner and
SYSTEM before writing backup payloads. It protects only newly created backup
paths, never changes existing parent permissions, and refuses with
-`private_backup_path_unavailable` if enforcement is unavailable. Use a new private
-destination on a local filesystem with Windows ACL support and permitted
-Windows PowerShell. A busy database or a
+`private_backup_path_unavailable` when that protection could not be established
+or verified at the destination (some locations' inherited permissions prevent
+it; a new path inside your user profile works). The destination must be on a
+local filesystem with Windows ACL support, with built-in Windows PowerShell
+permitted. A busy database or a
changing file fails the operation instead of publishing a success receipt.
Before the dump, the command removes gbrain's own IPC socket files
@@ -1203,9 +1205,12 @@ later backups; each removal is listed in the archive's `omitted` inventory.
Any other socket, FIFO or symlink in the data dir is left alone and the
command refuses with `backup_dump_failed` naming it: stop the process that
uses it (or move it out of the data dir) and run the same command again.
-This cleanup is verified on Linux and macOS; on Windows a stale socket is
-removed through the native lock binding and has not been exercised on a
-native runner.
+On Windows the runtime cannot inspect a stale AF_UNIX socket (`lstat` fails),
+so the sweep probes and claims such an entry without classifying it and removes
+it only through the native binding's tag check; an entry nothing can verify is
+kept and named in the refusal (`an entry this runtime cannot inspect`), never
+deleted blind. The Linux and macOS lanes cover the sweep; the `windows-latest`
+row of `test.yml` runs the stale-socket test natively.
| Included | Excluded or inventoried for reconnection |
| --- | --- |
diff --git a/scripts/structural-suites.tsv b/scripts/structural-suites.tsv
index 5e7683d733..228685c8a4 100644
--- a/scripts/structural-suites.tsv
+++ b/scripts/structural-suites.tsv
@@ -31,6 +31,7 @@ test/autopilot-shutdown-engine-close.test.ts autopilot.ts graceful engine shutdo
test/autopilot-supervisor-wiring.test.ts autopilot.ts ↔ ChildWorkerSupervisor wiring 7 source-surface-helper
test/backup-cli.serial.test.ts runBackupCli — PGLite lock fallback 3 readFileSync,source-surface-helper
test/backup-invalidation.serial.test.ts bootstrap repo — recordRepoInReceipt contract (source-text pin) 2 readFileSync
+test/backup-private-path-text-5312.test.ts (file-level) 3 readFileSync
test/book-mirror.test.ts gbrain book-mirror — source file invariants 2 readFileSync
test/bootstrap-codex-door.test.ts Codex door — rendered AGENTS.md pull protocol (Gate 3) 2 readFileSync
test/bootstrap-contract.test.ts bootstrap same-turn write-back contract 6 readFileSync
diff --git a/test/helpers/npm-stub-registry.ts b/test/helpers/npm-stub-registry.ts
index 31de29ee7e..6a511ea684 100644
--- a/test/helpers/npm-stub-registry.ts
+++ b/test/helpers/npm-stub-registry.ts
@@ -27,9 +27,9 @@ export async function startStubRegistry(options: StubRegistryOptions) {
const tarball = readFileSync(join(options.dir, packed.stdout.toString().trim()));
const integrity = `sha512-${createHash('sha512').update(tarball).digest('base64')}`;
let packumentRequests = 0, tarballRequests = 0;
- const server = Bun.serve({
+ const server: ReturnType<typeof Bun.serve> = Bun.serve({
hostname: '127.0.0.1', port: 0,
- fetch(request) {
+ fetch(request): Response {
const path = new URL(request.url).pathname;
if (path === `/${STUB_PACKAGE}`) {
packumentRequests++;