Been using Tinderbox, in fits and starts, for a bit over a year now. I use it for all sorts of different stuff and the crazy bit is that I haven’t even scratched the surface,

I’ve used it for daily writing, for brainstorming, for just taking notes, and slowly but steadily trying on more of its feature set. The above shows an adornment for each day, with notes on them, and “task notes” outside, with todo/done states (based on a simple boolean done attribute), both of which are based on prototypes. The entire bunch is part of a composite within the main doc (yes, there’s a bit of vocabulary in the beginning).
The closest parallel I can think of, in a meta-sense, is Emacs — in the sense that it seems to have a huge learning curve and seems a bit useless at the outset, and unsophisticated, compared to a dozen other better-looking, niche tools.
And yet, both are completely programmable. You can define simple rules for the color of a note (as above, toggling between red and green based on a checkbox I added), or more complicated agents that gather notes based on arbitrary criteria.
It’s hard to even make a case for using it — though The Tinderbox Way is the closest I’ve found so far. I’d strongly recommend, on a day when you feel you have an especially open mind, to giving the free trial a try out.