docs(okf): add type frontmatter to every page, blueprint, and ferry file docs(okf): declare okf_version 0.1 in index frontmatter; rename INDEX.md to reserved lowercase index.md docs(repo): repoint AGENTS.md, CLAUDE.md, README.md at OKF/index.md
23 lines
618 B
Markdown
23 lines
618 B
Markdown
---
|
|
type: Decision
|
|
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 design-codebase.
|
|
- **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
|