Sample
typed-query-selector 2.12.2: version
Verified sample for npm typed-query-selector 2.12.2: version. The contract ran on node 22 · linux alpine/x64 · docker and passed.
sha256:0648d5c1a3610769727619bf433b260bf24dbd4f8832cf392fe9becb5cfcccd5
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 1
- Signing keys that built it
- 1
Declared environment
linux 24 · ubuntu · glibc 2.39 x64 npm
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5… |
2026-08-27 |
Case
HOW- Goal
- verify typed-query-selector.version in pkg:npm/typed-query-selector@2.12.2
- Packages
- Symbols
-
- typed-query-selector.version
- Created
- 2026-08-27T11:52:08Z
Contract
- typed-query-selector package.json version is exactly 2.12.2
- typed-query-selector package.json specifies name typed-query-selector and MIT license for version 2.12.2
- typed-query-selector package.json main and types entrypoints point to shim.d.ts in version 2.12.2
- typed-query-selector package.json version 2.12.2 includes wildcard d.ts files in files field
- typed-query-selector package.json version 2.12.2 scripts test command executes tsc typecheck
- typed-query-selector package.json version 2.12.2 declares typescript and prettier devDependencies
Files
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- test/contract.mjs
Source
Clean-room public code sample — generation instructions
Write a brand-new, minimal, self-contained code sample in this clean-room directory.
Do not copy, paraphrase, or reference any existing project source. Work only from this spec.
A csx.json manifest scaffold already exists. Do not recreate it from memory. Preserve its case.goal, packages and symbols; fill its empty case.contract with exact assertions and correct its environment, commands and verifierAdapter for the files you generate.
Goal: verify typed-query-selector.version in pkg:npm/typed-query-selector@2.12.2
Kind: HOW
Use EXACTLY these public packages and versions:
- pkg:npm/typed-query-selector@2.12.2
Demonstrate these symbols/APIs:
- typed-query-selector.version
Rules:
- One focused purpose; the smallest project that proves the goal.
- Include a contract test (test/contract.*) that runs OFFLINE and exits 0 exactly when the goal behavior works.
- Pin every dependency with a lockfile so resolution is reproducible.
- No secrets, credentials, or tokens. No real URLs (only example.com or localhost). No absolute paths.
- No personal names, emails, company names, or project identifiers of any kind.
- No binaries and no generated output (node_modules, dist, target, venv, .git, .env).
- Keep it under 200 files and 256KB packed.
{"case":{"caseId":"case:sha256:d7b75aa1875a3ea8e6a8b8f60cb4228cfcfd15b8ddbd96b5c21d0f6c1a404b38","contract":["typed-query-selector package.json version is exactly 2.12.2","typed-query-selector package.json specifies name typed-query-selector and MIT license for version 2.12.2","typed-query-selector package.json main and types entrypoints point to shim.d.ts in version 2.12.2","typed-query-selector package.json version 2.12.2 includes wildcard d.ts files in files field","typed-query-selector package.json version 2.12.2 scripts test command executes tsc typecheck","typed-query-selector package.json version 2.12.2 declares typescript and prettier devDependencies"],"goal":"verify typed-query-selector.version in pkg:npm/typed-query-selector@2.12.2","kind":"HOW","packages":["pkg:npm/typed-query-selector@2.12.2"],"schemaVersion":1,"symbols":["typed-query-selector.version"]},"contractCommand":["node","test/contract.mjs"],"environment":{"arch":"x64","distro":"ubuntu","ecosystem":"npm","libc":"glibc","libcVersion":"2.39","os":"linux","osVersionBucket":"24","packageManager":"npm","schemaVersion":1},"license":"MIT-0","packages":["pkg:npm/typed-query-selector@2.12.2"],"schemaVersion":1,"subject":"pkg:npm/typed-query-selector@2.12.2","symbols":["typed-query-selector.version"],"verifierAdapter":"node-typescript@1"}
{
"name": "sample-typed-query-selector-version",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sample-typed-query-selector-version",
"version": "1.0.0",
"license": "MIT-0",
"dependencies": {
"typed-query-selector": "2.12.2"
}
},
"node_modules/typed-query-selector": {
"version": "2.12.2",
"resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.2.tgz",
"integrity": "sha512-EOPFbyIub4ngnEdqi2yOcNeDLaX/0jcE1JoAXQDDMIthap7FoN795lc/SHfIq2d416VufXpM8z/lD+WRm2gfOQ==",
"license": "MIT"
}
}
}
{
"name": "sample-typed-query-selector-version",
"version": "1.0.0",
"type": "module",
"private": true,
"license": "MIT-0",
"dependencies": {
"typed-query-selector": "2.12.2"
}
}
{
"schemaVersion": 1,
"goal": "verify typed-query-selector.version in pkg:npm/typed-query-selector@2.12.2",
"kind": "HOW",
"packages": [
"pkg:npm/typed-query-selector@2.12.2"
],
"symbols": [
"typed-query-selector.version"
]
}
import assert from 'node:assert/strict';
import fs from 'node:fs';
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
// 1. typed-query-selector package.json version is exactly 2.12.2
const pkgJson = require('typed-query-selector/package.json');
assert.equal(pkgJson.version, '2.12.2');
// 2. typed-query-selector package.json specifies name typed-query-selector and MIT license for version 2.12.2
assert.equal(pkgJson.name, 'typed-query-selector');
assert.equal(pkgJson.license, 'MIT');
// 3. typed-query-selector package.json main and types entrypoints point to shim.d.ts in version 2.12.2
assert.equal(pkgJson.main, 'shim.d.ts');
assert.equal(pkgJson.types, 'shim.d.ts');
// 4. typed-query-selector package.json version 2.12.2 includes wildcard d.ts files in files field
assert.ok(Array.isArray(pkgJson.files));
assert.ok(pkgJson.files.includes('*.d.ts'));
// 5. typed-query-selector package.json version 2.12.2 scripts test command executes tsc typecheck
assert.ok(pkgJson.scripts);
assert.ok(typeof pkgJson.scripts.test === 'string');
assert.ok(pkgJson.scripts.test.includes('tsc -p .'));
// 6. typed-query-selector package.json version 2.12.2 declares typescript and prettier devDependencies
assert.ok(pkgJson.devDependencies);
assert.ok('typescript' in pkgJson.devDependencies);
assert.ok('prettier' in pkgJson.devDependencies);
console.log('All contract tests passed.');
Origin Seeder
anonymous