Skip to content

Spec Harness v0.24.0

Choose a tag to compare

@MicTx MicTx released this 04 Nov 11:52
· 23 commits to main since this release

[0.24.0] - 2026-11-04

Added

  • 失误方向统计:完成总结新增 DEFERENCE / OVERREACH / KNOWLEDGE / PROCESS 计数,数据来自偏离日志、修正日志和结构化审查结果。该部分只做统计,不会自动调整 Autonomy。
  • Mistake direction statistics: Completion summaries now count DEFERENCE / OVERREACH / KNOWLEDGE / PROCESS from deviation rows, correction rows, and structured review results. The section only reports and never adjusts Autonomy automatically.
  • 外部事实证据:影响计划的版本、API、弃用、安全、价格或配额事实必须记录一手来源、日期、反证检索和受影响的假设。来源日期未知或无网络时,该事实保持 UNVERIFIED-EXTERNAL。
  • External fact evidence: Plan-changing facts about versions, APIs, deprecations, security notices, pricing, and quotas must record primary sources, dates, counter-evidence searches, and affected assumptions. Facts with unknown source dates or no network access stay UNVERIFIED-EXTERNAL.
  • Bash 写入缺口设计记录:新增架构决策文档,比较保守命令匹配、验收期路径审计和分层防护三种方案,推荐优先采用验收期 diff 边界,并写明改变该推荐的条件。
  • Bash write-gap design record: A new architecture decision record compares a conservative command matcher, acceptance-time path audit, and a layered guard, recommends the acceptance-time diff boundary first, and states the condition that would change that recommendation.

Changed

  • BREAKING — 任务包验收契约:LITE/FULL 包必须声明 UI surface: changed|unchanged,交互面变化必须绑定可重放的 Browser check 命令,并原样写入 machine verify。完成总结中的机器成功声明必须写成 命令 -> exit 0 (runs:<task>),并与真实通过的运行记录一致。
  • BREAKING — Package acceptance contract: LITE/FULL packages must declare UI surface: changed|unchanged, and a changed interactive surface must bind a replayable Browser check command that appears verbatim in a machine verify step. Machine success claims in completion summaries must use command -> exit 0 (runs:<task>) and match an actual passing run.
  • FULL 方案阶梯收敛:FULL 只强制 B0/B1,B2/B3 仅在合理时出现且必须实质填写。四个 reading 固定为 literal ask / minimal change / recommended alternative / no new build。
  • FULL option ladder: FULL requires only B0/B1, and B2/B3 appear only when plausible and must be substantive. The four readings are fixed to literal ask / minimal change / recommended alternative / no new build.
  • 数据作用域审查:审查时会检查候选集合是否只使用同一对象作用域的数据,防止全量历史数据混入当前对象的结果。
  • Data-scope review: Review now checks that candidate sets use only data from the same object scope, so full-history data cannot leak into a current-object result.
  • 任务包意图与偏离:spec.md 模板新增 literal ask、推断结果、结构化假设、方案阶梯、修正日志和偏离日志。审查会区分超出需要的改动、字面请求偏离和目标漂移,不可逆偏离必须获得本任务所有者的授权。
  • Package intent and deviations: The spec.md template now includes a literal ask, inferred outcome, structured assumptions, an option ladder, a correction log, and a deviation log. Review distinguishes unneeded additions, literal-ask deviations, and goal drift, and irreversible deviations require an owner grant for that task.
  • LITE 契约补齐:LITE 的五个 Intent 字段可以各写一行短语,B0 与 B1 相同时方案阶梯可以只写 B0 is the minimal change.。LITE/FULL 的修正日志和偏离日志在没有事件时必须保留一行 none。
  • LITE contract completion: Each of the five LITE Intent fields may be one short phrase, and when B0 and B1 match the option ladder may contain only B0 is the minimal change.. LITE/FULL correction and deviation logs must keep one none line when empty.
  • 按新信息停止修正:检查循环默认不再固定三轮后停止,每轮失败都必须记录新输出、新定位到的路径或被证伪的假设。连续多轮没有新信息时,会改换策略或交由所有者决定。
  • Evidence-based correction stopping: Check loops no longer stop after a fixed three rounds by default, and every failed round must record new output, a newly located path, or a falsified assumption. Repeated rounds without new information trigger a strategy change or escalate to the owner.

Fixed

  • 默认日志遗漏:修正日志和偏离日志在默认情况下不再被遗漏。
  • Default log omission: Correction and deviation logs are no longer omitted by default.
  • 重复章节绕过:重复的章节不再能绕过契约检查。
  • Duplicate-section bypass: Duplicated sections can no longer bypass contract checks.
  • Autonomy 授权缺口:缺少相应授权的操作不再能通过 Autonomy 检查。
  • Autonomy authorization gap: Actions without the required grant no longer pass Autonomy checks.