Skip to content

Fix repository comic generation and release readiness - #1

Merged
thotashashank302 merged 10 commits into
mainfrom
agent/repository-comic-generation-fixes
Oct 30, 2026
Merged

thotashashank302 merged 10 commits into
mainfrom
agent/repository-comic-generation-fixes

Conversation

@thotashashank302

@thotashashank302 thotashashank302 commented Jul 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

Make repository comics usable without paid AI services, then fix the functional defects found by an end-to-end audit.

  • Default to a public-repository local runtime with private disk persistence, bounded structural analysis, free artwork, a pastel web/extension interface and quota-free sample previews.
  • Preserve immutable inspected commits and evidence, with four-panel overviews or twelve-panel detailed stories.
  • Support manual prompt copying, local artwork selection and PNG export without an image API key. Optional image-only BYOK uses OpenAI or Google Gemini.
  • Fix saved-repository selection, corrupt-record isolation, local-session recovery, PNG revision URLs, extension repository-switch races, share-link Strict Mode replay and signed-image expiry.
  • Enforce hosted comic expiry, reject stale concurrent artwork replacements, clean rejected uploads, and record the actual image count.
  • Harden OAuth return paths and explicitly allowlist hosted Chrome extension recipients. Return appropriate 400/403/404 errors instead of generic server errors.
  • Remove the unused semantic-analysis source files, legacy image helper, unused result type, OpenAI SDK and Playwright test dependency. Keep existing comic formats, migrations, licenses and historical reports.
  • Update compatible development tools and targeted security overrides; CI now audits runtime and development dependencies.

See the functional audit report for each reproduced issue, its fix, cleanup decisions and verification boundaries.

Validation

  • Local pnpm check: 140 tests passed, lint with zero warnings, formatting, production web/extension builds and typechecks across seven workspaces.
  • Full pnpm audit: zero known vulnerabilities, including development tools.
  • Real GitHub smoke: inspect, immutable twelve-panel generation, 1600 × 3540 download, persistent listing and scoped disposable deletion passed, together with local request protections.
  • Preview smoke: nine asset/framing/font/PNG checks passed. Browser checks verified saved-comic context reset, manual twelve-panel composition and download, and web/extension mobile widths.
  • The Trigger CLI loads and its template archive API handles a local create/extract fixture. No worker deployment is claimed.
  • Hosted Linux CI run 41024966165 passed on 06571fd: locked install, full checks, extension packaging, and the runtime/development dependency audit. Vercel deployment and preview-comment checks also passed on that commit.
  • No paid image-provider key was provisioned or used; provider protocols and error paths use mock responses.

Hosted setup and remaining acceptance

Set ALLOWED_EXTENSION_IDS to the installed Chrome extension ID(s) for hosted OAuth. Empty permits web sign-in only. Local mode needs no OAuth. Hosted storage also needs the earlier 32 MiB artifact-bucket migration.

Keep the PR draft pending independent review and the previously recorded hosted acceptance: deployed Supabase/RLS/private Storage, the matching Trigger worker and final extension origin, installed-Chrome permissions, real paid-provider image generation, and authenticated share/revoke/delete flows. Local tests, embedded PostgreSQL, SDK tests with mocked HTTP and green builds do not establish those live results. No merge is performed.

@vercel

vercel Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
comic-code Ready Ready Preview Oct 30, 2026 8:14am UTC

@thotashashank302 thotashashank302 changed the title Fix repository comic generation and Cloudflare integration Fix repository comic generation and release readiness Sep 30, 2026
@thotashashank302
thotashashank302 merged commit 06571fd into main Oct 30, 2026
3 checks passed

This branch was successfully deployed

2 active deployments
Production — 06571fd5 Deployed Oct 30, 2026 by vercel[bot]
Preview — 06571fd5 Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant