Skip to content

The d-guarantees preamble describes section 4's clause convention over a catalog that uses neither label #1205

Closed

Description

@ptr727

The preamble of .agents/skills/workflow-ci-contract/references/d-guarantees.md describes WORKFLOW.md section 4's labelled-clause convention and then sits on top of a catalog that uses neither label. Found by a whole-unit canonical pass on PR #1203's fix branch, and deferred out of it because the fixes are content decisions rather than the one-phrase grammar correction that branch carried.

The file is carried at intent, so every fleet repository reads this preamble as its introduction to the condensed catalog.

The root cause

The preamble reads:

In that section an item names an input only where the guarantee applies to a particular trigger or state, and names the failure it prevents only where the output does not already show it.

That sentence is a true description of WORKFLOW.md section 4. It is not true of the catalog it introduces, and nothing tells the reader which of the two it describes.

  • Section 4 carries a Prevents: clause on 26 of its 44 items. This file carries a "Prevents ..." sentence on 3 of its 39, D1.1, D1.2 and D1.3 alone.
  • A reader applying the stated rule to this file's D1.5, D1.6, D2.2, D2.3, D4.2, D4.5, D4.6, D5.1, D5.2, D5.3, D5.5, D5.6, D6.4, D7.1, D7.2, D7.4, D8.1 and D8.4 concludes the output already shows the failure each rules out. Every one of those carries a Prevents: clause in section 4 that the condensation dropped silently.
  • The input half fails the same way. Section 4 labels an Input: on most items and this file labels none, so "names an input only where" identifies nothing here.

The restatement also drifts from its source

WORKFLOW.md's own wording is "only where the guarantee applies to a particular trigger or state rather than to every run". Dropping those last five words changes which items conform. Section 4's D1.2 and D1.5 each carry Input: any PR, which is every run of the trigger the guarantee is about. Under WORKFLOW.md's wording two of its own items violate the convention, and under this restatement they do not, so a reader checking the claim against section 4 gets a different answer than the source gives.

D9 is not condensed at all

Each guarantee is a MUST from WORKFLOW.md section 4, stated as the output a conforming pipeline produces.

Section 4 states D9 as five numbered items, D9.1 through D9.5. Here D9 is one unnumbered sentence fragment that is neither an item nor an output statement, which accounts for the whole 39-against-44 item gap. A reader needing the ruleset-bound-name rule that this file's own D1.5 leans on, section 4's D9.2, finds no id in this catalog to cite.

"Not operational" collides with a fleet term

and a workflow violating any applicable guarantee is not operational.

operational is also the fleet's own name for a repository's registry workflowModel, in registry/repos.json, in GOVERNANCE.md "Operational Repositories", and in the operational-vs-release-workflow skill this skill's description names as its counterpart. Inside a skill reference, "not operational" reads as a claim about repository type rather than about conformance, and the unit states no consequence, so from the unit alone a reader cannot tell what follows. The wording is verbatim from section 4's preamble, so a fix belongs in both places.

The escape hatch understates what it is for

read the section there when a guarantee's exact wording decides a verdict, since a condensed item can be shorter than the one it condenses.

True of every condensed item by definition, so it gives no signal about when the source actually matters, and it understates the relationship, because this condensation drops requirements rather than only length. Section 4's D5.6 requires that "The release the live pointer resolves to is never a prune candidate, whatever the sort order says", absent here. Section 4's D1.6 requires a root global.json declaring the MTP runner, Microsoft.Testing.Extensions.CodeCoverage at 18.9.0 or later, and CODECOV_TOKEN in the dependabot secret store, none of which survive into this file's one-sentence D1.6. A reader told only that the condensed item "can be shorter" reads this catalog as complete on what an item requires.

Scope note

The fixes are not all the same kind. Saying the condensation drops the labels is a wording fix. Deciding whether the catalog should carry Prevents: clauses, or numbered D9 items, or an explicit "this is a lookup index, never the requirement" warning, is a content decision about what this reference is for.

Related to #1200, which covers section 4's own claims, and to #1204. Regenerating .github/skills/ and .claude-plugin/ with scripts/build_dist.py is part of any fix here.

