AGENT SKILL

validate-delivery

Run the confirmed plan's behavioral tests agent-side after assign-to-workforce merges its waves and before summarize-delivery closes the loop, then file what was found — evidence for what passed, behavioral deltas for what the run added, amended, or removed — as first-class, record-only entries via the devague CLI. Never runs the tests inside the CLI (issue #20); never suppresses a failing or partial outcome. Use when the user says "validate delivery", "run behavioral tests", "check what actually behaves", "file evidence", "record a behavioral delta", or after assign-to-workforce merges (or fails to merge) a plan's waves and before summarize-delivery runs. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.

License 许可
Apache-2.0
最近更新
2026-09-29
Stars
★ 3
Forks
0

01 前言 Front Matter

name
validate-delivery
type
command
description
Run the confirmed plan's behavioral tests agent-side after assign-to-workforce merges its waves and before summarize-delivery closes the loop, then file what was found — evidence for what passed, behavioral deltas for what the run added, amended, or removed — as first-class, record-only entries via the devague CLI. Never runs the tests inside the CLI (issue #20); never suppresses a failing or partial outcome. Use when the user says "validate delivery", "run behavioral tests", "check what actually behaves", "file evidence", "record a behavioral delta", or after assign-to-workforce merges (or fails to merge) a plan's waves and before summarize-delivery runs. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.

03 SKILL.md 正文

validate-delivery — run behavioral tests, file evidence and deltas

The skill is named validate-delivery; it is the execution-to-evidence leg of the devague method — the seventh leg in flow order (the eighth origin skill, chronologically), sitting between the two closing execution skills:

scope -> think -> challenge -> spec-to-plan -> assign-to-workforce ->
deviate -> validate-delivery -> summarize-delivery

Where /assign-to-workforce fans out a converged plan's waves and /summarize-delivery closes the loop afterward, /validate-delivery runs after waves merge and before the delivery summary is written. It is the gap that used to be filled by memory: the confirmed plan's claims are obligations, and until this skill existed nothing forced the run to check whether the merged code actually behaves as claimed before the summary asserted it did.

When to invoke

Run this skill once a wave (or the whole plan) has merged and there is behavior to check against a claim or an approved deviation — always before /summarize-delivery, never as a substitute for it. It is not gated on a complete run: a partial or failed fan-out is still worth validating for whatever did merge.

The method

  1. Identify the obligations. Read the plan's confirmed claims (via the frame) and any approved /deviate records to see what the run promised — an announcement, an after-state, a success signal, an acceptance criterion. Each one that has a behavioral test backing it is an obligation this leg checks.
  2. Locate the behavioral tests. Consuming repos identify behavioral tests one of two ways (either is valid; pick whichever the repo already uses, and say which one in the filed evidence):
    • a pytest marker, e.g. @pytest.mark.behavioral — run with pytest -m behavioral;
    • a dedicated folder, e.g. tests/behavioral/ or behavioral-tests/ — run that path directly.
  3. Run the tests agent-side. The agent (not the devague CLI) executes the behavioral test suite, or the specific tests relevant to the obligations in scope. This is read-only against the codebase — it does not modify code to make a test pass.
  4. File evidence for every obligation checked. For each obligation, file an evidence record naming the obligation met, the test that asserted the behavior, and the outcome — pass or fail. A failing outcome is filed exactly like a passing one; it is never omitted or reworded into something softer.
  5. File behavioral deltas for what changed. When the run's actual behavior added, amended, or removed a behavior relative to the plan, file a delta record — added / amended / removed — with provenance back to the claim or approved deviation that motivated it, and forward to the evidence record(s) that back it.
  6. Report faithfully. Summarize what was validated, what passed, what failed, and what could not be checked at all (no behavioral test exists for that obligation yet). An unmet obligation is unmet — it is reported as such, not folded into a passing tally or left out of the report.
  7. Hand off to /summarize-delivery. The filed evidence and deltas feed directly into devague summary's Delivery Claims table: evidence strength (coverage / fidelity / execution / sensitivity) is the confidence vocabulary there, and any approved lapse on a claim caps its confidence the same way it always has.

