The adapters package imported under another name is an import of the writer's adapter, and record 0215 says which aliased harness.apply records (#876)
Merged
DO
6d ago+12+12+01234567890123456789-5-5-0123456789
Fixes #876
This follows #875 (record 0215), on the Factory Builder's ruling of 2026-11-14.
- Importing the adapters package under another name.
import adapters as apiis ordinary style, so good-faith code may write it. Intools/check_authority.py_calls_a_recorder, a step that imports, under any name, a package holding the writer's adapter is now refused as one that imports the writer's adapter. A step that does that cannot callapi.opening.open_pull_requestitself beside the recorder it reaches. A step that importsadapters.github as gh, orfrom adapters import github, is unaffected. A plainimport adapterswas already refused. - Record 0215 states which aliased
harness.applyrecords the opening. A new Boundaries row says thatimport harness.apply as a; a.opened(...)records the opening. What records nothing isharness.apply.openedspelt out when only that alias is bound. #875's row meant this, but its wording said otherwise. No existing row changes.
Recorder calls in nested or dead code are still declined, under 0215's good-faith row, as ruled.
Held by
tests/test_tools.py::test_a_role_named_to_open_pull_requests_waits_on_its_writergains theimport adapters as apicase, which is refused.- The new mutant, "the adapters package imported under another name is no import of the writer's adapter", is killed by that case.
- All 154 mutants of
check_authority.pyandcheck_examples.pyare killed. make checkspasses.
Second readers
| Reader | Head | Result |
|---|---|---|
| Kimi | 77775e66 | no findings |
| Astra | 77775e66 | no findings |
| Claude + security | 77775e66 | One low, taken: the new row read as if the import were refused only beside a direct call; the code refuses the import itself. Reworded in c40e223d. It ran the new mutant alone (killed), tried good-faith job and step imports (none newly refused), and confirmed that no existing row changed |
| Carbon | ā | not run: this week's quota goes to the S3 stack. Owed |
| Muse | ā | not run (quota: the window resets 2026-11-16). Owed |
š¤ Generated with Claude Code