Conversation
Design for Rustlings-grade onboarding: bare 'pythonlings' auto-creates a hidden ~/.pythonlings workspace (overridable via PYTHONLINGS_HOME or --path) and launches the first exercise, with a cwd-workspace-wins resolver and friendlier init errors. Target 0.4.0.
Five TDD tasks: core/workspace.py (default location + resolver), friendlier init messages, CLI wiring with auto-create, and the 0.4.0 docs/version bump.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.4.0 — zero-config first run
Promotes the zero-config onboarding work to
mainfor tagging and release.What's new
pythonlingswith no workspace now creates one at~/.pythonlingsand opens the first exercise — noinit, no--path, nocd. (Fixes the sharp edge wherepythonlings initdefaulted to the current directory and failed inside a non-empty folder.)PYTHONLINGS_HOMEenv var to relocate the default workspace;--path/--rootstill work for explicit locations.init: idempotent on an existing workspace (a note instead of an error), and an actionable message for a non-empty, non-workspace directory.--root→ current dir if it's a workspace →~/.pythonlings.Implementation
New
core/workspace.py(default location + precedence resolver); CLI wiring so only TUI-launch commands auto-create; version bumped to 0.4.0. Built via brainstorm → spec → plan → subagent-driven implementation, each task spec+quality reviewed, plus a clean final whole-branch review.Verification
python -m pytest -q→ 136 passedpythonlings 0.4.0Closes the onboarding UX issue raised in this cycle.