Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/issue-fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ organization_issue_fields:
- Bug
- Feature
- Task
- Epic
- Maintenance
- Release
- Design
- Chore
- Automation
- Integration
- Research
- Support
- Documentation
- Release
pinned_per_issue_type:
- Priority
- Effort
Expand Down
79 changes: 50 additions & 29 deletions .github/label-governance-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,55 @@ destructive_cleanup:
gated_by_issue: 95
approved_orphan_labels: []
never_delete_labels:
- a11y
- audit
- automation
- bats
- blocker
- bug
- checklist
- ci
- type:bug
- type:feature
- type:documentation
- type:task
- type:release
- type:design
- type:chore
- type:refactor
- type:maintenance
- type:automation
- type:test
- type:ai-ops
- type:build
- type:integration
- type:dependency
- type:compatibility
- type:research
- type:investigation
- type:security
- type:performance
- type:qa
- type:audit
- type:epic
- type:question
- type:support
- type:content-modelling
- type:story
- type:review
- type:a11y
- type:improve
- type:enhancement
- area:ci
- area:dependencies
- area:labels
- area:security
- area:a11y
- area:documentation
- area:tests
- area:scripts
- area:assets
- area:woocommerce
- area:block-editor
- area:theme
- lang:php
- lang:js
- lang:css
- lang:md
- lang:json
- lang:yaml
- comp:help-tabs
- configuration
- codex
- cross-reference
- css
- dependencies
- documentation
- github_actions
- governance
- javascript
- js
- lang:javascript
- maintenance
- meta
- meta:duplicate
- onboarding
- package.json
- path-resolution
- php
- quickstart
- security
- standards
- test
- meta:dependabot-security
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- "^feat/.*"
- "^fix/.*"
- "^docs?/.*"
- "^ai/.*"
- "^automation/.*"
- "^(chore|build|refactor|test|perf|ci|release|hotfix|design|a11y|qa|content|seo|config|migrate|uat|proto|ds|api|schema|telemetry)/.*"

# Type mapping (by branch)
Expand Down Expand Up @@ -40,6 +42,10 @@
head-branch: ["^question/.*"]
"type:support":
head-branch: ["^support/.*"]
"type:ai-ops":
head-branch: ["^ai/.*"]
"type:automation":
head-branch: ["^automation/.*"]
Comment on lines +45 to +48
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the new prefixes in the review status rule

