Maintain Pmaster-dev infrastructure repos as the core foundation for an AI-agent-first ecosystem built on magician-core, a2a (Agent-to-Agent), and the AI SDK.
| Org | Key repos | Current role |
|---|---|---|
360magicians |
magician-core, a2a, magician-sdk |
Core AI agent orchestration and Agent-to-Agent protocols |
Pmaster-dev |
server, docs, actions, electron, .github |
Infrastructure/automation layer, reusable tooling, shared contracts |
All products are views into the kernel. The kernel lives in Pmaster-dev/server.
The kernel defines:
- 11 kernel objects — Person, Organization, Case, Project, Service, Accommodation, Document, Workflow, Decision, Outcome, Event (see
docs/architecture/kernel.md) - 8 core tables —
users,organizations,workflows,events,documents,accommodations,decisions,outcomes - 6 engine capabilities — Registry, Event Store, Workflow, Decision, Document, Outcome (see
docs/architecture/engines.md) - Shared OpenAPI contracts —
docs/openapi/kernel.yamlimported by all downstream services - Python implementation —
src/kernel/package, one module per engine
No product creates its own parallel data model. If a concept isn't in the kernel, it is proposed here first.
- Keep
Pmaster-dev/.githubas the org template hub:- shared
CODEOWNERS - reusable workflows in
ci/anddeployments/ - shared pre-commit config
- shared
- Mirror the same model in
360magiciansusingmagician-coreas the workflow hub. - Replace duplicated per-repo workflows with reusable
workflow_callworkflows.
Standard stage order for every repo:
[Scan/Lint] → [Build] → [Test] → [Security] → [Deploy/Publish]
Target mapping:
- Scan:
pr-security.yml,semgrep.yml,codeql.yml - Lint:
pylint.yml,super-linter.yml - Build:
rust-ci.yml,nextjs.yml,deploy-marketing-site.yml - Test:
vitest,pytest - Deploy:
github-pages.yml,deploy.yml,release.yml
| Instance | Pmaster-dev | 360magicians |
|---|---|---|
| API server | server/src/automation |
magician-core |
| API docs | docs/openapi/ |
a2a protocol spec |
| Desktop client | electron |
— |
| CI action | actions/action.yml |
magician-sdk |
| Marketing/docs site | — | mbtq.dev |
| Web app | — | magician-sdk frontend |
| Auth layer | — | a2a identity layer |
- Default to REST for user-initiated synchronous CRUD flows.
- Use Webhook for asynchronous automation events (CI, release, cross-repo signals).
- Defer gRPC/tRPC until latency/throughput needs justify protocol expansion.
Reference flow:
Pmaster-dev/* push/release → Pmaster-dev/actions → dispatch/webhook to 360magicians/magician-core → update workflow state → run downstream checks → report status back to source PR/check.
- Machine-readable contracts:
docs/openapi/*.yaml - Human-readable operational docs:
docs/api/,docs/guides/ - Agent/system context:
magician-coreagent definitions - Cross-org map (this file):
docs/ecosystem-inventory.md
- Commit this ecosystem inventory document in
Pmaster-dev/server. - Publish shared automation OpenAPI contracts under
docs/openapi/. - Refactor duplicated workflows into reusable
workflow_callunits. - Wire webhook bridge from
Pmaster-dev/actionsto360magicians/magician-core. - Standardize framework package versions across frontend repos.