Skip to content

Greenfield proofs: eliminate ~177 Obj.magic escape hatches (auth/MCP/policy) #34

@hyperpolymath

Description

@hyperpolymath

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions