Command reference
oko planning publish
Writes the planning state the suggestions tick computed — assignments, plans and cost on standard input — to the member's organization in the shared database with their own session. Every row is stamped with that organization; a row naming another is refused rather than moved.
Invocation#
oko planning publish < planning.jsonInputs and options#
- The planning document on standard input.
Output and state effect#
- Upserts the assignment and plan tables and prints `{orgId, assignments, workPlans, cost}`.
Refusals and safe exits#
- `oko planning takes publish; got <verb>` (exit 2); `the planning state on standard input is not readable: <error>`; `the planning state is not readable: <error>`; `a <table> row is not a JSON object`; `a <table> row names organization <named>, not the member's <organization>`; `<table> was not written: <detail>`.