octobot/OKF/specs/ferry-python-siblings/D-1-mirror-or-redesign.md
Lukasz Boryn 18d48ce850 docs(spec): ferry the python-siblings feature into three edged decisions
- docs(spec): MAP plus D-1 structure, D-2 mocking doctrine, D-3 content split
- docs(okf): index the ferry directory
2026-07-19 23:24:38 +02:00

703 B

status, blocked-by
status blocked-by
open

D-1 — mirror the R sibling structure, or redesign for Python?

Why it must be decided

Every sibling file's outline depends on it; deciding late means rewriting all six files.

Options

  • A — mirror: same file names and section shapes as the R set; cheapest, symmetrical cross-links from bdd/diagnose already half-exist.
  • B — redesign: Python-first outline (typing, fixtures-as-DI, pytest idioms) where the R shape doesn't fit; better fit, more work, asymmetric maintenance.

Recommendation

A, with per-file deviations allowed when a section would be a no-op in Python — mirror is reversible per file, redesign is not.

Resolution