Skip to content

Commit 07f1d9e

Browse files
committed
docs(tooling): anchor the gate header's turso citation at the class declaration
check-scripts-symbol-anchors could not resolve `#initObjects` in turso-driver.ts: `override async initObjects(` puts the name mid-line, which is the same wrapped-signature shape this gate exists for. Anchor `#TursoDriver` instead, and say why in the header. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADLdAs2pVcH17h9tZKWMBg
1 parent c076e62 commit 07f1d9e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

scripts/check-object-def-param-keys.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,13 @@
124124
* rot: `packages/drivers/driver-sql/src/sql-driver.ts#ensureShardTable`,
125125
* (`#initObjects`, `#registerObjectMetadata`, `#registerManagedObjectMetadata`,
126126
* `#detectManagedDrift`, `#rotateShards`, `#ensureRotation`) and
127-
* `packages/drivers/driver-turso/src/turso-driver.ts#initObjects`,
128-
* (`#registerRemoteFieldMetadata`).
127+
* `packages/drivers/driver-turso/src/turso-driver.ts#TursoDriver` — whose
128+
* `initObjects` override and `registerRemoteFieldMetadata` helper are the two
129+
* members this gate reads there. ⚠️ Neither is spelled as a symbol anchor,
130+
* because neither has a resolvable declaration site under the shared resolver's
131+
* rule: `override async initObjects(` puts the name mid-line, which is the SAME
132+
* wrapped-signature shape that made a single-line grep for it return a silence
133+
* on this very file. Anchoring the class instead keeps the citation checked.
129134
*/
130135

131136
import { execFileSync } from 'node:child_process';

0 commit comments

Comments
 (0)