Scan your whole stack
From OX Research Newsroom
Are you using @systemfsoftware/conformance-spec?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.1.7
@systemfsoftware/conformance-spec was last scanned on 23 Nov 2026 at version 1.1.7. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.1.7 LATEST | 23 Nov 2026 | No rules fired |
| 1.1.6 | 22 Nov 2026 | No rules fired |
| 1.1.5 | 19 Nov 2026 | No rules fired |
| 1.1.4 | 15 Nov 2026 | Not shown |
| 1.0.0 | 1 Oct 2026 | Not shown |
Findings for v1.1.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.1.7; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Concurrency conformance checks for Effect v4:
judge a real implementation's concurrent behaviour against a pure model through
its public operations, under the
@systemfsoftware/effect-sim-kernel's generated
schedules. The kernel owns the in-process execution environment; this package
owns the judgement, never the reverse.
pnpm add @systemfsoftware/conformance-spec effect
import { Conformance } from '@systemfsoftware/conformance-spec'
import { Effect } from 'effect'
const report = await Effect.runPromise(
Conformance.linearizable(implementation, {
commands: Commands, // an Effect Schema; every command list is generated from it
model: { state: ModelState, initial: emptyModel, step: nextState }, // pure, Schema-declared state
run: (command) => runOne(implementation, command), // one public operation
fibers: 2,
operations: 4,
}),
)
Conformance.linearizable is dual: linearizable(implementation, spec) and
linearizable(spec)(implementation) are the same check. It forks fibers workers
that issue generated commands through the real implementation as a Layer,
records each command's invocation and response in a harness-owned history, and
judges every history the kernel's preemption-bounded search produces against
the model. The first failing history shrinks to a minimal failing schedule and
command sequence, both replayable from the reported seed and path.
Pass and failure are data: a Pass carries the bound it explored (fibers,
operations, preemptions, depth, runs, pruning); a Fail carries the R10
judgement, the shrunk schedule, each fiber's operations with their observed
responses, and the bound. Conformance.render turns either into the text a run
log shows, and a test that asserts on the report passes it as the assertion's
message — expect(report, Conformance.render(report)).toMatchObject({ _tag: 'Pass' }) —
so a rejection leads the failure with what broke instead of a matcher diff.
The model state must be a Schema value with structural Equal and Hash
equality, so the search can memoise on model states. A model that pins its
state to one object by reference is rejected at definition with a
Conformance.ModelError before any schedule runs.
const report = await Effect.runPromise(
Conformance.sequential(implementation, {
commands: Commands, // an Effect Schema; every sequence is generated from it
model: { state: ModelState, initial: emptyModel, precondition: mayRun, step: nextState },
run: (command) => runOne(implementation, command), // one public operation
sequences: 1000,
operations: 10,
}),
)
Conformance.sequential is dual: sequential(implementation, spec) and
sequential(spec)(implementation) are the same check. It runs each generated
sequence on one fiber under the kernel's zero-preemption schedule, skipping
commands the model's precondition refuses, and compares every response with
the model. A divergence names the first step the model stopped explaining,
and the failing sequence shrinks to the shortest one that still diverges with
the schedule fixed.
const report = await Effect.runPromise(
Conformance.released(program, { probe }), // the probe fails while the resource is still held
)
Conformance.released is dual: released(program, spec) and
released(spec)(program) are the same check. It runs the program once to
count the steps it passes through, then once per step with the program
interrupted there and its scope closed. The probe — any effect, so a real
temporary file on disk reads as well as a fresh tryAcquire — runs after
each interruption; the first step that leaves something held fails with the
interruption-left-held judgement naming that step. A program that settles
nowhere reports how many interruption points were tried in its pass bound.
Both runs await host waits. On Node 26 a program that waits on a file needs
Kernel.HostResourcesService provided (for example
Layer.succeed(Kernel.HostResourcesService, Kernel.fileRequestHooks(createHook))
with createHook from node:async_hooks), or the kernel reads its file wait
as a deadlock.
A .conformance.test.ts calls a check from its own scenario body, and the
feature declares itself live:
Feature('Proving concurrent callers against a pure model')
.withLayer(Layer.empty)
.live('each scenario drives the simulation kernel itself')
.body(({ scenario }) => { ... })
A scenario that drives the simulation kernel cannot itself run inside a kernel run, so the live declaration keeps it on the live clock with the reason named.
pnpm --filter @systemfsoftware/conformance-spec test
pnpm --filter @systemfsoftware/conformance-spec lint
pnpm --filter @systemfsoftware/conformance-spec typecheck
pnpm --filter @systemfsoftware/conformance-spec build Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.