Harness Intelligence Wiki
SpecsCLIProperty Testing in Delivery

Property Testing in Delivery Implementation Notes

Implementation Notes

Execution and Reconciliation

TaskTask Result input identitiesParent Task GateReconciliationSummary blocker / next actionArchitecture CheckpointFinal acceptanceCode Review
T1 IP-538skills 348c3a3 → 5644b65passedcomplete—A1passedpass 1 f001/f002 repaired
T2 IP-539skills 348c3a3 → 5321472passedcomplete—A1passedpending
T3 IP-540skills 5321472 → 20d9c47passed (one unaccepted rule removed)complete—A2passedpending
T4 IP-541skills 5321472 → 71ba620passedcomplete—A2passedpending
T5 IP-542skills 5321472 → 1604797passedcomplete—A2passedpending
T6 IP-543skills 1604797 → 52b9e1apassedcomplete—A3passedpending
T8 IP-544skills 1604797; ci-app 201632666, bdb8ff86, b90c390fpassed; skill gaps fixed in b1e3153, 0da31e0complete—A3passedpending
T7 IP-545skills tag sync/property-testing-delivery-0da31e06bcd2; HI 29716a365passedcomplete—A4passedpending

Summary

  • Skills (wearedevpunks/skills main, 348c3a3 → 0da31e0): tdd gains properties.md and sensitivity.md, the Tautological anti-pattern and a red-green loop; Spec Invariants travel grill → spec → plan → worker; effect gains references/PROPERTY_TESTING.md; new model-checking skill and the create-architecture Model step; review, make-tsuite and debugging-phase check and produce test evidence; grill close writes GLOSSARY-MAP.md.
  • HI: sync pin, model-checking in the typescript Pack, wiki skill pages, runbook pin, BASELINE_CHANGELOG.md Unreleased.

Deviations From the Plan

  • Q40 (user decision during T8): pin tsprover@0.0.2 only. T8 showed tsprover@0.0.2 depends on tla-ts ^0.0.2, so the accepted tla-ts@0.0.3 pin never reached check:models. SPEC AC-013/AC-015 and ARCHITECTURE ARC-005 amended (d7372bf2, 44e28b23).
  • Q41 (user decision during T8): a Model may carry consumer state as ghost variables.
  • T3 added "one Form per task" in tdd-shaping.md; the parent removed it (not accepted).
  • T5 changed tests/requirements-grill-graph.contract.test.mjs:470 and ask-hi/references/requirements.md outside its owned paths, to follow the create-architecture step renumbering. Accepted: direct consequence of AC-014.
  • T6 extended the make-tsuite link checker to strip #fragment before the existence check. Accepted: required by the new anchored links.

Surprises and Decisions

  • T8 found real gaps in the new skills; fixed in b1e3153 (package-root relative paths, @fair Mutant for @leadsTo, unreachable-Mutant rule, trace parameters read from state changes, hand-minimised Pinned Replays) and 0da31e0 (pin, ghost state, bounded shapes are not Generator Narrowing, declare a Schema when none exists).
  • PROPERTY_RUNS env var in the Effect reference is a worker convention; kept as a concrete example of the accepted run policy (user: "idk you decide").
  • Effect 4.0.1 does not shrink Schema-derived Literals/Union branches (T8 probe); covered by the hand-minimisation rule.
  • Schema.Finite still generates -0 (T4); documented.

Sanity Checks

CheckResultNotes
skills node --test tests/*.test.mjs393/393 passat 0da31e0
HI packs.test.ts, skills.test.ts9/9 passafter rebase on be572e5dc
HI check-types, lintpassapps/cli
wiki check:health, check:content10 pre-existing findings; content currentnone new
release classificationbaseline (baseline-changelog), no npm--base origin/main --head HEAD

Skill Application Evidence

One row per implementation_skill_guidance entry in PLAN.md. $simplify ran in every task per its worker brief (Task Results).

TaskSkillStatusHow / where
T1writing-for-agentsappliedSKILL.md keeps the Hard Law line and one properties.md pointer; table and procedure disclosed; Done-when criteria
T1tddappliedcontract test RED (8/8 fail) before edits
T1codebase-designappliedForm values and evidence fields are tdd-owned public seams
T2writing-for-agentsappliedone step with checkable criterion; format linked, not restated
T2tddappliedrouted-glossary-consumers RED before edit
T2domain-modelingappliedupstream GLOSSARY-MAP.md ## Contexts line format; format file asserted
T3writing-for-agentsappliedplan-schema is the single field authority; others link
T3tddappliedspec-invariant-carry-down RED (0/6) first
T4writing-for-agentsappliedone Branch Chooser pointer; tdd patterns linked
T4tddappliedeffect-property-testing RED (ENOENT) first
T4effectappliednames verified in effect@4.1.0 d.ts and opensrc
T5writing-for-agentsappliedmodel-invoked description, one trigger per branch, Done-when steps
T5tddappliedmodel-checking RED (0/8) first; Model smoke as Sensitivity Proof
T5codebase-designappliedone service per Model; composition file as the map
T6writing-for-agentsappliedone bullet per owner link; no restated procedure
T6tddappliedtest-evidence-checks + make-tsuite RED first
T6make-tsuiteappliedmerge refines merge; no new disposition
T8model-checkingappliedskill gaps reported (8) and fixed in b1e3153, 0da31e0
T8effectappliedPROPERTY_TESTING.md for the #381 property; names checked in ci-app effect 4.0.1 types
T8tddappliedthe #381 property's RED on pre-fix 201632666 is the evidence; reverse check passes at bdb8ff86
T7writing-for-agentsappliedproperty-testing chain described once in skill-packs.mdx; others link
T7tddappliedpacks.test.ts RED before catalog edit
T7hi-cliappliedsync receipt commit 0da31e06… verified byte-identical
T7docs-ingest-phaseappliedmeta.json listing for every changed page; skill-packs discovery-map entry absent before this delivery (Pre-existing Issues)

Architecture Conformance Evidence

  • RAC-1 … RAC-8 green at their waves. Ownership: Form values and Sensitivity Proof live only in tdd; Effect names only in effect; tsprover pin only in model-checking and the create-architecture check command. Migration ledger empty. Zero drift.

Not applicable: no user-visible UI changed.

Runtime Validation Evidence

Not applicable: runtime_validation: not_required for every task.

Behavior Verification Evidence

  • AC-023 (#381 replay): property policies.property.test.ts on materializePackageKnowledge, at 201632666 (bdb8ff86^1): Property falsified after 6 run(s) and 1 shrink(s); replay token [0,"6282430533648173",5,1,[2],"PropertyError"]. At bdb8ff86 it passes (3 runs default, 1 at 3000 runs). Nothing merged; clone removed.
  • AC-022 (#402 Model): change-log-resync.proof.ts at b90c390f: faithful Model violates noSilentGap (open without Last-Event-ID → commit → drop → open). Classified as a real design finding; reported to the SDK thread 146d4ea5. Fix variant passes, 26,984 states; Mutants M1 (retention guard), M2 (seq > cursor), M3 (@fair on ping) each violate their property.

Acceptance Criteria Status

ACStatusEvidence
AC-001–AC-004met20d9c47; spec-invariant-carry-down test
AC-005–AC-009met5644b65; tdd-property-testing test
AC-010met5644b65 procedure, 20d9c47 parent gate
AC-011, AC-012met71ba620; effect-property-testing test
AC-013–AC-015met (amended by Q40, Q41)1604797, b1e3153, 0da31e0; model-checking test; Model smoke
AC-016–AC-018met52b9e1a; test-evidence-checks, make-tsuite tests
AC-019met5321472; routed-glossary-consumers test
AC-020pending publicationPack and sync done; hi diff evidence after Baseline publication
AC-021metwiki skill pages in 29716a365
AC-022, AC-023metBehavior Verification Evidence above

Manual Review Checklist

  • Read tdd/properties.md and tdd/sensitivity.md end to end.
  • Read model-checking/SKILL.md Steps and Commit and CI.
  • Check BASELINE_CHANGELOG.md Unreleased compatibility notes.

Pre-existing Issues

  • Wiki health: 10 structural findings before this delivery.
  • skill-packs has no discovery-map entry in project/index.mdx.

Out of Scope Observations

  • effect skill description does not mention property tests (trigger reach).
  • HI pins effect 4.0.0-beta.101, not latest.

Remaining Work

  • Baseline publication and the hi diff check in /home/stefan/repos/next-effect-app (AC-020), at closeout.

Steering

  • Q40, Q41 and the #402 finding hand-off: user answers on 2026-10-29.

On this page