libraryPackage manifestv2.0.5

lib.contractspec-catalog

Versioned, machine-readable ContractSpec package and capability catalog.

@lssm-tech/lib.contractspec-catalog
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGElib.contractspec-catalogplatform

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

2 declarationsSELECT TO INSPECT

@lssm-tech/lib.contractspec-catalog

Machine-readable package and capability metadata for ContractSpec consumers, including repositories that cannot inspect the ContractSpec source repository. The package has no dependency on the ContractSpec CLI or workspace bundle.

Current coverage

The bundled catalog.json covers the exact repository publishable-package inventory used by the release pipeline. It remains explicit about registry reconciliation: prepared artifacts keep contractSpecCatalogStatus.registryReconciled false; the signed release receipt records subsequent registry inventory parity. Publishable packages use restricted @lssm-tech/* GitHub Packages and public @lssm/* npmjs projections. Public catalog JSON and compiled copies are regenerated together with valid content hashes and legacy indexes during staging. Consumers can inspect sourceEvidence, registry integrity, and this status instead of guessing completeness or treating workspace source as public availability.

Library usage

ts
import {
  contractSpecCatalog,
  getContractSpecCatalog,
} from "@lssm-tech/lib.contractspec-catalog";

console.log(contractSpecCatalog.contentHash);
const mutableCopy = getContractSpecCatalog();

The raw document is also exported as @lssm-tech/lib.contractspec-catalog/catalog.json.

Export command

Print the bundled document to standard output:

sh
bunx --package @lssm-tech/lib.contractspec-catalog contractspec-catalog export

Write it to the conventional consumer path:

sh
bunx --package @lssm-tech/lib.contractspec-catalog contractspec-catalog export \
  --output .contractspec/adoption/catalog.json

Use --compact for a single-line JSON document. Writing to a file creates its parent directory and replaces that explicitly selected file.

The command supports Node and Bun, including executable symlinks. Importing @lssm-tech/lib.contractspec-catalog/bin/export stays silent and exposes runCatalogExport and parseExportArguments for explicit programmatic calls.

Canonical generation

The existing workspace generator normalizes partial capability constraints with canonical schema defaults before calculating catalog identity. Explicit fields remain unchanged; absent constraint metadata retains the existing inferred platform/runtime and TypeScript requirement. Generation continues to validate references and the complete content hash. It does not claim registry availability or grant runtime authority.

Reviewed local build workflow

The Catalog build can use an exact reviewed fixture binding for its existing generator and canonical builder. The binding is derived from current source, workspace manifests, task configuration, parser provenance and complete native supplier identities. Its only self exclusion is contractspec.development.qualityTasks.build; changing other inputs invalidates the saved binding. A private candidate's binding is never a live-source receipt.

Windows x64 and Linux x64 supplier profiles are selected by the actual process platform and architecture. Their immutable source review precedes independent full native supplier and executable resolution checks. Caller options, environment paths and a successful inspection do not grant review authority. Unsupported profiles reject. The Catalog task passes only the already owned TMPDIR resource through Turbo's strict environment; its existing SOURCE_DATE_EPOCH hash input stays unchanged.

Execution requires the existing explicit runtime authorization and an idle serial lane. Writes remain bounded to the Catalog's generated artifacts, manifest, transaction/parser temporary namespace and retained task-local RTK diagnostics. Foreign files, aliases, unexpected transient state and supplier changes reject. This contributor workflow does not claim registry publication, runtime/provider authority or final campaign acceptance. Current live producer, packed consumers, release and resulting-tree checks remain separate gates.

Executable installation locations are task identity, separate from the fixed source-reviewed native tuple, tool hashes and complete supplier payload. Resolve the sole current explicit PATH candidate and require regular literal executable paths with reviewed bytes. A same-byte relocation requires a fresh task binding; the old binding stays invalid. Multiple candidates, selected aliases, broken PATH ancestor aliases, changed bytes and foreign tuples reject. Unused existing PATH directory aliases grant no executable authority and remain compatible. Windows case-only executable candidates resolve through the native filesystem API to their canonical saved paths; POSIX case stays exact. Never use an inspected hash or caller-selected receipt as source authority.

Declared capabilities.

Lib Contractspec Catalog

Versioned, machine-readable ContractSpec package and capability catalog.

Use it to

  • Adopt versioned, machine-readable contractspec package and capability catalog

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.contractspec-catalog package constraints do not match the target runtime or platform.

@lssm-tech/lib.contractspec-catalog

@lssm-tech/lib.contractspec-catalog/catalog.json

Imports and export paths.

4 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

4 imports

@lssm-tech/lib.contractspec-catalog/catalog.json

Dependencies and related packages.

Runtime dependencies 2
zod
catalog:
Development dependencies 3
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildbun run prebuild && contractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
lint:checknode ../../../../scripts/biome.cjs check .
prebuildbun ../../../../scripts/build-adoption-catalog.ts
testbun test
typechecktsgo --noEmit
Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.