Skip to content

Commit 306ca28

Browse files
committed
chore: staged changes after release v0.2.1
1 parent bf2e331 commit 306ca28

File tree

158 files changed

+1709
-3943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+1709
-3943
lines changed

.github/agents/README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ license: "GPL-3.0"
1212
domain: "governance"
1313
stability: "stable"
1414
tags: ["lightspeed", "agents", "automation", "workflows", "github-actions"]
15-
references:
16-
- path: ./agent.md
17-
description: "Main agent index"
18-
- path: ../workflows/README.md
19-
description: "Workflows directory"
20-
- path: ../instructions/agents.instructions.md
21-
description: "Agent development instructions"
2215
---
2316

2417
## 🚀 Quick Start
@@ -102,7 +95,7 @@ graph TB
10295

10396
| Agent | Description | Status | Tests |
10497
| ------------------------------------------------------------------ | -------------------------------------------------------------- | ------------- | ------------------------------------------------------------------------------ |
105-
| [meta.agent.js](./meta.agent.js) | Applies front matter, badges, human references, quirky footers | ✅ Active | - |
98+
| [meta.agent.js](./meta.agent.js) | Applies front matter, badges, quirky footers | ✅ Active | - |
10699
| [badges.agent.js](./badges.agent.js) | Manages repository badges and automation status indicators | ❌ Deprecated | - |
107100
| [header-footer.agent.js](./header-footer.agent.js) | Maintains consistent headers and footers across documentation | ❌ Deprecated | - |
108101
| [issue-type.agent.js](./issue-type.agent.js) | Automatically assigns issue types based on content analysis | ✅ Active | [✅ Tests](../../scripts/agents/__tests__/issue-type.agent.test.js) |
@@ -146,7 +139,7 @@ These GitHub Actions workflows integrate with and trigger our agents:
146139
| **[labeling.yml](../workflows/labeling.yml)** | `push`, `pull_request`, `issues` events | `labeling.agent.js` | Unified labeling for issues and PRs with status enforcement |
147140
| **[reviewer.yml](../workflows/reviewer.yml)** | `push`, `pull_request` on `develop` | `reviewer.agent.js` | Automated code review and feedback |
148141
| **[planner.yml](../workflows/planner.yml)** | `push`, `pull_request` on `develop` | Internal planner logic | Project planning automation |
149-
| **[meta.yml](../workflows/meta.yml)** | File changes, `workflow_dispatch` | `meta.agent.js` | Apply front matter, badges, references, quirky footers |
142+
| **[meta.yml](../workflows/meta.yml)** | File changes, `workflow_dispatch` | `meta.agent.js` | Apply front matter, badges, quirky footers |
150143
| **[badges.yml](../workflows/badges.yml)** | Path changes, `workflow_dispatch` | `badges.agent.js` (Deprecated) | Badge status updates |
151144
| **[manage-readmes.yml](../workflows/manage-readmes.yml)** | Path changes, `workflow_dispatch` | `manage-readmes.agent.js` | README maintenance |
152145
| **[header-footer.yml](../workflows/header-footer.yml)** | File changes | `header-footer.agent.js` (Deprecated) | Documentation consistency |

.github/agents/adr.agent.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
name: ADR Generator
33
description: Expert agent for creating comprehensive Architectural Decision Records (ADRs) with structured formatting optimized for AI consumption and human readability.
44
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker"]
5+
metadata:
6+
guardrails: "Only draft ADRs when the decision context is complete, do not revise existing ADR numbers without approval, and preserve the published template."
7+
8+
59
---
610

711
# ADR Generator Agent

