Table of Contents

Farm Controller Layer (Local / Federated)

See overview: System Architecture Overview

The Farm Controller Layer is the on-site AOFS controller that provides local supervision, configuration, and federation. It sits between the Field Controller (authoritative safety layer) and HQ / Federated Controllers.

This layer is offline-first, federation-capable, and authoritative for non-critical decisions.

1. Responsibilities

The Farm Controller Layer must:

2. Offline Operation

1. Full local autonomy:

2. Local operator interface:

3. Local data storage:

3. Federation Model

Farm Controllers support a Git-like push/pull model:

4. Conflict Resolution

When multiple controllers modify configurations or schedules:

  1. Timestamp precedence:
    • The most recent authorized change takes effect.
  1. Operator approval:
    • In case of conflicting schedule changes, local farm operators must approve before applying.
  1. Field Controller enforcement:
    • Field Controller always vetoes any configuration that violates safety constraints.
  1. Logging:
    • All conflict events must be logged with timestamps, operator ID, and resolution outcome.

5. Authority Rules

1. Safety authority:

2. Configuration authority:

3. Audit and compliance:

6. Human Interface

7. Implementation Notes

8. Compliance Notes