Skip to content

feat(runtime): migrate Base consumers to base-bash-libs v2 API - #1881

Merged
codeforester merged 6 commits into
mainfrom
enhancement/1880-20260806-v2-cutover
Aug 6, 2026
Merged

feat(runtime): migrate Base consumers to base-bash-libs v2 API#1881
codeforester merged 6 commits into
mainfrom
enhancement/1880-20260806-v2-cutover

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Closes #1880

Related: base-bash-libs#240

Summary

  • migrate Base Bash consumers from removed generic base-bash-libs names to the v2 base_ API
  • initialize the v2 stdlib runtime state before Base uses cleanup, file, and logging helpers
  • make basectl help work with the current v2 namespace and improve stale-library diagnostics
  • update focused runtime, help, update-profile, and contract documentation coverage

Root cause

Base still called the removed base_bash_libs_require_version and other generic v1 symbols. The first failure masked a second issue: v2 stdlib state is explicit, so cleanup/file helpers need base_init runtime initialization after sourcing lib_std.sh.

Validation

  • bats tests/base_init.bats cli/bash/commands/basectl/tests/help.bats
  • bats cli/bash/commands/basectl/tests/update-profile.bats
  • BASE_BASH_LIBS_DIR=~/work/base-bash-libs/lib/bash ./bin/basectl help
  • BASE_BASH_LIBS_DIR=~/work/base-bash-libs/lib/bash ./bin/base-test (944 passed, 1 skipped in the Python suite)

The final minimum-version floor will be raised to v2.0.0 after the base-bash-libs GA asset and Homebrew cutover are verified.

@codeforester
codeforester requested a review from a team as a code owner August 5, 2026 23:32
@codeforester
codeforester merged commit f8d2d2e into main Aug 6, 2026
29 checks passed
@codeforester
codeforester deleted the enhancement/1880-20260806-v2-cutover branch August 6, 2026 00:17
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(runtime): migrate Base to base-bash-libs v2 API

1 participant