feat: mos-creative v0.1 — local-first, draft-first creative production OSS#1
Merged
Merged
Conversation
…n OSS Monorepo (@start-x-work/mos-creative core + web) per §0 audit decisions: Apache-2.0, pnpm/tsup/Biome/Vitest, sessionStorage BYOK, mos-seo theme palette. - core: brief zod schema with a grounding rule, prompt scaffolds, deterministic expression guard (highlight + point to check, no rewrite — D-7 constraint), human-only approval gate (name + flag acknowledgement), exports embedding the approval trail (Markdown / CSV / Marketing-OS JSON / backup). - web: static SPA, browser to Gemini directly (only network destination), IndexedDB storage, two-door footer, disclaimer. No backend, no telemetry, no external write APIs. - CI plus gated release/deploy workflows; new scripts/lint-forbidden.mjs. - audit-cr1v2.md included (§0 audit; records 7 spec contradictions to reconcile). All verification gates green: typecheck, build, 18 unit + 1 e2e tests, biome, lint:forbidden, Gemini-only network, no-rewrite guard, no legacy brand colors.
yamaguchitakehiro0129
marked this pull request as ready for review
July 15, 2026 10:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要 / Summary
CR1 v2.0 の v0.1 実装。ローカルファースト・BYOK・draft-first のクリエイティブ制作支援 OSS。
Monorepo:
packages/core→@start-x-work/mos-creative(公開ライブラリ): brief zod スキーマ+接地規約、プロンプト骨格、決定的な表現ガード(ハイライト+確認論点のみ・代替表現/リライトなし)、人のみの承認ゲート(承認者名+フラグ確認必須)、承認証跡を同梱する書き出し(Markdown / CSV / Marketing-OS JSON / バックアップ)。packages/web(非公開・Cloudflare Pages): 静的 SPA。ブラウザ→Gemini 直(送信先は Gemini のみ)、IndexedDB 保存、二枚看板フッター、免責常設。バックエンド・テレメトリ・外部書き込みAPIなし。§0 監査(audit before spec)
audit-cr1v2.mdを同梱。参照実装marketing-os-seoと突き合わせ、指示書の前提に 7件の矛盾 を検出し、実装は監査の確定に沿わせた:mos-seo→ 実体marketing-os-seo(monorepo)theme.ts(3値+セマンティック)検証(全ゲート緑)
typecheck/build/ 単体18 + e2e1 /biome/lint:forbidden/ Gemini限定通信 / ガード書き換えトークンなし / 旧ブランド色なし — すべて PASS。マージ前の必須ゲート(人手・このPR単体では通せない)
packages/core/src/guard/rules.*.json)NPM_TOKEN)・Pages deploy(CLOUDFLARE_API_TOKEN/CLOUDFLARE_ACCOUNT_ID)は CI Secrets 設定後🤖 Generated with Claude Code
Generated by Claude Code