Skip to content

Backlog capture: init scaffolds an always-reporting workflow so a new repository can finish its first task #409

Open

Description

@radiusred-cody

Deferred from #391 (option 2) by #398, which delivered options 1 and 3 in the v2.1.1 patch.

Proposal

gh codecrew init scaffolds a minimal always-reporting workflow — for example a conventional-commit lint on pull_request, with no path filter — behind an opt-out flag. The protocol already requires conventional commits, so the check is useful in every repository, and it is the whole CI a hub that holds only the record needs. With it, a repository init has just scaffolded can finish its first task: today task finish refuses NO_CHECKS on that task's pull request (SPEC §8: the deterministic gate cannot be satisfied by absence), which is what radiusred/trading-hub#4 met — chartered, implemented, reviewed and approved, then stuck behind the task that added workflows, rebased, and its approval dismissed.

Why it was deferred

It writes files every adopter inherits: a workflow in .github/workflows/, its tool choice, its runner image and its action pins become part of every new CodeCrew repository, and an opt-out flag is a new argument to init. That is a protocol-level choice, not a CLI patch, and M21 ships v2.1.1 under the 2.1 bedding-in rule (no protocol change). #398 instead makes the requirement visible before the first task: init's next: lines state it, task new and task start print a note: when the target repository has no workflow on pull_request, and CLI.md cross-references NO_CHECKS from init and task finish.

Candidate for protocol 2.2.

Origin: #391. Deferred by: #398.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions