lib.app-submission-readiness-runtime
Pure, deterministic runtime audit engine for mobile app submission readiness (ReviewReady). No network calls; integrations feed it snapshots to audit.
@lssm-tech/lib.app-submission-readiness-runtimebun add @lssm-tech/lib.app-submission-readiness-runtimeManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Pure, deterministic runtime audit engine for mobile app submission readiness (ReviewReady). It owns the app-submission-readiness contract domain at @lssm-tech/lib.app-submission-readiness-runtime/contracts (and ./contracts/<leaf>; legacy @lssm-tech/lib.contracts-spec/app-submission-readiness imports forward to the same instances) and provides the fuller audit engine described in the ReviewReady PRD (Phase 2).
No network calls
This package performs no network I/O. Integrations (App Store Connect, Google Play Developer) are responsible for fetching and handing in submission snapshots; this runtime only audits the materials it is given. Timestamps and ids must be supplied by the caller (no Date.now() / Math.random()).
Public API
normalizeSubmissionInput(materials)— normalize raw/partial submission materials (assets, legal links, privacy disclosures, manifests, SDK inventory, reviewer access refs) into a canonicalAppSubmissionReadinessAuditInput.buildDisclosureMatrix(materials)— cross-reference SDK collection, manifest permissions, privacy-policy declarations, Apple App Privacy answers, and Google Data Safety answers; returns a typed matrix with per-cell consistency state and evidence refs.runReadinessAudit(materials, policy?)— orchestrate normalize -> disclosure matrix -> findings -> score -> decision into a full report plus matrix and per-store checklists. Composes the contracts-spec audit primitive.scoreReadiness(report)— readiness score wrapper over contracts-spec scoring.buildStoreChecklists(report)— per-store (Apple / Google Play) ordered blocker/warning/improvement checklists.draftRejectionResponse(rejectionMessage, report)— structured, evidence-cited resubmission draft. Avoids legal-advice and approval-guarantee phrasing.redactSubmissionReport(report, policy?)— canonical redaction entrypoint; never serializes raw secret values.
Fixtures
@lssm-tech/lib.app-submission-readiness-runtime/fixtures exports SampleSubmissionMaterials (with a known disclosure inconsistency) and ReadySubmissionMaterials (a passing baseline).
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
2 declarations
@lssm-tech/lib.schemaworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗
Declared capabilities
Pure, deterministic runtime audit engine for mobile app submission readiness (ReviewReady). No network calls; integrations feed it snapshots to audit.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .lint:checknode ../../../../scripts/biome.cjs check .testbun test --pass-with-no-testsprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit