Files
DDI/agent/core/lock_other.go
T
beug.k@beugsiud.deandClaude Opus 5.5 c96eb33e58 feat(agent): configuration file and file-based agent state
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>
2026-10-13 19:05:16 +02:00

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
}