Skip to content

I0839 — watch inherits every doctor fix and its own budget

Confirm watch dispatches the rewritten validators, time it, and declare benchmark.budget.watch_ms next to doctor's.

BLOCKED wave 4 · p0 · implementation profile · runs alone

Part of M004 — Performance is executable evidence, and the hot path does no canonical work twice.

Blocked. This issue cannot start until I0828 is done. The status is derived from that, not declared.

Objective

Confirm watch dispatches the rewritten validators, time it, and declare benchmark.budget.watch_ms next to doctor's.

Why

watch shares the validators, so it is fixed by the same work, but nothing proves it.

Current state

watch takes 9.7 s.

Desired state

Under 1.5 s on this repository, reported against its budget like doctor.

Scope

  • lib/watch.sh
  • .ai/repo/policy.yaml
  • share/allow/policy.txt
  • share/skeleton/policy.yaml
  • test/cases/83_doctor_budget.sh

Dependencies

Acceptance criteria

  • watch prints its total and budget
  • Case 83 covers watch as well as doctor

Validation

  • MJ_TIMING=1 bin/majordomus watch

Evidence required

  • doctor_under_budget

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Risk

watch reports drift, so the budget finding is INFO there, never DRIFT.

Timeline

started
verified
completed

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I0839.yaml. Read it back with majordomus plan show I0839.