Harness Intelligence Wiki
Grilling

Scoped Delivery Validation Grill Log

Scoped Delivery Validation Grill Log

Context

  • Inputs: issue #250 (verifier full-journey rerun loops) and issue #251 (mandatory broad local E2E and baseline runs). Both were filed by hi report from collective-intelligence-platform/ci-app, CLI 6.1.2.
  • Goal: make delivery test runs and runtime/container setup efficient without a loss of honest validation reporting.
  • Scope: requirements only. Implementation goes to the shared skills source (/home/stefan/repos/skills, branch main) and then bun run sync:skills.
  • Session: 2026-10-08. R1 was a $brainstorm candidate set (A–G) and five decision questions. The user accepted the candidate set and answered the questions with inline comments.

Brainstorm Evidence (R1)

Observed in current shared guidance:

  • Affected-proof reruns exist for repairs only: .agents/skills/implement-spec/references/runtime-product-validation.md:29, .agents/skills/delivery-phase/phases/review.md:57 (Focused Repair Validation).
  • No shared skill mentions CI: delivery-phase/phases/closeout.md, implement-spec/references/lifecycle.md, delivery-phase/phases/review.md.
  • No shared skill requires a full local suite or an unchanged-baseline run. The source of that behavior in ci-app is unknown and out of scope (see Q11).
  • Verifier scope default is broad: .agents/skills/verify-behavior/SKILL.md:19 ("Cover every in-scope observable story unless the caller explicitly bounded the run").
  • Runtime start is per validated task: implement-spec/references/runtime-product-validation.md ("Start the supported runtime and dependencies").
  • Reset/relaunch after each surprise, with no repeat cap: verify-behavior/SKILL.md:89, update-verification-skill/SKILL.md:41-44.
  • No guidance for an observation plan, expectation classes, observation after a mismatch, or a repeat guard.

Branch: Local Validation Scope

Q1

Prerequisites:

  • none

Question: What is the default local validation during delivery?

Accepted answer:

  • Run focused tests for the changed behavior, directly relevant integration checks, and type/lint checks for the affected workspaces only.
  • Broaden local validation only for a concrete changed dependency, a focused failure, or an explicit user request.
  • Do not repeat a check when its relevant inputs did not change.

Q2

Prerequisites:

  • Q1

Question: Is an unchanged-baseline run required to classify unrelated failures?

Accepted answer:

  • No. Record unrelated failures as out of scope, with their evidence. Do not run a full unchanged-baseline suite only to classify them.

Q3

Prerequisites:

  • Q1

Evidence anchor:

  • .agents/skills/verify-behavior/SKILL.md:19 (current default: every in-scope observable story).

Question: Which stories does verify-behavior exercise by default?

Code consequence:

  • Change the verify-behavior Select step default. The caller (implement-spec) passes the stories that the plan changes.

Accepted scope:

  • verify-behavior exercises only the stories scoped to the plan.
  • This replaces the current "every in-scope observable story" default.

Branch: CI Ownership

Q4

Prerequisites:

  • Q1

Question: Who owns full-suite and broad regression validation?

Accepted answer:

  • The project's existing CI pipeline owns them.
  • Closeout awaits the CI result on the pushed commit and reports it.
  • A focused local pass is never reported as a full-suite pass.

Q5

Prerequisites:

  • Q4

Question: Does local final acceptance need a fresh-stack run, or is CI the only fresh run?

Accepted answer:

  • CI is the only fresh run.
  • Local runs never require a fresh stack restart for acceptance.
  • Note: this deliberately differs from issue #250 item 5, which asked for fresh startup and owned cleanup for final acceptance.

Q6

Prerequisites:

  • Q4, Q5

Question: What happens in a project that has no full-suite CI, or CI without E2E?

Responses received in R1 (contradictory):

  • On candidate A "Fallback needed": "in this case they just skip this last step".
  • On decision 3 "local broad run as the fallback": "yes".

Accepted answer (R2, supersedes the R1 "skip" response):

  • Keep a local broad run as the fallback.
  • Derived defaults, not separately asked:
    • The fallback runs once, at closeout, in place of the CI wait.
    • It covers only what CI lacks: the full suite when there is no CI; the E2E journeys when CI has no E2E.
    • It runs on the Owned Stack after a controlled reset, not on a fresh stack.
    • Q2 still applies: unrelated failures are recorded as out of scope, with evidence; no unchanged-baseline run.
    • Closeout reports the run as a local broad run, not as a CI result.

Branch: Verifier Efficiency

Q7

Prerequisites:

  • Q3, Q5

Question: What verification tiers does delivery use?

Accepted answer:

  • Tier 1: saved receipts and pure-helper checks, to correct a diagnosis.
  • Tier 2: a focused reproduction on the owned stack, to test one hypothesis.
  • Tier 3: the plan-scoped acceptance journey (Q3), after the focused checks settle.
  • Saved receipts never replace current runtime acceptance.
  • Derived from Q5, not separately asked: tier 3 runs on the owned stack after a controlled reset, not on a fresh stack.

Q8

Prerequisites:

  • none

Question: When are the required observations defined?

Accepted answer:

  • Before the first run, define an Observation Manifest from the generated DTOs and the source predicates: public state, exact release/intent, classifier operands, resource ownership, correlated operation/receipt/error stages and timings.
  • Capture those observations before the assertions run.
  • Redact secrets strictly.

Q9

Prerequisites:

  • Q8

Question: Which expectations are gates?

Accepted answer:

  • Business invariants and output semantics (checked against the real DTO or contract) are gates.
  • A speculative helper expectation is not a gate without proof from a requirement or contract.
  • Keep the real gates: readiness, authorization, lifecycle, concurrency, cleanup.
  • A cached action label or one fenced competing operation is not a repeated effect or a duplicated resource.

Q10

Prerequisites:

  • Q9

Question: What happens after a known verifier mismatch?

Accepted answer:

  • Let the independent observations complete.
  • Then report the gate as failed or blocked.
  • Partial evidence is never a full pass.

Q11

Prerequisites:

  • Q5, Q7

Question: When can a runtime stack be reused?

Accepted answer:

  • Avoid restarts of containers and resources between delivery steps.
  • Reuse only a strictly owned, isolated stack, with controlled resets.
  • Reuse earlier evidence only when its relevant input identities match.

Q12

Prerequisites:

  • Q8, Q10

Question: What guards against repeated expensive runs?

Accepted answer:

  • Before another expensive run, state the new discriminator that it tests and confirm the Observation Manifest is complete.
  • When the same observation is missing again, revise the diagnostic plan instead of another blind rerun.

Parked

Q13

Question: Where does the ci-app full-E2E/baseline mandate come from?

Accepted answer:

  • Parked: out of scope. The fix targets shared guidance only.

Glossary Decisions

Glossary Q7

Accepted answer:

  • Canonical term: Verification Tier — one of three verification levels (receipt/helper check, focused reproduction, plan-scoped acceptance journey), selected by the purpose of the run.
  • Avoid: full run, smoke run.

Glossary Q8

Accepted answer:

  • Canonical term: Observation Manifest — the list of fields and stages a run must capture, defined from generated DTOs and source predicates before the first run.
  • Avoid: logging plan, debug fields.

Glossary Q9

Accepted answer:

  • Canonical term: Speculative Helper Expectation — an assertion in a verifier helper that no requirement or contract supports.
  • Avoid: guess, extra assertion.
  • Relationship: a Speculative Helper Expectation is never a gate until a requirement or contract supports it.

Glossary Q11

Accepted answer:

  • Canonical term: Owned Stack — a strictly owned, isolated runtime (containers, services, processes) that a delivery reuses across steps with controlled resets.
  • Avoid: warm stack, shared stack.
  • Axiom: CI is the only fresh run.

Glossary Q12

Accepted answer:

  • Canonical term: New Discriminator — the stated fact that another expensive run can confirm or reject and that earlier runs did not.
  • Avoid: retry reason.

On this page