The CLI surface this skill drives

Record-only. The devague CLI never runs a test itself (issue #20) — it only records what the agent already ran and found. The exact verb shapes below are minimal placeholders while the underlying schema lands in a parallel task; treat the verb names as stable and the flags as illustrative, and reconcile against devague explain <move> once that task merges.

Move What it records
devague oblige <cN> --seam "<seam>" --behavior "<behavior>" Files a behavioral obligation against a claim, naming the seam to test and the behavior to assert (snapshots the claim text at filing).
devague evidence --obligation <oN> --test "<ref>" --behavior "<asserted>" --contract "<claim text>" --type <type> --strength <level> --basis "<basis>" --outcome pass|fail [--run-commit <sha> --run-timestamp <ts>] Files an evidence record: obligation met by this test, asserting this behavior, outcome pass or fail (a run reference is required at execution strength and above). llm-origin filings land proposed; the human adjudicates.
devague delta --kind added|amended|removed --behavior "<what changed>" --caused-by <cN|dN> [--evidence <eN> ...] Files a behavioral delta: provenance back to the claim/deviation it diverges from (--caused-by), forward to the evidence that backs it.
devague summary [--pr] [--json] Reads the filed evidence and deltas back into the Delivery Claims table (/summarize-delivery's starting point).

--origin llm on oblige / evidence / delta lands the record proposed — exactly the same anti-fabrication contract as deviate and lapse: an agent's own filing never self-confirms, and only the human's --confirm / --reject moves a proposed record forward. A user-origin filing auto-approves, mirroring deviate and lapse.

Hard rules (do not violate)

  • The CLI never runs tests. devague oblige / evidence / delta are record-only moves — they take the agent's already-obtained result and file it. Running the suite is the agent's job, agent-side, exactly like /summarize-delivery's read-only verification step (issue #20).
  • Unmet is unmet. A failing or unchecked obligation is filed and reported as failing or unchecked — never smoothed into "mostly passing" or silently dropped from the report. This is the direct fix for the motivating failure below: findings discovered only by reading data after the fact, never by a test failing loudly in the record.
  • A partial or failed run is still a valid input. There is no completion precondition — validate whatever merged, report the rest as not yet checkable.
  • llm-origin filings stay proposed until the user confirms. Same anti-fabrication contract as every other origin vocabulary in this method — an agent's own proposal never self-confirms.
  • Provenance both ways. Every evidence record ties back to an obligation (a claim or an approved deviation); every delta ties back to what it diverges from and forward to the evidence that backs it. An untraceable evidence or delta record is not filed.
  • This is not a new gate. Like /deviate, /validate-delivery does not add a fourth standing human gate — it produces the record /summarize- delivery and the final PR review consume; the three gates (spec, implementation split plan, final PR) are unchanged.

Worked example

Wave 2 of a plan merged the export --format widget-md verb. The plan's confirmed success_signal claim c9 said "round-tripping a widget through export and back loses no fields." A behavioral test exists for it, marked @pytest.mark.behavioral, plus two more behavioral tests for adjacent claims — one of which fails.

# 1. Identify the obligation
devague oblige "round-tripping a widget loses no fields" --claim c9

# 2. Locate and run the behavioral tests agent-side (read-only)
pytest -m behavioral -q
# -> tests/behavioral/test_widget_export.py::test_round_trip PASSED
# -> tests/behavioral/test_widget_export.py::test_empty_field_rendering FAILED

# 3. File evidence for each outcome — the failure included, not smoothed over
devague evidence "c9 round-trips with no field loss" \
  --test tests/behavioral/test_widget_export.py::test_round_trip --outcome pass
devague evidence "c11 renders an absent field honestly" \
  --test tests/behavioral/test_widget_export.py::test_empty_field_rendering \
  --outcome fail

# 4. File a delta if the failure reveals a real behavioral divergence
devague delta "empty widget fields render as garbled text, not an empty line" \
  --kind amended --claim c11 --evidence e2

# 5. Report faithfully: c9 is validated; c11's claimed behavior is unmet —
#    say so plainly, hand it to /summarize-delivery as Remaining Work, not
#    as a passing claim.

/summarize-delivery then reads these back — c9's Delivery Claims row cites evidence e1 at high confidence (a passing behavioral test); c11's row is unverified or explicitly failing, never rounded up.

The motivating record

The Reasoning Degradation Ledger (devague lapse, issue agentculture/devague#97) exists because of this, cited verbatim: "Four graders failed in that cycle... Every one was found by reading data afterwards; none by a test failing." That gap — a corrections record reconstructed only at the end, from memory, because nothing forced a behavioral check to run and be filed along the way — is exactly what /validate-delivery closes for the execution side, the same way /challenge closes it for the spec side.

The design itself traces to issue agentculture/devague#107, "Suggestion: behavioral validation and a derived current spec," which proposed behavior as the primary contract, four evidence types, a strength ladder, and the current spec as a projection of a behavior ledger rather than a hand-maintained document. This skill is the method-only front door to that idea: it does not implement the full ledger or the derived-spec projection — it establishes where in the flow behavioral checking happens, what gets filed, and how the failure mode #97 documented gets closed instead of rediscovered.

Provenance

This is a first-party skill — its origin is agentculture/devague, the eighth in the outbound family after /scope, /think, /challenge, /spec-to-plan, /assign-to-workforce, /deviate, and /summarize-delivery, covering the execution-to-evidence leg that runs after a plan's waves merge and before the delivery summary is written. guildmaster pulls it from here and broadcasts it to the AgentCulture mesh; because devague is upstream, it is never re-vendored back from guildmaster's re-broadcast copy. The cite, don't import policy still holds: downstream repos copy it, they don't symlink or depend on it. See docs/skill-sources.md.

04 同仓库更多 Skills

agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

think

Think a vague feature idea into a buildable spec by working backwards (the idea→spec leg; drives the `devague` CLI). Start from the announcement ("pretend it shipped"), capture and classify claims, interrogate them with honesty conditions and hard questions, park open vagueness as a first-class object, and export a spec only once the frame *converges*. Use when the user says "think this through", "spec this", "work backwards", "turn this idea into a spec", "announcement frame", or "devague", or when a feature request is too vague to build yet. Explore scope first when the idea touches an existing codebase — the sibling `scope` skill is the optional opening leg ahead of `think`. Once a spec exports, hand off to the sibling `spec-to-plan` skill to turn it into a plan. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.

★ 3
agentculture
agentculture/culture-nodes

summarize-delivery

Close the loop after an `assign-to-workforce` run by turning what actually happened into an accountability artifact — planned versus actual delivery, mid-work decisions, plan drift, evidence-backed delivery claims, and remaining work. The plan the user confirmed is the contract; this skill records where execution obeyed it, where it changed, and what is genuinely safe to claim as delivered. Runs on complete, partial, AND failed runs — failure is reported faithfully, never smoothed over. Use when the user says "summarize delivery", "delivery summary", "wrap up", "close the loop", "what did we actually ship", or "plan versus actual", or after `assign-to-workforce` merges (or fails to merge) a plan's waves. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.

★ 3
agentculture
agentculture/culture-nodes

spec-to-plan

Turn a converged devague spec into a buildable plan by working forwards (the spec→plan leg; drives the `devague plan` CLI group). Seed a plan from a converged frame, add tasks that collectively cover every coverage target (the frame's confirmed claims + honesty conditions), give each task acceptance criteria and an honest dependency order, park genuine unknowns as first-class risks, and export a plan only once it *converges*. Use when the user says "spec to plan", "stp", "turn this spec into a plan", "plan this spec", "make a build plan", or after the `think` skill exports a spec. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.

★ 3