For PRs opened from the newly recognised ai/* or automation/* branches, these rules add a type label but the separate status:needs-review rule above does not include either prefix. The in-repo labeler only applies labels whose own branch pattern matches, so those PRs will be left without the review status label and downstream project sync falls back to the generic default instead of marking them ready for review.

Useful? React with 👍 / 👎.


# Priority mapping (by branch)
"priority:critical":
Expand Down
1 change: 1 addition & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pull_request_rules:
- author=dependabot[bot]
- base=develop
- label=area:dependencies
- -label=meta:dependabot-security
- check-success=check
- check-success=lint
- check-success=validate
Expand Down
7 changes: 2 additions & 5 deletions .github/metrics/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "LightSpeed Metrics Directory"
version: "v1.1"
last_updated: "2026-05-29"
version: "v1.2"
last_updated: "2026-06-01"
author: "LightSpeed"
maintainer: "Ash Shaw"
description: "Metrics collection scripts, configuration, and automation for tracking repository health, documentation quality, and project activity."
Expand Down Expand Up @@ -383,6 +383,3 @@ Made with ❤️ by the LightSpeed team.

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)

*Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP*
[Contact](https://lightspeedwp.agency/contact)
4 changes: 2 additions & 2 deletions .github/projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
file_type: "documentation"
title: "Projects Directory"
description: "Task tracking files, project planning documents, implementation roadmaps, and progress tracking for active and completed projects."
version: "1.1"
last_updated: "2026-05-31"
version: "1.2"
last_updated: "2026-06-01"
owners: ["LightSpeed Engineering"]
tags: ["projects", "documentation", "governance"]
---
Expand Down
74 changes: 49 additions & 25 deletions docs/ISSUE_FIELDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: Issue Fields Specification
description: Canonical specification for GitHub organization issue fields, type mappings, and project automation configuration
file_type: documentation
version: v1.0.0
version: v1.0.1
created_date: '2026-05-31'
last_updated: '2026-05-31'
last_updated: '2026-06-01'
authors:
- Claude Code
- LightSpeed Team
Expand All @@ -18,6 +18,8 @@ tags:
- project-automation
- governance
domain: governance
status: stable
language: en
stability: stable
---

Expand All @@ -36,7 +38,7 @@ This document specifies the organization-level issue fields, type mappings, and

**Key Outcomes**:

- All 25 issue types mapped to 10 project field values (preserves domain context)
- All 32 issue types mapped to 10 project field values (preserves domain context)
- Eliminates collapse of domain-specific types to generic "Task"
- Enables project automation based on type for better reporting and workflow
- Maintains GitHub API compatibility with existing project views
Expand All @@ -45,22 +47,44 @@ This document specifies the organization-level issue fields, type mappings, and

## 1. Issue Type Taxonomy & Project Field Mapping

### 1.1 Complete Type Mapping (25 Types → 10 Project Fields)
### 1.1 Complete Type Mapping (32 Types → 10 Project Fields)

| Issue Type | Project Field | Rationale | Count |
| --- | --- | --- | --- |
| **Bug** | Bug | Critical issues requiring fix | type:bug |
| **Feature** | Feature | New functionality/enhancements | type:feature, type:improve, type:enhancement |
| **Documentation** | Documentation | Docs, guides, specifications | type:documentation |
| **Task** | Task | Work items without type specificity | type:task |
| **Design** | Design | Design/UX/accessibility work | type:design, type:ui, type:a11y |
| **Chore** | Chore | Maintenance, refactoring, code quality | type:chore, type:refactor, type:maintenance |
| **Release** | Release | Release planning and management | type:release |
| **Research** | Research | Investigation, analysis, POCs | type:research |
| **Automation** | Automation | Workflow automation, CI/CD, tooling | type:automation, type:test, type:ai-ops, type:ci |
| **Integration** | Integration | External system integrations, dependencies | type:integration, type:dependency |

**Total Coverage**: All 25 types mapped; 0 unmapped types
| Issue Type | Project Field | Rationale |
| --- | --- | --- |
| `type:bug` | Bug | Critical issues requiring fix |
| `type:feature` | Feature | New functionality/capabilities |
| `type:improve` | Feature | Enhancement to existing feature |
| `type:enhancement` | Feature | Enhancement (alias for improve) |
| `type:documentation` | Documentation | Docs, guides, specifications |
| `type:task` | Task | Generic work without specific type |
| `type:design` | Design | Design artefacts/decisions |
| `type:ui` | Design | UI implementation/consistency |
| `type:a11y` | Design | Accessibility improvements |
| `type:chore` | Chore | General maintenance tasks |
| `type:refactor` | Chore | Code quality improvements |
| `type:maintenance` | Chore | System upkeep/updates |
| `type:release` | Release | Release management/deployment |
| `type:research` | Research | Investigation/discovery/POCs |
| `type:investigation` | Research | Issue diagnosis/root cause analysis |
| `type:automation` | Automation | Workflow automation/task automation |
| `type:test` | Automation | Test coverage/infrastructure |
| `type:ai-ops` | Automation | AI operations/agents/tooling |
| `type:ci` | Automation | CI/CD pipelines |
| `type:build` | Automation | Build system improvements |
| `type:integration` | Integration | External system integrations |
| `type:dependency` | Integration | Dependency updates/management |
| `type:compatibility` | Integration | Cross-platform compatibility |
| `type:epic` | Task | Parent issue grouping stories |
| `type:story` | Task | User-centred vertical slice |
| `type:review` | Task | Peer review/QA/validation |
| `type:audit` | Task | Security/code/process audits |
| `type:question` | Task | Clarification request/open question |
| `type:support` | Task | Support request/troubleshooting |
| `type:content-modelling` | Task | Content structure/CPTs/taxonomy |
| `type:performance` | Task | Performance optimization work |
| `type:security` | Task | Security issues/improvements |

**Total Coverage**: All 32 canonical types mapped to 10 project field values; 0 unmapped types

### 1.2 Type Category Groups

Expand Down Expand Up @@ -118,7 +142,7 @@ Security (1 type)

### 2.1 Why NOT Collapse to 4 Values?

The previous mapping (Bug, Feature, Documentation, Task) collapsed 25 types to 4 values:
The previous mapping (Bug, Feature, Documentation, Task) collapsed all types to 4 values:

**Problems with collapse**:

Expand All @@ -127,7 +151,7 @@ The previous mapping (Bug, Feature, Documentation, Task) collapsed 25 types to 4
- **Poor reporting** — No visibility into which types consume effort (e.g., are we spending too much on research?)
- **Missed optimization** — Can't identify bottlenecks by type (e.g., feature slow? bug backlog growing?)

### 2.2 Why 10 Values (Instead of 25)?
### 2.2 Why 10 Values (Instead of 32)?

With 10 project field values, we maintain meaningful distinctions without fragmenting project views:

Expand All @@ -151,7 +175,7 @@ All organization issues support these fields:
| --- | --- | --- | --- | --- |
| **Priority** | single_select | Urgent, High, Medium, Low | No | Current importance level |
| **Effort** | single_select | XS, S, M, L, XL, XXL, XXXL | No | Relative sizing estimate |
| **Type** | single_select | Bug, Feature, Design, Chore, Automation, Research, Documentation, Integration, Release, Task | No | **Expanded mapping** — all 25 types covered |
| **Type** | single_select | Bug, Feature, Design, Chore, Automation, Research, Documentation, Integration, Release, Task | No | **Expanded mapping** — all 32 types covered |
| **Start date** | date | YYYY-MM-DD | No | Planned start date |
| **Target date** | date | YYYY-MM-DD | No | Expected completion date |

Expand Down Expand Up @@ -252,12 +276,12 @@ All LightSpeed custom types (type:design, type:automation, etc.) are mapped to t
### Phase 1: Configuration Update (Current)

- ✅ Document expanded mapping (this file)
- ✅ Update `.github/issue-fields.yml` with all 25 type mappings
- ✅ Verify no unmapped types (type:refactor, type:build now mapped)
- ✅ Update `.github/issue-fields.yml` with all 32 type mappings
- ✅ Verify no unmapped types (all 32 types now mapped)

### Phase 2: Validation (Issue #684 - Type Naming)

- Verify all 25 types are correctly used in existing issues
- Verify all 32 types are correctly used in existing issues
- Update type naming consistency across the repository
- Document any type aliases or deprecated types

Expand Down Expand Up @@ -376,7 +400,7 @@ Why both exist:

| Date | Change | Author |
| --- | --- | --- |
| 2026-05-31 | Initial specification v1.0.0 — 25 type → 10 project field mapping | Claude Code |
| 2026-05-31 | Initial specification v1.0.0 — 32 type → 10 project field mapping | Claude Code |

---

Expand Down
Loading
Loading