Overview
PeaCOBOL is a local-first COBOL data, development, diagnostics, assurance, testing and enterprise-inventory toolkit. Version 1.3.0 is the Release Evidence Alignment release: Db2 DDL-to-copybook compatibility checks, Db2/CICS/MQ resource inventories with integrity hashes, offline Zowe/zOSMF submission-plan validation, CycloneDX-style SBOMs and in-toto-style local attestations.
Built for banking and safety-critical environments: the GUI binds to loopback only, and launch uses a one-time token exchanged for an HttpOnly, SameSite session cookie. Launchers never install packages, contact the internet or modify the project.
Use cases
- Modernisation teams inventorying Db2, CICS and MQ references before a migration wave.
- Release managers producing content-addressed evidence archives for change review.
- DBAs checking DDL-to-copybook compatibility with field-level reasons and gates.
- Compliance officers assembling offline SBOMs with file hashes.
- Developers validating a JCL submission plan (allow-list, RBAC, vault references) without submitting anything.
- Assurance leads running golden compare, coverage and change-impact analysis.
- Teams standardising ten GUI workbenches across an estate.
How to work with it — a day in the life
Double-click start.bat (or ./start-linux.sh). The launcher finds Python 3.10+, starts the secure loopback GUI and opens the one-time bootstrap page. Morning: you open the Scan and Assurance workbenches on a payment module. Midday: peacobol db2-check flags an incompatible column with a field-level reason; you gate the release in the JSON report. Afternoon: you generate sbom.json, attest the release ZIP, export a content-addressed evidence.tar.gz and produce a 90-day dry-run retention plan — nothing is deleted, nothing leaves the machine.
Features
- Db2 DDL-to-copybook compatibility checks with field-level reasons and gates.
- Db2, CICS and MQ resource inventories with source locations and integrity hashes.
- Offline Zowe/zOSMF plan validation: HTTPS allow-lists, RBAC roles,
vault:// references.
- CycloneDX-style offline SBOM with file hashes.
- In-toto-style local attestations with optional HMAC-SHA256 signing.
- Content-addressed evidence archives; dry-run retention plans that never delete files.
- Ten GUI workbenches: Scan, Assurance, Diagnostics, Change impact, Test cases, Golden compare, Coverage, Enterprise resources, DB2 compatibility, SBOM.
Install & run
Windows: double-click start.bat. Linux: chmod +x start-linux.sh && ./start-linux.sh. WSL: double-click start-linux.bat. Python 3.10+ required; no packages are installed by the launchers. Keep the command window open; press Ctrl+C to stop.
Quickstart — 30 seconds of evidence
# Check a DB2 schema against copybooks (fail the gate on incompatibility)
peacobol db2-check copybooks/ACCOUNT.cpy schema.sql --fail-on-incompatible -o db2-report.json
# Inventory enterprise references with locations and hashes
peacobol resources . -o resource-inventory.json
# Supply-chain evidence
peacobol sbom . -o sbom.json
peacobol attest PeaCOBOL-1.3.0.zip -o attestation.json
peacobol immutable-export reports/evidence.json sbom.json attestation.json -o evidence.tar.gz
Configuration — allow-lists and attestation keys
Submission plans validate against an HTTPS allow-list JSON. Example config/submission-allowlist.json:
{
"systems": {
"DEV": {
"enabled": true,
"url": "https://zos.example.com",
"roles": ["developer", "release-manager"]
}
}
}
peacobol submission-plan . JOB.jcl --system DEV \
--allowlist config/submission-allowlist.json \
--role developer --credential-reference vault://mainframe/dev \
-o submission-plan.json
For keyed attestations, set PEACOBOL_ATTESTATION_KEY to a secret of at least 32 bytes. The key is read from the environment and never written to output. Retention dry-runs: peacobol retention-plan reports --days 90 -o retention-plan.json.
Troubleshooting
- Bootstrap page won't open: keep the command window open; the one-time token expires — restart the launcher for a fresh link.
- Python not found: install Python 3.10+ and re-run; launchers do not install it for you.
- db2-check gate fails unexpectedly: read the field-level reason in the JSON report; compare copybook vs DDL types and lengths.
- Attestation rejected: ensure
PEACOBOL_ATTESTATION_KEY is at least 32 bytes and identical between sign and verify. - Allow-list refuses the plan: confirm the system is
enabled, the URL is HTTPS, and your role is listed under roles. - Empty resource inventory: run from the estate root so copybooks, JCL and DDL are discovered recursively.
Boundaries
This release does not connect to Db2, CICS, MQ, Zowe or z/OSMF. Inventories and compatibility checks are static local analysis. Submission plans are validation-only and perform no network request. HMAC attestations provide shared-secret integrity, not public-key release signing. Production submission still requires an approved integration service, TLS trust, RBAC, a vault, independent review and representative estate validation.
Release & License
Current release: 1.3.0 — Release Evidence Alignment. See the repository for license terms.
GitHub repository · Knowledge Base · All repositories