Skip to content

refactor: hide autonerves in AutoFit Colab setup #116

Closed

Description

@Jammy2211

Overview

Remove direct user-facing autonerves.setup_colab imports from generated autofit_workspace and HowToFit notebooks. The notebooks will expose the product-level autofit setup API while retaining autonerves privately for fresh-Colab installation.

Plan

  • Regenerate both AutoFit-family repositories through merged PyAutoHands.
  • Validate notebooks and navigator catalogues.
  • Run the targeted AutoFit smoke gate.
  • Assert no direct public import remains in the shipped notebook surface.
Detailed implementation plan

Affected Repositories

  • autofit_workspace (primary)
  • HowToFit

Work Classification

Workspace.

Branch Survey

Repository Current Branch Dirty?
./autofit_workspace main Clean
./HowToFit main Clean

Both repositories are synchronized with origin/main and unclaimed.

Suggested branch: feature/hide-autonerves-colab-autofit

Worktree root: ~/Code/PyAutoLabs-wt/hide-autonerves-colab-autofit

Implementation Steps

  1. Regenerate autofit_workspace notebooks through the merged autofit PyAutoHands target.
  2. Regenerate HowToFit notebooks and navigator catalogues through the merged howtofit target.
  3. Confirm the generated setup cells use autofit.setup_colab outside Colab and retain the private fresh-Colab backend.
  4. Run generated-artifact, navigator, diff, and targeted AutoFit smoke checks.
  5. Open one pending-release PR per repository.

Key Files

  • autofit_workspace/notebooks/**/*.ipynb — generated outputs only.
  • HowToFit/notebooks/**/*.ipynb — generated outputs only.
  • HowToFit/llms-full.txt and HowToFit/workspace_index.json — generated navigator catalogue where changed.

Dependency

  • PyAutoHands#195 and PyAutoHeart#107 are merged.

Original Prompt

Click to expand starting prompt

autonerves should not be user facing API, but it is in many workspace examples: from autonerves import setup_colab , update it so its not, but make sure the colab install still uses it as it needs the right install rhere I think.

this is prob requied for PyautoGalaxy too

Activity

  1. Jammy2211 commented on Jul 24, 2026

    @Jammy2211
    CollaboratorAuthor

    Scoped Smoke Test Results — 2026-07-24

    Workspace Status
    autofit_workspace Passed
    HowToFit Passed

    Both targeted AutoFit-family repository smoke runners passed after generated Colab setup regeneration.

  2. Jammy2211 commented on Jul 24, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped — 2026-07-24

    PRs

    Summary

    AutoFit-family notebooks now expose Colab setup through the public autofit API while retaining the fresh-Colab autonerves backend privately. Regenerated notebooks and navigator catalogues merged after both targeted repository smoke runners passed.

    Session Notes

    No handwritten AutoFit or HowToFit scripts required changes; this family was a generated-artifact-only rollout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions