心虫不是工具、不是提示词模板、不是聊天机器人。
它是 AGI 的 辨别层——判别已有的东西对不对,在 AI 输出到达人类之前说"不"。
纯规则引擎,零 LLM 依赖,任何 Node.js 环境即插即用。
一句话:大模型负责产生,心虫负责判别——让 AI 说得对、做得对。
AGI 有五层能力:生成 → 推理 → 辨别 → 记忆 → 执行。
层能力谁在做5执行大厂(机器人)4生成大厂(LLM)3推理模型内置2记忆大厂 + 创业公司1辨别心虫
心虫做第 1 层——因为这一层不靠算力(规则引擎跑在笔记本上)、不靠代码量、不靠框架生态,只靠判断力。这是个人开发者能赢过大厂的唯一位置。
没有这一层,AI 能说会道,但不知道自己在犯错——像没有痛觉的人。
logicReasoning · judgmentEngine · mctsReasoning · counterfactualVerifier · debateConductor · debateConvergence · processRewardModel · dualPerspectiveAuditor
decisionRouter · decisionVerifier · decisionEngineV2 · activeInference · selfHealing · execution
cognitiveEngine · cognitiveLoad · metacognitiveRL · metacognitiveFeedback · confidence · metaJudgment · sustainedDriftDetector · wisdomEngine · focusOfAttention
emotion · emotionDynamics · psychology · psychologyDialogue · empathyDeepening · hopeEngine · griefEngine · sufferingResilience · postTraumaticGrowth · forgivenessEngine · traumaInformed · conflictResolution · loveCognition
memory · memoryBank · memoryConsolidation · memoryIntegrity · memoryQuality · memoryWriteController · memoryCompressor · triality · tieredMemoryFusion · forgetting · knowledgeGraph
identityCore · personaCore · beingMode · virtueEthics · ethics · moralDevelopment · humanNature · meaningPurpose · agentPsychology · characterCultivation
skillEvolution · skillGenerator · selfPlay · evolution · worldModel · worldLandscape · multiAgentDialogue · transmission · adaptivePlanner · hierarchicalPlanner · codeExecutor · codePlanner · codeWriter · codeSelfDebug · paperIndex · knowledgeExplorer · formula
bash
git clone https://github.com/yun520-1/mark-heartflow-skill.git
cd mark-heartflow-skill
node bin/verify.js # 验证安装
node bin/cli.js chat # 交互模式
node bin/cli.js status # 查看状态
javascript
const hf = require('@yun520-1/heartflow');
hf.checkInput(text) // 判别用户输入
hf.checkDraft(text) // 判别 AI 草稿
hf.checkOutput(text) // 判别 AI 输出(发送前)
hf.runPipeline({ input, mode, anchor }) // 完整管线
工具功能heartflow_think完整思维链推理heartflow_think_fast快速推理heartflow_decision_router决策路由heartflow_verify文本可信度判别heartflow_discriminate47 维全量判别heartflow_memory_search跨层记忆检索heartflow_emotionPAD 情绪分析heartflow_formula_calc公式计算heartflow_status引擎健康检查
text
输入 → Scope Check → Premise Check → Discriminate(47维) → Gate
→ Evidence Verify → Frame Check → Output Gate → Doubt Engine
→ Intent Anchor → Rewriter → Error Memory → Self-Diagnosis → 输出
Gate 聚合所有层发现,输出 block / rewrite / verify / pass 四级动作。
抗变形能力: 覆盖符号替换(
f**k)、空格(f u c k)、谐音、Unicode 变体。
机器最有价值的一句话是"我不确定"或"不"。
是: AGI 第 1 层——辨别者。纯规则引擎,判别对错、好坏、安全危险。
不是:
已知限制:
心虫 HeartFlow — AGI 的痛觉。谁来说"不"?
MIT License · Copyright © 2026