Skip to content

refactor: hide autonerves in AutoFit Colab setup #116

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

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