Codex/ash refactor#325
Conversation
Introduce ownership, structure, usage, validation, and migration guidance for portable LightSpeed AI assets by adding README files for .schemas, agents, cookbook, hooks, instructions, plugins, skills, and workflows. Update the root README's last_updated date and add a "Portable AI Source Folders" index that links to the new READMEs. These documents standardize where portable specs, schemas, recipes, hooks, instructions, plugins, skills, and workflows should live and how to migrate assets from .github paths.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
…ndexes Add portable AI source folder READMEs
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
Note
|
There was a problem hiding this comment.
Code Review
This pull request establishes a new organizational structure for portable AI assets by introducing eight top-level directories, each containing documentation on ownership, migration rules, and usage. The feedback primarily highlights the need to update validation commands to use glob patterns for comprehensive linting, clarify the location of the referenced 'migration map,' and ensure that the main repository documentation and architecture diagrams are updated to reflect these structural changes.
| ## Migration Rules | ||
|
|
||
| - Move schemas from `.github/schemas/` only through a tracked migration issue. | ||
| - Preserve the source path in the migration map. |
There was a problem hiding this comment.
There was a problem hiding this comment.
There is no MIGRATION.md file, we need a new file added to /docs folder
There was a problem hiding this comment.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
@copilot apply changes based on this feedback add a /docs/MIGRATION.md file and add any migration notes that we need to consider.
| - [.github/agents/agent.md](./.github/agents/agent.md) - Agent specifications | ||
| - [.github/prompts/prompts.md](./.github/prompts/prompts.md) - Prompt library | ||
|
|
||
| ### Portable AI Source Folders |
There was a problem hiding this comment.
There was a problem hiding this comment.
Pull request overview
Adds first-pass ownership/index READMEs for the new top-level “portable” source folders introduced by the portable AI plugin restructure work, and updates the root README to link to them.
Changes:
- Added folder-level README contracts for new portable source roots (
/.schemas,/agents,/cookbook,/hooks,/instructions,/plugins,/skills,/workflows). - Documented purpose, ownership, expected structure, migration rules, and basic Markdown validation commands for each folder.
- Updated the root
README.mdto include the new “Portable AI Source Folders” section and refreshedlast_updated.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
.schemas/README.md |
Defines ownership and migration rules for portable schema assets. |
agents/README.md |
Defines scope/structure for portable agent specifications. |
cookbook/README.md |
Defines scope/structure for portable recipes and examples. |
hooks/README.md |
Defines scope/structure for portable hooks/guardrails and safety expectations. |
instructions/README.md |
Defines scope/structure for portable instruction files outside .github/. |
plugins/README.md |
Defines plugin family strategy and rules for installable plugin bundles. |
skills/README.md |
Defines skill folder contract and an initial skills backlog table. |
workflows/README.md |
Defines portable agentic workflow boundary vs GitHub Actions. |
README.md |
Updates last_updated and adds links to the new portable folder indexes. |
Comments suppressed due to low confidence (2)
skills/README.md:46
- The "Initial Skills Backlog" table is formatted with an extra leading pipe (
||), which creates blank columns when rendered. Reformat it as a normal Markdown table so the columns align as intended.
| Skill | Plugin fit | Priority | Status |
| --- | --- | --- | --- |
| `lightspeed-frontmatter-audit` | `lightspeed-github-ops` | P0 | Planned |
| `lightspeed-pr-review` | `lightspeed-github-ops` | P0 | Planned |
| `lightspeed-label-governance` | `lightspeed-github-ops` | P0 | Planned |
| `lightspeed-release-prep` | `lightspeed-github-ops` | P1 | Backlog |
plugins/README.md:45
- The "Plugin Family Strategy" table uses
||row prefixes, which renders with blank columns. Reformat to a standard Markdown table so the three columns (Plugin family, Purpose, Status) render correctly.
| Plugin family | Purpose | Status |
| --- | --- | --- |
| `lightspeed-github-ops` | Community health, labels, templates, PR review, frontmatter, release prep. | Pilot |
| `lightspeed-wordpress-block-theme` | Block theme standards and workflows. | Planned |
| `lightspeed-wordpress-block-plugin` | Custom block plugin standards and workflows. | Planned |
| `lightspeed-content-ops` | Publishing, editorial, and reusable content operations. | Backlog |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot apply changes based on the comments in this thread |
All the portable folder README tables already use standard single-pipe Markdown formatting ( |
General Pull Request
This PR establishes the first set of portable AI source folder ownership docs for the repository. It adds top-level README files for the new portable asset areas so contributors have clear rules for what belongs in each folder, what should stay under
.github/, and how future migrations should be handled.The change is documentation-first and supports the ongoing portable AI/plugin restructure work by defining boundaries for schemas, agents, cookbook content, hooks, instructions, plugins, skills, and workflows. It also updates the root
README.mdso these new folders are discoverable from the main repository entrypoint.Linked issues
Closes #290
Changelog
Added
.schemas/agents/cookbook/hooks/instructions/plugins/skills/workflows/Changed
README.mdto document the new portable AI source folders and link to each folder’s README..github/versus which can be migrated into portable top-level locations over time.Fixed
Removed
Risk Assessment
Risk Level: Low
Potential Impact:
This is a documentation-only change. If incorrect, the main risk is contributors placing files in the wrong location or following the wrong migration path for portable assets.
Mitigation Steps:
How to Test
Prerequisites
Test Steps
README.mdand confirm the new Portable AI Source Folders section is present..github/#290Expected Results
Edge Cases to Verify
.githubownership rulesChecklist (Global DoD / PR)