Repository navigation
Description
Part of #3464.
Problem
Spec 014 mandates a bespoke 7-component agent folder (AGENT.md, CHANGELOG.md, package.json, README.md, skills/, tests/, config/). AGENT.md matches no standard, and the spec does not cover how agents and skills reach other repos.
Change
Revise spec 014 to the standards in #3464:
- Agent definition:
agents/<name>.agent.mdwithname+descriptionfrontmatter (both Copilot and Claude Code). - Agent working instructions:
AGENTS.md(root; optional nested per agent folder). RetireAGENT.mdand nestedagent/instructions/AGENTS.mdduplicates. - Skills:
SKILL.mdper the Agent Skills spec (see task: skills - Conform all skills to the SKILL.md spec #3467). - Distribution: marketplace, one canonical copy (see aiops: agent-distribution - Deliver a validated plugin marketplace #3468).
- Tests:
tests/or__tests__/(see task: support tests/ and __tests__/ and remove dead root jest.config.js #3469). package.json,CHANGELOG.md,config/only where the agent has code.
Files to update
.github/specs/014-agents-restructure-consolidate/:spec.md,plan.md,tasks.md,research.md,quickstart.md,data-model.md,contracts/audit-report-format.md,contracts/compliance-validation-report.md,contracts/registry-schema.json,checklists/implementation-readiness.md,checklists/requirements.md.github/docs/AGENT_FOLDER_STRUCTURE.md,.github/docs/SKILLS_NAMING_CONVENTION.md,.github/docs/SKILLS_REGISTRY_FORMAT.md,.github/docs/PACKAGE_JSON_REQUIREMENTS.md.github/templates/agent-structure-template/*scripts/validation/lib/structure-checker.js(REQUIRED_COMPONENTS),scripts/validation/lib/package-json-validator.js(same rules in both, one source)AGENTS.md(root): fix broken frontmatterlast_updated: "2026-09-22""; align the test-folder ruleCLAUDE.md,.github/instructions/agent-spec.instructions.md,.github/instructions/file-organisation.instructions.md,agents/agent.md- 44 nested
*.agent.mdfiles and 32 flat ones: normalise frontmatter
Acceptance
- Spec 014 documents, templates and validators state the same rules
- Root
AGENTS.mdfrontmatter parses - Every
agents/*.agent.mdhasnameanddescription - Verified whether Copilot discovers org-level agents in
agents/subfolders (docs are silent); layout decided from the result
Counterpart history and delivery boundary
The recommended delivery primary for GitHub issue #3466 has richer current requirements. This record remains the explicit active-sync record; its existing parent relationship and original requirements remain unchanged.
Preserve the package-name, licensing, test-folder and Node-floor review findings and their attribution. The unassigned/Backlog versus Ash/Todo distinction remains unresolved. This note does not authorise a duplicate marking, owner or status change, history transfer, reparenting, unsyncing or closure.
Metadata
Metadata
Assignees
Type
Fields
Priority
Activity
linear-code commentedon Sep 23, 2026
LS-4231
eleshar commentedon Sep 23, 2026
Additional findings from resolving #3465, for this revision:
@lightspeedwp/<agent-name>; the validators now derive the scope from the rootpackage.json. One genuine mismatch remains:agents/wordpress-release-utilities-agent/package.jsonis named@lightspeedwp/wordpress. Rename the package or the folder.GPL-3.0-or-later, but.github/templates/agent-structure-template/package.json(develop, 2026-09-22) declaresMIT. The validators now enforce the root licence, so the template needs to match, or the root licence changes. This is a policy decision.REQUIRED_COMPONENTSinstructure-checker.jsstill requirestests/only; task: support tests/ and __tests__/ and remove dead root jest.config.js #3469 allows__tests__/too, so the checker must accept either.eleshar commentedon Sep 23, 2026
One more item:
package-json-validator.jswarns unless an agent supports Node 18 or 20 ("Should support Node.js 18+"). Both are listed as End-of-life on https://nodejs.org/en/about/previous-releases. The repo pins Node24.20.0in.nvmrc, but the rootpackage.jsonstill declaresengines.node: ">=18.0.0". Pick the supported floor once (rootengines), and have the validator read it instead of hard-coding end-of-life versions.Merge develop into refactor/changelog-agent-quality (#3465)
Merge 334c1d1 into the #3465 resolution
[-]task: revise spec 014 to AGENTS.md, *.agent.md frontmatter and SKILL.md[/-][+]task: spec-014 - Revise for AGENTS.md, agent files and SKILL.md[/+]