Skip to content

docs: document the extension model + allow external/own-repo organizations#638

Merged
potiuk merged 1 commit into
mainfrom
docs/extension-model
Jun 29, 2026
Merged

docs: document the extension model + allow external/own-repo organizations#638
potiuk merged 1 commit into
mainfrom
docs/extension-model

Conversation

@potiuk

@potiuk potiuk commented Jun 29, 2026

Copy link
Copy Markdown
Member

What

Makes external / own-repo a first-class home for organizations (it
already was for adapters), and adds one guide explaining every way Magpie
can be extended.

New: docs/extending.md

The map of extensibility:

  • What you can extend — skill, tool/adapter, capability contract,
    organization, project config, user config.
  • Where each can live — the three homes: in-tree (upstream) /
    your adopter repo (.apache-magpie-overrides/) / an external repo —
    with a trade-off table (travels-with, licence, best-when).
  • Who typically owns each — project, organization, individual.
  • Reiterates discovery-not-installation (PRINCIPLES §13).

Convention change

  • AGENTS.md — the organization resolution order now includes an
    adopter-local / external home:
    project.md → organizations/<org>/ (in-tree) → .apache-magpie-overrides/organizations/<org>/ (adopter-local/external) → framework default. So organization: need not name an in-tree
    org — you can keep your org adapter in your repo or vendor it from the
    org's own repo.

Consistency + wiring

  • organizations/README.md — "three homes" note for an organization +
    resolution order.
  • docs/adapters/authoring.md — "two homes" → "three homes" (adds the
    adopter-repo override home).
  • docs/index.md gains an "Extend Magpie" row; vendor-neutrality.md
    and the adapter registry link the new guide.

Verification

doctoc, markdownlint, lychee (all links/anchors resolve), placeholder
check — green. No skill/tool/validator changes (the org resolution is a
runtime contract agents follow; adopter-local orgs live in adopter repos,
not validated by the framework validator).

🤖 Generated with Claude Code

…tions

Make "external / own-repo" a first-class home for organizations (as it
already is for adapters), and add one guide explaining every way Magpie
can be extended.

- docs/extending.md (new): what you can extend (skill, tool/adapter,
  capability contract, organization, project config, user config), the
  three homes each can live in (in-tree / your adopter repo / external
  repo) with a trade-off table, and who typically owns each (project /
  organization / individual). Reiterates discovery-not-installation (§13).
- AGENTS.md: the organization resolution order now includes an
  adopter-local / external org home —
  `.apache-magpie-overrides/organizations/<org>/` — so `organization:`
  need not name an in-tree org.
- organizations/README.md: new "three homes" note for an organization
  (in-tree / adopter repo / org's own repo) + the resolution order.
- docs/adapters/authoring.md: "two homes" → "three homes" (adds the
  adopter-repo override home) for consistency.
- Wire-in: docs/index.md "Extend Magpie" row; vendor-neutrality +
  adapter registry link the new guide.

Generated-by: Claude Code (Opus 4.8)
@potiuk potiuk merged commit 60b712c into main Jun 29, 2026
28 checks passed
@potiuk potiuk deleted the docs/extension-model branch June 29, 2026 06:33
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.

1 participant