ContextLattice v3.11.1 - Upgrade-Safe Runner Discovery
ContextLattice v3.11.1 - Upgrade-Safe Runner Discovery
v3.11.1 hardens in-place upgrades for long-lived agent processes. A stale inherited checkout path can no longer hide valid Pi or Droid adapters when the current ContextLattice install records a newer canonical root.
What changed
- Native agent discovery now considers the installer-owned
agent_hooks.envrepository root in addition to an explicit repository and the current checkout. - Shell-style
export CONTEXTLATTICE_REPO_ROOT=...assignments are parsed by the native CLI. - Runner capability discovery can use the installed contract registry under the ContextLattice global home.
- Added a regression test proving that a stale inherited root falls through to a valid installed root without a shell override.
Boundaries preserved
- The CLI remains the primary operator and agent interface.
- Explicit repository selection and the current Git checkout remain authoritative when they contain the requested runner artifacts.
- ContextLattice does not install Pi, Droid, or any other third-party harness.
- Runner selection remains advisor-only. No automatic dispatch, merge, push, or mutation behavior was added.
Verify
contextlattice_agent_discover --agents pi,droid --pretty
contextlattice_doctor --agents pi,droid --skip-provider-smoke --pretty