Skip to content

Agent loader: object tools + slash rule validation #53

@a6b8

Description

@a6b8

Agent manifest loader and validator update

Context: Memo 001-agent-spec-docs-restructuring. Agent tools change from array to object with slash rule.

Changes:

  • AgentManifestLoader: tools type from array to object
  • AgentManifestValidator: tools validation for object + slash rule
  • New #validateSlashRule method for prompts, skills, resources
  • Skills: no slash keys allowed (model-specific)
  • Slash key with non-null value = error

Affected files:

  • src/v2/task/AgentManifestLoader.mjs
  • src/v2/task/AgentManifestValidator.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions