Skip to content

refactor: give Agents API its own source tree#6

Merged
chubes4 merged 1 commit intomainfrom
refactor/source-tree
May 1, 2026
Merged

refactor: give Agents API its own source tree#6
chubes4 merged 1 commit intomainfrom
refactor/source-tree

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 1, 2026

Summary

  • Move Agents API source files into an agent-native src/ tree organized by Registry, Packages, Runtime, Tools, Memory, and Transcripts concerns.
  • Preserve public WordPress facades and namespaced contract names while removing the copied Data Machine physical layout.

Changes

  • Updated agents-api.php bootstrap paths to load from the new src/ tree.
  • Moved files out of inc/Core/*, inc/AI/*, and top-level inc/ into Agents API vocabulary directories.
  • Extended the bootstrap smoke test to assert the expected source directories and absence of the legacy copied layout.

Tests

  • composer test

Closes #3

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Refactoring and testing the Agents API source-tree layout under Chris's review.

@chubes4 chubes4 force-pushed the refactor/source-tree branch from 2b9a4dc to fb83175 Compare May 1, 2026 14:52
@chubes4 chubes4 merged commit 70bb01c into main May 1, 2026
1 check passed
@chubes4 chubes4 deleted the refactor/source-tree branch May 1, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: give Agents API its own source tree

1 participant