.github/agents/issues.agent.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ stability: "stable"
1616
visibility: "public"
1717
target: "github-copilot"
1818
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker", "github/*", "read", "search", "edit"]
19+
permissions:
20+
- "read"
21+
- "write"
22+
- "github:repo"
23+
- "github:issues"
1924
domain: "governance"
2025
metadata:
2126
guardrails: "Only apply types/labels from canonical configs. Never overwrite without warning. Validate all content. Log all actions. Preserve user data integrity."

.github/agents/labeling.agent.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: "Labeling"
33
description: "Unified agent for dynamic, canonical, and automated labeling of issues and PRs. Handles status, type, priority, and project-field enforcement, label standardization, and migration based on .github/labels.yml."
44
target: "github-copilot"
5-
tools: ["github/*", "edit", "search"]
65
handoffs:
76
- label: "Start Implementation"
87
agent: "implementation"
@@ -17,6 +16,11 @@ category: "automation"
1716
status: "active"
1817
visibility: "public"
1918
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker", "github/*", "read", "search", "edit"]
19+
permissions:
20+
- "read"
21+
- "write"
22+
- "github:repo"
23+
- "github:issues"
2024
tags:
2125
[
2226
"lightspeed",
@@ -27,6 +31,8 @@ tags:
2731
"github",
2832
]
2933
owners: ["lightspeedwp/maintainers"]
34+
metadata:
35+
guardrails: "Only apply types/labels from canonical configs, never overwrite without warning, validate content before labeling, and log every action."
3036
---
3137

3238
# LightSpeed Unified Labeling Agent

.github/agents/linting.agent.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: "Linting"
33
description: "Enforces code quality and linting standards across all supported languages and file types. Validates JavaScript/TypeScript, CSS/SCSS, HTML, JSON, Markdown, YAML, PHP, Python, and Shell scripts against canonical standards."
44
target: "vscode"
5-
tools: ["read", "edit", "search", "shell"]
65
handoffs:
76
- label: "Fix Lint Issues"
87
agent: "lint-fixer"
@@ -30,6 +29,14 @@ tags:
3029
language: "en"
3130
owners: ["lightspeedwp/maintainers"]
3231
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker", "github/*", "read", "search", "edit"]
32+
permissions:
33+
- "read"
34+
- "write"
35+
- "filesystem"
36+
- "github:repo"
37+
- "github:actions"
38+
- "github:workflows"
39+
- "shell"
3340
metadata:
3441
guardrails: "Reference canonical config files only (.eslintrc.json, stylelint.json, etc). Never bypass failing linting checks. Log all linting actions and results. Provide clear, actionable error messages."
3542
---

.github/agents/meta.agent.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
name: "Meta"
3-
description: "Agent for applying documentation metadata in Markdown files: front matter validation/enrichment, badges, human references, and category-specific footers."
3+
description: "Agent for applying documentation metadata in Markdown files: front matter validation/enrichment, badges, and category-specific footers."
44
target: "github-copilot"
5-
tools: ["read", "edit", "search", "shell"]
65
handoffs:
76
- label: "Validate Meta Application"
87
agent: "doc-validator"
9-
prompt: "Validate that all metadata blocks (front matter, badges, human references, footers) have been correctly applied to the documentation."
8+
prompt: "Validate that all metadata blocks (front matter, badges, footers) have been correctly applied to the documentation."
109
send: false
1110
version: "v1.1"
1211
last_updated: "2025-12-05"
@@ -21,14 +20,18 @@ tags:
2120
"meta",
2221
"frontmatter",
2322
"badges",
24-
"references",
2523
"footers",
2624
"automation",
2725
"documentation",
2826
]
2927
language: "en"
3028
owners: ["lightspeedwp/maintainers"]
3129
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker", "github/*", "read", "search", "edit"]
30+
permissions:
31+
- "read"
32+
- "write"
33+
- "filesystem"
34+
- "github:repo"
3235
metadata:
3336
guardrails: "Never overwrite content outside designated blocks. Always create backups before modifications. Validate configuration schema before applying. Respect file-specific opt-out markers."
3437
---
@@ -37,7 +40,7 @@ metadata:
3740

3841
## Purpose
3942

40-
Automate the application of documentation metadata to Markdown files (front matter, badges, human references, and category-specific quirky footers) using a unified schema-driven config.
43+
Automate the application of documentation metadata to Markdown files (front matter, badges, and category-specific quirky footers) using a unified schema-driven config.
4144

4245
## Triggers
4346

@@ -48,17 +51,16 @@ Automate the application of documentation metadata to Markdown files (front matt
4851
## Inputs/Outputs
4952

5053
- **Input:** File path, metadata config, schema
51-
- **Output:** Updated doc with validated front matter, badge block, human references, and category-specific footer
54+
- **Output:** Updated doc with validated front matter, badge block, and category-specific footer
5255

5356
## Actions
5457

55-
- Read unified metadata config (front matter guardrails, badges, references, footer variants) in JSON/YAML
58+
- Read unified metadata config (front matter guardrails, badges, footer variants) in JSON/YAML
5659
- Validate config against [agent-config.schema.json](../../schemas/header-footer-agent/agent-config.schema.json)
5760
- Select appropriate category/variant (random or by file type/tag)
5861
- Insert/update metadata blocks in the doc:
5962
- Front matter verification and enrichment
6063
- Badge block placement under the H1
61-
- Human references block above the footer
6264
- Category-specific quirky footer selection
6365
- Maintain and update README.md files:
6466
- Ensure proper structure and formatting
@@ -71,5 +73,5 @@ Automate the application of documentation metadata to Markdown files (front matt
7173
- Never overwrite main content
7274
- Validate config before applying
7375
- Always backup before changes
74-
- Only update designated blocks (front matter, badges, references, footers)
76+
- Only update designated blocks (front matter, badges, footers); the legacy `references` block is retired
7577
- Preserve user-generated content in READMEs while updating metadata

.github/agents/metrics.agent.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: "Metrics"
33
description: "Automates collection, aggregation, and reporting of repository health metrics including issue/PR activity, response times, and project health indicators. Generates actionable insights and trend analysis."
44
target: "github-copilot"
5-
tools: ["github/*", "read", "search"]
65
handoffs:
76
- label: "Generate Report"
87
agent: "report-writer"
@@ -19,6 +18,12 @@ visibility: "public"
1918
tags: ["lightspeed", "metrics", "agents", "analytics", "reporting"]
2019
owners: ["lightspeedwp/maintainers"]
2120
tools: ["file_system", "markdown_generator", "input_collector", "adr_naming_helper", "quality_checker", "template_filler", "context_analyzer", "decision_rationale_extractor", "alternative_evaluator", "consequence_analyzer", "implementation_planner", "reference_manager", "date_manager", "stakeholder_identifier", "status_manager", "tag_manager", "supersession_tracker", "yaml_front_matter_generator", "markdown_saver", "language_enforcer", "structure_enforcer", "completeness_verifier", "clarity_checker", "consistency_checker", "timeliness_checker", "connection_checker", "contextual_accuracy_checker", "github/*", "read", "search", "edit"]
21+
permissions:
22+
- "read"
23+
- "write"
24+
- "filesystem"
25+
- "network"
26+
- "github:repo"
2227
metadata:
2328
guardrails: "Do not expose sensitive data or credentials in metrics. Log all collection runs. Support multi-repository aggregation. Validate data before reporting."
2429
---

.github/agents/mode-demonstrate-understanding.agent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: "Demonstrate Understanding"
33
description: "Validate user understanding of code, design patterns, and implementation details through guided questioning."
44
tools: ["codebase", "fetch", "findTestFiles", "githubRepo", "search", "usages"]
5+
metadata:
6+
guardrails: "Ask only one probing question at a time, confirm understanding before moving on, never jump to solutions, and document all reasoning."
57
---
68

79
# Demonstrate Understanding mode instructions

.github/agents/mode-document-reviewer.agent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ tools:
1313
"runSubagent",
1414
]
1515
model: Claude Sonnet 4.5 (copilot)
16+
metadata:
17+
guardrails: "Complete the mandatory analysis, compute the Documentation Wrapper Score before responding, and never skip the editorial standards described in the spec."
1618
---
1719

1820
Evaluate and enhance technical training content, documentation, and educational materials through comprehensive editorial review. Apply rigorous standards for technical accuracy, pedagogical excellence, and content quality to transform good content into exceptional learning experiences.

.github/agents/mode-prd.agent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ tools:
1616
"get_issue",
1717
"search_issues",
1818
]
19+
metadata:
20+
guardrails: "Ask clarifying questions first, confirm scope before drafting any PRD, only create docs with user approval, and never write issues without explicit consent."
21+
1922
---
2023

2124
# Create PRD Agent

0 commit comments

Comments
 (0)