Skip to content

docs(#1165): /spec states the enforced AC format inline; /verify shows output first; /exec scopes formatting - #1166

Merged
admarble merged 1 commit into
mainfrom
feature/1165-docs-skills-spec-states-the-ac-format-inline-verif
Sep 25, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/1165-docs-skills-spec-states-the-ac-format-inline-verif

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Closes #1165

Skill-text follow-ups from the 2026-09-25 /reflect. Additive only: 27 lines across the three mirrored skill dirs, plus a CHANGELOG entry.

Changes

  • /spec: the existing constitution pointer (line 110) is kept byte-identical, because check-constitution-dod.test.ts gates on its phrase. Under it, the skill now states the three rules the tooling enforces:

    • one line per AC, because the parser is line-anchored;
    • an Evidence: clause, the only verification field ac-parser.ts reads, so Verify: is invisible to /qa §6h/§6i;
    • a ## Non-Goals section, whose heading the scope assessment reads.

    Why inline: .claude/memory/constitution.md is user-owned and never updated after sequant init (fix(sync): plain sync overwrites CUSTOMIZABLE_FILES (constitution) — copyDir ignores force and never consults isCustomizableFile #814). Older projects, and this repo's local copy, have no §2, so the pointer led nowhere. Risk: and Human decision are deliberately not listed as enforced; the parser doesn't read them.

  • /verify step 5: put the command, exit code and key output lines in the message before AskUserQuestion. Tool output isn't shown to the user.

  • /exec §3d: format only files in git diff --name-only origin/main...HEAD. Read git status --short before any git add -A, including the existing WIP-checkpoint git add -A, which is kept on purpose because it prevents stranded work.

Checks run

  • npm run lint:skill-sync, lint:skill-gates, lint:skill-calls, lint:constitution-dod, validate:skills and lint all exit 0; npm run build exits 0.
  • npm run prepare:marketplace && npm run validate:marketplace exits 0. On its own, validate:marketplace exits 1 on main as well, because it needs the prepared package.
  • npx vitest run scripts/check-constitution-dod.test.ts scripts/check-skill-sync.test.ts scripts/lint-skill-gates.test.ts: 64 passed.
  • timeout 900 npm test: 341 files, 8428 passed, 1 expected fail, 3 skipped.
  • AC greps: AC-1 only verification field finds 3 lines, AC-2 before asking finds 3, AC-3 Scope formatting to your own diff finds 3.

sequant:-prefixed skill invocations load the installed plugin cache (2.17.0), so they only see this text after the next release.

🤖 Generated with Claude Code

…s output before asking; /exec scopes formatting
@admarble
admarble merged commit 8c6d9fb into main Sep 25, 2026
10 checks passed
@admarble
admarble deleted the feature/1165-docs-skills-spec-states-the-ac-format-inline-verif branch September 25, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(skills): /spec states the AC format inline; /verify shows output before asking; /exec scopes formatting and staging

1 participant