# @lssm-tech/bundle.self-improving-system

Headless controllers and operator view models for governed self-improvement

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.0.4`
- Package path: `packages/bundles/self-improving-system`
- Manifest path: `packages/bundles/self-improving-system/package.json`
- Manifest Git blob: `a4b83356eaafbfe021e9bac2f30618e281279f15`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/bundle.self-improving-system](https://lssm.co/docs/packages/bundle.self-improving-system/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/bundle.self-improving-system.txt)

## Package metadata

```json
{
  "layer": "bundles",
  "physicalArea": null,
  "primaryArea": "workflows-and-automation",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "solutions",
    "catalogKind": "bundle",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Workflows, jobs and automation](https://lssm.co/docs/areas/workflows-and-automation/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/bundles/self-improving-system/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/README.md",
  "blobSha": "8353aa41075d8f22099bc526848931d3a66aecca",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "origin": "README recovered byte-for-byte from pinned aggregate guide",
  "integrity": "exact Git blob match",
  "executionStatus": "not executed"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# `@lssm-tech/bundle.self-improving-system`

Reusable headless controllers and operator view models for governed
self-improvement programs, signals, candidates, evaluations, gates, reviews,
shadow and canary comparisons, observations, promotion, rollback, kill, and
exact replay.

The injected data source is the only transport boundary. Commands require an
idempotency key, expected revision, compatible contract fingerprint, trace
reference, and at least one evidence reference. The bundle never authorizes or
executes changes; it exposes durable server decisions and evidence to hosts.

`createSelfImprovementControllersV1(dataSource, { locale })` titles each
operator panel from the bundle's `self-improving-system.messages` catalog in
`en`, `fr` or `es`; without a locale the titles stay English.


## Declared capabilities

### Bundle Self Improving System

Capability ID: `package.lssm.tech.bundle.self.improving.system`

Headless controllers and operator view models for governed self-improvement

Use cases:

- Adopt headless controllers and operator view models for governed self-improvement

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "avoidWhen": [
    "The @lssm-tech/bundle.self-improving-system package constraints do not match the target runtime or platform."
  ],
  "requires": [
    "TypeScript"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "bundle",
    "self",
    "improving",
    "system"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/bundle.self-improving-system",
    "symbols": []
  },
  {
    "from": "@lssm-tech/bundle.self-improving-system/controller",
    "symbols": []
  },
  {
    "from": "@lssm-tech/bundle.self-improving-system/controllers",
    "symbols": []
  },
  {
    "from": "@lssm-tech/bundle.self-improving-system/view-models",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "solutions",
  "kind": "bundle",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "experimental",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./controller",
    "./controllers",
    "./view-models"
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "capabilityId": "package.lssm.tech.bundle.self.improving.system",
    "from": "@lssm-tech/bundle.self-improving-system",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.bundle.self.improving.system",
    "from": "@lssm-tech/bundle.self-improving-system/controller",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.bundle.self.improving.system",
    "from": "@lssm-tech/bundle.self-improving-system/controllers",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.bundle.self.improving.system",
    "from": "@lssm-tech/bundle.self-improving-system/view-models",
    "symbols": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/bundle.self-improving-system` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/src/index.ts); verified source file.

- `@lssm-tech/bundle.self-improving-system/controller` — subpath `./controller`
  - `unconditional`: `./src/controller.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/src/controller.ts); verified source file.

- `@lssm-tech/bundle.self-improving-system/controllers` — subpath `./controllers`
  - `unconditional`: `./src/controllers.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/src/controllers.ts); verified source file.

- `@lssm-tech/bundle.self-improving-system/view-models` — subpath `./view-models`
  - `unconditional`: `./src/view-models.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/bundles/self-improving-system/src/view-models.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/browser/index.js",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./controller": {
      "types": "./dist/controller.d.ts",
      "browser": "./dist/browser/controller.js",
      "bun": "./dist/controller.js",
      "node": "./dist/node/controller.js",
      "default": "./dist/controller.js"
    },
    "./controllers": {
      "types": "./dist/controllers.d.ts",
      "browser": "./dist/browser/controllers.js",
      "bun": "./dist/controllers.js",
      "node": "./dist/node/controllers.js",
      "default": "./dist/controllers.js"
    },
    "./view-models": {
      "types": "./dist/view-models.d.ts",
      "browser": "./dist/browser/view-models.js",
      "bun": "./dist/view-models.js",
      "node": "./dist/node/view-models.js",
      "default": "./dist/view-models.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.contracts-spec-core](https://lssm.co/docs/packages/lib.contracts-spec-core/): `workspace:^`
- [@lssm-tech/lib.self-improving-system-runtime](https://lssm.co/docs/packages/lib.self-improving-system-runtime/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/lib.contracts-spec](https://lssm.co/docs/packages/lib.contracts-spec/): `workspace:*`
- [@lssm-tech/lib.orchestration-spec](https://lssm.co/docs/packages/lib.orchestration-spec/): `workspace:*`
- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "clean": "rimraf dist .turbo",
  "lint:check": "node ../../../scripts/biome.cjs check .",
  "test": "bun test",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Bundle Self Improving System documentation](https://www.npmjs.com/package/%40lssm-tech%2Fbundle.self-improving-system) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fbundle.self-improving-system",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/bundle.self-improving-system.txt",
  "route": "/llms/bundle.self-improving-system",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/bundle.self-improving-system.txt",
  "blobSha": "8353aa41075d8f22099bc526848931d3a66aecca",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
