SpecsCLIProperty Testing in Delivery
Property Testing in Delivery Implementation Notes
Implementation Notes
Execution and Reconciliation
| Task | Task Result input identities | Parent Task Gate | Reconciliation | Summary blocker / next action | Architecture Checkpoint | Final acceptance | Code Review |
|---|---|---|---|---|---|---|---|
| T1 IP-538 | skills 348c3a3 → 5644b65 | passed | complete | — | A1 | passed | pass 1 f001/f002 repaired |
| T2 IP-539 | skills 348c3a3 → 5321472 | passed | complete | — | A1 | passed | pending |
| T3 IP-540 | skills 5321472 → 20d9c47 | passed (one unaccepted rule removed) | complete | — | A2 | passed | pending |
| T4 IP-541 | skills 5321472 → 71ba620 | passed | complete | — | A2 | passed | pending |
| T5 IP-542 | skills 5321472 → 1604797 | passed | complete | — | A2 | passed | pending |
| T6 IP-543 | skills 1604797 → 52b9e1a | passed | complete | — | A3 | passed | pending |
| T8 IP-544 | skills 1604797; ci-app 201632666, bdb8ff86, b90c390f | passed; skill gaps fixed in b1e3153, 0da31e0 | complete | — | A3 | passed | pending |
| T7 IP-545 | skills tag sync/property-testing-delivery-0da31e06bcd2; HI 29716a365 | passed | complete | — | A4 | passed | pending |
Summary
- Skills (
wearedevpunks/skillsmain,348c3a3→0da31e0):tddgainsproperties.mdandsensitivity.md, the Tautological anti-pattern and a red-green loop; Spec Invariants travel grill → spec → plan → worker;effectgainsreferences/PROPERTY_TESTING.md; newmodel-checkingskill and thecreate-architectureModel step; review,make-tsuiteanddebugging-phasecheck and produce test evidence; grill close writesGLOSSARY-MAP.md. - HI: sync pin,
model-checkingin thetypescriptPack, wiki skill pages, runbook pin,BASELINE_CHANGELOG.mdUnreleased.
Deviations From the Plan
- Q40 (user decision during T8): pin
tsprover@0.0.2only. T8 showedtsprover@0.0.2depends ontla-ts ^0.0.2, so the acceptedtla-ts@0.0.3pin never reachedcheck: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:470andask-hi/references/requirements.mdoutside its owned paths, to follow thecreate-architecturestep renumbering. Accepted: direct consequence of AC-014. - T6 extended the
make-tsuitelink checker to strip#fragmentbefore 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,@fairMutant for@leadsTo, unreachable-Mutant rule, trace parameters read from state changes, hand-minimised Pinned Replays) and0da31e0(pin, ghost state, bounded shapes are not Generator Narrowing, declare a Schema when none exists). PROPERTY_RUNSenv 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/Unionbranches (T8 probe); covered by the hand-minimisation rule. Schema.Finitestill generates-0(T4); documented.
Sanity Checks
| Check | Result | Notes |
|---|---|---|
skills node --test tests/*.test.mjs | 393/393 pass | at 0da31e0 |
HI packs.test.ts, skills.test.ts | 9/9 pass | after rebase on be572e5dc |
HI check-types, lint | pass | apps/cli |
wiki check:health, check:content | 10 pre-existing findings; content current | none new |
| release classification | baseline (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).
| Task | Skill | Status | How / where |
|---|---|---|---|
| T1 | writing-for-agents | applied | SKILL.md keeps the Hard Law line and one properties.md pointer; table and procedure disclosed; Done-when criteria |
| T1 | tdd | applied | contract test RED (8/8 fail) before edits |
| T1 | codebase-design | applied | Form values and evidence fields are tdd-owned public seams |
| T2 | writing-for-agents | applied | one step with checkable criterion; format linked, not restated |
| T2 | tdd | applied | routed-glossary-consumers RED before edit |
| T2 | domain-modeling | applied | upstream GLOSSARY-MAP.md ## Contexts line format; format file asserted |
| T3 | writing-for-agents | applied | plan-schema is the single field authority; others link |
| T3 | tdd | applied | spec-invariant-carry-down RED (0/6) first |
| T4 | writing-for-agents | applied | one Branch Chooser pointer; tdd patterns linked |
| T4 | tdd | applied | effect-property-testing RED (ENOENT) first |
| T4 | effect | applied | names verified in effect@4.1.0 d.ts and opensrc |
| T5 | writing-for-agents | applied | model-invoked description, one trigger per branch, Done-when steps |
| T5 | tdd | applied | model-checking RED (0/8) first; Model smoke as Sensitivity Proof |
| T5 | codebase-design | applied | one service per Model; composition file as the map |
| T6 | writing-for-agents | applied | one bullet per owner link; no restated procedure |
| T6 | tdd | applied | test-evidence-checks + make-tsuite RED first |
| T6 | make-tsuite | applied | merge refines merge; no new disposition |
| T8 | model-checking | applied | skill gaps reported (8) and fixed in b1e3153, 0da31e0 |
| T8 | effect | applied | PROPERTY_TESTING.md for the #381 property; names checked in ci-app effect 4.0.1 types |
| T8 | tdd | applied | the #381 property's RED on pre-fix 201632666 is the evidence; reverse check passes at bdb8ff86 |
| T7 | writing-for-agents | applied | property-testing chain described once in skill-packs.mdx; others link |
| T7 | tdd | applied | packs.test.ts RED before catalog edit |
| T7 | hi-cli | applied | sync receipt commit 0da31e06… verified byte-identical |
| T7 | docs-ingest-phase | applied | meta.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 ineffect;tsproverpin only inmodel-checkingand thecreate-architecturecheck command. Migration ledger empty. Zero drift.
UI Evidence Links
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.tsonmaterializePackageKnowledge, at201632666(bdb8ff86^1):Property falsified after 6 run(s) and 1 shrink(s); replay token[0,"6282430533648173",5,1,[2],"PropertyError"]. Atbdb8ff86it passes (3 runs default, 1 at 3000 runs). Nothing merged; clone removed. - AC-022 (#402 Model):
change-log-resync.proof.tsatb90c390f: faithful Model violatesnoSilentGap(openwithout Last-Event-ID →commit→drop→open). Classified as a real design finding; reported to the SDK thread146d4ea5. Fix variant passes, 26,984 states; Mutants M1 (retention guard), M2 (seq > cursor), M3 (@fairon ping) each violate their property.
Acceptance Criteria Status
| AC | Status | Evidence |
|---|---|---|
| AC-001–AC-004 | met | 20d9c47; spec-invariant-carry-down test |
| AC-005–AC-009 | met | 5644b65; tdd-property-testing test |
| AC-010 | met | 5644b65 procedure, 20d9c47 parent gate |
| AC-011, AC-012 | met | 71ba620; effect-property-testing test |
| AC-013–AC-015 | met (amended by Q40, Q41) | 1604797, b1e3153, 0da31e0; model-checking test; Model smoke |
| AC-016–AC-018 | met | 52b9e1a; test-evidence-checks, make-tsuite tests |
| AC-019 | met | 5321472; routed-glossary-consumers test |
| AC-020 | pending publication | Pack and sync done; hi diff evidence after Baseline publication |
| AC-021 | met | wiki skill pages in 29716a365 |
| AC-022, AC-023 | met | Behavior Verification Evidence above |
Manual Review Checklist
- Read
tdd/properties.mdandtdd/sensitivity.mdend to end. - Read
model-checking/SKILL.mdSteps and Commit and CI. - Check
BASELINE_CHANGELOG.mdUnreleasedcompatibility notes.
Pre-existing Issues
- Wiki health: 10 structural findings before this delivery.
skill-packshas no discovery-map entry inproject/index.mdx.
Out of Scope Observations
effectskill description does not mention property tests (trigger reach).- HI pins
effect4.0.0-beta.101, notlatest.
Remaining Work
- Baseline publication and the
hi diffcheck 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.