Skip to content

feat: git init requirement + GH Pages migration v0.4.0-rc.0#8

Merged
opariffazman merged 16 commits into
mainfrom
feat/git-init-requirement
May 28, 2026
Merged

feat: git init requirement + GH Pages migration v0.4.0-rc.0#8
opariffazman merged 16 commits into
mainfrom
feat/git-init-requirement

Conversation

@opariffazman

Copy link
Copy Markdown
Owner

Summary

  • git init: required first command. engine starts uninitialized, gates all git commands pre-init
  • RefStore: constructor starts empty (no branches, no HEAD). git init creates main branch + .git/ dir
  • phantom node: hollow dashed circle on graph after init, before first commit. visual feedback
  • ls flags: -a (show dotfiles), -l (long format with permissions). .git/ hidden by default
  • prompt: no branch segment pre-init, just gitverse ❯. branch appears after init
  • autocomplete: only git init offered pre-init. full completions post-init
  • .git/ guard: rm refuses to delete .git/ directory
  • welcome banner: box-drawing banner with "Type git init to begin" hint
  • persistence: initialized flag serialized, backwards compat (old saves default true)
  • deploy: migrated Cloudflare Workers → GitHub Pages + pr-preview-action for PR previews
  • docs: removed non-existent sim change from README/CLAUDE.md

Test Plan

  • fresh load shows welcome banner, prompt has no branch
  • git init → prompt shows main, graph shows phantom node
  • git add before init → fatal error
  • ls -la after init → shows .git/ with permissions
  • rm .git/ → rejected
  • first commit replaces phantom node with real node
  • reload persists initialized state
  • 332 tests pass, 0 errors typecheck/lint/format

🤖 Generated with Claude Code

opariffazman and others added 13 commits May 28, 2026 01:54
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Remove duplicate router gating (engine is single gate point),
drop no-op -h flag, inline _initialize() into cmdInit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8 tasks, TDD, dependency graph for parallel execution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ard .git/ deletion

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2026-05-28 02:42 UTC

opariffazman and others added 3 commits May 28, 2026 10:03
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…iant

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
.trim() stripped leading spaces from first line. Removed trim,
preserved relative indentation across all 6 lines.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@opariffazman
opariffazman merged commit a3fe89f into main May 28, 2026
3 checks passed
@opariffazman
opariffazman deleted the feat/git-init-requirement branch May 28, 2026 02:42
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