<$list filter="[!has:tags[]prefix[Context_]tag[Task]]" variable="item">
I argued elsewhere recently to avoid compound keys in titles, but since that's what you have try;
'
<$list filter="[tag[Task]] +[!prefix[context_]]" variable="item">'
which list all items taged task and for each of these tests the prefix. Untested!
tony
When at my desktop I will make it work.
I can also share the way I manage contexts.
Fyi I like the fact tags can be made into tiddlers and then sometimes use the tag tiddler to list the tiddlers so tagged. In that case they do become compound keys.
I am talking here of an ideal organising method so its not a criticism of what you are doing just an illustration.
Another way to "categorise tags" is to tag them. An example would be tag new done canceled closed tags with the "status" tag. Then when listing tags on the current tiddler you can test if a given tag is itself tagged status, then you can identify the status tag(s). On in fact there is no status tag on the current tiddler.
Enjoy
Tony
<$list filter="[tag[Task]] +[!prefix[context_]]" variable="item">'
<$set name=badones filter="[tag[Task]tags[]prefix[Context_]tagging[]]"><$list filter="[tag[Task]] -[enlist<badones>]"/></$set>
What does the "tagging[]" thing do?