@marinjursic/prc-linux-arm64 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/bin/LICENSE +21 -0
- package/bin/README.md +335 -0
- package/bin/THIRD_PARTY_NOTICES.md +74 -0
- package/bin/adapters/checkov-v3.3.8.yaml +50 -0
- package/bin/adapters/gitleaks-v8.30.0.yaml +63 -0
- package/bin/adapters/grype-v0.116.1.yaml +58 -0
- package/bin/adapters/syft-v1.51.0.yaml +54 -0
- package/bin/catalog/assertions/core-repository.yaml +625 -0
- package/bin/catalog/assertions/iac.yaml +24 -0
- package/bin/catalog/assertions/supply-chain.yaml +45 -0
- package/bin/catalog/control-contracts.json +1 -0
- package/bin/catalog/control-id-registry.json +110470 -0
- package/bin/catalog/objectives/core-repository.yaml +243 -0
- package/bin/catalog/objectives/iac.yaml +13 -0
- package/bin/catalog/objectives/supply-chain.yaml +13 -0
- package/bin/catalog/profiles/api.yaml +12 -0
- package/bin/catalog/profiles/core-repository.yaml +49 -0
- package/bin/catalog/profiles/iac.yaml +18 -0
- package/bin/catalog/profiles/kubernetes.yaml +15 -0
- package/bin/catalog/profiles/quick.yaml +27 -0
- package/bin/catalog/profiles/supply-chain.yaml +20 -0
- package/bin/docs/architecture/adapters.md +380 -0
- package/bin/docs/architecture/agent-providers.md +188 -0
- package/bin/docs/architecture/applicability.md +80 -0
- package/bin/docs/architecture/catalog-integrity.md +85 -0
- package/bin/docs/architecture/evidence-and-results.md +154 -0
- package/bin/docs/architecture/execution-plans.md +61 -0
- package/bin/docs/architecture/product-contract.md +76 -0
- package/bin/docs/architecture/publisher-trust.md +68 -0
- package/bin/docs/architecture/remediation-contract.md +113 -0
- package/bin/docs/architecture/trust-model.md +95 -0
- package/bin/docs/assets/hero.svg +37 -0
- package/bin/docs/assets/logo.svg +13 -0
- package/bin/docs/assets/production-readiness-scan-demo-poster.png +0 -0
- package/bin/docs/assets/production-readiness-scan-demo.gif +0 -0
- package/bin/docs/assets/production-readiness-scan-demo.mp4 +0 -0
- package/bin/docs/assets/social-card.png +0 -0
- package/bin/docs/assets/social-card.svg +40 -0
- package/bin/docs/checklists/00-readiness-principle.md +17 -0
- package/bin/docs/checklists/01-release-foundations.md +91 -0
- package/bin/docs/checklists/02-product-risk-architecture.md +136 -0
- package/bin/docs/checklists/03-source-build-supply-chain.md +97 -0
- package/bin/docs/checklists/04-environments-quality-experience.md +226 -0
- package/bin/docs/checklists/05-application-security.md +320 -0
- package/bin/docs/checklists/06-data-privacy-performance.md +166 -0
- package/bin/docs/checklists/07-reliability-operations.md +355 -0
- package/bin/docs/checklists/08-maintenance-vendors-compliance.md +112 -0
- package/bin/docs/checklists/09-conditional-modules.md +229 -0
- package/bin/docs/checklists/10-evidence-and-decision.md +111 -0
- package/bin/docs/engineering/00-overview.md +51 -0
- package/bin/docs/engineering/01-governance-and-foundations.md +919 -0
- package/bin/docs/engineering/02-product-and-requirements.md +186 -0
- package/bin/docs/engineering/03-user-experience-web-and-content.md +1352 -0
- package/bin/docs/engineering/04-architecture-and-design.md +387 -0
- package/bin/docs/engineering/05-code-quality-and-implementation.md +1103 -0
- package/bin/docs/engineering/06-application-services-and-apis.md +476 -0
- package/bin/docs/engineering/07-data-and-information-lifecycle.md +1009 -0
- package/bin/docs/engineering/08-security-and-cryptography.md +1215 -0
- package/bin/docs/engineering/09-privacy-and-data-protection.md +205 -0
- package/bin/docs/engineering/10-verification-and-testing.md +841 -0
- package/bin/docs/engineering/11-developer-experience-platform-and-delivery.md +1013 -0
- package/bin/docs/engineering/12-operations-sre-and-support.md +795 -0
- package/bin/docs/engineering/13-documentation-and-knowledge.md +349 -0
- package/bin/docs/engineering/14-trust-safety-and-ecosystems.md +330 -0
- package/bin/docs/engineering/15-ai-ml-and-ai-assisted-development.md +785 -0
- package/bin/docs/engineering/16-specialized-domains-and-release-assurance.md +775 -0
- package/bin/docs/engineering/source-manifest.md +479 -0
- package/bin/docs/guides/ai-assisted-review.md +61 -0
- package/bin/docs/guides/getting-started.md +78 -0
- package/bin/docs/index.md +66 -0
- package/bin/docs/prompts/evidence-challenge.md +26 -0
- package/bin/docs/prompts/full-readiness-review.md +34 -0
- package/bin/docs/prompts/release-diff-review.md +31 -0
- package/bin/docs/records/evidence-record.md +42 -0
- package/bin/docs/records/go-no-go-decision.md +63 -0
- package/bin/docs/records/release-assessment.md +124 -0
- package/bin/docs/records/risk-exception.md +64 -0
- package/bin/docs/references.md +52 -0
- package/bin/docs/scanner/ai-control-review.md +208 -0
- package/bin/docs/scanner/benchmarks.md +122 -0
- package/bin/docs/scanner/cli-contract.md +130 -0
- package/bin/docs/scanner/configuration.md +101 -0
- package/bin/docs/scanner/control-contracts.md +47 -0
- package/bin/docs/scanner/core-repository.md +62 -0
- package/bin/docs/scanner/diff-and-invalidation.md +79 -0
- package/bin/docs/scanner/doctor.md +71 -0
- package/bin/docs/scanner/getting-started.md +355 -0
- package/bin/docs/scanner/go-http-timeouts.md +96 -0
- package/bin/docs/scanner/infrastructure-policy.md +64 -0
- package/bin/docs/scanner/kubernetes-workloads.md +63 -0
- package/bin/docs/scanner/mcp-agent-integration.md +138 -0
- package/bin/docs/scanner/openapi-contracts.md +75 -0
- package/bin/docs/scanner/private-key-armor.md +44 -0
- package/bin/docs/scanner/releases.md +160 -0
- package/bin/docs/scanner/remediation.md +273 -0
- package/bin/docs/scanner/risk-exceptions.md +52 -0
- package/bin/docs/scanner/security-walkthrough.md +236 -0
- package/bin/docs/scanner/state-and-history.md +113 -0
- package/bin/docs/scanner/supply-chain.md +132 -0
- package/bin/docs/scanner/test-discovery.md +60 -0
- package/bin/docs/stylesheets/extra.css +183 -0
- package/bin/fixtures/benchmarks/core-native/suite-comprehensive.yaml +302 -0
- package/bin/fixtures/benchmarks/core-native/suite.yaml +59 -0
- package/bin/fixtures/benchmarks/core-native/targets/baseline/README.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/baseline/app.go +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/conflict-template/app.js +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/container-risky-template/Dockerfile +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/container-valid/Dockerfile +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-missing/package.json +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package.json +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/empty-manifest-template/package.json +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/final-newline-template/app.py +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/CODEOWNERS +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/dependabot.yml +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/workflows/validate.yml +15 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CODE_OF_CONDUCT.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CONTRIBUTING.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/LICENSE +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/README.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/SECURITY.md +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/foundation-present/tests/example.test.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/server.go +18 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/client.go +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/client.go +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/client.go +22 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/go.mod +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/hazards_test.go +8 -0
- package/bin/fixtures/benchmarks/core-native/targets/kubernetes-risky-template/deployment.yaml +27 -0
- package/bin/fixtures/benchmarks/core-native/targets/kubernetes-valid/deployment.yaml +26 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-ids-risky-template/openapi.yaml +17 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-responses-risky-template/openapi.yaml +11 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-malformed-template/openapi.yaml +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-risky-template/openapi.yaml +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/openapi-root-valid/openapi.yaml +17 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-command/app.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-command/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/app.js +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/package.json +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/private-key-template/deploy.pem +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/readme-missing/fixture.txt +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package-lock.json +6 -0
- package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package.json +4 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/.terraform.lock.hcl +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/main.tf +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/.terraform.lock.hcl +3 -0
- package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/main.tf +7 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/app.py +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/tests/test_app.py +5 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/app.py +2 -0
- package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/tests/test_app.py +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-malformed/.github/workflows/validate.yml +1 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-no-jobs/.github/workflows/empty.yml +9 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-risky/.github/workflows/risky.yml +10 -0
- package/bin/fixtures/benchmarks/core-native/targets/workflow-valid/.github/workflows/validate.yml +14 -0
- package/bin/packs/core-foundation.yaml +25 -0
- package/bin/packs/core-native.yaml +59 -0
- package/bin/prc +0 -0
- package/bin/schemas/adapter-execution-v0.1.schema.json +101 -0
- package/bin/schemas/adapter-execution-v0.2.schema.json +128 -0
- package/bin/schemas/adapter-execution.schema.json +145 -0
- package/bin/schemas/adapter-fixture-report.schema.json +59 -0
- package/bin/schemas/adapter-fixture-suite.schema.json +104 -0
- package/bin/schemas/adapter-manifest-v0.1.schema.json +55 -0
- package/bin/schemas/adapter-manifest-v0.2.schema.json +122 -0
- package/bin/schemas/adapter-manifest-v0.3.schema.json +172 -0
- package/bin/schemas/adapter-manifest.schema.json +299 -0
- package/bin/schemas/adapter-message.schema.json +136 -0
- package/bin/schemas/adapter-registry-report.schema.json +13 -0
- package/bin/schemas/adapter-registry.schema.json +47 -0
- package/bin/schemas/agent-execution-v0.1.schema.json +26 -0
- package/bin/schemas/agent-execution.schema.json +26 -0
- package/bin/schemas/agent-failure-v0.1.schema.json +102 -0
- package/bin/schemas/agent-failure.schema.json +102 -0
- package/bin/schemas/agent-output-v0.1.schema.json +36 -0
- package/bin/schemas/agent-output.schema.json +36 -0
- package/bin/schemas/agent-task-v0.1.schema.json +44 -0
- package/bin/schemas/agent-task.schema.json +46 -0
- package/bin/schemas/assertion-catalog.schema.json +69 -0
- package/bin/schemas/benchmark-report.schema.json +94 -0
- package/bin/schemas/benchmark-suite.schema.json +116 -0
- package/bin/schemas/catalog-bundle.schema.json +27 -0
- package/bin/schemas/catalog-manifest.schema.json +23 -0
- package/bin/schemas/checkov-iac-policy-report.schema.json +82 -0
- package/bin/schemas/control-contracts.schema.json +44 -0
- package/bin/schemas/control-review-output.schema.json +51 -0
- package/bin/schemas/doctor.schema.json +53 -0
- package/bin/schemas/evidence-v0.1.schema.json +21 -0
- package/bin/schemas/evidence.schema.json +21 -0
- package/bin/schemas/finding-v0.1.schema.json +70 -0
- package/bin/schemas/finding.schema.json +70 -0
- package/bin/schemas/fix-contract-v0.1.schema.json +35 -0
- package/bin/schemas/fix-contract-v0.2.schema.json +46 -0
- package/bin/schemas/fix-contract-v0.3.schema.json +49 -0
- package/bin/schemas/fix-contract.schema.json +49 -0
- package/bin/schemas/grype-vulnerability-report.schema.json +88 -0
- package/bin/schemas/history.schema.json +37 -0
- package/bin/schemas/invalidation.schema.json +86 -0
- package/bin/schemas/inventory-v0.1.schema.json +42 -0
- package/bin/schemas/inventory-v0.2.schema.json +95 -0
- package/bin/schemas/inventory-v0.3.schema.json +139 -0
- package/bin/schemas/inventory.schema.json +139 -0
- package/bin/schemas/objective-catalog.schema.json +62 -0
- package/bin/schemas/pack-report.schema.json +16 -0
- package/bin/schemas/pack.schema.json +53 -0
- package/bin/schemas/plan-v0.1.schema.json +31 -0
- package/bin/schemas/plan-v0.2.schema.json +32 -0
- package/bin/schemas/plan-v0.3.schema.json +44 -0
- package/bin/schemas/plan-v0.4.schema.json +48 -0
- package/bin/schemas/plan-v0.5.schema.json +49 -0
- package/bin/schemas/plan-v0.6.schema.json +137 -0
- package/bin/schemas/plan.schema.json +137 -0
- package/bin/schemas/profile.schema.json +42 -0
- package/bin/schemas/project-config.schema.json +128 -0
- package/bin/schemas/release-manifest-v0.1.schema.json +86 -0
- package/bin/schemas/release-manifest-v0.2.schema.json +146 -0
- package/bin/schemas/release-manifest-v0.3.schema.json +146 -0
- package/bin/schemas/release-manifest.schema.json +6 -0
- package/bin/schemas/remediation-candidate-v0.1.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.2.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.3.schema.json +51 -0
- package/bin/schemas/remediation-candidate-v0.4.schema.json +69 -0
- package/bin/schemas/remediation-candidate.schema.json +69 -0
- package/bin/schemas/remediation-run-v0.1.schema.json +69 -0
- package/bin/schemas/remediation-run-v0.2.schema.json +78 -0
- package/bin/schemas/remediation-run-v0.3.schema.json +86 -0
- package/bin/schemas/remediation-run-v0.4.schema.json +86 -0
- package/bin/schemas/remediation-run-v0.5.schema.json +131 -0
- package/bin/schemas/remediation-run-v0.6.schema.json +143 -0
- package/bin/schemas/remediation-run-v0.7.schema.json +160 -0
- package/bin/schemas/remediation-run-v0.8.schema.json +161 -0
- package/bin/schemas/remediation-run.schema.json +161 -0
- package/bin/schemas/risk-exception-verification.schema.json +17 -0
- package/bin/schemas/risk-exception.schema.json +137 -0
- package/bin/schemas/run-result-v0.1.schema.json +54 -0
- package/bin/schemas/run-result-v0.10.schema.json +64 -0
- package/bin/schemas/run-result-v0.11.schema.json +146 -0
- package/bin/schemas/run-result-v0.2.schema.json +60 -0
- package/bin/schemas/run-result-v0.3.schema.json +52 -0
- package/bin/schemas/run-result-v0.4.schema.json +52 -0
- package/bin/schemas/run-result-v0.5.schema.json +60 -0
- package/bin/schemas/run-result-v0.6.schema.json +61 -0
- package/bin/schemas/run-result-v0.7.schema.json +61 -0
- package/bin/schemas/run-result-v0.8.schema.json +61 -0
- package/bin/schemas/run-result-v0.9.schema.json +77 -0
- package/bin/schemas/run-result.schema.json +165 -0
- package/bin/schemas/signature-verification.schema.json +22 -0
- package/bin/schemas/signature.schema.json +18 -0
- package/bin/schemas/state-check-v0.1.schema.json +27 -0
- package/bin/schemas/state-check.schema.json +28 -0
- package/bin/schemas/trust-store.schema.json +50 -0
- package/bin/schemas/verification-execution-v0.1.schema.json +105 -0
- package/bin/schemas/verification-execution.schema.json +105 -0
- package/bin/schemas/version-v0.1.schema.json +27 -0
- package/bin/schemas/version.schema.json +27 -0
- package/manifest.json +9 -0
- package/package.json +28 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/trust-store.schema.json",
|
|
4
|
+
"title": "Production Readiness Publisher Trust Store v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "id", "revision", "keys"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.trust-store/v0.1"},
|
|
10
|
+
"id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9.-]{0,127}$"},
|
|
11
|
+
"revision": {"type": "integer", "minimum": 1},
|
|
12
|
+
"keys": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 1,
|
|
15
|
+
"maxItems": 256,
|
|
16
|
+
"items": {"$ref": "#/$defs/key"}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"$defs": {
|
|
20
|
+
"scope": {"enum": ["pack", "adapter-registry", "catalog-bundle", "risk-exception"]},
|
|
21
|
+
"key": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": ["id", "algorithm", "public_key", "scopes", "status", "not_before", "not_after"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9.-]{0,127}$"},
|
|
27
|
+
"algorithm": {"const": "ed25519"},
|
|
28
|
+
"public_key": {"type": "string", "pattern": "^[A-Za-z0-9+/]{43}=$"},
|
|
29
|
+
"scopes": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"minItems": 1,
|
|
32
|
+
"maxItems": 16,
|
|
33
|
+
"uniqueItems": true,
|
|
34
|
+
"items": {"$ref": "#/$defs/scope"}
|
|
35
|
+
},
|
|
36
|
+
"status": {"enum": ["active", "revoked"]},
|
|
37
|
+
"not_before": {"type": "string", "format": "date-time"},
|
|
38
|
+
"not_after": {"type": "string", "format": "date-time"},
|
|
39
|
+
"reason": {"type": "string", "minLength": 1, "maxLength": 1000}
|
|
40
|
+
},
|
|
41
|
+
"allOf": [
|
|
42
|
+
{
|
|
43
|
+
"if": {"properties": {"status": {"const": "active"}}},
|
|
44
|
+
"then": {"not": {"required": ["reason"]}},
|
|
45
|
+
"else": {"required": ["reason"]}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/verification-execution-v0.1.schema.json",
|
|
4
|
+
"title": "Production Readiness Verification Execution v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "execution_id", "plan_id", "runtime_sha256", "kind", "image", "command", "policy", "candidate_inventory_digest", "started_at", "completed_at", "duration_ms", "outcome", "reason_code", "exit_code", "stdout", "stderr", "workspace_unchanged"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.verification-execution/v0.1"},
|
|
10
|
+
"execution_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"plan_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
12
|
+
"runtime_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
13
|
+
"kind": {"enum": ["go", "python", "javascript"]},
|
|
14
|
+
"image": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*@sha256:[0-9a-f]{64}$"},
|
|
15
|
+
"command": {
|
|
16
|
+
"oneOf": [
|
|
17
|
+
{"const": ["go", "test", "./..."]},
|
|
18
|
+
{"const": ["python", "-m", "pytest", "-q"]},
|
|
19
|
+
{"const": ["node", "--test"]}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"policy": {"$ref": "#/$defs/policy"},
|
|
23
|
+
"candidate_inventory_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
24
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
25
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
26
|
+
"duration_ms": {"type": "integer", "minimum": 0},
|
|
27
|
+
"outcome": {"enum": ["pass", "fail", "timeout", "cancelled", "output_limit", "infrastructure_error", "workspace_changed"]},
|
|
28
|
+
"reason_code": {"enum": ["tests_passed", "tests_failed", "timeout", "cancelled", "output_limit", "runtime_failed", "workspace_changed"]},
|
|
29
|
+
"exit_code": {"type": "integer", "minimum": -1, "maximum": 255},
|
|
30
|
+
"stdout": {"$ref": "#/$defs/stream"},
|
|
31
|
+
"stderr": {"$ref": "#/$defs/stream"},
|
|
32
|
+
"workspace_unchanged": {"type": "boolean"}
|
|
33
|
+
},
|
|
34
|
+
"allOf": [
|
|
35
|
+
{
|
|
36
|
+
"if": {"properties": {"kind": {"const": "go"}}, "required": ["kind"]},
|
|
37
|
+
"then": {"properties": {"command": {"const": ["go", "test", "./..."]}}},
|
|
38
|
+
"else": {
|
|
39
|
+
"if": {"properties": {"kind": {"const": "python"}}, "required": ["kind"]},
|
|
40
|
+
"then": {"properties": {"command": {"const": ["python", "-m", "pytest", "-q"]}}},
|
|
41
|
+
"else": {"properties": {"command": {"const": ["node", "--test"]}}}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"if": {"properties": {"outcome": {"const": "pass"}}, "required": ["outcome"]},
|
|
46
|
+
"then": {
|
|
47
|
+
"properties": {
|
|
48
|
+
"reason_code": {"const": "tests_passed"},
|
|
49
|
+
"exit_code": {"const": 0},
|
|
50
|
+
"workspace_unchanged": {"const": true}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"if": {"properties": {"outcome": {"const": "fail"}}, "required": ["outcome"]},
|
|
56
|
+
"then": {
|
|
57
|
+
"properties": {
|
|
58
|
+
"reason_code": {"const": "tests_failed"},
|
|
59
|
+
"exit_code": {"minimum": 1, "not": {"enum": [125, 126, 127]}}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"if": {"properties": {"outcome": {"const": "infrastructure_error"}}, "required": ["outcome"]},
|
|
65
|
+
"then": {"properties": {"reason_code": {"const": "runtime_failed"}, "exit_code": {"enum": [-1, 125, 126, 127]}}}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"if": {"properties": {"outcome": {"const": "workspace_changed"}}, "required": ["outcome"]},
|
|
69
|
+
"then": {"properties": {"reason_code": {"const": "workspace_changed"}, "workspace_unchanged": {"const": false}}},
|
|
70
|
+
"else": {"properties": {"workspace_unchanged": {"const": true}}}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"$defs": {
|
|
74
|
+
"policy": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": ["network", "workspace", "root_filesystem", "pull", "capabilities", "privilege_escalation", "user", "timeout_seconds", "memory_mb", "cpus", "pids", "tmpfs_mb", "max_stdout_bytes", "max_stderr_bytes"],
|
|
78
|
+
"properties": {
|
|
79
|
+
"network": {"const": "deny"},
|
|
80
|
+
"workspace": {"const": "read_only"},
|
|
81
|
+
"root_filesystem": {"const": "read_only"},
|
|
82
|
+
"pull": {"const": "never"},
|
|
83
|
+
"capabilities": {"const": "none"},
|
|
84
|
+
"privilege_escalation": {"const": false},
|
|
85
|
+
"user": {"const": "non_root"},
|
|
86
|
+
"timeout_seconds": {"type": "integer", "minimum": 1, "maximum": 3600},
|
|
87
|
+
"memory_mb": {"type": "integer", "minimum": 64, "maximum": 32768},
|
|
88
|
+
"cpus": {"type": "number", "exclusiveMinimum": 0, "maximum": 32},
|
|
89
|
+
"pids": {"type": "integer", "minimum": 2, "maximum": 4096},
|
|
90
|
+
"tmpfs_mb": {"type": "integer", "minimum": 32, "maximum": 4096},
|
|
91
|
+
"max_stdout_bytes": {"type": "integer", "minimum": 1024, "maximum": 16777216},
|
|
92
|
+
"max_stderr_bytes": {"type": "integer", "minimum": 1024, "maximum": 16777216}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"stream": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"required": ["sha256", "bytes"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
101
|
+
"bytes": {"type": "integer", "minimum": 0, "maximum": 16777216}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/verification-execution.schema.json",
|
|
4
|
+
"title": "Production Readiness Verification Execution v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "execution_id", "plan_id", "runtime_sha256", "kind", "image", "command", "policy", "candidate_inventory_digest", "started_at", "completed_at", "duration_ms", "outcome", "reason_code", "exit_code", "stdout", "stderr", "workspace_unchanged"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.verification-execution/v0.1"},
|
|
10
|
+
"execution_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
11
|
+
"plan_id": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
12
|
+
"runtime_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
13
|
+
"kind": {"enum": ["go", "python", "javascript"]},
|
|
14
|
+
"image": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*@sha256:[0-9a-f]{64}$"},
|
|
15
|
+
"command": {
|
|
16
|
+
"oneOf": [
|
|
17
|
+
{"const": ["go", "test", "./..."]},
|
|
18
|
+
{"const": ["python", "-m", "pytest", "-q"]},
|
|
19
|
+
{"const": ["node", "--test"]}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"policy": {"$ref": "#/$defs/policy"},
|
|
23
|
+
"candidate_inventory_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
24
|
+
"started_at": {"type": "string", "format": "date-time"},
|
|
25
|
+
"completed_at": {"type": "string", "format": "date-time"},
|
|
26
|
+
"duration_ms": {"type": "integer", "minimum": 0},
|
|
27
|
+
"outcome": {"enum": ["pass", "fail", "timeout", "cancelled", "output_limit", "infrastructure_error", "workspace_changed"]},
|
|
28
|
+
"reason_code": {"enum": ["tests_passed", "tests_failed", "timeout", "cancelled", "output_limit", "runtime_failed", "workspace_changed"]},
|
|
29
|
+
"exit_code": {"type": "integer", "minimum": -1, "maximum": 255},
|
|
30
|
+
"stdout": {"$ref": "#/$defs/stream"},
|
|
31
|
+
"stderr": {"$ref": "#/$defs/stream"},
|
|
32
|
+
"workspace_unchanged": {"type": "boolean"}
|
|
33
|
+
},
|
|
34
|
+
"allOf": [
|
|
35
|
+
{
|
|
36
|
+
"if": {"properties": {"kind": {"const": "go"}}, "required": ["kind"]},
|
|
37
|
+
"then": {"properties": {"command": {"const": ["go", "test", "./..."]}}},
|
|
38
|
+
"else": {
|
|
39
|
+
"if": {"properties": {"kind": {"const": "python"}}, "required": ["kind"]},
|
|
40
|
+
"then": {"properties": {"command": {"const": ["python", "-m", "pytest", "-q"]}}},
|
|
41
|
+
"else": {"properties": {"command": {"const": ["node", "--test"]}}}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"if": {"properties": {"outcome": {"const": "pass"}}, "required": ["outcome"]},
|
|
46
|
+
"then": {
|
|
47
|
+
"properties": {
|
|
48
|
+
"reason_code": {"const": "tests_passed"},
|
|
49
|
+
"exit_code": {"const": 0},
|
|
50
|
+
"workspace_unchanged": {"const": true}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"if": {"properties": {"outcome": {"const": "fail"}}, "required": ["outcome"]},
|
|
56
|
+
"then": {
|
|
57
|
+
"properties": {
|
|
58
|
+
"reason_code": {"const": "tests_failed"},
|
|
59
|
+
"exit_code": {"minimum": 1, "not": {"enum": [125, 126, 127]}}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"if": {"properties": {"outcome": {"const": "infrastructure_error"}}, "required": ["outcome"]},
|
|
65
|
+
"then": {"properties": {"reason_code": {"const": "runtime_failed"}, "exit_code": {"enum": [-1, 125, 126, 127]}}}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"if": {"properties": {"outcome": {"const": "workspace_changed"}}, "required": ["outcome"]},
|
|
69
|
+
"then": {"properties": {"reason_code": {"const": "workspace_changed"}, "workspace_unchanged": {"const": false}}},
|
|
70
|
+
"else": {"properties": {"workspace_unchanged": {"const": true}}}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"$defs": {
|
|
74
|
+
"policy": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": ["network", "workspace", "root_filesystem", "pull", "capabilities", "privilege_escalation", "user", "timeout_seconds", "memory_mb", "cpus", "pids", "tmpfs_mb", "max_stdout_bytes", "max_stderr_bytes"],
|
|
78
|
+
"properties": {
|
|
79
|
+
"network": {"const": "deny"},
|
|
80
|
+
"workspace": {"const": "read_only"},
|
|
81
|
+
"root_filesystem": {"const": "read_only"},
|
|
82
|
+
"pull": {"const": "never"},
|
|
83
|
+
"capabilities": {"const": "none"},
|
|
84
|
+
"privilege_escalation": {"const": false},
|
|
85
|
+
"user": {"const": "non_root"},
|
|
86
|
+
"timeout_seconds": {"type": "integer", "minimum": 1, "maximum": 3600},
|
|
87
|
+
"memory_mb": {"type": "integer", "minimum": 64, "maximum": 32768},
|
|
88
|
+
"cpus": {"type": "number", "exclusiveMinimum": 0, "maximum": 32},
|
|
89
|
+
"pids": {"type": "integer", "minimum": 2, "maximum": 4096},
|
|
90
|
+
"tmpfs_mb": {"type": "integer", "minimum": 32, "maximum": 4096},
|
|
91
|
+
"max_stdout_bytes": {"type": "integer", "minimum": 1024, "maximum": 16777216},
|
|
92
|
+
"max_stderr_bytes": {"type": "integer", "minimum": 1024, "maximum": 16777216}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"stream": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"required": ["sha256", "bytes"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
101
|
+
"bytes": {"type": "integer", "minimum": 0, "maximum": 16777216}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/version-v0.1.schema.json",
|
|
4
|
+
"title": "Production Readiness Scanner version information v0.1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "version", "revision", "built_at", "go_version"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.version/v0.1"},
|
|
10
|
+
"version": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"maxLength": 128,
|
|
13
|
+
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*)|(?:[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))(?:\\.(?:(?:0|[1-9][0-9]*)|(?:[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)))*)?$"
|
|
14
|
+
},
|
|
15
|
+
"revision": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^(?:unknown|[0-9a-f]{40}|[0-9a-f]{64})$"
|
|
18
|
+
},
|
|
19
|
+
"built_at": {
|
|
20
|
+
"oneOf": [
|
|
21
|
+
{"const": "unknown"},
|
|
22
|
+
{"type": "string", "format": "date-time"}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"go_version": {"type": "string", "pattern": "^go1\\.[0-9]+(?:\\.[0-9]+)?"}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://marinjursic.github.io/production-readiness-checklist/schemas/version.schema.json",
|
|
4
|
+
"title": "Production Readiness Checklist version information",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "version", "revision", "built_at", "go_version"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": {"const": "prc.version/v0.1"},
|
|
10
|
+
"version": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"maxLength": 128,
|
|
13
|
+
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*)|(?:[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))(?:\\.(?:(?:0|[1-9][0-9]*)|(?:[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)))*)?$"
|
|
14
|
+
},
|
|
15
|
+
"revision": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^(?:unknown|[0-9a-f]{40}|[0-9a-f]{64})$"
|
|
18
|
+
},
|
|
19
|
+
"built_at": {
|
|
20
|
+
"oneOf": [
|
|
21
|
+
{"const": "unknown"},
|
|
22
|
+
{"type": "string", "format": "date-time"}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"go_version": {"type": "string", "pattern": "^go1\\.[0-9]+(?:\\.[0-9]+)?"}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/manifest.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"binary_path": "bin/prc",
|
|
3
|
+
"binary_sha256": "5518ed484004b1d35ed8a1cef7c338245315ddb19105ea12109d197c4aa52486",
|
|
4
|
+
"built_at": "2026-08-26T08:16:30Z",
|
|
5
|
+
"package_name": "@marinjursic/prc-linux-arm64",
|
|
6
|
+
"schema_version": "prc.npm-platform/v0.1",
|
|
7
|
+
"source_commit": "0ec93a8f515a4a566be1c509a9e58ce44cfa6768",
|
|
8
|
+
"version": "0.1.0"
|
|
9
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Marin Jursic",
|
|
3
|
+
"bugs": "https://github.com/MarinJursic/production-readiness-checklist/issues",
|
|
4
|
+
"cpu": [
|
|
5
|
+
"arm64"
|
|
6
|
+
],
|
|
7
|
+
"description": "Native linux/arm64 binary for Production Readiness Checklist",
|
|
8
|
+
"files": [
|
|
9
|
+
"bin",
|
|
10
|
+
"manifest.json",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://marinjursic.github.io/production-readiness-checklist/",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"name": "@marinjursic/prc-linux-arm64",
|
|
17
|
+
"os": [
|
|
18
|
+
"linux"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/MarinJursic/production-readiness-checklist.git"
|
|
26
|
+
},
|
|
27
|
+
"version": "0.1.0"
|
|
28
|
+
}
|