I2588 — A region projection's host document is not judged as a bootstrap
Make the bootstrap check read only the generated region of a target projected in region mode.
OVĚŘIT vlna 0 · p1 · profil implementation · bezpečné paralelně
Implementace je hotová a požadované důkazy ne. Zůstává tady, dokud za každým tokenem níže nestojí příkaz: dokončení se řídí důkazy, ne tvrzením.
Cíl
Make the bootstrap check read only the generated region of a target projected in region mode.
Proč
Observed on 2026-10-13 adopting 0.21.0 and 0.22.0 in a pnpm/TypeScript repository (docs/ADOPTION_SECOND_RUN.md, G04); read again on master e506c041a4. With `mode: region`, doctor still failed the adopter's hand-written CLAUDE.md for carrying 'a rule corpus of its own'. docs/ADOPTION.md promises that text outside the markers is the repository's own business.
Aktuální stav
lib/doctor.sh:276 greps the whole target for rule bullets and rule headings whatever its mode; the neighbouring reference and budget checks already read the region through mj_region_extract.
Cílový stav
In region mode the corpus check and the layer-pointer check run over the extracted region.
Rozsah
- lib/doctor.sh
- docs/ADOPTION.md
- test/cases
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- A region-mode target whose host text carries bold bullets and a rules heading outside the markers passes bootstrap
- The same text inside the markers is still refused
- A whole-file target is judged as before
Validace
- bin/majordomus plan validate
- MJ_TEST_JOBS=4 bash test/run.sh <the case this issue adds>
Požadované důkazy
- region_host_is_not_judged_case
Důkazy
| pokrývá | typ | command | výsledek | u commitu |
|---|---|---|---|---|
| region_host_is_not_judged_case | test | MJ_TEST_JOBS=4 bash test/run.sh 13_region_projection | failed before the fix with 'did not expect /FAIL bootstrap/ in doctor.out'; ok after it (1 passed, 0 failed); neighbours 03_update and 899_a_bootstrap_names_only_rules_in_force ok | e506c04 |
| region_host_is_not_judged_case | test | MJ_TEST_JOBS=4 bash test/run.sh 13_region_projection | on master f0696ec535 plus the fix: ok (with 03_update and 899 ok, 3 passed 0 failed); before the fix it failed with 'did not expect /FAIL bootstrap/ in doctor.out' | f0696ec |
Časová osa
- zahájeno
- 2026-10-13T11:17:46Z
- ověřeno
- 2026-10-13T18:08:39Z
- dokončeno
- —
Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.
Canonical record: .ai/repo/project/issues/I2588.yaml. Read it back with majordomus plan show I2588.