3SC Protega is a polyglot architectural enforcement tool which runs within your CI/CD pipeline.
1.2K
Your Automated Architecture Guardian.
3SC Protega is a polyglot architectural linter that codifies and enforces your software architecture rules directly within your CI/CD pipeline. It consumes a code graph from 3SC Mappa (cartog-data.json) and validates it against a simple, version-controlled policy file (protega-policy.json) that you define.
Protega moves architectural governance from subjective pull request comments and wiki pages into an objective, automated, and enforceable reality. It answers the question: "Is this code change compliant with our established architectural standards?"
Visit: https://docs.3squaredcircles.com for configuration capabilities.
"Protega" is derived from the Latin word prōtegō, which means "to cover, protect, or defend." This name was chosen because the tool acts as a protega, actively protecting the integrity and long-term health of your codebase's architecture.
As a leader responsible for technical vision and quality, you need to ensure your architectural principles are followed long after the initial design meeting. Protega is your automated enforcement mechanism.
Protega answers your critical questions:
As a developer, you want clear, fast, and objective feedback. Protega provides immediate validation of your work against the established architectural rules, right in your pull request.
Protega is the objective referee for your code's structure.
interactive mode launches a powerful local UI that lets you explore your codebase's graph (from Mappa) and visually build and test architectural rules before committing them.As an operator, you need tools that are secure, automatable, and consistent. Protega is a containerized, self-hosted application designed for safe and seamless integration into any CI/CD pipeline.
execute The primary CI mode. It reads the policy file and the Mappa data file, runs the validation, and returns a pass/fail exit code.interactive: Starts a local web server to serve the interactive UI for building, testing, and managing the protega-policy.json file.serve-docs: Starts a local web server to serve this documentation.| Artifact | Default Location | Purpose / Value |
|---|---|---|
protega-data.json | protega/ | The primary, version-controlled report containing all policy violations. Committing this file creates an auditable history of your architectural health. |
protega-report.json | {workspace}/output/protega/ | A copy of the report placed in a standard location for discovery by other tools (e.g., automated release notes). |
Verifying Image Signatures All published images are signed with Cosign. To verify:
Install cosign: https://docs.sigstore.dev/cosign/system_config/installation/ Download our public key: curl -O https://www.3squaredsquaredcircles.com/keys/3squaredcircles.pub Verify: cosign verify --key 3squaredcircles.pub 3squaredcircles/protega:latest
Content type
Image
Digest
sha256:3a96e40b7…
Size
199.9 MB
Last updated
5 days ago
docker pull 3squaredcircles/protega