From 031f042ee0681f4283f0ca3ee4bdd41613d0ca07 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 01:00:20 +0000 Subject: [PATCH 1/3] fix(landing): improve mobile responsiveness for modal and meta prompts - Update `.prompts-grid` to use `minmax(280px, 1fr)` instead of `400px` to fit mobile screens. - Add media query to reduce `.meta-prompts` padding on small screens. - Add `word-break: break-all` and `overflow-wrap: break-word` to `#promptModal` code blocks to prevent horizontal overflow. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- landing/index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/landing/index.html b/landing/index.html index 317c01c..074acc0 100644 --- a/landing/index.html +++ b/landing/index.html @@ -155,6 +155,12 @@ width: 100%; } + @media (max-width: 640px) { + .meta-prompts { + padding: 0 1rem; + } + } + .meta-prompts h2 { text-align: center; font-size: 2rem; @@ -164,7 +170,7 @@ .prompts-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } @@ -743,6 +749,8 @@ color: #e6edf3; line-height: 1.5; white-space: pre-wrap; + word-break: break-all; + overflow-wrap: break-word; } #promptModal .close-prompt { From e4fecf631b4d35dafc3303cb1629560e2dd3056e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 01:04:59 +0000 Subject: [PATCH 2/3] fix(test): copy src/utils.mjs to temp dir in scheduler cycle test - Addresses `ERR_MODULE_NOT_FOUND` in `test/run-scheduler-cycle-memory-policy.test.mjs` caused by missing dependency in the temporary test environment. - Ensures `src/utils.mjs` is available for `scripts/agent/run-scheduler-cycle.mjs` during test execution. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- test/run-scheduler-cycle-memory-policy.test.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/run-scheduler-cycle-memory-policy.test.mjs b/test/run-scheduler-cycle-memory-policy.test.mjs index bfd6b63..11a8929 100644 --- a/test/run-scheduler-cycle-memory-policy.test.mjs +++ b/test/run-scheduler-cycle-memory-policy.test.mjs @@ -73,6 +73,8 @@ async function setupFixture({ await fs.copyFile(SOURCE_SCRIPT, path.join(scriptsDir, 'run-scheduler-cycle.mjs')); await fs.copyFile(path.resolve('scripts/agent/scheduler-utils.mjs'), path.join(scriptsDir, 'scheduler-utils.mjs')); await fs.copyFile(path.resolve('scripts/agent/scheduler-lock.mjs'), path.join(scriptsDir, 'scheduler-lock.mjs')); + await fs.mkdir(path.join(root, 'src'), { recursive: true }); + await fs.copyFile(path.resolve('src/utils.mjs'), path.join(root, 'src', 'utils.mjs')); await fs.writeFile( path.join(scriptsDir, 'verify-run-artifacts.mjs'), '#!/usr/bin/env node\nprocess.exit(0);\n', From bf41f181ee49fdd4cc0ce05d21380573a5285b95 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 01:09:14 +0000 Subject: [PATCH 3/3] fix(test): inject AGENT_PLATFORM=codex in scheduler cycle tests - Explicitly sets `AGENT_PLATFORM: 'codex'` in `test/run-scheduler-cycle-memory-policy.test.mjs` for tests that assert platform-specific output. - Resolves CI failures where `detectPlatform` was falling back to `'unknown'` or the host environment's platform, causing assertion mismatches. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- test/run-scheduler-cycle-memory-policy.test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/run-scheduler-cycle-memory-policy.test.mjs b/test/run-scheduler-cycle-memory-policy.test.mjs index 11a8929..5555112 100644 --- a/test/run-scheduler-cycle-memory-policy.test.mjs +++ b/test/run-scheduler-cycle-memory-policy.test.mjs @@ -184,7 +184,7 @@ test('accepts required memory policy when markers or artifacts are produced', { const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], { cwd: fixture.root, - env: fixture.env, + env: { ...fixture.env, AGENT_PLATFORM: 'codex' }, }); assert.equal(result.code, 0, `stdout: ${result.stdout}\nstderr: ${result.stderr}`); @@ -209,7 +209,7 @@ test('records backend failure metadata when lock command exits with code 2', { c const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], { cwd: fixture.root, - env: fixture.env, + env: { ...fixture.env, AGENT_PLATFORM: 'codex' }, }); assert.equal(result.code, 2, `stdout: ${result.stdout}\nstderr: ${result.stderr}`);