# US 2026/0017038 A1 · Context aware multi-stage software builds

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0017038 A1
- Document ID: US20260017038A1
- Status: Published application
- Kind: A1
- Application number: 18/768,939
- Filed: 2024-07-10
- Published: 2026-01-15
- Earliest claimed: 2024-07-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sudheesh S. Kairali; Sriram Srinivasan; Gopikrishnan Varadarajulu; Joffin Johnson
- Web page: https://patentgrep.com/patent/US20260017038A1

## CPC

- G06F 8/40: Transformation of program code
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method according to one approach, is for customizing the selection of stages in a multi-stage software build. The computer-implemented method includes: using information associated with the multi-stage software build to develop situational context of the multi-stage software build. The situational context is converted into a build context and the build context is further converted into a number of build stages. Moreover, the build stages are automatically edited, and the edited stages are executed.

## Claims

### Claim 1

A computer-implemented method (CIM) for customizing the selection of stages in a multi-stage software build, comprising:
using information associated with the multi-stage software build to develop situational context of the multi-stage software build;
causing the situational context to be converted into a build context;
causing the build context to be converted into a number of build stages;
automatically editing the build stages; and
causing the edited stages to be executed.

### Claim 2 (depends on 1)

The CIM of claim 1, wherein the causing of the situational context to be converted into a build context includes causing a situational context to build context converter to generate the build context.

### Claim 3 (depends on 2)

The CIM of claim 2, wherein the situational context to build context converter includes an artificial intelligence based model trained to correlate different situational contexts to respective build contexts.

### Claim 4 (depends on 1)

The CIM of claim 1, wherein the causing of the build context to be converted into a number of build stages includes causing a build context to build stage converter to generate the build stages.

### Claim 5 (depends on 4)

The CIM of claim 4, wherein the build context to build stage converter includes an artificial intelligence based model trained to correlate different build contexts to respective multi-stage build stages.

### Claim 6 (depends on 1)

The CIM of claim 1, wherein the situational context is based on business context extracted from the received information.

### Claim 7 (depends on 1)

The CIM of claim 1, further comprising:
causing the executed stages to be pushed to a service deployment,
wherein the multi-stage software build is a micro-service corresponding to a software installation package.

### Claim 8 (depends on 7)

The CIM of claim 7, wherein the service deployment is cloud-based.

### Claim 9

A computer program product (CPP), comprising:
a set of one or more computer-readable storage media; and
program instructions for customizing the selection of stages in a multi-stage software build, the program instructions collectively stored in the set of one or more storage media, for causing a processor set to perform the following computer operations:
use information associated with the multi-stage software build to develop situational context of the multi-stage software build;
cause the situational context to be converted into a build context;
cause the build context to be converted into a number of build stages;
automatically edit the build stages; and
cause the edited stages to be executed.

### Claim 10 (depends on 9)

The CPP of claim 9, wherein the causing of the situational context to be converted into a build context includes causing a situational context to build context converter to generate the build context.

### Claim 11 (depends on 10)

The CPP of claim 10, wherein the situational context to build context converter includes an artificial intelligence based model trained to correlate different situational contexts to respective build contexts.

### Claim 12 (depends on 9)

The CPP of claim 9, wherein the causing of the build context to be converted into a number of build stages includes causing a build context to build stage converter to generate the build stages.

### Claim 13 (depends on 12)

The CPP of claim 12, wherein the build context to build stage converter includes an artificial intelligence based model trained to correlate different build contexts to respective multi-stage build stages.

### Claim 14 (depends on 9)

The CPP of claim 9, wherein the situational context is based on business context extracted from the received information.

### Claim 15 (depends on 9)

The CPP of claim 9, wherein the program instructions are for causing the processor set to further perform the following computer operations:
cause the executed stages to be pushed to a service deployment,
wherein the multi-stage software build is a micro-service corresponding to a software installation package.

### Claim 16 (depends on 15)

The CPP of claim 15, wherein the service deployment is cloud-based.

### Claim 17

A computer system (CS), comprising:
a processor set;
a set of one or more computer-readable storage media; and
program instructions for customizing the selection of stages in a multi-stage software build, the program instructions collectively stored in the set of one or more storage media, for causing the processor set to perform the following computer operations:
use information associated with the multi-stage software build to develop situational context of the multi-stage software build;
cause the situational context to be converted into a build context;
cause the build context to be converted into a number of build stages;
automatically edit the build stages; and
cause the edited stages to be executed.

### Claim 18 (depends on 17)

The CS of claim 17, wherein the causing of the situational context to be converted into a build context includes causing a situational context to build context converter to generate the build context, wherein the situational context to build context converter includes an artificial intelligence based model trained to correlate different situational contexts to respective build contexts.

### Claim 19 (depends on 17)

The CS of claim 17, wherein the causing of the build context to be converted into a number of build stages includes causing a build context to build stage converter to generate the build stages, wherein the build context to build stage converter includes an artificial intelligence based model trained to correlate different build contexts to respective multi-stage build stages.

### Claim 20 (depends on 17)

The CS of claim 17, wherein the program instructions are for causing the processor set to further perform the following computer operations:
cause the executed stages to be pushed to a service deployment,
wherein the multi-stage software build is a micro-service corresponding to a software installation package,
wherein the service deployment is cloud-based,
wherein the situational context is based business context extracted from the received information.