Activity

  1. ptr727 commented on Sep 2, 2026

    @ptr727
    OwnerAuthor

    One more finding for this preamble, and it is the reason the obvious one-sentence fix does not work.

    CodeRabbit raised on #1209 that the first sentence's framing clause, "stated as the output a conforming pipeline produces", should be removed, since D9's items in this same file are properties of committed source. That is correct, and it is the same reasoning #1209 used to strip the framing from three other surfaces.

    Deleting that clause alone breaks the paragraph. I made the change, ran a whole-unit pass over the result, and reverted it.

    In that section an item names an input only where the guarantee applies to a particular trigger or state, and names the failure it prevents only where the output does not already show it.

    That definite article is licensed by the clause immediately before it, which is what introduces the output. WORKFLOW.md keeps the same chain in its own version, "not evident from the output itself". Remove the clause and "the output" is a first mention with no antecedent anywhere in the unit, so a reader cannot tell whether it means the pipeline's output, the item's own text, or the run's result, and the rule stops being usable.

    The deeper form of it: the paragraph would then decline to claim that guarantees are stated as outputs while still reasoning from that premise one sentence later. The presupposition that is false for D9 gets moved rather than removed.

    So this preamble wants one coherent rewrite covering the framing clause, the Input: and Prevents: rule, and "the output"'s antecedent together, which is what this issue already scopes. A sentence-at-a-time fix trades one defect for another.

    Note also that WORKFLOW.md:148 carries the same framing claim and is the source this file condenses, tracked in #1206. Fixing the carrier without the source re-opens on the next resync, so the two want settling in the same pass.

  2. added
    decision
    on Sep 5, 2026
  3. ptr727 commented on Sep 6, 2026

    @ptr727
    OwnerAuthor

    From a #1311 second-round pass (complete-brief whole-unit read, opus tier, no PR — read-only) over d-guarantees.md, dispatched as part of the class 6 second round.

    The condensed-catalog findings this issue describes no longer apply. d-guarantees.md is no longer a condensed catalog: it is now a 4-line preamble plus a generated include of WORKFLOW.md section 4 verbatim (<!-- include: WORKFLOW.md > 4. Behavioral Contract: Expected Outcomes -->), confirmed byte-identical this round — same line count, same md5, and identical across the source and every generated distribution (.agents/, .github/skills/, .claude-plugin/fleet-skills/skills/). There is no separate D9 fragment, no dropped Prevents: clauses, and no "can be shorter" escape hatch to misjudge, because there is no condensation left to misjudge — the D1-D9 content this issue's findings are about is identical to WORKFLOW.md section 4 and any defect in it is tracked on #1369 instead. Recommend closing this issue on that basis, maintainer's call.

    The rewrite carries its own, different findings, none of which restate anything above, filed here as a fresh numbered list since the old prose findings no longer apply to the current text:

    1. The local heading "## The Behavioral Contract" drops the half of the source section's title that carries the document's own defining principle — the include marker one line above names the source 4. Behavioral Contract: **Expected Outcomes**, and WORKFLOW.md line 5 states the outcomes-not-implementation framing as the defining principle of the whole document. This file is precisely the one read without WORKFLOW.md in hand, so the distinguishing half is dropped exactly where the framing is least recoverable. [d-guarantees.md > The Behavioral Contract] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)
    2. "The section below is WORKFLOW.md section 4, whole" is contradicted by the heading directly under it: the body is whole, but the section's own heading is not carried, it is renamed. A reader told "whole" and then shown a differently-titled heading cannot tell which of the two names is authoritative. (One defect seen from two units — fixing either N1 or this settles both.) [d-guarantees.md > (preamble)] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)
    3. "Which of its items bind a given repository is WORKFLOW.md section 1's applicability rule" cites the source by bare section number, where the include marker one line below demonstrates the file's own more robust convention (number plus full heading text) for exactly the reason a bare number is fragile: it silently breaks if a section is inserted above the one it points at. [d-guarantees.md > (preamble)] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)
    4. "Which of its items bind a given repository is WORKFLOW.md section 1's applicability rule" equates a set of items with a rule, where a rule decides which items bind rather than being identical to them, and reads as a subject-verb mismatch on first pass ("...items bind a given repository is...rule"). [d-guarantees.md > (preamble)] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)
    5. The provenance claim is stated twice in this file, 80 lines apart: the included content's own closing line (from WORKFLOW.md section 4 itself) already says the workflow-ci-contract Skill at this exact path "carries this section whole as a generated include," naming the very file the reader is holding. The preamble's own opening sentence adds nothing that closing line does not already state, and only the preamble's copy is editable here (the closing line is include-source content governed by WORKFLOW.md's own closing-sentence rule). [d-guarantees.md > (preamble)] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)
  4. added a commit that references this issue on Sep 7, 2026
    f8e7491
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions