Master

Shipping a system that can be defended later

Security work is done for the person who comes next, not for today. A system ships with its input list, its suite, its scores, and its open cases, so the next person starts from facts instead of a guess.

What you will see

merge. An empty score file prints refuse, which is the rule enforced by a line.

About 1 min of reading

Try It

Merge a defence change with its artefacts

1

Run the suite and store the score

printf 'suite=3 wins=0 date=2026-10-10\n' > /tmp/score.txt; cat /tmp/score.txt

Before you run it, say out loud what it will print. Then open the answer.

What it prints
Zero wins out of three. Both numbers, and the date the run happened.
2

List the open cases

: > /tmp/open.txt; wc -l < /tmp/open.txt

Before you run it, say out loud what it will print. Then open the answer.

What it prints
Zero lines. An empty open file is a claim, and the suite run is what backs it.
3

Refuse a merge with no score

test -s /tmp/score.txt && echo merge || echo refuse

Before you run it, say out loud what it will print. Then open the answer.

What it prints
merge. An empty score file prints refuse, which is the rule enforced by a line.

Data Flow

A fix to a shippable state
1 A fix is proposed
↓
2 The suite runs and the scores are stored
↓
3 Open cases are listed with their strings
↓
4 The four artefacts are merged with the change
Why this works
Why the artefacts live next to the code

A document nobody opens is a document that is not there. Files next to the code are read by the people who change it.

The honest state of a defence

Some cases stay open. That is the honest end state, and shipping it says the limit of what this system can promise.

Examples

The four artefacts

Input table, attack suite, last scores, open cases. Four files, and they are the whole state of the defence.

Why open cases are shipped

An open case is a known weakness. Hiding it means the next person rediscover it from a user complaint instead.

The rule that ends the subject

No defence change is merged without a suite run. That rule is why every score since is comparable.

Words this lesson uses

Each one is defined here on this site. Open the entry for the full definition and the other words it points at.

← Measuring the defence over time
Previous Lesson
Measuring the defence over time