Harness Intelligence Wiki
Grilling

Property Testing in Delivery Grill Status

Property Testing in Delivery Grill Status

Decision log: property-testing-delivery-grill-log.md. Input: Brainstorm Brief.

Branch Dashboard

BranchCompletionTarget altitudeSettled altitudeLocked directionOpen itemsParked
Scope100%L3L3 (anchors: Q2, Q7, Q10; L2/L3 carried by the other branches)Properties + model checking; TypeScript only—Python, at L1: "we park python" (Q7)
Invariant carry-down100%L3L3 (anchors: Q24, Q25, Q26, Q32, Q34)Spec Invariants table, axiom hint, plan fields, review bullet, debugging bullet——
TDD loop100%L3L3 (anchors: Q27)properties.md, sensitivity.md, Tautological, no Refactor step——
Run policy100%L3L3 (anchors: Q28)per-test reduced DB runs; configureGlobal for deep local runs——
Effect guidance100%L3L3 (anchors: Q28)references/PROPERTY_TESTING.md——
Model checking100%L3L3 (anchors: Q29–Q31, Q38, Q39)model-checking skill; architecture step; check:models; pin-bump rerun——
Sensitivity Proof100%L3L3 (anchors: Q27, Q36, Q37)tdd/sensitivity.md; sensitivity_evidence; parent gate checks—P5 tool-based mutation testing, at L1: "until a make-tsuite audit needs a score"
Suite hygiene100%L3L3 (anchors: Q33)merge rule; sensitivity link——
Glossary path100%L3L3 (anchors: Q35)grill close creates GLOSSARY-MAP.md lazily——
Acceptance evidence100%L1L1 (anchors: Q6)#402 model pilot + #381 throwaway bug replay——

Precision Inputs

  • Brief import: apps/wiki/content/docs/project/grilling/property-testing-delivery-brainstorm-brief.md sha256 547a1c26cfa119e3f06ae694c3e7c0dec1f9cf7b82bdde55f127260fc9cb93b7 R1 (delta Q10–Q14; previous 942a4265… R0)
  • Fog: not supplied
  • Altitude upgrade: not needed
  • Auto-pin: not authorized
  • Conservative closure: not requested
  • Compile gaps: none
  • Planning items handed to create-plan: Brief rollout order (C4 → C3 → C2 → C1, then C7)

Current Round

  • Round: R4
  • Altitude: L3
  • Current frontier: empty
  • Shared-understanding confirmation: confirmed — "letsgo"
  • Closure: closed R4
Question idBranchAltitudePrerequisitesQuestionState
R1–R4 ids—L1–L3—Q4–Q9, Q15–Q39 answered; Q7 parked (Python)answered

Required Calls

R1

  • grilling: R1 run — Q4, Q5, Q6, Q7, Q8, Q15 (re-presented after Brief delta import)
  • wait-what: R1 run
  • show-me: R1 run — pipeline and Sensitivity Proof view via html_render
  • domain-modeling: R1 run — no glossary change (Pinned Replay meaning sharpened by Q22)
  • flow-lenses: R1 run — gaps: model file home at architecture time -> Q19; Replay Token reproduces only "from the same implementation" (Arbitrary.d.ts:129) -> Q22; debugging-phase regressions bypass the invariant table -> Q23; mutant outside the worker's write scope, revert after a worker crash, tsprover pin bump re-checks -> L3 candidates
  • expand: R1 run — Q18, Q19, Q20, Q21, Q22, Q23
  • level derivation: R1 run — L2 Q9, Q16-Q23; Effect guidance L2 and Suite hygiene L2 settled by evidence

R2

  • grilling: R2 run — Q9, Q16, Q17, Q18, Q19, Q20, Q21, Q22, Q23
  • wait-what: R2 run
  • show-me: R2 run — artifact homes and boundaries view via html_render
  • domain-modeling: R2 run — new term Spec Invariant (INV-nnn)
  • flow-lenses: R2 run — gaps: glossary pages are published by requirements-grill close wiki synthesis (requirements-grill/references/wiki-output.md:56-60), not docs-ingest-phase -> Q35; no evidence of a seed-once Registry artifact kind (artifact: kinds authored/built/copied/dependency/merge/symlink) -> Q35; .ts drafts inside a wiki spec folder are not projected by apps/wiki/scripts/sync-content.mjs:912 (isMarkdown) -> Q30
  • expand: R2 run — none at L2
  • level derivation: R2 run — L3 Q24–Q35

R3

  • grilling: R3 run — Q24–Q35
  • wait-what: R3 run
  • show-me: R3 run — module file tree via html_render
  • domain-modeling: R3 run — no change
  • flow-lenses: R3 run — gaps: Mutant outside a worker's write scope -> Q36; Mutant left after an interrupted worker -> Q37; tool pin bump -> Q38; wiki tsconfig.json include: ["**/*.ts"] type-checks drafts -> Q39
  • expand: R3 run — Q36, Q37, Q38, Q39
  • level derivation: R3 run — not due (L3 is the Target Altitude)

R4

  • grilling: R4 run — Q36–Q39
  • wait-what: R4 run
  • show-me: R4 run — Sensitivity Proof guard pseudocode via html_render
  • domain-modeling: R4 run — no change
  • flow-lenses: R4 run — no new gap
  • expand: R4 run — none
  • level derivation: R4 run — not due

Close

  • domain-modeling: run — final pass: Spec Invariant, Model, Mutant, Sensitivity Proof, Tautological Test consistent across status, log and Brief; "proof" ambiguity resolved
  • show-me: run — persisted understanding (branch dashboard, parks, glossary) via html_render in the close reply
  • wiki synthesis: run — domains/test-evidence-glossary.mdx

Technical Grounding

BranchEvidence anchorsApplicable dimensionsOpen technical decisionsGrounding
Scopeskills source ~/repos/skills on main at 44489ad (= sync pin apps/cli/scripts/sync-skills-repo.mjs:21-22); sync copies whole tree, new files sync automatically (sync-skills-repo.mjs:121-138)ownership, releasenonegrounded
Invariant carry-downrequirements-grill/references/artifact-output.md:123,284; create-spec/assets/SPEC-TEMPLATE.md:24,54-60; create-plan/references/plan-schema.md:75-110,180-197; create-plan/references/tdd-shaping.md; implement-spec/references/parallel-worker-brief.md:52,58; implement-spec/references/lifecycle.md:89,140-147; review-phase/references/axis-spec.md:14-25 (test_gap); debugging-phase/SKILL.md:74-85 (step 7)contracts between stagesnonegrounded
TDD looptdd/SKILL.md Hard Law, Refactor :118-128; tdd/refactoring.md; tdd/high-signal-tests.md:47; tdd/UPSTREAM.md (62f43a1); upstream 59db609 tdd Tautological, "Refactoring is not part of the loop"interface, evidencenonegrounded
Run policyimplement-spec/references/validation-scope.md; effect@4.1.0 Arbitrary.d.ts CheckOptions :178-184, configureGlobal :214 ((options: GlobalOptions) => void; fields unverified); benchmark in Brief §6runtime cost, CInonegrounded
Effect guidancenpm latest 4.1.0: Arbitrary.schema :364, checkEffect :765, vitest prop {arbitrary?} :91,132; effect/SKILL.md:21-33 Branch Chooser; effect/references/TESTING.md:7-13primitive, versionnonegrounded
Model checkingtla-ts@0.0.3, tsprover@0.0.2 (README; compile(); JSDoc tags); smoke test in Brief §6; create-architecture/SKILL.md:25-43 (steps 3-4); create-architecture/references/artifact-contract.md:144-160 (architecture-not-ready); apps/wiki/scripts/sync-content.mjs:912 (isMarkdown); apps/wiki/tsconfig.json include **/*.tsprimitive, version, CI, wiki buildQ38, Q39grounded
Sensitivity Proofmattpocock/skills diagnosing-bugs/SKILL.md:125; make-tsuite/references/implement-suite.md:27; implement-spec exclusive Active Write Scopes (implement-spec/references/parallel.md)evidence, concurrencyQ36, Q37grounded
Suite hygienemake-tsuite/references/audit-portfolio.md:12,24-31,41-47—nonegrounded
Glossary pathreaders domain-modeling/SKILL.md, wait-what/SKILL.md; publisher requirements-grill/references/wiki-output.md:56-60; ask-hi/references/known-gaps.md:14; Registry artifact kinds authored/built/copied/dependency/merge/symlinkownershipnonegrounded
Acceptance evidenceci-app PRs #310, #381, #356; ci-app #402 branch team/stefan/action-plan-platformruntimenonegrounded

Gate Outcomes

ground

  • Phase: ground
  • Status: complete
  • Exit: grounded
  • Scope: R1; Brief delta import; new branches Model checking, Sensitivity Proof, Glossary path
  • Artifacts: status rewritten; log Q10–Q14
  • Validation: Brief sha256 recorded; every branch has Target and Settled Altitude; Technical Grounding rows with anchors
  • Grill state: R1 frontier gains Q15
  • Next suggested route: round R1 at L1
  • Blockers: none
  • Resume identity: none

checkpoint

  • Phase: checkpoint
  • Status: complete
  • Exit: recorded
  • Scope: R3; Q24–Q35
  • Artifacts: log R3 answers; dashboard; Required Calls R3
  • Validation: every R3 frontier question answered
  • Grill state: expand added Q36–Q39 at L3
  • Next suggested route: round R4 at L3
  • Blockers: none
  • Resume identity: none

round

  • Phase: round
  • Status: checkpoint
  • Exit: answers_required
  • Scope: R4; Sensitivity Proof, Model checking
  • Artifacts: Current Round, Required Calls R4
  • Validation: frontier Q36–Q39 all L3
  • Grill state: R4 answered
  • Next suggested route: close
  • Blockers: none
  • Resume identity: none

close

  • Phase: close
  • Status: complete
  • Exit: grill_closed
  • Scope: R4; all branches
  • Artifacts: log Closure; status Closure closed R4; domains/test-evidence-glossary.mdx, domains/meta.json, domains/index.mdx, log.md
  • Validation: Close Guard passed (no unanswered question; every branch settled at its Target Altitude or parked with reason); confirmation "letsgo"; closure "yes go"
  • Grill state: closed R4
  • Next suggested route: $create-architecture under $requirements-phase
  • Blockers: none
  • Resume identity: none

Glossary

Terms

  • Property: a rule that must hold for every generated input of a declared shape. Avoid: fuzz test, random test
  • Property Pattern: one of preservation, equivalence, round-trip, membership/monotonic, idempotence, security gate, oracle, no defects, stateful command sequence.
  • Generator: the source of random valid inputs; in Effect, a Schema or an Arbitrary.
  • Shrinking: reducing a failing input to the smallest input that still fails.
  • Counterexample: the shrunk failing input a property reports, or the step trace a model check reports.
  • Replay Token: the value that reproduces one falsification and its shrink path (CheckOptions.replay in Effect 4.0).
  • Pinned Replay: a found counterexample kept as a fixed test case.
  • Generator Narrowing: excluding generated inputs so that a property passes.
  • Model: a *.proof.ts module whose exported state-changing functions are actions and whose exported boolean functions are invariants, checked by tsprover over every reachable state. Avoid: spec (reserved for SPEC.md), proof
  • Mutant: a small, named fault put into production code (or a model) to test a test.
  • Sensitivity Proof: evidence that a test or model invariant fails on a named Mutant: the failing output, a diff that proves the Mutant landed, and a diff that proves the revert. Avoid: mutation score (reserved for tool-based mutation testing)
  • Spec Invariant: a checkable rule in SPEC.md with an INV-nnn id, a source grill question, a Form and a seam. Avoid: axiom id, AX-n
  • Tautological Test: a test whose expected value is computed the way the code computes it, so it can never fail.

Relationships

  • A Property uses exactly one Property Pattern and one Generator.
  • A failing Property reports one Counterexample and its Replay Token.
  • A Model Counterexample becomes a Pinned Replay of a stateful Property.
  • A Sensitivity Proof names exactly one Mutant.

Axioms

  • A Property protects only the rule it states; a wrong rule stays wrong.
  • Generator Narrowing weakens a gate and needs recorded human approval.
  • A test that never failed is not evidence until a Sensitivity Proof exists.
  • A Model proves the design, not the code; only its Pinned Replays reach the code.

Flagged Ambiguities

  • "invariant" is used in tdd/high-signal-tests.md (capability invariant), in grill axioms, and for model invariants. Resolution: Spec Invariant for the SPEC.md row (Q9); a Model invariant is an exported boolean function of a Model.
  • "proof" is in the tool name tsprover and the file suffix *.proof.ts, but a model check is not a proof. Resolution: canonical term Model; keep the tool's file suffix.

On this page