Context
Hand-off cargo from the stapeln proof-sweep thread (hyperpolymath/stapeln#89).
svalinn carries ~177 Obj.magic escape hatches across the auth / MCP /
policy layers — each is an unchecked type coercion that voids the safety the
type system would otherwise give.
Scope
- Replace
Obj.magic with verified/typed alternatives in auth, MCP adapter,
and policy code.
- This is gated on the AffineScript migration (the affine type system is the
intended target surface; doing it in the deprecated ReScript first would be
throwaway work).
Related
Acceptance criteria
Filed as hand-off from the proof-sweep work; see stapeln PROOF-BACKLOG.md →
"SIDE-PROJECTS TO HAND OFF" item 3.
Context
Hand-off cargo from the stapeln proof-sweep thread (hyperpolymath/stapeln#89).
svalinn carries ~177
Obj.magicescape hatches across the auth / MCP /policy layers — each is an unchecked type coercion that voids the safety the
type system would otherwise give.
Scope
Obj.magicwith verified/typed alternatives in auth, MCP adapter,and policy code.
intended target surface; doing it in the deprecated ReScript first would be
throwaway work).
Related
worth clearing as part of, or before, this effort.
Acceptance criteria
Obj.magiccount driven down (track a burndown).Obj.magicintroduced (add a gate once at zero).Filed as hand-off from the proof-sweep work; see stapeln
PROOF-BACKLOG.md→"SIDE-PROJECTS TO HAND OFF" item 3.