carlos / platform Public

region-ha-p3b2-cli-argv

HOLD: do not merge until Paul decides (fourth live defect, escalated by 8a3d302).

At B-SMOKE S5, client.py main() called send(config, a.target, a.verb, **fields) with iid inside fields, while send's signature was send(config, iid, verb, ...). So arm-fault, arm-pause and fault-now crashed with a TypeError before any session opened. The fix renames the parameter to target: two production lines.

The real point is the class of bug. Today's four live defects all slipped through because tests drove internals, never the real entry points. This branch adds argv-level tests for every verb:

  • fault client: 8 verbs plus dry runs, run as real subprocesses against a fake aws/plugin on PATH that emits the captured live frame;
  • roll: 8 verbs through main(argv);
  • probe: 4 verbs.

The fault-client arm tests fail on the old code (RED) and pass with the fix (GREEN). 249 tests pass. The wiring audit found no other mismatch.

Human

HOLD (awaiting Paul): fault client iid wiring fix + argv-level tests for every roll/probe/client verb.

Commits 2
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity