Skip to content

task: spec-014 - Revise for AGENTS.md, agent files and SKILL.md #3466

Open

Description

@eleshar

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:

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 frontmatter last_updated: "2026-09-22""; align the test-folder rule
  • CLAUDE.md, .github/instructions/agent-spec.instructions.md, .github/instructions/file-organisation.instructions.md, agents/agent.md
  • 44 nested *.agent.md files and 32 flat ones: normalise frontmatter

Acceptance

  • Spec 014 documents, templates and validators state the same rules
  • Root AGENTS.md frontmatter parses
  • Every agents/*.agent.md has name and description
  • 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.

Activity

  1. linear-code commented on Sep 23, 2026

    @linear-code
  2. eleshar commented on Sep 23, 2026

    @eleshar
    ContributorAuthor

    Additional findings from resolving #3465, for this revision:

    • Package naming: every real agent package uses @lightspeedwp/<agent-name>; the validators now derive the scope from the root package.json. One genuine mismatch remains: agents/wordpress-release-utilities-agent/package.json is named @lightspeedwp/wordpress. Rename the package or the folder.
    • Licence: the root package and all five agent packages use GPL-3.0-or-later, but .github/templates/agent-structure-template/package.json (develop, 2026-09-22) declares MIT. The validators now enforce the root licence, so the template needs to match, or the root licence changes. This is a policy decision.
    • REQUIRED_COMPONENTS in structure-checker.js still requires tests/ only; task: support tests/ and __tests__/ and remove dead root jest.config.js #3469 allows __tests__/ too, so the checker must accept either.
  3. eleshar commented on Sep 23, 2026

    @eleshar
    ContributorAuthor

    One more item: package-json-validator.js warns 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 Node 24.20.0 in .nvmrc, but the root package.json still declares engines.node: ">=18.0.0". Pick the supported floor once (root engines), and have the validator read it instead of hard-coding end-of-life versions.

  4. changed the title [-]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[/+] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions