Skip to content

REQ 006

sergio velderrain edited this page Nov 9, 2026 · 1 revision

REQ-006: add-project.yml rejects invalid config before writing

Requirement

add-project.yml shall reject a project registration whose pipelineConfig does not satisfy pipeline-config.schema.json, before writing anything to PROJECTS_OVERRIDE.

Rationale

Prevents a malformed config from silently corrupting the shared repository variable other projects also depend on.

Fit Criterion

A registration attempt with an invalid config exits non-zero and leaves PROJECTS_OVERRIDE unchanged.

Verification

Code review of add-project.yml's pwsh -Command "... Test-Json ..." validation step, which runs before any variable_command("set", ...) call.

Source

Software-Requirements-Specification

Priority

High

TestID

TEST-006

TestArtifact

Code review of the Test-Json validation step

CodeRef

.github/workflows/add-project.yml

Status

Verified (manual)

Clone this wiki locally