docs: establish issue-driven workflow with label state machine - #3
Merged
Conversation
GitHub issues become the single source of truth for all work. Adds the label taxonomy (type/epic/priority/status), the lifecycle contract with six invariants, the per-issue agent loop, and six scoped agent roles. Native GitHub issue types are unavailable on user-owned repositories (issueTypes queries null), so a type:* label family stands in for them. This is the one commit that predates the tracker and therefore carries no Refs trailer.
📊 Test Coverage ReportCoverage: 32.6% Coverage report is available in the workflow artifacts. Coverage by Layer
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up the issue-driven workflow so autonomous sessions can pull work, ship it,
verify it, and close it without a human babysitting each step.
docs/issue-workflow.md— taxonomy, lifecycle diagram, six invariants, theper-issue agent loop, and copy-paste
ghrecipes for every transition.scripts/bootstrap-issue-labels.sh— idempotent label bootstrap,REPO=overridable,
DRY_RUN=1supported. Already run against this repo (22 labels).This script is the canonical source for the epic list.
CLAUDE.md— workflow summary, an honest account of what acceptance toolinghere can and cannot verify, evidence discipline, and the multi-agent Loop
Protocol with a gate table.
.claude/agents/*.md— six roles (plan, implement, qa, security, review,release) with tools scoped to each role's write lane. Reviewer roles file
issues; they never fix.
Adaptation worth flagging: GitHub native issue types are an organisation-level
feature and are unavailable on user-owned repositories, so a
type:*labelfamily stands in. Verified:
issueTypesreturns null for this repo.Docs and scripts only; no Dart code changes.