Skip to content

[process-manager PM-25] netscript pm CLI router + read verbs (+ degraded-local reads) #536

Description

@rickylabs

Summary

The netscript pm CLI group (OF-1): router + read verbs — status/logs/doctor/init/add/remove/explain — human + --json output equal to the contract schemas. Degraded-local reads defined (F-9): control plane unreachable → read verbs fall back to OsServicePort status/journal reads + KV registry snapshot, clearly marked source: os-layer (degraded); mutations refuse with a pointer at pm dev/service start — never silently stale.

Scope

Design source

  • research/design/d4-cli-admin-console-surfaces.md §1 (PMS-1) · plan.md §4 PM-25

Acceptance criteria

  • gate: --json output validates against the contract schemas (same shapes, no CLI-only dialect)
  • gate: degraded mode tested: reads work marked source: os-layer (degraded); mutations refuse with guidance
  • gate: scoped check/lint/fmt wrappers green (--ext ts,tsx)

Non-scope

  • Lifecycle verbs (PM-26); monitor (PM-28).

Drift / Debt

  • none

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions