049-cell-preflight-checks

Let a cell contribute named, bounded, read-only checks to preflight

Lifecycle approvedImplementation completeVerification unknownQualification unknown

`rahi preflight` answers whether serve would start here, but only for the chassis: an application cannot report its own readiness facts or refuse a deployment whose application configuration the manifest ceiling does not cover. This spec adds a default-empty `Cell::preflight_checks` declaration of named checks that preflight runs after its own twelve, against a read-only view of the opened app store, the parsed manifest, and the same environment reader, each under a time bound. Results are reported as `app.<name>` lines with optional bounded report lines; any failing app check fails preflight with exit 1, and no app check can mask, reorder, or replace a chassis check.

Read the full pinned specification ↗

Relationships

Claimed units

  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-ops/src/preflight_app.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-cli/tests/preflight_app.rs"
    }
  • extends
    {
      "nature": "amending",
      "spec": "030-operational-verbs",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-ops/src/preflight.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "030-operational-verbs",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-ops/src/lib.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "030-operational-verbs",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-cli/src/cell.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "030-operational-verbs",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-cli/src/lib.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "010-workspace-and-core-types",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-types/src/config.rs"
      }
    }

Source headings

  1. 049: Cell preflight checks
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 4. Functional requirements
  6. 5. Acceptance criteria
  7. 6. Out of scope
  8. 7. Resolved decisions
  9. Verification

Frozen anchors

No frozen anchors declared.