Hf Pub
HeartFlow (心虫) is a rule-based text discrimination engine for AI output validation. 12-module pipeline, 45 discrimination dimensions, zero LLM dependency. npm: @yun520-1/heartflow
Latest: v6.4.1
v6.4.1: Pipeline release. 12-module pipeline, 45 dims, benchmark F1 93.9%
Quick start
const hf = require('@yun520-1/heartflow');
hf.checkInput('text'); // pass/verify/rewrite/block
hf.checkDraft('text'); // check draft before completing
hf.checkOutput('text'); // check AI output before sending
Pipeline
scope-check → premise-check → discriminate(45dim) → gate → verifier → frame-check → output-gate → doubt-engine → error-memory → auto-rules
Install
npm install @yun520-1/heartflow
