Agent configuration (agent-<role>.yaml, strict decoding, role section passed undecoded to the role factory) and the state directory of ADR 0011: identity with interrupted-renewal recovery, verified revisions under revisions/<n>/, state.json with apply results, lease sequence and queued deployment reports, atomic writes, pruning and a lock file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
346 B
Go
12 lines
346 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//go:build !(linux || darwin || freebsd || netbsd || openbsd || dragonfly)
|
|
|
|
package core
|
|
|
|
// lockPath is a no-op on platforms without flock. The agents only run on
|
|
// Linux; this keeps the package buildable elsewhere (e.g. for development).
|
|
func lockPath(string) (func(), error) {
|
|
return func() {}, nil
|
|
}
|