Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
test(discord): check channel names and handles against a model
The rename fix (#296) came with a real-daemon scenario that the test rewrite had already restructured around, so it did not apply. The rule lives in refs.gleam's upsert and lookup, which an in-process model reaches directly: operation histories of observed names, subscription labels and name lookups over three channels and three names, checked after each step. An observed name replaces the recorded one, a label only fills a missing one, handles never change, and a lookup ignores case and a leading # and is ambiguous when two channels share a name. Planted defects (the pre-fix upsert, observed names ignored, a case-sensitive lookup, every channel numbered 1) each fail it.
Author
aly.codes Date (Nov 21, 2026, 12:42 PM UTC) Commit
Copy SHA
Parent 78d95d69 78d95d69124c09d5409da1d746ecd831d0864a7a