refactor(directives): strip metadata header from v1.md (36-44 of 51; meta extracted to meta.md)

This commit is contained in:
ed
2026-07-02 23:47:12 -04:00
parent 68352ee206
commit 5b0f932c4b
18 changed files with 91 additions and 82 deletions
@@ -0,0 +1,11 @@
# result_error_pattern
## v1
**Why this iteration:** Lifted verbatim from `conductor/code_styleguides/error_handling.md` §"The 5 Patterns" (lines 21-131) + §"Hard Rules" (lines 213-242).
This is the baseline encoding — the prose+code-example style currently in production.
Future variants will test alternative encodings (rationale-first, tabular) against this baseline.
**Source:** `conductor/code_styleguides/error_handling.md:21-131 + 213-242`
---
**Lifted:** 2026-07-02 (Phase 1 harvest by Tier 3 worker; user directive 2026-07-02 moved the header into this meta file)
@@ -1,13 +1,3 @@
# result_error_pattern — v1
**Why this iteration:** Lifted verbatim from `conductor/code_styleguides/error_handling.md` §"The 5 Patterns" (lines 21-131) + §"Hard Rules" (lines 213-242).
This is the baseline encoding — the prose+code-example style currently in production.
Future variants will test alternative encodings (rationale-first, tabular) against this baseline.
**Source:** `conductor/code_styleguides/error_handling.md:21-131 + 213-242`
---
## The 5 Patterns
### 1. Nil-Sentinel Dataclasses (replaces `None`)