Skip to content

refactor: move Base adapters out of generic lifecycle - #25

Merged
codeforester merged 1 commit into
mainfrom
enhancement/22-20260731-move-base-adapters
Aug 1, 2026
Merged

codeforester merged 1 commit into
mainfrom
enhancement/22-20260731-move-base-adapters

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Summary

Closes #22.

  • removes Base manifest, implicit config, cache-owner, runtime-owner, and history persistence policy from base-cli;
  • keeps CliProfile callbacks and consumer-neutral lifecycle/runtime/history primitives;
  • moves compatibility-sensitive generic tests and documentation to the consumer-neutral contract;
  • removes the legacy Base profile and Base-specific path/config/history helpers from the package.

A paired Base consumer PR moves the implementation into Base-owned adapters and pins this commit until this PR merges.

Validation

  • uv run --extra dev pytest -q
  • ./tests/validate.sh
  • git diff --check

Base consumer validation is in the paired Base PR.

@codeforester
codeforester marked this pull request as ready for review August 1, 2026 01:08
@codeforester
codeforester merged commit 5828f2d into main Aug 1, 2026
20 of 22 checks passed
@codeforester
codeforester deleted the enhancement/22-20260731-move-base-adapters branch August 1, 2026 01:08
codeforester added a commit to basefoundry/base that referenced this pull request Aug 1, 2026
## Summary

Closes #1837.

Paired with [base-cli PR
25](basefoundry/base-cli#25) and [base-cli issue
22](basefoundry/base-cli#22).

- adds Base-owned discovery, configuration, runtime, and history
adapters;
- updates Base profile and consumers to use those adapters;
- keeps base-cli as the consumer-neutral lifecycle and callback layer;
- preserves Base behavior with the existing Base test suite.

The Pylint and Tests workflows are temporarily pinned to the base-cli PR
25 commit until the dependency PR merges.

## Validation

-
`PYTHONPATH=/Users/rameshhp/work/base-cli-worktrees/22-move-base-adapters/lib/python:/Users/rameshhp/work/base-worktrees/22-base-adapter-boundary/cli/python
/Users/rameshhp/work/base-cli-worktrees/22-move-base-adapters/.venv/bin/python
-m pytest -q`
- Result: 931 passed, 1 skipped, 248 subtests passed.
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.

Move legacy Base adapters out of base-cli

1 participant