G2.2.1.A

## Что это ## Резюме (RU) G2.2.1.A — Схема IntegrationManifest + валидатор (Week 0 foundation) *Полный перевод тела — в работе. Английский оригинал ниже.* --- # Original (EN) ## Objective Define TypeScript interface + Zod schema for the framework's IntegrationManifest. Registry keyed by [manifest.id](). Startup validation; fail fast on schema mismatch. This is THE foundation primitive — blocks every other framework consumer. ## Source Links * Design doc section: `docs/superpowers/specs/2026-05-20-rox-integration-vision-design.md` § 3 (Section 3 → 2.1.A) * Parent: PZD-77 * Audit context: `docs/audits/2026-05-20-pr268-release-readiness-audit.md` ## Tasks (a) Create `packages/shared/src/integrations/manifest.ts` with `IntegrationManifest` interface + Zod schema (b) Create `packages/shared/src/integrations/registry.ts` with `IntegrationRegistry` class (c) Validation runs at app startup; fail-fast logs which integration's manifest is invalid + why (d) Unit tests: happy-path manifest, missing required fields, invalid types, security-baseline cannot be weakened (sandbox:false rejected) (e) Documentation comment block at the top of manifest.ts explaining the security contract ## Acceptance Criteria Implementation passes typecheck + lint + targeted unit tests + relevant audit gates. PR backlinks to this Linear issue. ## Implementation Plan 1. Read design doc section 3 (Section 3 → 2.1.A) for full context. 2. Implement tasks above on a feature branch off current main + my 3 PR #268 audit commits (`0d8bf3d2`, `a8f90784`, `4d223078`) or current main if those land first. 3. Atomic commits per task; PR when complete. 4. Update this issue with verification evidence. ## Status / Priority / Estimate Status: **Todo** (Week 0) Priority: **High** Estimate: **S** (\~1-3 dev-days) Workstream: КОД ## Update Log * **2026-05-20** Sub-issue created during integration-vision brainstorm. Dispatched to autonomous agent. ## Статус Это задача из текущего backlog'а ROX.ONE (Linear). Текущий статус в Linear: `В работе — In Progress`. Метки: —. ## 🔗 Linear - [PZD-78](https://linear.app/kuhjie/issue/PZD-78/g221a-shema-integrationmanifest-validator-week-0-foundation-g221a) — backing ticket - Parent epic: [PZD-120](https://linear.app/kuhjie/issue/PZD-120)

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🌊

Frictionless UX

Date

About 15 hours ago

Author

agi

Subscribe to post

Get notified by email when there are changes.