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
This commit is contained in:
parent
794b25a666
commit
18d48ce850
@ -19,3 +19,4 @@ your task needs. Humans welcome too.
|
||||
## Specs
|
||||
|
||||
- [001](specs/001-add-write-readme-r.md) — add write-readme-r skill — draft
|
||||
- [ferry-python-siblings](specs/ferry-python-siblings/MAP.md) — Python siblings for bdd/diagnose — 3 open decisions
|
||||
|
||||
23
OKF/specs/ferry-python-siblings/D-1-mirror-or-redesign.md
Normal file
23
OKF/specs/ferry-python-siblings/D-1-mirror-or-redesign.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
status: open
|
||||
blocked-by: []
|
||||
---
|
||||
|
||||
# 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
|
||||
21
OKF/specs/ferry-python-siblings/D-2-mocking-doctrine.md
Normal file
21
OKF/specs/ferry-python-siblings/D-2-mocking-doctrine.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
status: open
|
||||
blocked-by: [D-1]
|
||||
---
|
||||
|
||||
# D-2 — mocking doctrine: facade + DI only, or bless monkeypatch?
|
||||
|
||||
## Why it must be decided
|
||||
mocking-py.md is the normative file bdd points at before any `patch`
|
||||
call; its stance decides what reviews flag.
|
||||
|
||||
## Options
|
||||
- **A — facade + DI only**: monkeypatch/patch treated like mockery::stub
|
||||
in R — a smell needing justification. Consistent with codebase-design.
|
||||
- **B — bless monkeypatch at seams**: pragmatic pytest idiom, weaker
|
||||
seam discipline.
|
||||
|
||||
## Recommendation
|
||||
A — matches the R doctrine and the existing bdd "seams only" rule.
|
||||
|
||||
## Resolution
|
||||
@ -0,0 +1,21 @@
|
||||
---
|
||||
status: open
|
||||
blocked-by: [D-1]
|
||||
---
|
||||
|
||||
# D-3 — feedback-loops-py vs instrumentation-py: where does the split fall?
|
||||
|
||||
## Why it must be decided
|
||||
diagnose links both; overlapping content (pdb in both?) would violate
|
||||
one-fact-one-home.
|
||||
|
||||
## Options
|
||||
- **A — R-parallel split**: loops = constructing red-capable commands;
|
||||
instrumentation = interactive inspection (breakpoint, --pdb, cProfile).
|
||||
- **B — merge into one file**: fewer files, but breaks the R symmetry
|
||||
and the diagnose phase-1/phase-4 pointer split.
|
||||
|
||||
## Recommendation
|
||||
A — the two diagnose phases consume them separately.
|
||||
|
||||
## Resolution
|
||||
12
OKF/specs/ferry-python-siblings/MAP.md
Normal file
12
OKF/specs/ferry-python-siblings/MAP.md
Normal file
@ -0,0 +1,12 @@
|
||||
# ferry — python-siblings
|
||||
|
||||
Destination: bdd and diagnose carry Python reference siblings of the
|
||||
same depth as their R ones (tests-py, mocking-py, interface-design-py,
|
||||
docstrings-py, feedback-loops-py, instrumentation-py), so /dev-python
|
||||
stops pointing at acknowledged gaps.
|
||||
|
||||
| id | decision | status | blocked-by | spec |
|
||||
|---|---|---|---|---|
|
||||
| D-1 | mirror R sibling structure or redesign for Python? | open | — | |
|
||||
| D-2 | mocking doctrine: facade+DI only, or bless pytest monkeypatch? | open | D-1 | |
|
||||
| D-3 | split of feedback-loop vs instrumentation content for diagnose? | open | D-1 | |
|
||||
Loading…
x
Reference in New Issue
Block a user