const current = dv.current();
 
const query = `TASK FROM "${current.file.folder}" WHERE contains(tags, "#Character/Trait")`;
 
const feats = await dv.query(query);
const featsText = feats.value.values
    .map(f => f.text);
 
dv.list(featsText);