Skip to content

feat(colab): map autofit_workspace and HowToFit notebooks to skills for Colab Gemini (PyAutoHands#324) - #59

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
Contributor

Summary

Phase 2 of PyAutoHands#324: colab/contexts.yaml mapping autofit_workspace and HowToFit notebook folders to af_* skills, so the release stamps each notebook with its folder's skills as a Colab Gemini instruction (preface + this assistant's safety rules + skills). Same design as autolens_assistant (merged, #165).

  • colab/contexts.yaml: 36 entries + default, default 20k cap; maintainer/infrastructure skills under never_map; rules from AGENTS.md (inspect data first, the likelihood code is the user's).
  • autoassistant/colab_contexts.py check/apply (+ optional per-assistant cap:, ceiling 50k) and tests; CI colab-contexts.yml; Makefile colab-contexts; modes/maintainer.md lists colab/ as Mixed.

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

None user-facing; new maintainer CLI python -m autoassistant.colab_contexts {check,apply}.

Test Plan

  • pytest autoassistant/tests/test_colab_contexts.py — 12 passed; check OK (36 + default, cap 20000)
  • Hands apply/report on scratch copies: autofit_workspace 32 + HowToFit 20 notebooks, max 18,382 chars, none default-only, metadata-only, idempotent

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 PyAutoLabs/PyAutoHands#324

🤖 Generated with Claude Code

…or Colab Gemini (PyAutoHands#324)

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