A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
I0820
Catalogue, DAG, context and command-surface validators read their inputs once
Where it stands
devtask.issueMoves
plan.transitionWhat it is
- Objective
- Rewrite the remaining validators that loop mj_yget or mj_git per item so that each reads its inputs with one pass.
- Why
- Together they cost 2.3 s of doctor after the two largest validators are fixed.
- Now
- validate:catalogue 0.8 s, validate:context 0.6 s, validate:dag 0.5 s, validate:command_surface 0.35 s.
- Wanted
- Each of the four under 150 ms on this repository, with identical findings.
- Done when
- unknown: the record declares no `completion`
- Risk
- The context validator shells out to git per document; batching it must keep the tracked-only rule.
Acceptance
- Each validator's phase under 150 ms
- The cases that mutate their inputs still fail on the mutation
- Validation
MJ_TIMING=1 bin/majordomus doctorbash test/run.sh 69_context_documents- Evidence required
batch_reads- Evidence present
- unknown: the record carries no `evidence` entries
Scope
- Touches
lib/doctor.shlib/context_docs.shlib/commands.shtest/cases/28_catalogue.shtest/cases/42_dag_waves.shtest/cases/69_context_documents.sh- Not
- none
- Depends on
- Priority
- p0
- Profile
- implementation
- Parallel safe
- false
- Owner
- unknown: the record declares no `owner`
The work so far
- Branches
- none
- Merged
- none
- Commits
0- Trunk
- master
- Sessions
- none
- Created
- 2026-09-05
- Updated
- 2026-09-05
- Started
- unknown: the record declares no `started_at`
- Verified
- unknown: the record declares no `verified_at`
- Completed
- unknown: the record declares no `completed_at`
Synchronisation
- Adapter
scripts/github-sync- Repository
- unknown: the derived plan's header carries no repository
- External issue
- unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
- State there
- unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
Findings
| Level | Code | Message | Reproduce |
|---|---|---|---|
| WARN | scope_conflict | shares test/cases/28_catalogue.sh with I2487; they may not run concurrently | majordomus plan validate |
| WARN | scope_conflict | shares test/cases/28_catalogue.sh with I2488; they may not run concurrently | majordomus plan validate |