libraryPackage manifestv2.0.4

lib.opportunity-spec

Provider-neutral opportunity scoring and selection contracts for autonomous-company candidates.

@lssm-tech/lib.opportunity-spec
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. 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.opportunity-specdomains

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

2 declaracionesSELECT TO INSPECT

@lssm-tech/lib.opportunity-spec

Provider-neutral opportunity scoring and selection contracts for autonomous-company candidates.

This package closes the first canonical ContractSpec slice for the Autonomous Company Opportunity Engine. It defines reviewable candidate, scorecard, evidence, gate, validation, simulation, portfolio, and handoff contracts; it does not research markets, call providers, mutate CompanyOS/Builder state, or approve production implementation.

Alcance

Use this package to model:

  • autonomous-company opportunity candidates;
  • core scorecards: AFS, BVS, GFS, CES, DMS, RTS, RCS, SFS, and TMS;
  • diagnostic scores: QAS, DRS, TVS, VCS, and OTS;
  • per-score and per-estimate evidence claims from hypothesis to live customer metrics;
  • hard kill gates, downgrade gates, HITL load, GTM/CAC/budget assumptions, validation experiments, simulations, and portfolio decisions;
  • branded refs to CompanyOS, Builder, ProductIntent, growth, finance, assurance, and orchestration surfaces.

Límite

This package is contract-only. It must not contain provider credentials, network calls, filesystem mutation, live research, customer-facing sends, production workflow creation, or module imports. High opportunity scores are decision evidence, not implementation approval.

Public entrypoints

  • @lssm-tech/lib.opportunity-spec — root barrel
  • @lssm-tech/lib.opportunity-spec/types — Zod schemas and inferred types
  • @lssm-tech/lib.opportunity-spec/validation — semantic validation helpers
  • @lssm-tech/lib.opportunity-spec/validation-rules — reusable validation rule primitives for score coverage and evidence ref checks
  • @lssm-tech/lib.opportunity-spec/fixtures — safe synthetic fixtures

Evidence thresholds

  • customer_validated requires evidence level 3 or higher.
  • pilot_validated requires evidence level 4 or higher.
  • live_proven requires evidence level 5.

Distribution-first drafts (additive, experimental)

@lssm-tech/lib.opportunity-spec/discovery exports OpportunityDraftSchema, OpportunityWaveSchema, scoped evidence/metric contracts, the owning OpportunityDiscoveryWaveFeature, and validateOpportunityDraft / validateOpportunityWave. Drafts preserve unassessed fields and unknown customer metrics; they do not require a company, canonical scores, budgets or simulations.

Commercial roles, acquisition mechanisms, creative production, publishing, offers and retention modes are independent dimensions. Catalog cash/effort/time ranges are editorial planning priors, never measured CAC, churn or conversion. Evidence supports its particular product, claim, audience, geography and period; vendor offers establish category facts, not our willingness to pay or demand.

Use the repository's scripts/opportunity-wave.ts captured-input runner to emit the generation prompt, validate, screen and export another wave. The runtime's separate selfserve-first@1.0.0 profile produces research/experiment priorities, without granting implementation, campaign or spending authority. Promotion to OpportunityCandidate requires independently supplied mature requirements and canonical validation. Existing mature contracts remain unchanged.

Wave 1.1.0: sales-assisted profile, production assets, channel variety

OpportunityWaveV11Schema (schemaVersion: "1.1.0") sits beside the frozen 1.0.0 schema; validate either with validateOpportunityDiscoveryWave.

  • profileId is selfserve-first or sales-assisted (OPPORTUNITY_DISCOVERY_PROFILE_REQUIREMENTS). sales-assisted replaces the selfserve_purchase gate with bounded_sales_effort and the selfserve_adoption dimension with assisted_conversion.
  • A play may declare salesMotion: AI preparation, a human role, a handoff boundary. It passes bounded_sales_effort only with at most two calls and at most 90 planned human minutes per closed account; a play above the ceiling must fail the gate and is deferred. Under selfserve-first a mandatory call cannot pass selfserve_purchase. sales_led, ai_sdr_calls and webinar_demo plays must declare a motion under sales-assisted.
  • A play may declare productionAsset (paid UGC, AI UGC, founder content, product demo, commissioned creator, customer content). It supplies creative, never reach. AI UGC declares a synthetic person; paid or synthetic people are never presented as customers; creator amplification needs explicit ad authorization.
  • A wave of eight or more drafts keeps any primary method at or below 25% and spans at least four method families (OPPORTUNITY_WAVE_V11_CHANNEL_VARIETY).

Package verification

  • bun run test
  • bun run typecheck
  • bun run lint:check
  • bun run build

Declared capabilities.

Lib Opportunity Spec

Provider-neutral opportunity scoring and selection contracts for autonomous-company candidates.

Use it to

  • Adopt provider-neutral opportunity scoring and selection contracts for autonomous-company candidates

Requires

  • TypeScript

Choose another boundary when

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

@lssm-tech/lib.opportunity-spec

@lssm-tech/lib.opportunity-spec/fixtures

@lssm-tech/lib.opportunity-spec/types

@lssm-tech/lib.opportunity-spec/validation

@lssm-tech/lib.opportunity-spec/validation-rules

@lssm-tech/lib.opportunity-spec/discovery

Imports and export paths.

12 entries

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

12 importaciones

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.

publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lintbun lint:fix
lint:fixnode ../../../../scripts/biome.cjs check --write .
lint:checknode ../../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Tu vista

Make room for your context.

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

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

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

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.