Skip to content

feat: environment discovery before setup questions (user-defaults discovery half)#56

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/user-defaults-discovery
Jul 10, 2026
Merged

feat: environment discovery before setup questions (user-defaults discovery half)#56
Jammy2211 merged 1 commit into
mainfrom
feature/user-defaults-discovery

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Closes #55.

Summary

start-new-project.md gains step 0 — environment discovery, a lightweight preflight run before any setup question: read-only detection of git identity (git config), GitHub account/auth (gh auth status, gh api user), SSH host aliases (candidate HPC clusters), and the existing profile/project configuration, under the explicit precedence user instruction → project configuration → detected standard-tool state → ask. Detected values are used with a one-line overridable confirmation; unknowns become one focused question; accepted values state where they'll be recorded. Secrets are never stored or echoed — standard tools stay authoritative, and multiple accounts/clusters always prompt a which-one question rather than assuming a global default. GitHub step 6 (owner) and the optional HPC step (detected aliases offered as candidates) now consume the discovery instead of asking cold.

The machine-local ~/.config/autolens_assistant/user.yaml half of the original prompt stays deferred and evidence-gated (rescope decision 2026-07-10).

Scripts Changed

None — skill documentation only (skills/start-new-project.md).

Validation

  • --check-citations: 91 files, 389 citations, 0 missing.
  • Consistency read: step 0 ↔ step 6 ↔ HPC step reference each other coherently.

Readiness

Heart YELLOW on the standing 6-reason set only (human-acked repeatedly 2026-07-10); docs-only, not on the library release train.

🤖 Generated with Claude Code

…ct (#55)

Step 0 preflight: read-only detection of git identity, gh auth/owner, SSH
host aliases and existing profile/project config before any setup question;
precedence user instruction -> project config -> detected tool state -> ask;
one-line confirmation on detected values; accepted values state where they
are recorded; secrets never stored (standard tools authoritative); multiple
accounts/clusters ask, never assume. GitHub step 6 and the HPC step consume
the discovery. The user.yaml defaults half stays deferred/evidence-gated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 083258d into main Jul 10, 2026
1 check failed
@Jammy2211
Jammy2211 deleted the feature/user-defaults-discovery branch July 10, 2026 10:34
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.

feat: environment discovery before setup questions (portable user defaults, discovery half)

1 participant