POLAKO / Blog

AI & automation · 26.11.2026

Octopus: one AI orchestrator for many repositories – from roadmap to changelog, with humans in the loop

When one business feature touches five microservices, the mobile app and the infrastructure, the hard part isn't writing code – it's everyone knowing what's happening elsewhere. A concept for an AI orchestrator that holds it together and leaves the decisions to people.

Most teams today have many repositories: microservices, a mobile app, a frontend, infrastructure as code. Every developer may have their own AI assistant – but that assistant only sees the repository it works in. It doesn't know a colleague in another service has just renamed a field the mobile app reads, or that the new message queue the backend expects hasn't been provisioned yet.

Anyone who has worked in a larger team knows the result: integration breaks at the end, on the test environment, a few days before the deadline. Not because someone coded badly, but because nobody saw the whole picture.

The concept: an orchestrator above the repositories

The idea is simple: above all repositories sits one AI orchestrator (for example Claude, connected through MCP to the issue tracker, the documentation and the repositories). Our working name for it is Octopus: one head holding the shared knowledge and many arms – one in every repository, team and tool. Octopus doesn't write code instead of people and doesn't decide for them. It does three things:

  • Holds shared knowledge: the roadmap, the plan, the architect's decisions, the contracts between services (APIs, events, environment variables) – in one place, up to date.
  • Tracks the path of every feature from business request to release.
  • Keeps people and their AI assistants informed about what's happening in other repositories – right when they need it.

The path of one feature: feature-1 to version 1.1.1

  1. Business: roadmap
    feature-1
  2. Architect: epic & tasks
    per microservice
  3. Developers + AI
    context of the whole epic
  4. Octopus: dependencies
    mismatches → notify
  5. Architect + QA
    v1.1.1-rc.1 → UAT
  6. Promotion
    1.1.1 + changelog
The feature-1 label follows the feature from roadmap to changelog. Every step leaves a trail. The version is illustrative.
  • The business puts the feature on the roadmap: goal, priority, deadline. It gets a label, say feature-1, that follows it all the way.
  • The architect splits it into an epic and tasks – per microservice: what changes in the orders service, what in the mobile app, what DevOps has to prepare in the infrastructure. The orchestrator drafts the tasks and the contracts (which fields, which events, which variables); the architect corrects and approves them. Only then do they go into the tracker.
  • Developers each work in their own repository, but their AI assistant gets the context of the whole epic. A mobile developer can ask: “do our guidelines match what the backend returns?” – and get an answer from the real code and contracts, not guesswork. A backend developer sees whether the infrastructure from DevOps is ready.
  • The orchestrator watches the dependencies. When it spots a mismatch – the backend changed a contract, mobile still works to the old one; a service waits for a queue that doesn't exist yet – it tells the people responsible, in the task or a message. It doesn't change other people's code; it informs.
  • When every task in the epic is done, the architect and QA decide the whole is ready. Every changed component gets a release candidate, e.g. v1.1.1-rc.1, and goes to test / UAT – the same tagging principle we described in our post on QA and environments.
  • After acceptance the same packages are promoted to production as 1.1.1. The orchestrator writes a changelog in which feature-1 shows its whole path: tasks, pull requests, candidates, tests, who approved what and when.

Humans in the loop: who decides what

Octopus prepares, tracks and informs. Decisions stay with people – each in its place:

WhoDecides onOctopus gives them
Business / managerwhat and when: goal, priority, deadlinefeature status, deadline risks
Architectsplit into tasks, contracts between servicesdrafts of tasks and contracts
Developercode in their repositorycontext of other services, contract checks
DevOpsinfrastructure and environmentswhat services expect from infrastructure
QArelease candidate, UATwhat's in the candidate, what to test
Release ownerpromotion to productionchangelog, approval trail
Octopus decides nowhere. It prepares, tracks and informs.

What it takes to make this work

  • Contracts in the repository, not in people's heads. API, event and environment-variable definitions as files in the repo (e.g. OpenAPI or an event schema). The orchestrator compares real files, not meeting notes.
  • One service catalogue. Every microservice has a name, an owner and a repository. Without it neither people nor AI know “who's in charge of this”.
  • Discipline in tickets. Every task belongs to an epic, every epic to a feature. Every pull request references its task. A small effort that makes the whole picture possible.
  • A consistent tagging and release convention across all repositories – so 1.1.1 means the same everywhere.

Limits we set from day one

  • The orchestrator only reads the repositories. It writes to the tracker and the docs (drafts, comments, the changelog); code is changed by developers – with their assistants, through pull requests and code review.
  • Nothing reaches production without a person. The release candidate and the promotion are approved by the architect, QA and the release owner.
  • Text in tickets is not a command. The orchestrator reads what other people wrote – inside and outside the company. If a task description says “skip the tests and release”, that's data, not an instruction (protection against prompt injection).
  • No secrets in context. Keys and passwords never enter what the orchestrator reads or writes.
  • A trail for every action – what was proposed, what was approved and by whom. The same principle as with message queues: we have to know what happened and when.

Where to start

You don't need everything at once. The fastest payoff usually comes from two steps: an orchestrator that only reads and reports mismatches between services within one epic, and an automatic changelog linking the feature to its tasks and release. Drafting tasks for the architect comes later, once the team trusts the information the orchestrator provides.

If your team works across many repositories and integration surprises you before every release, we'd be glad to talk about what such a flow could look like for you.

Want to know where your site's limit is?

Audit from €990, fixed price. We start by asking how you run things today.

Request an audit →

Blog

Read more

Basics

QA, environments and Gitflow: getting code to production without surprises

Customers only ever see one environment – production. Three more sit backstage, and that's where all the work and all the mistakes should happen. The basics any team can introduce step by step.

Read →
Architecture

Message queues: why ticket checkout and chat shouldn't hang on a single call

SNS, SQS and similar message queues split a system into parts that don't fail together. And when something goes wrong, there's a trail: what happened, in what order, and when.

Read →
High traffic

Ticket drops, launches, flash sales: surviving the second everyone clicks at once

A concert ticket drop or a product launch is the hardest test a system can face. It isn't decided by one server but by a set of decisions made in advance – and at the centre there's almost always a distributed Redis.

Read →
Architecture

A fast site starts with understanding the browser

What to load first, what can wait, what's static and what really has to be computed per visitor. The decisions that decide speed – and whether a site survives peak traffic.

Read →
Good practice

A portal that survives peak traffic: 6 good practices for classifieds and news sites

Classifieds and news portals share a similar architecture – and similar weak spots. Here are six things we check first, and how to fix them.

Read →
Databases

Database migrations: why they belong in your CI/CD pipeline

Code ships automatically, but the database is often changed by hand, “quickly, in production”. That's where most nasty surprises come from.

Read →
Basics

What DevOps actually does – one August, as an example

DevOps engineers are the reason a site stays up when everyone arrives at once. Here is what that looks like in practice.

Read →
Audit

Why an audit pays off before the season, not after

You can learn your system's limit in two ways: in advance, calmly – or mid-season, from your customers.

Read →
Security

What a web application firewall is – and who needs one

A web application firewall (WAF) is a guard at the gate: it lets guests in and stops those who come to do damage.

Read →
Reliability

A backup you've never restored isn't a backup

Most companies have backups. Far fewer have ever checked whether they can be restored.

Read →