Skip to content

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

Closed
codeforester wants to merge 2 commits into
mainfrom
enhancement/240-20260806-v2-cutover
Closed

feat(runtime): migrate Base consumers to base-bash-libs v2 API#1879
codeforester wants to merge 2 commits into
mainfrom
enhancement/240-20260806-v2-cutover

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • migrate Base's Bash consumers from the 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)

@codeforester

Copy link
Copy Markdown
Collaborator Author

Superseded by policy-compliant PR for tracking issue #1880; implementation and basectl fix are unchanged.

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