When updating such a lockfile via kas lock --update, all existing data
(except for the commit) is preserved. In case overrides are added to
normal files (not lockfiles), they are also preserved and normal
include semantics apply (i.e. they are processed as
kas.yml:kas.lock.yml).
However, when running kas checkout --update / kas build --update, the
lockfiles are ignored altogether. Overrides in normal kas files are
processed.
>
> What relaxes me a bit is that we already allowed to add a branch
> override last year, and that likely works fine so far. Still, we need to
> update our schema description where it is still explicitly stated that
> one should "not manually add entries". We need at least some
> recommendation how to manage manual overrides when also using lock files
> - or to avoid that case.
Yes, this should be documented. However I'm a bit unsure to what
extend, as the logic was never written with that use-case in mind.
Felix