Skip to content

Speckit constitution skill: stop on fetch failure; tighten the #1932 checks #1936

In review

Description

@enricopiovesan

Problem

The post-merge review of traverse#1933 (#1932) found three small gaps:

  1. .agents/skills/speckit-constitution/SKILL.md step 1 fetches the org constitution but does not say to stop if the fetch fails. speckit-analyze and speckit-plan do, and step 2 needs the org text to decide whether a change is org-level.
  2. scripts/ci/repository_checks.sh (the Speckit skills still read the local constitution as the full text #1932 block, around line 414): grep -q "Traverse-Specific Rules" for analyze/plan still passes if only the Constitution Authority line keeps that phrase. Nothing checks the .governance-version ref or the stop-on-fetch-failure sentence.
  3. The new bare grep -q checks fail with exit 1 and no message.

Definition of Done

  • speckit-constitution step 1 says to stop and report if the org constitution cannot be fetched; copies regenerated with scripts/agent/sync_skills.sh.
  • repository_checks.sh also requires, in each of analyze, plan and constitution: the ref=$(tr -d '[:space:]' < .governance-version) fetch and the stop-on-failure sentence.
  • Each Speckit skills still read the local constitution as the full text #1932 check prints an error: ... line naming the skill and the missing text before exiting 1.
  • Negative tests: removing each guarded phrase makes repository_checks.sh exit 1 with that message; bash scripts/ci/repository_checks.sh and sync_skills.sh --check pass on the result.

Activity

  1. added
    agent:claude
    on Nov 24, 2026
  2. enricopiovesan commented on Nov 24, 2026

    @enricopiovesan
    CollaboratorAuthor

    Claimed by agent:claude at 2026-11-24T03:01Z. Branch: claude/issue-1936-work.

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

    agent:claude

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions