overview open-problem

Problems found while specifying or building Sophia, numbered SP-nnn (the S keeps them apart from Moonkale’s P-nnn). Each problem gets a note made from Problem Template and a line here. Closed problems stay listed, with what closed them.

#ProblemStatus
SP-001 Comments inside a definition bodyThe core has no place for an inline comment, so printing back loses comments written inside a bodyopen
SP-002 Propagating an update to dependantsEditing f leaves its dependants on the old fopen, later
SP-003 Display names of alpha-equivalent definitionsTwo definitions that differ only in local names are one definition, with one set of namesaccepted wart
SP-004 Moonkale operations are file-shapedAnnotations and structural edits have no Op yetopen, later
SP-005 Lineages under merge and forkMany-to-many lineages need merge rules once branches existopen, later
SP-006 Open method tables versus content addressingMultiple dispatch’s open method tables against hash identity: generic functions become nominal, and dispatch becomes derived factsopen, proposal
SP-007 Index base needs an Index typeShowing 0- or 1-based indexing needs to know which integers are positionsopen
SP-008 Edits span several transactionsA text edit is several store transactions, not oneopen
SP-009 Canonical form of queriesLiteral order inside a query body is part of its idopen, accepted for v0
SP-010 Query snapshots are coarseAny logged change invalidates every cached query resultopen
SP-011 Reference edges dominate storage on real codeOn set.mm, 32-byte reference edges take 42 % of the storeopen
SP-012 Record kinds must follow from contentA kind that can differ between users of the same content is a role, not a kindenforced (2026-10-20)
SP-013 Julia bindings of modules Sophia has not ingestedWhich function a method extends depends on Base’s bindings (Base.Matrix is Core.Array); 86 wrong owners in LinearAlgebraopen, proposal: a binding table from Julia as an environment artifact
SP-014 The query result cache is never evictedCached query results accumulate in t_meta foreveroption 2 done 2026-11-09 (stale snapshots removed on a miss); option 3, in-memory by default, open
SP-015 Stored definitions deeper than the parse limit cannot be edited7 % of sophia gen definitions print but do not parse back (depth > 128)resolved 2026-10-24: no depth limit; no pass recurses on the call stack, native and wasm