Content alignment scanner · v0.2
Coherence Widget
Scan any content for alignment with the Hub’s Ontology. Score it. Flag it. Fix it.
Try it now
Paste your copy and scan, or scan the text of this page.
The v0.2 Bookmarklet
Plain JavaScript, no backend, no API cost. Drag the button to your bookmarks bar, then click it on any website to run the same ontology scan in an overlay.
View source
(function(){
var V=['best','great','innovative','disruptive','revolutionary','quality','solution','solutions','modern','synergy','world-class','cutting-edge','state-of-the-art','seamless','robust','scalable','customer satisfaction'];
var C=['we will','we promise','we deliver','we guarantee','we commit'];
var F=['contact us for more information','contact us to learn more','reach out','get in touch'];
var O=['trust','coherence','agency','contribution','witness','deposit','extraction'];
var text=document.body.innerText||'';
var low=text.toLowerCase();
var flags=[];
function add(terms,layer,why,sug,w){
terms.forEach(function(t){
var tl=t.toLowerCase(),idx=0;
while((idx=low.indexOf(tl,idx))!==-1){
var b=idx===0||/[^a-z0-9]/.test(low.charAt(idx-1));
var a=(idx+tl.length)>=low.length||/[^a-z0-9]/.test(low.charAt(idx+tl.length));
if(b&&a){flags.push({term:text.substr(idx,tl.length),layer:layer,why:why,sug:sug,w:w});}
idx+=tl.length;
}
});
}
add(V,'Vague','Unmeasurable / subjective.','Use a specific, verifiable metric.',5);
add(C,'Commitment','Commitment not logged in the Hub.','Log it in the Decision Ledger.',8);
add(F,'Friction','Requires a human gatekeeper.','Use a direct, embedded action.',6);
add(O,'Ontology','Used without a definition.','Reference the Hub metric (e.g., 90-day Trust Score).',3);
var ded=0;for(var i=0;i<flags.length;i++){ded+=flags[i].w;}
var score=Math.max(0,100-ded);
var old=document.getElementById('__chw');if(old){old.remove();}
var d=document.createElement('div');
d.id='__chw';
d.style.cssText='position:fixed;bottom:16px;right:16px;width:320px;max-height:60vh;overflow:auto;z-index:2147483647;background:#F5F2EB;border:1px solid #2C3A3A;border-radius:12px;padding:14px;font-family:system-ui,sans-serif;color:#2C3A3A;font-size:12px;box-shadow:0 8px 30px rgba(0,0,0,.25);line-height:1.4';
var h='<div style="font-weight:700;font-size:13px;margin-bottom:6px">Coherence Scan</div>';
h+='<div style="margin-bottom:8px">Coherence Score: <b>'+score+'/100</b> '+(score>=80?'<span style="color:#4A5D3A">Coherent</span>':'')+'</div>';
h+='<div style="margin-bottom:6px">'+flags.length+' flag(s):</div>';
flags.slice(0,12).forEach(function(f){h+='<div style="border-left:3px solid #B87A6A;padding-left:7px;margin:5px 0"><b>'+f.term+'</b> - '+f.layer+'<br><span style="color:#5A6E6E">'+f.sug+'</span></div>';});
if(flags.length>12){h+='<div style="color:#8B8378">+'+(flags.length-12)+' more</div>';}
h+='<div style="margin-top:8px"><button id="__chwx" style="cursor:pointer;border:1px solid #2C3A3A;background:#fff;border-radius:8px;padding:4px 10px;font-size:11px">Dismiss</button></div>';
d.innerHTML=h;document.body.appendChild(d);
document.getElementById('__chwx').onclick=function(){d.remove();};
})();Trust Badge (score ≥ 80)
Coherence Verified
This site aligns with the Coherence Hub Ontology.
Score: 84/100 · Verified 2026-08-31
Feedback loop
Each scan’s aggregated score feeds the Module Feedback Ledger. Repeatedly flagged terms enter the Ontology review queue. Sites holding ≥ 80 earn a Trust-Score boost.