In one minute
Each app keeps its own PRDs. AVA's docs only say how AVA uses the app.
Every day it reads each app's MCP or API and rewrites AVA's technical docs and capabilities index.
Anything new or different opens a pull request in ata-core and pings the team in Google Chat.
Dev checks AVA still works. Product decides how AVA presents it. Then it merges.
Overview
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.mdin 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
Reads integrations.yaml, then every enrolled app's tool list (names, descriptions, input schemas).
Automatic
Rewrites each technical.md, compares it with main, and checks product.md for affected capabilities. No change: stops here.
Automatic
Opens a labelled PR (or an issue if an app didn't answer) and posts to Chat.
Automatic
Dev and product review, and fix AVA's code or product.md in the same PR if needed.
Precious, Karen · Iyah
Merge. README.md and capabilities.md are rebuilt.
Whoever merges
Who reviews what
Enrolling an app
One entry in integrations.yaml.
New integrations/<app>/product.md.
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.
Every PR and issue needs a dev or product approval before anything reaches main. Nothing merges or applies automatically.
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.
For example, AVA picking up a new read-only tool without a code change, the way the Mina CRM pass-through already does.
- 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.
| File | Holds | Who | Used in |
|---|---|---|---|
integrations/integrations.yamlCatalog | Every enrolled app: internal or external, MCP or API, endpoint, secret name, reviewers | Dev, at enrollment | Read in stage 1 |
integrations/README.mdDirectory | The enrolled apps as a table, internal and external, for people | Generated from the catalog | Rebuilt in stage 5 |
integrations/capabilities.mdCapabilities 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 doc | Generated from every product.md | Rebuilt in stage 5; affected rows listed in the stage 3 PR |
integrations/<app>/technical.mdTechnical integration doc | The app's tools or endpoints: inputs, outputs, errors | Generated from the app's MCP or API | Rewritten in stage 2 |
integrations/<app>/product.mdProduct integration doc | How AVA presents each capability: interactions, who gets it, behaviour when the app is down, now or later, and the tool it uses | Product (Iyah) | Read in stage 2 to find affected capabilities; edited in stage 4 |
product/PRDs/<nnnn>-integrations.mdIntegrations PRD | Rules for every connected app, and this process | Product | Reference |
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 feature | Product | Reference |
.github/workflows/integrations-sync.ymlRunner | Stages 1 to 3, the daily cron | Dev | Runs stages 1 to 3 |
.github/CODEOWNERS | Who must approve changes under docs/ava/integrations/ | Dev | Stage 4 |
pull_request_template.mdevery repo | Which story or capability the PR touches; whether docs changed | Dev | Every PR |
AGENTS.mdevery repo | Where the docs are and what to read first, for devs and their AI agents | Dev | Whenever 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 docs | The app's owner | Outside this pipeline |
If something goes wrong
An issue is opened and Chat is alerted. That app's docs stay as they are.
The next daily run finds it.
Not decided yet.
Open decisions
- One read token per app, stored by an org admin.
- Block the merge until every label is approved (GitHub branch protection).
- The fields of a catalog entry.
- The columns of the capabilities index.
- Who sets up the Google Chat webhook for ATA-AVA Unfiltered.
- What happens to a PR left open.
- The guardrails that would allow auto-merge, and which change types qualify first.