# @lssm-tech/integration.growth-persistence

Tenant-scoped transactional persistence for GrowthOS referral and affiliate state.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.1.5`
- Package path: `packages/integrations/growth-persistence`
- Manifest path: `packages/integrations/growth-persistence/package.json`
- Manifest Git blob: `61b831f0d59f39383c3c35a513fc52ba2708e527`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/integration.growth-persistence](https://lssm.co/docs/packages/integration.growth-persistence/)
- 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/integrations/growth-persistence)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.growth-persistence.txt)

## Package metadata

```json
{
  "layer": "integrations",
  "physicalArea": null,
  "primaryArea": "content-and-growth",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "integrations",
    "catalogKind": "integration",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

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

Primary area: [Content, growth and creator operations](https://lssm.co/docs/areas/content-and-growth/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/integrations/growth-persistence/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/README.md",
  "blobSha": "cbe2c02bb0d812e7a413a6d17deae7a958cfecd0",
  "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/integration.growth-persistence`

Server-only persistence for GrowthOS referral and affiliate state. It provides a serialized in-memory adapter for tests, a structural PgLite/Postgres adapter, and matching Drizzle table exports with tenant, entity, external conversion, link-code, reward-rule/beneficiary, webhook-event, and idempotency constraints.

Every mutation runs inside a transaction. Ledger entries and webhook receipts are immutable, payout items remain separately addressable, and duplicate conversions or rewards are rejected. Provider credentials and raw acquisition tokens are not persisted.

The optional `./marketing` subpath provides `SqlMarketingExecutionStore`,
`SqlEditorialStore` and `SqlMediaGenerationStore` using the same pinned-transaction
SQL client. Each exposes an additive `migrate()` for host-owned migrations in the
private `marketing_execution` schema. Revision updates append history atomically.
Budget reservations serialize by brand scope, unknown dispatches retain liability,
and definitive failures release their reservation. Media history stores provider
job IDs and durable artifact references, never temporary download URLs.

`SqlMarketingProposalStore` persists goal-plan requests and immutable result history.
It permits one generating-to-result transition per request, protects the original
goal/brand binding, and isolates records by tenant, workspace and brand.

`SqlMarketingConversionStore` persists conversion revisions and append-only receipt
history in the private marketing_execution schema. Call migrate() before mounting the
conversion service. Accepted history is immutable, corrections are ordered, and CAS
claims prevent concurrent workers from dispatching the same revision twice.

`SqlMarketingObservationStore` preserves immutable snapshots partitioned by campaign,
platform, account and tenant/workspace/brand. Late polls cannot replace newer snapshots;
conflicting same-timestamp writes fail. `SqlMarketingObservationEvidenceStore` retains
sanitized provider responses for replay and rejects credential-bearing artifacts. Run
both stores' migrate() methods before mounting the observation service.


Social scheduling adapters (`SqlSocialScheduleStore`, `SqlSocialIntentStore`,
`SqlSocialRecoveryLeases`) implement library-owned contracts with SQL history, CAS,
server-clock lease expiry and monotonically fenced recovery. Call their migrate()
methods before starting workers. Canonical intent creation verifies the publication-key
binding and rejects changed payloads; recovery claims require the matching live lease.
Grant verification, policy evaluation, provider bindings and audit delivery remain
host-owned requirements. The adapters never supply an allowing authority.

`SqlXPublicationStore` persists immutable reviewed thread plans, per-part CAS claims and
append-only history. It verifies canonical root identity, scoped native request digests,
predecessor IDs and confirmation author/media/reply facts. `SqlSocialIntentStore` supports
fenced continuation of reconciled parent intents without changing their publication keys.


`SqlXUploadStore` persists immutable asset/chunk manifests and sequential native upload
claims with transactional history. Migrate before starting upload workers. It rejects
plan changes, altered native identity, reset uncertain steps and terminal-state rewrites.
Source media bytes and credentials remain outside the store.


`SqlLinkedInMediaJobStore` persists scoped image/video plans, exact dispatch claims,
part receipts and immutable history. Private upload capabilities are stored separately
through `LinkedInSecretSessionVault`; the SQL payload contains only versioned references.
Migrate before running the bounded native upload worker.


SqlPlanningApprovalStore persists private planning quotes, immutable issued receipts,
revocation and revision history. Its consume method implements the canonical nonce
store with atomic SQL uniqueness. Run migrate first and retain nonce rows through their
expiry. Receipt records are private authority evidence, never analytics or public assets.


SqlMarketingOptimizationEvidenceStore records immutable assessed experiment documents,
recomputes assessments before writes, and returns canonical SHA-256 artifact references.
Use `record` for the marketing promotion wrapper's recordEvidence callback. Reads require
explicit marketing scope and verify stored content against the artifact digest. Host
authorization remains mandatory before storage access.


SqlMarketingOptimizationLifecycleStore implements the shared lifecycle store with an
explicit marketing scope/program binding. Candidates are immutable; receipt appends
serialize per candidate and validate canonical replay before committing. Duplicate
receipts must match exactly; changed identities, digest chains and sequence gaps fail.
It reconstructs current state from durable history. Effect adapters must separately honor
the lifecycle idempotency key and expected state/sequence before external actions.


SqlContentRightsStore serializes rights grants and registered uses per tenant/workspace
and appends immutable snapshots. Revocation and withdrawal queue creation share one
transaction. Supply it to ContentRightsService; provider removal and confirmation evidence
remain separate execution responsibilities.


Rights invariants are also enforced at the storage boundary: revoked grants cannot be
reactivated, registered-use identities cannot change, confirmed withdrawals cannot be
rewritten, and revocation cannot commit while existing uses lack withdrawal obligations.
A failed invariant rolls back the entire scope transaction.


Terminal withdrawal jobs must commit with matching registered-use state and evidence.
An unavailable automated attempt may later be resolved by separately evidenced manual
confirmation; a confirmed job cannot leave its use pending.


SqlContentWithdrawalQueue supplies durable pending-use discovery and batch-result
tracking. Migrate the rights store first, then the queue. Discovery selects pending uses
within its authorized scope and processes never-attempted/least-recently-attempted items
first, so unresolved removals do not starve later revocations. Terminal result records
must agree with authoritative use state. Bind loadPending/recordResults to the installation
withdrawal worker's callbacks.


`SqlEditorialStore.listRecovery` reads scoped publishing/unknown claims ordered by update time and ID. Reconciled terminal records disappear from discovery; publication is never resubmitted by this read.


`SqlEditorialGitStore` provides additive scoped Git dispatch persistence with revision CAS. Compiler artifacts cannot change after dispatch, and confirmed commit identity cannot be rewritten. Run its migration before enabling a Git publisher.


Run the updated `SqlEditorialGitStore.migrate()` before enabling preparation-failure handling. Additive claim-lock and failure tables serialize failure versus dispatch, retain immutable receipts and fence failed claims. Preserve one canonical writer while upgrading. Confirmed preparation failure permits the editorial article to be revised under a new publication claim.


`SqlEditorialStore.listPage` supports bounded keyset discovery with a C-collation ID index and parameterized filters. Run migrate to install the additive listing index. The runtime authorizes rows and emits summaries without Markdown.


`SqlEditorialStore.listHistory` reads existing append-only editorial_history records with exact scope, revision bounds and pagination. It does not modify or reconstruct prior revisions.


Media generation persistence rejects removal or replacement of existing artifact references. Each imported output may add a running-state history revision before final success.


Media persistence enforces immutable expected output counts and requires succeeded jobs to contain exactly that many durable artifact references when the count is known.


## Declared capabilities

### Integration Growth Persistence

Capability ID: `package.lssm.tech.integration.growth.persistence`

Tenant-scoped transactional persistence for GrowthOS referral and affiliate state.

Use cases:

- Adopt tenant-scoped transactional persistence for growthos referral and affiliate state

Constraints:

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

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "integration",
    "growth",
    "persistence"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/integration.growth-persistence",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.growth-persistence/ddl",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.growth-persistence/drizzle-schema",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.growth-persistence/memory",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.growth-persistence/pglite",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.growth-persistence/types",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "integrations",
  "kind": "integration",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "experimental",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./ddl",
    "./drizzle-schema",
    "./memory",
    "./pglite",
    "./types",
    "./marketing"
  ],
  "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.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence/ddl",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence/drizzle-schema",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence/memory",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence/pglite",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.growth.persistence",
    "from": "@lssm-tech/integration.growth-persistence/types",
    "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/integration.growth-persistence` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/index.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/ddl` — subpath `./ddl`
  - `unconditional`: `./src/ddl.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/ddl.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/drizzle-schema` — subpath `./drizzle-schema`
  - `unconditional`: `./src/drizzle-schema.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/drizzle-schema.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing` — subpath `./marketing`
  - `unconditional`: `./src/marketing/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/index.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/advertising-store` — subpath `./marketing/advertising-store`
  - `unconditional`: `./src/marketing/advertising-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/advertising-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/content-rights-invariants` — subpath `./marketing/content-rights-invariants`
  - `unconditional`: `./src/marketing/content-rights-invariants.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/content-rights-invariants.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/content-rights-store` — subpath `./marketing/content-rights-store`
  - `unconditional`: `./src/marketing/content-rights-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/content-rights-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/conversion-store` — subpath `./marketing/conversion-store`
  - `unconditional`: `./src/marketing/conversion-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/conversion-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/ddl` — subpath `./marketing/ddl`
  - `unconditional`: `./src/marketing/ddl.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/ddl.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/editorial-git-failures` — subpath `./marketing/editorial-git-failures`
  - `unconditional`: `./src/marketing/editorial-git-failures.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/editorial-git-failures.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/editorial-git-store` — subpath `./marketing/editorial-git-store`
  - `unconditional`: `./src/marketing/editorial-git-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/editorial-git-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/editorial-list-store` — subpath `./marketing/editorial-list-store`
  - `unconditional`: `./src/marketing/editorial-list-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/editorial-list-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/editorial-store` — subpath `./marketing/editorial-store`
  - `unconditional`: `./src/marketing/editorial-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/editorial-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/linkedin-media-job-store` — subpath `./marketing/linkedin-media-job-store`
  - `unconditional`: `./src/marketing/linkedin-media-job-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/linkedin-media-job-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/media-store` — subpath `./marketing/media-store`
  - `unconditional`: `./src/marketing/media-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/media-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/observation-evidence-store` — subpath `./marketing/observation-evidence-store`
  - `unconditional`: `./src/marketing/observation-evidence-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/observation-evidence-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/observation-store` — subpath `./marketing/observation-store`
  - `unconditional`: `./src/marketing/observation-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/observation-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/optimization-evidence-store` — subpath `./marketing/optimization-evidence-store`
  - `unconditional`: `./src/marketing/optimization-evidence-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/optimization-evidence-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/optimization-lifecycle-store` — subpath `./marketing/optimization-lifecycle-store`
  - `unconditional`: `./src/marketing/optimization-lifecycle-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/optimization-lifecycle-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/planning-approval-store` — subpath `./marketing/planning-approval-store`
  - `unconditional`: `./src/marketing/planning-approval-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/planning-approval-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/proposal-store` — subpath `./marketing/proposal-store`
  - `unconditional`: `./src/marketing/proposal-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/proposal-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/social-continuation` — subpath `./marketing/social-continuation`
  - `unconditional`: `./src/marketing/social-continuation.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/social-continuation.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/social-intent-schema` — subpath `./marketing/social-intent-schema`
  - `unconditional`: `./src/marketing/social-intent-schema.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/social-intent-schema.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/social-intent-store` — subpath `./marketing/social-intent-store`
  - `unconditional`: `./src/marketing/social-intent-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/social-intent-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/social-leases` — subpath `./marketing/social-leases`
  - `unconditional`: `./src/marketing/social-leases.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/social-leases.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/social-schedule-store` — subpath `./marketing/social-schedule-store`
  - `unconditional`: `./src/marketing/social-schedule-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/social-schedule-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/store` — subpath `./marketing/store`
  - `unconditional`: `./src/marketing/store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/withdrawal-queue` — subpath `./marketing/withdrawal-queue`
  - `unconditional`: `./src/marketing/withdrawal-queue.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/withdrawal-queue.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/x-publication-store` — subpath `./marketing/x-publication-store`
  - `unconditional`: `./src/marketing/x-publication-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/x-publication-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/marketing/x-upload-store` — subpath `./marketing/x-upload-store`
  - `unconditional`: `./src/marketing/x-upload-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/marketing/x-upload-store.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/memory` — subpath `./memory`
  - `unconditional`: `./src/memory.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/memory.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/pglite` — subpath `./pglite`
  - `unconditional`: `./src/pglite.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/pglite.ts); verified source file.

- `@lssm-tech/integration.growth-persistence/types` — subpath `./types`
  - `unconditional`: `./src/types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/growth-persistence/src/types.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"
    },
    "./ddl": {
      "types": "./dist/ddl.d.ts",
      "browser": "./dist/browser/ddl.js",
      "bun": "./dist/ddl.js",
      "node": "./dist/node/ddl.js",
      "default": "./dist/ddl.js"
    },
    "./drizzle-schema": {
      "types": "./dist/drizzle-schema.d.ts",
      "browser": "./dist/browser/drizzle-schema.js",
      "bun": "./dist/drizzle-schema.js",
      "node": "./dist/node/drizzle-schema.js",
      "default": "./dist/drizzle-schema.js"
    },
    "./marketing": {
      "types": "./dist/marketing/index.d.ts",
      "browser": "./dist/browser/marketing/index.js",
      "bun": "./dist/marketing/index.js",
      "node": "./dist/node/marketing/index.js",
      "default": "./dist/marketing/index.js"
    },
    "./marketing/advertising-store": {
      "types": "./dist/marketing/advertising-store.d.ts",
      "browser": "./dist/browser/marketing/advertising-store.js",
      "bun": "./dist/marketing/advertising-store.js",
      "node": "./dist/node/marketing/advertising-store.js",
      "default": "./dist/marketing/advertising-store.js"
    },
    "./marketing/content-rights-invariants": {
      "types": "./dist/marketing/content-rights-invariants.d.ts",
      "browser": "./dist/browser/marketing/content-rights-invariants.js",
      "bun": "./dist/marketing/content-rights-invariants.js",
      "node": "./dist/node/marketing/content-rights-invariants.js",
      "default": "./dist/marketing/content-rights-invariants.js"
    },
    "./marketing/content-rights-store": {
      "types": "./dist/marketing/content-rights-store.d.ts",
      "browser": "./dist/browser/marketing/content-rights-store.js",
      "bun": "./dist/marketing/content-rights-store.js",
      "node": "./dist/node/marketing/content-rights-store.js",
      "default": "./dist/marketing/content-rights-store.js"
    },
    "./marketing/conversion-store": {
      "types": "./dist/marketing/conversion-store.d.ts",
      "browser": "./dist/browser/marketing/conversion-store.js",
      "bun": "./dist/marketing/conversion-store.js",
      "node": "./dist/node/marketing/conversion-store.js",
      "default": "./dist/marketing/conversion-store.js"
    },
    "./marketing/ddl": {
      "types": "./dist/marketing/ddl.d.ts",
      "browser": "./dist/browser/marketing/ddl.js",
      "bun": "./dist/marketing/ddl.js",
      "node": "./dist/node/marketing/ddl.js",
      "default": "./dist/marketing/ddl.js"
    },
    "./marketing/editorial-git-failures": {
      "types": "./dist/marketing/editorial-git-failures.d.ts",
      "browser": "./dist/browser/marketing/editorial-git-failures.js",
      "bun": "./dist/marketing/editorial-git-failures.js",
      "node": "./dist/node/marketing/editorial-git-failures.js",
      "default": "./dist/marketing/editorial-git-failures.js"
    },
    "./marketing/editorial-git-store": {
      "types": "./dist/marketing/editorial-git-store.d.ts",
      "browser": "./dist/browser/marketing/editorial-git-store.js",
      "bun": "./dist/marketing/editorial-git-store.js",
      "node": "./dist/node/marketing/editorial-git-store.js",
      "default": "./dist/marketing/editorial-git-store.js"
    },
    "./marketing/editorial-list-store": {
      "types": "./dist/marketing/editorial-list-store.d.ts",
      "browser": "./dist/browser/marketing/editorial-list-store.js",
      "bun": "./dist/marketing/editorial-list-store.js",
      "node": "./dist/node/marketing/editorial-list-store.js",
      "default": "./dist/marketing/editorial-list-store.js"
    },
    "./marketing/editorial-store": {
      "types": "./dist/marketing/editorial-store.d.ts",
      "browser": "./dist/browser/marketing/editorial-store.js",
      "bun": "./dist/marketing/editorial-store.js",
      "node": "./dist/node/marketing/editorial-store.js",
      "default": "./dist/marketing/editorial-store.js"
    },
    "./marketing/linkedin-media-job-store": {
      "types": "./dist/marketing/linkedin-media-job-store.d.ts",
      "browser": "./dist/browser/marketing/linkedin-media-job-store.js",
      "bun": "./dist/marketing/linkedin-media-job-store.js",
      "node": "./dist/node/marketing/linkedin-media-job-store.js",
      "default": "./dist/marketing/linkedin-media-job-store.js"
    },
    "./marketing/media-store": {
      "types": "./dist/marketing/media-store.d.ts",
      "browser": "./dist/browser/marketing/media-store.js",
      "bun": "./dist/marketing/media-store.js",
      "node": "./dist/node/marketing/media-store.js",
      "default": "./dist/marketing/media-store.js"
    },
    "./marketing/observation-evidence-store": {
      "types": "./dist/marketing/observation-evidence-store.d.ts",
      "browser": "./dist/browser/marketing/observation-evidence-store.js",
      "bun": "./dist/marketing/observation-evidence-store.js",
      "node": "./dist/node/marketing/observation-evidence-store.js",
      "default": "./dist/marketing/observation-evidence-store.js"
    },
    "./marketing/observation-store": {
      "types": "./dist/marketing/observation-store.d.ts",
      "browser": "./dist/browser/marketing/observation-store.js",
      "bun": "./dist/marketing/observation-store.js",
      "node": "./dist/node/marketing/observation-store.js",
      "default": "./dist/marketing/observation-store.js"
    },
    "./marketing/optimization-evidence-store": {
      "types": "./dist/marketing/optimization-evidence-store.d.ts",
      "browser": "./dist/browser/marketing/optimization-evidence-store.js",
      "bun": "./dist/marketing/optimization-evidence-store.js",
      "node": "./dist/node/marketing/optimization-evidence-store.js",
      "default": "./dist/marketing/optimization-evidence-store.js"
    },
    "./marketing/optimization-lifecycle-store": {
      "types": "./dist/marketing/optimization-lifecycle-store.d.ts",
      "browser": "./dist/browser/marketing/optimization-lifecycle-store.js",
      "bun": "./dist/marketing/optimization-lifecycle-store.js",
      "node": "./dist/node/marketing/optimization-lifecycle-store.js",
      "default": "./dist/marketing/optimization-lifecycle-store.js"
    },
    "./marketing/planning-approval-store": {
      "types": "./dist/marketing/planning-approval-store.d.ts",
      "browser": "./dist/browser/marketing/planning-approval-store.js",
      "bun": "./dist/marketing/planning-approval-store.js",
      "node": "./dist/node/marketing/planning-approval-store.js",
      "default": "./dist/marketing/planning-approval-store.js"
    },
    "./marketing/proposal-store": {
      "types": "./dist/marketing/proposal-store.d.ts",
      "browser": "./dist/browser/marketing/proposal-store.js",
      "bun": "./dist/marketing/proposal-store.js",
      "node": "./dist/node/marketing/proposal-store.js",
      "default": "./dist/marketing/proposal-store.js"
    },
    "./marketing/social-continuation": {
      "types": "./dist/marketing/social-continuation.d.ts",
      "browser": "./dist/browser/marketing/social-continuation.js",
      "bun": "./dist/marketing/social-continuation.js",
      "node": "./dist/node/marketing/social-continuation.js",
      "default": "./dist/marketing/social-continuation.js"
    },
    "./marketing/social-intent-schema": {
      "types": "./dist/marketing/social-intent-schema.d.ts",
      "browser": "./dist/browser/marketing/social-intent-schema.js",
      "bun": "./dist/marketing/social-intent-schema.js",
      "node": "./dist/node/marketing/social-intent-schema.js",
      "default": "./dist/marketing/social-intent-schema.js"
    },
    "./marketing/social-intent-store": {
      "types": "./dist/marketing/social-intent-store.d.ts",
      "browser": "./dist/browser/marketing/social-intent-store.js",
      "bun": "./dist/marketing/social-intent-store.js",
      "node": "./dist/node/marketing/social-intent-store.js",
      "default": "./dist/marketing/social-intent-store.js"
    },
    "./marketing/social-leases": {
      "types": "./dist/marketing/social-leases.d.ts",
      "browser": "./dist/browser/marketing/social-leases.js",
      "bun": "./dist/marketing/social-leases.js",
      "node": "./dist/node/marketing/social-leases.js",
      "default": "./dist/marketing/social-leases.js"
    },
    "./marketing/social-schedule-store": {
      "types": "./dist/marketing/social-schedule-store.d.ts",
      "browser": "./dist/browser/marketing/social-schedule-store.js",
      "bun": "./dist/marketing/social-schedule-store.js",
      "node": "./dist/node/marketing/social-schedule-store.js",
      "default": "./dist/marketing/social-schedule-store.js"
    },
    "./marketing/store": {
      "types": "./dist/marketing/store.d.ts",
      "browser": "./dist/browser/marketing/store.js",
      "bun": "./dist/marketing/store.js",
      "node": "./dist/node/marketing/store.js",
      "default": "./dist/marketing/store.js"
    },
    "./marketing/withdrawal-queue": {
      "types": "./dist/marketing/withdrawal-queue.d.ts",
      "browser": "./dist/browser/marketing/withdrawal-queue.js",
      "bun": "./dist/marketing/withdrawal-queue.js",
      "node": "./dist/node/marketing/withdrawal-queue.js",
      "default": "./dist/marketing/withdrawal-queue.js"
    },
    "./marketing/x-publication-store": {
      "types": "./dist/marketing/x-publication-store.d.ts",
      "browser": "./dist/browser/marketing/x-publication-store.js",
      "bun": "./dist/marketing/x-publication-store.js",
      "node": "./dist/node/marketing/x-publication-store.js",
      "default": "./dist/marketing/x-publication-store.js"
    },
    "./marketing/x-upload-store": {
      "types": "./dist/marketing/x-upload-store.d.ts",
      "browser": "./dist/browser/marketing/x-upload-store.js",
      "bun": "./dist/marketing/x-upload-store.js",
      "node": "./dist/node/marketing/x-upload-store.js",
      "default": "./dist/marketing/x-upload-store.js"
    },
    "./memory": {
      "types": "./dist/memory.d.ts",
      "browser": "./dist/browser/memory.js",
      "bun": "./dist/memory.js",
      "node": "./dist/node/memory.js",
      "default": "./dist/memory.js"
    },
    "./pglite": {
      "types": "./dist/pglite.d.ts",
      "browser": "./dist/browser/pglite.js",
      "bun": "./dist/pglite.js",
      "node": "./dist/node/pglite.js",
      "default": "./dist/pglite.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "browser": "./dist/browser/types.js",
      "bun": "./dist/types.js",
      "node": "./dist/node/types.js",
      "default": "./dist/types.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.advertising-runtime](https://lssm.co/docs/packages/lib.advertising-runtime/): `workspace:^`
- [@lssm-tech/lib.content-analysis-spec](https://lssm.co/docs/packages/lib.content-analysis-spec/): `workspace:^`
- [@lssm-tech/lib.contracts-integrations](https://lssm.co/docs/packages/lib.contracts-integrations/): `workspace:^`
- [@lssm-tech/lib.contracts-runtime-core](https://lssm.co/docs/packages/lib.contracts-runtime-core/): `workspace:^`
- [@lssm-tech/lib.growth-runtime](https://lssm.co/docs/packages/lib.growth-runtime/): `workspace:^`
- [@lssm-tech/lib.growth-spec](https://lssm.co/docs/packages/lib.growth-spec/): `workspace:^`
- [@lssm-tech/lib.self-improving-system-runtime](https://lssm.co/docs/packages/lib.self-improving-system-runtime/): `workspace:^`
- [@lssm-tech/lib.surface-runtime](https://lssm.co/docs/packages/lib.surface-runtime/): `workspace:^`
- `drizzle-orm`: `catalog:data`
- `zod`: `catalog:`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- `@electric-sql/pglite`: `catalog:data`
- [@lssm-tech/lib.content-gen](https://lssm.co/docs/packages/lib.content-gen/): `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
{
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
  "publish:pkg:canary": "bun publish:pkg --tag canary",
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "dev": "contractspec-bun-build dev",
  "clean": "rimraf dist .turbo",
  "lint:check": "node ../../../scripts/biome.cjs check .",
  "lint:fix": "node ../../../scripts/biome.cjs check --write .",
  "test": "bun test",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Integration Growth Persistence documentation](https://www.npmjs.com/package/%40lssm-tech%2Fintegration.growth-persistence) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fintegration.growth-persistence",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/integration.growth-persistence.txt",
  "route": "/llms/integration.growth-persistence",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.growth-persistence.txt",
  "blobSha": "cbe2c02bb0d812e7a413a6d17deae7a958cfecd0",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
