Skip to content

feat(spec): AC quality questions — who deploys an edited committed copy, and what clock a count AC waits on #1455

Open

Description

@admarble

Problem

/spec's AC quality check misses two kinds of AC that pass review and then stall or ship half-done.

1. An edit to a committed copy of something deployed elsewhere, with nobody owning the deploy. The repo holds a copy of a routine prompt, a hosted config, an env var, a hook, a skill or an MCP server pin. The issue edits the copy, the PR merges, and the live thing keeps running the old text, because no AC or Non-Goal names who deploys it and when.

2. A count AC that can't be satisfied at launch and doesn't say what it waits on. ai-devtools-weekly #499 required ≥ 3 rows. The third row came from a 19:30Z scheduled run, so two verified PRs sat for four hours waiting on something the AC never mentioned. ACs like this end in NEEDS_VERIFICATION or a stalled merge, and nobody can tell from the issue when they will clear.

Proposal

Add two questions to /spec's AC Quality Check. They are prompts answered from the issue and the project's constitution or CLAUDE.md, not mechanical checks: /spec cannot generally tell that a file is a deployed copy.

  1. Does any AC edit a committed copy of something that runs from elsewhere (a routine or trigger prompt, a hosted config, an installed hook, skill or plugin, a pinned server)? If so, an AC or Non-Goal names who deploys it and when.
  2. Can every count or threshold AC be satisfied when exec runs? If one depends on a scheduled job or an external event, the AC names that clock (≥ 3 rows; the third lands with the 19:30Z read on <date>) or is rewritten to what the source has published (all rows published (N at filing)).

Acceptance Criteria

  • AC-1: /spec's AC Quality Check section contains the deploy-owner question, worded so that it is answered from the issue and project docs and is flagged only when the issue edits such a copy without an AC or Non-Goal naming the deployer. Evidence: the gate test in AC-4 asserts the question inside the AC Quality Check section, mutation-verified by deleting the question
  • AC-2: /spec's AC Quality Check section contains the clock question for count and threshold ACs, with the two rewrite forms shown as examples. Evidence: the gate test in AC-4 asserts the question and both example forms inside the section, mutation-verified by deleting the question
  • AC-3: Both questions are present in all three mirrored skill directories (.claude/skills/spec/, templates/skills/spec/, plugin/skills/spec/), and npm run sync:skills leaves no diff. Evidence: npm run sync:skills && git diff --exit-code -- .claude/skills templates/skills plugin/skills exits 0, and grep -c for each question returns 1 in each of the three SKILL.md files
  • AC-4: A gate test reads only the AC Quality Check section of spec/SKILL.md (not the whole file) and asserts both questions. Evidence: npx vitest run on the new test passes, mutation-verified with a SEQUANT_MUTATION marker in the PR body naming the test file path first

Non-Goals

  • No mechanical detection of deployed copies.
  • No change to /qa verdict logic.

Blocked

Plugin freeze: this edits .claude/skills/, templates/skills/ and plugin/. It must not merge until the owner lifts the freeze. Queue it after the freeze.

Origin

Lessons from the ai-devtools-weekly cloudgate graph, recorded in ~/.claude/skills/graph-plan/SKILL.md on 2026-10-14 (#499 count clock, #502 routine deploy).

Activity

  1. added
    enhancement
    spec
    on Oct 16, 2026
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

    enhancementspec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions