Skip to content

feat: enable Colab Gemini instructions for galaxy and fit + per-assistant cap (#324) - #326

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/colab-gemini-phase2
Oct 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/colab-gemini-phase2

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Phase 2 of #324: turn on Colab Gemini instructions for autofit_workspace, HowToFit (autofit_assistant) and autogalaxy_workspace, HowToGalaxy (autogalaxy_assistant) in the release generate, and support an optional per-assistant cap: in colab/contexts.yaml (default 20,000, hard ceiling 50,000 — human tested 52k in Colab). autogalaxy uses 36,000 (its skills are 21–32k each; trim follow-up filed in Mind).

  • release.yml: assistant: set for the four entries; merge-order comment updated.
  • build_util: gemini_context_cap, cap validated at load (range, int, not bool); validation/injection/report use the cap in force.
  • gemini_context report shows the cap; help text updated.

Merge order: PyAutoLabs/autofit_assistant + PyAutoLabs/autogalaxy_assistant (either order) → PyAutoLabs/PyAutoHands. Hands enables the release checkout for these workspaces, which needs both mappings on main.

API Changes

Additive: optional cap: key in assistant colab/contexts.yaml; build_util.gemini_context_cap, GEMINI_CONTEXT_CAP_MAX.

Test Plan

  • python -m pytest -q — 567 passed (cap default/custom/ceiling/invalid, report)
  • Tenant firewall + workspaces.yaml checks OK
  • Report on all four workspaces: none over cap, none default-only

Heart RED development override

Live human authorization 2026-10-26: "yeah I approve go" (ship phase 2 on RED) for PyAutoHands#324. Exact current RED reasons: release validation FAILED (stage integrate); PyAutoHeart/workflows/Release Integrate: failure; PyAutoHeart/workflows/Workspace Smoke: failure; manifest_drift/checks/workspace checkouts (manifest ↔ disk): red; Release readiness: release validation FAILED (stage integrate); autolens: red; Workspace validation: NOT ready — 1429p / 1f / 125s @ cloud#40294511523; test_run: red; Release validation: NOT release_ready — v? profile=? (2026-10-26T07:48:52+00:00); validation_report/stages/integrate: fail; PyAutoBrain: red; PyAutoLens: red; autolens_profiling: red; Worktree drift: 1 orphan / 0 missing / 3 dirty. Branch gates passed: PyAutoHands 567 tests + tenant firewall OK; autofit_assistant 12 tests + mapping check; autogalaxy_assistant 12 tests + mapping check; independent review CLEAN (3 minors fixed). This PR does not repair Heart; no release.

Refs #324

🤖 Generated with Claude Code

…tant cap (#324)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit c1ece50 into main Oct 26, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/colab-gemini-phase2 branch October 26, 2026 18:05
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