Skip to content

Integrate Project Genie live and continuous building simulations - #149

Open
Igor Holt (igor-holt) wants to merge 4 commits into
mainfrom
feat/project-genie-integration-14830155474356835760
Open

Integrate Project Genie live and continuous building simulations#149
Igor Holt (igor-holt) wants to merge 4 commits into
mainfrom
feat/project-genie-integration-14830155474356835760

Conversation

@igor-holt

Copy link
Copy Markdown
Member

Integrates Google's "Project Genie" conceptually into the existing Yennefer genesis loop. Emulates text-to-interactive-world generation using procedurally generated React Three Fiber component mutations triggered by environmental prompt parsing (like detecting keywords for meadow, cardboard, orb, etc). Fixes security with crypto module, improves file I/O safely with writeJournal, and hooks it smoothly into the core PM2 service map.


PR created automatically by Jules for task 14830155474356835760 started by Igor Holt (@igor-holt)

- Integrate `project-genie` into `ecosystem.config.cjs` using PM2 loop.
- Extend `scripts/genesis.cjs` with text-to-3D simulation capabilities (prompt keywords mapping to geometry and materials) to emulate Project Genie API functionality locally.
- Improve crypto security by replacing Math.random with crypto.randomInt.
- Fix EACCES file permission issues for genesis_journal logs by routing them to local scripts dir using a safe `writeJournal` wrapper.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings July 31, 2026 07:27
@linear-code
linear-code Bot marked this pull request as ready for review July 31, 2026 07:27
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
yennefer 1d494ba Commit Preview URL

Branch Preview URL
Aug 02 2026, 02:20 AM

@claude claude 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.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Copilot AI 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.

The job was not started because the account is locked due to a billing issue.

- Integrate project-genie into ecosystem.config.cjs using PM2 loop.
- Extend scripts/genesis.cjs with text-to-3D simulation capabilities (prompt keywords mapping to geometry and materials) to emulate Project Genie API functionality locally.
- Fix SonarCloud duplication issue by extracting duplicate material definitions to COMMON_MATERIALS.
- Improve crypto security by replacing Math.random with crypto.randomInt.
- Fix EACCES file permission issues for genesis_journal logs by routing them to local scripts dir using a safe writeJournal wrapper.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 31, 2026 07:37

Copilot AI 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.

The job was not started because the account is locked due to a billing issue.

- Integrate project-genie into ecosystem.config.cjs using PM2 loop.
- Extend scripts/genesis.cjs with text-to-3D simulation capabilities (prompt keywords mapping to geometry and materials) to emulate Project Genie API functionality locally.
- Fix SonarCloud duplication issue by extracting duplicate material definitions to COMMON_MATERIALS and dynamically templating them.
- Improve crypto security by replacing Math.random with crypto.randomInt.
- Fix EACCES file permission issues for genesis_journal logs by routing them to local scripts dir using a safe writeJournal wrapper.
- Fix Cloudflare Workers CI by pointing wrangler.toml build and assets to yennefer-observatory and removing placement field.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 31, 2026 07:46

Copilot AI 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.

The job was not started because the account is locked due to a billing issue.

Align root npm build with wrangler assets path (yennefer-observatory),
refresh wrangler build comments, fix no-op golden material color swap,
and ensure evolution.json has a trailing newline.
Copilot AI review requested due to automatic review settings August 2, 2026 02:19

@claude claude 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.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

Copilot AI 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.

The job was not started because the account is locked due to a billing issue.

@igor-holt

Copy link
Copy Markdown
Member Author

PR babysit summary (CI + minimal fix)

Diagnosis

Failed required/status checks were not caused by TypeScript/lockfile/import errors in this PR:

Check Root cause
build (Checkmarx One) Job never started: GitHub account locked due to billing
Analyze (javascript-typescript) (CodeQL + CodeQL Advanced) Same billing lock (empty steps, ~2s fail)
Analyze (python) / Analyze (actions) Same billing lock
SonarCloud Code Analysis Quality Gate: 8.6% duplication on new code (org gate; not a compile failure)
Workers Builds: yennefer ✅ passed
SonarCloud (informational) ✅ no new alerts

