oliver-zehentleitner / maity

cli + runner + context: about 90 places still name the operator commands as `maity runner <cmd>`, which now only refuses; process.md names the old capabilities path

Sign in to report

tsk-vbfxp6rg2gjy Proposed

Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: docs drift (after the runner moved to its own package).

What is wrong

  • The operator commands (pair, check, serve, status, tools, unit, install, uninstall, logs, approve, stop-all, gc, workspace) moved to maity-runner <cmd>; under maity runner they only print where they went and exit 4 (serve 78) (cli/src/maity/runner/internal.py:42-65). docs/runners.md and cli/runner/README.md already use the new spelling.
  • Text that still describes the old spelling as current (counted with git grep -E on the command names):
  • cli/context/runner.md: 57 lines, e.g. the heading at :4283 and :4292, :4303, :4310, :16, :73, :112, :407, :2066, :2240-2241, :2736, :2761, :2801-2805, :6337, :6387, :6941, :7301, :7994.
  • cli/context/index.md:65, cli/context/commands.md:1823, cli/context/credentials.md:701, cli/context/maintenance.md:14, web/context/runners.md:107, context/process.md:3357, :3360, :3373.
  • Docstrings and comments in cli/runner/src/maity_runner/: adapters.py (6), capabilities.py (7), install.py (7, some deliberately about the pre-split command), config.py (3), supervisor.py (3), commands.py (2), scratch.py (2), tools.py (2), keeper.py, skills.py; and cli/src/maity/runner/worktree.py:112.
  • context/process.md:260, :271, :272 say the CI contract trigger lists cli/src/maity/runner/capabilities.py, which no longer exists; .github/workflows/ci.yml:98 and :322 and hub/tests/test_runner_confinement.py:18 use cli/runner/src/maity_runner/capabilities.py.

Proposal

  • Replace with maity-runner <cmd> and the new path. Keep the places that deliberately describe the pre-split command: install.py, internal.py, cli/README.md:1071-1075 and :1101, cli/runner/README.md:925-941, docs/runners.md (206, 222, 645, 671). Keep the context entries' Source: lines (historical citations).

Effort / risk: M (many Keep the Why entries; edit text, keep Ids). Low.