Skip to content

Commit d20256e

Browse files
committed
docs(adr): restore the ADR 0019 move-unit size rule
The deletion of the completed checkpoint history (667484c) also removed the operative size rule of section 8. The language commit re-added only one sentence of it. Restore the full rule: the original-baseline and stack-base bounds, the zero-or-negative expected delta, the root-versus-package byte report, the named justification of each addition, type inflation as size growth, and the #1739 evidence home.
1 parent d9e6a67 commit d20256e

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

‎docs/adr/0019-request-bound-platform-runtime.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,20 @@ Git history retains the completed checkpoint procedures and results.
702702

703703
### 8. Broader migration was move-dominated and evidence-tiered
704704

705-
The completed checkpoint budgets provide no allowance for future units.
706-
Each unit must justify exceptional growth individually.
705+
The checkpoint and recordings budgets paid for machinery that later units reuse.
706+
They are not a precedent for growth.
707+
Every post-checkpoint unit still defines its original-baseline cumulative bound and its immediate stack-base delta.
708+
The default expectation is the inverse of the checkpoint.
709+
A unit moves existing platform mechanics from root `src/` into platform packages and deletes superseded daemon code.
710+
Thus the shipped-size delta of the unit trends to zero or negative.
711+
The review of the unit reports root bytes removed against package bytes added.
712+
Net growth is exceptional.
713+
If net growth occurs, the unit names and justifies each contributing addition individually.
714+
Contract modules stay vocabulary-thin under the existing capture-kit rule.
715+
Per-unit type inflation is size growth, and review treats it as size growth.
716+
Raw per-unit parity, planted-red, and size evidence belongs in #1739 and its PRs.
717+
No unit treats the checkpoint budget as an allowance.
718+
707719
Root re-export shims, a broad barrel, or ambient filesystem/process access would reduce source movement.
708720
They would violate package closure, the prohibition on compatibility shims, named facets, host injection, and implementation laziness.
709721

0 commit comments

Comments
 (0)