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 behavior. 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 behavior 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 honors its own contract
Environments baseline, target, 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.13.0.tar.gz (1.2 MB 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.13.0-py3-none-any.whl (528.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for postman_bootstrap-0.13.0.tar.gz
Algorithm Hash digest
SHA256 e7de3410494ee96d7c534b099e57b1d1b62729c60280df21e3ee5df98429d165
MD5 772700ef0122aa6695b491033af735d4
BLAKE2b-256 7623a7d5dc4955cca092c9c0cc4422e0231a97f07af0c7b296c606da3f8b5369

See more details on using hashes here.

Provenance

The following attestation bundles were made for postman_bootstrap-0.13.0.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.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for postman_bootstrap-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bee5f3959572dce4cf86d54cbbb59019671fa3cfacf2b56897f9ce0781e4998
MD5 d473d878e1bce9347ebe41b826876bc8
BLAKE2b-256 30b3179c244f6e0ac90feff9024632c7a9d4fb1fb1884b0b76c543628467cd03

See more details on using hashes here.

Provenance

The following attestation bundles were made for postman_bootstrap-0.13.0-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

This release

0.13.0 This release

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

0.9.3

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