Skip to content

Add shared sentinel arena rollout Gene#586

Merged
autogame-17 merged 4 commits into
mainfrom
codex/add-shared-sentinel-arena-gene
Jun 22, 2026
Merged

Add shared sentinel arena rollout Gene#586
autogame-17 merged 4 commits into
mainfrom
codex/add-shared-sentinel-arena-gene

Conversation

@autogame-17

@autogame-17 autogame-17 commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a seed Gene for rolling out a reusable lowercase sentinel arena CI gate across EvoMap repos
  • captures shared action extraction, consumer reverse-dependency, pull_request_target compatibility bridges, internal action repository access, and main CI/open PR sweep validation

Verification

  • node --test test/schemaGene.test.js test/assetStore.test.js test/contentHash.test.js
  • seed gene validation script: validateGene + verifyAssetId for all 12 seed genes

Note

Low Risk
Mostly documentation genes, install scripts, and test refactors; loop bridge default behavior is preserved via resolveLoopBridgeMode, with minor Windows git spawn behavior change.

Overview
Adds seed Gene gene_shared_sentinel_arena_ci_gate with strategy for rolling out a shared lowercase sentinel arena CI gate (shared action extraction, consumer reverse-deps, pull_request_target migration bridges, org action access, layered validation).

Daemon / CLI: Extracts classifyInvocation and resolveLoopBridgeMode so --loop still defaults EVOLVE_BRIDGE=true and startup banners come from one helper; moves determineBridgeEnabled to src/evolve/bridgeMode.js. Exports the new helpers from index.js for tests.

Platform ops: New scripts/com.evomap.evolver.plist, scripts/evolver.service (proxy + systemd notify/watchdog), scripts/install-evolver-windows.ps1, and scripts/internal-proxy-env.{sh,ps1} to run the loop daemon and wire Anthropic clients through the local proxy.

Windows git: windowsHide: true on isGitRepo in gitOps.js (aligned with existing daemon git probes).

Tests: Loop/bridge tests target the extracted modules and source contracts instead of heavy execFileSync daemon spawns; proxy platform and runtime path tests adjusted accordingly.

Reviewed by Cursor Bugbot for commit 6d6fcba. Bugbot is set up for automated code reviews on this repo. Configure here.

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6d6fcba. Configure here.

"$(node -p 'JSON.stringify(process.execPath)')" \
"$(node -p 'JSON.stringify(process.argv[1])' "$index_js")" \
"$(node -p 'JSON.stringify("proxy-token")')" \
"$(node -p 'JSON.stringify("--settings")'), $(node -p 'JSON.stringify(process.argv[1])' "$settings_file")"

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 env_key_command args malformed

Medium Severity

The --codex-config branch builds env_key_command with only three args placeholders but four CLI tokens are needed (index.js, proxy-token, --settings, settings path). The fourth printf argument merges --settings and the settings path into one invalid TOML fragment, so Codex cannot run the proxy-token helper correctly.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 6d6fcba. Configure here.


$action = New-ScheduledTaskAction -Execute 'wscript.exe' -Argument "`"$launcherPath`""
$settings = New-ScheduledTaskSettingsSet -RestartCount 5 -RestartInterval (New-TimeSpan -Minutes 1)
Register-ScheduledTask -TaskName 'EvoMap Evolver' -Action $action -Settings $settings -Force | Out-Null

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Windows task lacks startup trigger

Medium Severity

Register-ScheduledTask registers the EvoMap Evolver action and restart settings but no -Trigger (for example at logon). The task is created yet never starts automatically, unlike the macOS plist RunAtLoad and typical daemon install expectations after running the installer.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 6d6fcba. Configure here.

@autogame-17 autogame-17 merged commit 8f69c1b into main Jun 22, 2026
5 checks passed
@autogame-17 autogame-17 deleted the codex/add-shared-sentinel-arena-gene branch June 22, 2026 01:04
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