| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Reuse model fields and existing test fixtures, remove dead private repair state, and preserve checkpoint and undo behavior. Limit branch-specific worktree inspection to owners, read state files directly, and let static skill output run outside Git. Rely on prepack for a single packaging build.
| Back | FazBrowse Home | New Git URL |
Why
The codebase repeats model projections, test setup, and private repair state that can be derived from existing values. Branch-specific Git operations also inspect unrelated worktree contents, and the packaging smoke command builds the same CLI twice.
The whole-codebase simplification pass keeps the existing service boundaries and safety checks while removing that duplication and unnecessary work.
What Changes
Recovery Invariants
Replacement requests still checkpoint before creation and again after recording the created request number. Branch backups, per-remote leases, journal versions, cumulative keep-going recovery, and read-only retry policy are unchanged. No Git observations are cached across mutations.
Scope
Small local simplifications across the codebase, not an architectural rewrite. Public service interfaces and persisted schemas are unchanged. Includes a patch changeset for the skill fix and reduced local work; it does not change the release already published as 0.4.5.
Verification
GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null bun run test bun run typecheck bun run format:check bun run lint bun run package:smoke bun run changeset:status --since origin/main bun src/cli.ts --help bun src/cli.ts skill --help git diff --check211 tests pass on both Apple Git 2.50.1 and a locally built Git 2.39.5. Existing test assertions are retained, including real squash-merge and leased-undo coverage. Eleven new regressions cover outside-repository skill output, owner-only worktree inspection, dirty-owner refusal, full inspection, and missing/valid/corrupt/permission-denied state reads.
Inspected the packed tarball, installed it into a clean consumer, and ran its installed stack skill outside Git plus stack --version. The smoke command now invokes one build through prepack.