Skip to main content

postman-bootstrap

Build a release gate that proves a modernized system still behaves like the one it replaced.

Rewrites, ports and framework upgrades are graded on whether the new code compiles, lints and starts. None of that is a claim about behaviour. This records what the original system actually did, before it changes, and turns that recording into a gate your CI runs against the replacement.

pip install postman-bootstrap

Python 3.11+. The base install pulls PyYAML and nothing else.

The shape of it

Run it on the pre-transform checkout. That ordering is the whole idea: governance and contract tests can be rebuilt from code at any time, but the original system's behaviour survives only in what you captured before it changed.

postman-bootstrap scan          --repo .    # stack, routes, legacy interface class
postman-bootstrap init          --repo . --api-name "Orders" --legacy-interface http_service
postman-bootstrap capture-plan  --repo .    # which cases are worth recording
postman-bootstrap review        --repo .    # what the plan covers, and what it does not
postman-bootstrap capture       --repo . --boot   # record what the original answers
postman-bootstrap build-gate    --repo .    # emit the gate and its CI
postman-bootstrap check         --repo .    # run it

You end up with a postman/ directory and a ci/gate.sh in your repository:

OpenAPI 3.1 spec what the estate's contract is
Governance ruleset whether that contract is well-formed
Golden corpus what the pre-transform system actually did
Regression suite whether the new system matches it, case by case
Contract tests whether each endpoint honours its own contract
Environments baseline, target, mixed, mock

Any of them failing exits non-zero. That is the gate.

What it is careful about

The gate does not depend on this package. ci/gate.sh runs Python against the helper scripts written beside it, plus the Postman CLI and Spectral. Once the gate exists it is files in your repository, and it keeps working whether or not you ever install this again.

Comparison starts exact. Every suppression is recorded in the manifest rather than applied quietly, because a gate that was widened until it went green is not evidence.

Coverage is reported honestly. gate-status names the operations reached only by cases that errored, the documented codes no case reaches, and the operations whose success body is asserted against nothing. A captured case is not a covered case, and a case count is not coverage.

A system with no HTTP surface still works. postman-bootstrap shim generates a thin HTTP facade over a library, batch job, or CLI, emitted as readable source so you can check that it projects the code rather than reinterpreting it.

Optional extras

pip install "postman-bootstrap[mcp]"      # MCP server over the same core, for an agent to drive
pip install "postman-bootstrap[agent]"    # the Bedrock agent runtime

Both are deliberately optional. The base install is the CLI, and it needs no model, no AWS account, and no Postman key. A Postman API key is only required to mirror the result into a live workspace; without one every file is still emitted and the gate still runs.

Licence

Apache-2.0. Built by Postman Field Engineering.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postman_bootstrap-0.9.3.tar.gz (913.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

postman_bootstrap-0.9.3-py3-none-any.whl (423.8 kB view details)

Uploaded Python 3

File details

Details for the file postman_bootstrap-0.9.3.tar.gz.

File metadata

  • Download URL: postman_bootstrap-0.9.3.tar.gz
  • Upload date:
  • Size: 913.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for postman_bootstrap-0.9.3.tar.gz
Algorithm Hash digest
SHA256 c65b529eab14807e55fa4746673d88b8f26e3d94631ca4dc51979b823952f56d
MD5 e57005ebeb0b9f549e29f7234aef597e
BLAKE2b-256 5e8c303916781fad719037e17ab9b6871a926038bb183e2781eb764e7f04c1eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for postman_bootstrap-0.9.3.tar.gz:

Publisher: tag.yml on postman-eng/postman-bootstrap-agent-aws-transform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file postman_bootstrap-0.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for postman_bootstrap-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9be66b45bc2d4b90b5c7d5d02e23fbc96a53fcd1c14f12bc35411900563362
MD5 d11172fd2f0158c42bd00c984427ffe8
BLAKE2b-256 70b7b65870a4f223eeb9ffd803d62d4eec7ee4125cf3911c29300f9a7ef874a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for postman_bootstrap-0.9.3-py3-none-any.whl:

Publisher: tag.yml on postman-eng/postman-bootstrap-agent-aws-transform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.17.1

2 files

0.17.0

2 files

0.16.0

2 files

0.15.0

2 files

0.14.1

2 files

0.14.0

2 files

0.13.0

2 files

0.12.1

2 files

0.12.0

2 files

0.11.2

2 files

0.11.1

2 files

0.11.0

2 files

0.10.0

2 files

0.9.4

2 files

This release

0.9.3 This release

2 files

0.9.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page