T-2
—
IMPROVE
agent:red-forman • today
BLOCKER
LibraryServer.start() mutated the shared _Handler class: two instances cross-wired — server A admitted events into server B's packs. Live-demonstrated by the reviewer.
fix: Per-instance binding via
type('Bound', ...) exactly as InterviewServer does.
DEFECT
list_specs read file-layout keys off the normalized doc: every real pack showed the folder name as title and empty updated; the sort on updated was dead.
fix: Read title/updated;
DERIVE the stage through derive_deliverable — never trust a stored copy (this also fixed three frozen packs displaying 'drafted', flagged by the worker before the verdict).
DEFECT
Fixed default port 8788 bound by tests: the suite failed whenever the standing library ran (5 failed/192 reproduced).
fix: LibraryServer defaults ephemeral; the CLI passes 8788.
DEFECT
A pack whose internal name differed from its folder was listed under a name that 404s.
fix: The folder is the route key; the internal name is display-only.