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.12.0.tar.gz (1.1 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.12.0-py3-none-any.whl (484.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postman_bootstrap-0.12.0.tar.gz
  • Upload date:
  • Size: 1.1 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.12.0.tar.gz
Algorithm Hash digest
SHA256 d8fda3c90cf64e75e646b9939a0bfcc59932258c0e36a3757d5f0d9cfc84d323
MD5 037e8c384d3dd5c8ac10157e9a9c5c55
BLAKE2b-256 faf150a0d65a23a1f6f9f86d10464836f60b6e5e4441863e8ecbb2394c384830

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for postman_bootstrap-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96f8655627e6c540a0755a9777201a04b0bf271ba84312fe022315766c08c229
MD5 472360f945b61d112260ef18f128c22e
BLAKE2b-256 e639aa81447d3cb501dcc56c3067748987c76700be4d5835e9c481ac09cc92a7

See more details on using hashes here.

Provenance

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

0.13.0

2 files

0.12.1

2 files

This release

0.12.0 This release

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