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.10.0.tar.gz (936.5 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.10.0-py3-none-any.whl (435.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postman_bootstrap-0.10.0.tar.gz
  • Upload date:
  • Size: 936.5 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.10.0.tar.gz
Algorithm Hash digest
SHA256 b82d3c01de2a68a3b28363ea83167e620a40d3e43c3a8ef181e56bb7fbdb4728
MD5 847cd25d2a37d474e28a167c8eba07cb
BLAKE2b-256 74b23090c7ce2644bf290a2ac94bc48db0e12e5d155dadbfc52dc17f24a4442a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for postman_bootstrap-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52feb94deb06e05f861864a7ab1a95494f08d31747d27625b9356e2ee433ca8d
MD5 99be6d2f7665db7bf97108a4ba4f23a7
BLAKE2b-256 9fce6ac9d897c77dbb75e57b723570f5bc64bdd719b5eaf1496d4e36ee97e6cc

See more details on using hashes here.

Provenance

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

0.12.0

2 files

0.11.2

2 files

0.11.1

2 files

0.11.0

2 files

This release

0.10.0 This release

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