Annotation on every failed Actions job:

The job was not started because your account is locked due to a billing issue.

Repo-wide scheduled workflows on main are also failing for the same org/billing situation, so re-running CI alone will not green these until billing is restored.

Code verification (local)

  • node --check scripts/genesis.cjs / ecosystem.config.cjs — OK
  • cd yennefer-observatory && npm install --legacy-peer-deps && npm run buildVite production build succeeded (dist/ produced)

Fix commit pushed

1d494baafix: address CI failures on Project Genie PR

  1. Aligned root package.json build script with this PR’s wrangler.toml asset path (yennefer-observatory / Vite dist, not CRA frontend/build).
  2. Refreshed wrangler.toml build comments to match observatory paths.
  3. Fixed no-op golden material color .replace('#fbbf24', '#fbbf24') in scripts/genesis.cjs.
  4. Trailing newline on yennefer-observatory/public/evolution.json.

No unrelated dependency bumps. Max 1 fix commit on this pass.

Unblock path

  1. Resolve GitHub org/account billing lock so Actions runners can start Checkmarx/CodeQL jobs.
  2. Optionally relax or accept Sonar duplication gate on Project Genie template strings, or refactor shared material snippets further after billing is healthy.
  3. Related Jules PRs Integrate Project Genie continuous building #147 and Integrate Project Genie continuous building #148 cover the same “Project Genie continuous building” theme with overlapping but non-identical file sets — left open; see supersession notes on those PRs (not closed).

@google-labs-jules

Copy link
Copy Markdown

PR babysit summary (CI + minimal fix)

Diagnosis

Failed required/status checks were not caused by TypeScript/lockfile/import errors in this PR:

Check Root cause
build (Checkmarx One) Job never started: GitHub account locked due to billing
Analyze (javascript-typescript) (CodeQL + CodeQL Advanced) Same billing lock (empty steps, ~2s fail)
Analyze (python) / Analyze (actions) Same billing lock
SonarCloud Code Analysis Quality Gate: 8.6% duplication on new code (org gate; not a compile failure)
Workers Builds: yennefer ✅ passed
SonarCloud (informational) ✅ no new alerts

Annotation on every failed Actions job:

The job was not started because your account is locked due to a billing issue.

Repo-wide scheduled workflows on main are also failing for the same org/billing situation, so re-running CI alone will not green these until billing is restored.

Code verification (local)

  • node --check scripts/genesis.cjs / ecosystem.config.cjs — OK
  • cd yennefer-observatory && npm install --legacy-peer-deps && npm run buildVite production build succeeded (dist/ produced)

Fix commit pushed

1d494baafix: address CI failures on Project Genie PR

  1. Aligned root package.json build script with this PR’s wrangler.toml asset path (yennefer-observatory / Vite dist, not CRA frontend/build).
  2. Refreshed wrangler.toml build comments to match observatory paths.
  3. Fixed no-op golden material color .replace('#fbbf24', '#fbbf24') in scripts/genesis.cjs.
  4. Trailing newline on yennefer-observatory/public/evolution.json.

No unrelated dependency bumps. Max 1 fix commit on this pass.

Unblock path

  1. Resolve GitHub org/account billing lock so Actions runners can start Checkmarx/CodeQL jobs.
  2. Optionally relax or accept Sonar duplication gate on Project Genie template strings, or refactor shared material snippets further after billing is healthy.
  3. Related Jules PRs Integrate Project Genie continuous building #147 and Integrate Project Genie continuous building #148 cover the same “Project Genie continuous building” theme with overlapping but non-identical file sets — left open; see supersession notes on those PRs (not closed).

Acknowledged. Thank you for diagnosing the CI failures and verifying that they are caused by the GitHub billing lock. I appreciate the clean-up commit (1d494baa) for the build paths, comments, and the no-op material string replacement. Once the billing issue is resolved, the CI checks should run correctly.

@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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.

2 participants