AVA · Release 3 · Draft for review · 2 Dec 2026

AVA Integrations: Enrollment and Maintenance

How an app gets connected to AVA, and how AVA's docs stay correct as those apps change.

One pipeline for every appRuns dailyHuman in the loop

In one minute

Apps own their docs

Each app keeps its own PRDs. AVA's docs only say how AVA uses the app.

A runner watches them

Every day it reads each app's MCP or API and rewrites AVA's technical docs and capabilities index.

Changes become a PR

Anything new or different opens a pull request in ata-core and pings the team in Google Chat.

People sign off

Dev checks AVA still works. Product decides how AVA presents it. Then it merges.

Overview

Internal · sh63 reposHR appStatusMina CRMOpsCenter+ future internal appExternal · outside sh63Ops Hub (Amihan)Google Calendar, TasksAvtica Rewards+ future external appsh63-dev/ata-coreRunnerGitHub Actionsdaily, or by handPull requestlabelled for reviewmaindocs currentMCP tools/listMCP or API specchangesmergeDevProductapproveGoogle ChatATA-AVA Unfilteredalert
Internal and external apps feed the same runner. Its output is a pull request that dev and product approve before it reaches main.

Internal vs external apps

Both go through the same pipeline. What differs is who controls the app and how we find out it changed.

Internal

Our apps, in sh63-dev repos: HR app, Status, Mina CRM, OpsCenter

Example: the HR MCP (hr-mcp) lives in the HR app's repo, people.sh63.dev. AVA reads it like any other app.

  • Owned by our own teams
  • Their PRDs live in their repo
  • AVA reads their MCP server
  • Changes are caught on the daily run, and the team is pointed to AVA's docs by AGENTS.md in their repo
  • To enroll, the team exposes an MCP

External

Services outside sh63: Ops Hub (Amihan), Google Calendar and Tasks, Avtica Rewards

  • Owned by another company or team
  • Their docs are theirs; we have no repo access
  • AVA reads their MCP or API spec
  • Changes are caught only by the daily run; they can change without telling us
  • To enroll, we get access and their spec from the provider

The five stages

ata-core · GitHub Actionsata-core · pull requestata-core · mainREADS1 · Collect2 · Compare3 · Propose4 · Approve5 · Publishdaily cron · or by handintegrations.yamlcatalog · maintools/list or API speceach enrolled app<app>/technical.mdon main<app>/product.mdon main · capabilities<app>/technical.mdnew, on a branchchange listfrom stage 2pull requestlabels · diffChat alertATA-AVA Unfilteredapproved PRall labels signed offWRITESsnapshot per apptools + schemas, in the run<app>/technical.mdregenerated, on a branchchange listtype + affected capabilitiespull requestreview:dev · review:productissueif an app didn't answerChat alertATA-AVA Unfiltered<app>/product.mdedited in the PR, if neededAVA code fixin the PR, if neededapprovalsdev · product<app>/technical.mdon main<app>/product.mdon mainREADME.mddirectory, rebuiltcapabilities.mdcapabilities index, rebuiltwritten by peoplegenerated by the runnerother datastage 2 stops here if nothing changed
What each stage reads and writes, file by file. Gold: written by people. Green: generated by the runner.
1Collect

Reads integrations.yaml, then every enrolled app's tool list (names, descriptions, input schemas).

Automatic

2Compare

Rewrites each technical.md, compares it with main, and checks product.md for affected capabilities. No change: stops here.

Automatic

3Propose

Opens a labelled PR (or an issue if an app didn't answer) and posts to Chat.

Automatic

4Approve

Dev and product review, and fix AVA's code or product.md in the same PR if needed.

Precious, Karen · Iyah

5Publish

Merge. README.md and capabilities.md are rebuilt.

Whoever merges

Who reviews what

CHANGE FOUNDLABELREVIEWERCHECKSNew toolreview:productIyahNew AVA capability?Tool removed, renamed or changed inputsreview:dev + productPrecious, Karen · IyahAVA still works? Interaction holds?Wording onlyreview:devPrecious, KarenQuick mergeApp did not answerissue · review:devPrecious, KarenDown, or access changed?
The kind of change decides the label, and the label decides who must approve.

Enrolling an app

one pull request in ata-coreapp's repo / providerA · Expose interfaceApp team / providerB · Add catalog entryDevC · Store tokenOrg adminD · Write product docProduct (Iyah)E · Approve, mergeDev + productWRITESMCP serverinternal: in the app's repoaccess + API specexternal: from providerintegrations.yaml+1 entry: kind, type, endpoint<APP>_TOKENata-core secret<app>/product.mdnew: capabilities, now/latermainentry + product doc mergedNext daily runGENERATED BY THE NEXT DAILY RUN<app>/technical.mdcreatedREADME.mdapp addedcapabilities.mdits capabilities added
Only step A differs between internal and external apps. B to E are one ata-core pull request; the next daily run generates the rest.
B · Catalog entry

One entry in integrations.yaml.

D · Product doc

New integrations/<app>/product.md.

After merge

The runner creates <app>/technical.md and adds the app to README.md and its capabilities to capabilities.md.

What a catalog entry looks like (fields not decided)
- id: hr
  name: HR app
  kind: internal        # or: external
  repo: sh63-dev/people.sh63.dev   # internal only
  type: mcp             # or: api
  endpoint: <MCP URL or API spec URL>
  secret: HR_MCP_TOKEN  # name of the ata-core secret
  reviewers: { dev: [Precious, Karen], product: [Iyah] }

Human in the loop, for now

Today every change waits for a person. Later, some low-risk changes can merge on their own, but only once the guardrails for them are written down and agreed.

NowStrictly human in the loop

Every PR and issue needs a dev or product approval before anything reaches main. Nothing merges or applies automatically.

LaterLow-risk changes auto-merge

Candidates: description wording only, or a new tool AVA doesn't use yet. They would merge on their own and still be posted to Chat.

LaterSome changes apply themselves

For example, AVA picking up a new read-only tool without a code change, the way the Mina CRM pass-through already does.

Before anything is automated, we define
  • Which change types qualify, written as rules, not judgement
  • Checks that must pass first, such as tests and a contract test against staging
  • Who is told when it happens, and where
  • How to undo it: every automatic change can be reverted in one step
  • A trial period where the runner only labels what it would auto-merge, and people confirm it got it right

The files

Every file the process uses, where it lives, and whether a person writes it or the runner generates it.

sh63-dev/ata-core

AVA's code, the runner, and all integration docs

docs/ava/
├── product/PRDs/
│   ├── 0000-ava.md            written
│   ├── <nnnn>-integrations.md written
│   └── <nnnn>-<feature>.md    written
└── integrations/
    ├── integrations.yaml      written
    ├── README.md              generated
    ├── capabilities.md        generated
    ├── <internal-app>/
    │   ├── technical.md       generated
    │   └── product.md         written
    └── <external-app>/
        ├── technical.md       generated
        └── product.md         written
.github/
├── workflows/integrations-sync.yml  written
├── CODEOWNERS                 written
└── pull_request_template.md   written
AGENTS.md                      written

Each internal app's repo

people.sh63.dev, status.sh63.dev, mina-crm, ata.opscenter

docs/
├── PRDs/0000-<app>.md         written
└── <scope docs>               written
<the app's MCP server>         code
.github/pull_request_template.md  written
AGENTS.md                      written

External apps have no repo of ours. Their MCP or API spec is read directly, and their access token is kept in ata-core's secrets.

FileHoldsWhoUsed in
integrations/integrations.yaml
Catalog
Every enrolled app: internal or external, MCP or API, endpoint, secret name, reviewersDev, at enrollmentRead in stage 1
integrations/README.md
Directory
The enrolled apps as a table, internal and external, for peopleGenerated from the catalogRebuilt in stage 5
integrations/capabilities.md
Capabilities index
Every AVA capability across all apps: what it is, which app and tool powers it, now or later, and a link to its product docGenerated from every product.mdRebuilt in stage 5; affected rows listed in the stage 3 PR
integrations/<app>/technical.md
Technical integration doc
The app's tools or endpoints: inputs, outputs, errorsGenerated from the app's MCP or APIRewritten in stage 2
integrations/<app>/product.md
Product integration doc
How AVA presents each capability: interactions, who gets it, behaviour when the app is down, now or later, and the tool it usesProduct (Iyah)Read in stage 2 to find affected capabilities; edited in stage 4
product/PRDs/<nnnn>-integrations.md
Integrations PRD
Rules for every connected app, and this processProductReference
product/PRDs/ (others)
AVA PRDs
What AVA does for the person, without naming a service; or AVA plus one app's MCP for a large featureProductReference
.github/workflows/integrations-sync.yml
Runner
Stages 1 to 3, the daily cronDevRuns stages 1 to 3
.github/CODEOWNERSWho must approve changes under docs/ava/integrations/DevStage 4
pull_request_template.md
every repo
Which story or capability the PR touches; whether docs changedDevEvery PR
AGENTS.md
every repo
Where the docs are and what to read first, for devs and their AI agentsDevWhenever someone picks up the repo
docs/PRDs/
each internal app
The app's own requirements. Changes to the app itself go here, never in AVA's docsThe app's ownerOutside this pipeline

If something goes wrong

An app doesn't answer

An issue is opened and Chat is alerted. That app's docs stay as they are.

An external app changes quietly

The next daily run finds it.

A PR sits unreviewed

Not decided yet.

Open decisions

  1. One read token per app, stored by an org admin.
  2. Block the merge until every label is approved (GitHub branch protection).
  3. The fields of a catalog entry.
  4. The columns of the capabilities index.
  5. Who sets up the Google Chat webhook for ATA-AVA Unfiltered.
  6. What happens to a PR left open.
  7. The guardrails that would allow auto-merge, and which change types qualify first.