consensus-persona-respawn
INLINECODE0 is the adaptive maintenance loop for persona governance.
What this skill does
- - identifies dead/weak personas by trigger or reputation threshold
- mines historical decision artifacts for mistake patterns
- generates successor persona profiles informed by those failures
- writes
persona_respawn and updated persona_set artifacts - keeps governance panel quality from stagnating
Why this matters
A static evaluator panel drifts over time. This skill provides lifecycle renewal so consensus quality improves instead of degrading.
Ecosystem role
Consumes persona-engine outputs for long-term adaptation and ties directly into board-ledger evidence.
Best use cases
- - long-running agent teams
- recurring decision domains with repeated failure classes
- autonomous systems requiring evaluator maintenance
Runtime and network behavior
- - runtime binaries:
node, INLINECODE4 - network calls: none in shipped respawn logic
- environment config read by this package:
CONSENSUS_STATE_FILE, INLINECODE6 - filesystem writes: board/state artifacts under the configured consensus state path
Dependency trust model
- -
consensus-guard-core is the first-party consensus package used in runtime execution - versions are semver-pinned in
package.json for reproducible installs - this skill does not request host-wide privileges and does not mutate other skills
Install
CODEBLOCK0
Quick start
CODEBLOCK1
Tool-call integration
This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):
- - readBoardPolicy
- getLatestPersonaSet / getPersonaSet
- writeArtifact / writeDecision
- idempotent decision lookup
This keeps board orchestration standardized across skills.
Invoke Contract
This skill exposes a canonical entrypoint:
INLINECODE10 executes persona replacement based on lineage and failure patterns. Reputation deltas are expected from consensus-persona-engine outputs.
consensus-persona-respawn
consensus-persona-respawn 是用于角色治理的自适应维护循环。
该技能的功能
- - 通过触发器或声誉阈值识别失效/弱化角色
- 挖掘历史决策工件以发现错误模式
- 基于这些失败生成继任角色配置文件
- 写入 personarespawn 和更新的 personaset 工件
- 防止治理面板质量停滞不前
为何重要
静态评估面板会随时间漂移。该技能提供生命周期更新,使共识质量得以提升而非退化。
生态系统角色
消耗角色引擎输出以实现长期适应,并直接与账本证据板关联。
最佳使用场景
- - 长期运行的代理团队
- 存在重复失败类别的周期性决策领域
- 需要评估者维护的自主系统
运行时与网络行为
- - 运行时二进制文件:node、tsx
- 网络调用:已发布的再生逻辑中无网络调用
- 此包读取的环境配置:CONSENSUSSTATEFILE、CONSENSUSSTATEROOT
- 文件系统写入:配置的共识状态路径下的板/状态工件
依赖信任模型
- - consensus-guard-core 是运行时执行中使用的第一方共识包
- 版本在 package.json 中使用 semver 固定,以实现可重复安装
- 该技能不请求主机级权限,也不修改其他技能
安装
bash
npm i consensus-persona-respawn
快速开始
bash
node --import tsx run.js --input ./examples/input.json
工具调用集成
该技能通过共享的 consensus-guard-core 包装器连接到共识交互合约边界(适用时):
- - readBoardPolicy
- getLatestPersonaSet / getPersonaSet
- writeArtifact / writeDecision
- 幂等决策查找
这使得板编排在各技能间保持标准化。
调用合约
该技能暴露一个规范入口点:
- - invoke(input, opts?) -> Promise
invoke() 基于谱系和失败模式执行角色替换。声誉增量预期来自 consensus-persona-engine 的输出。