Skip to content

docs: design doc for image generation in the grid - #38

Closed
maun200 wants to merge 1 commit into
mainfrom
docs/image-generation-design
Closed

maun200 wants to merge 1 commit into
mainfrom
docs/image-generation-design

Conversation

@maun200

@maun200 maun200 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

Design doc for adding text-to-image generation to the grid, gating the implementation plan (per superpowers:brainstorming). No code changes.

Covers: goals/non-goals/anti-goals, hardware constraints (one usable GPU across the whole grid), and decisions made in conversation with the operator:

  • Image generation first; vision and video explicitly deferred.
  • Uncensored checkpoint, no content filter of any kind — an explicit, informed choice after the legal-risk distinction between generated visual content and text was raised directly and a middle option (narrow block on sexualized-minor content only) was offered and declined.
  • Two independently-polling worker identities on the desktop (chat + image), with the image backend loading the checkpoint into VRAM only per-request and releasing it after, to avoid colliding with the chat worker's resident VRAM use.
  • 1 outstanding image job per member, since there is exactly one image-capable device with no fallback.

🤖 Generated with Claude Code

Covers intent, goals/non-goals/anti-goals, hardware constraints (one
usable GPU in the whole grid), and the decisions made so far: image
generation before vision/video, an uncensored checkpoint with no
content filter of any kind (an explicit, informed operator choice after
the legal-risk distinction between generated visual content and text
was raised), two independently-polling worker identities on the desktop
with load-on-demand VRAM use to avoid colliding with the chat worker,
and a 1-outstanding-image-job-per-member fairness cap.

No implementation yet - this is the design doc gating the plan.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T12:22:50.285194Z d9d4b52 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9d4b52998

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +122 to +125
- **Routing image jobs to the right worker.** Reuse the *existing* `model` string matching
(`jobs.model` / `workers.model`, already exact-match in `/api/worker/claim`) rather than adding
a parallel "job kind" concept — give the image checkpoint a model name the operator approves
via `CAG_ALLOWED_MODELS` like any other model, and only the desktop ever registers that model.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enforce image-worker eligibility beyond the model name

For image jobs submitted with community privacy, this routing plan does not ensure that only the desktop can claim them: CAG_ALLOWED_MODELS also permits members to register machines through /api/me/machines, and /api/worker/claim routes by model string and trust level without checking hardware. A member can therefore register a CPU-only worker under the image model and have it claim jobs, contrary to the requirement that incapable devices not be offered image work. Make image-worker enrollment or capability admin-controlled rather than relying on operators to leave other devices unregistered.

Useful? React with 👍 / 👎.

@maun200

maun200 commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

Moving this to the private ProjectOne repo instead - not meant for the public project.

@maun200 maun200 closed this Nov 13, 2026
@maun200
maun200 deleted the docs/image-generation-design branch November 13, 2026 13:51
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