docs(design): t83 Testtag charged unless all its runs failed through our fault
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m49s
CI / Check (pull_request) Successful in 17m42s

The user's decision (2026-11-07): a run that fails on the customer's
input counts and makes the Testtag chargeable; only a Testtag whose runs
all failed through Breakpilot's fault is free. The charging table, the
usage event, the test plan, the decisions and the LB wording say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-07 10:55:16 +01:00
1 parent deaa4e9f4e
commit 2e45dcab5c
1 file changed
+19 -16
+19 -16
View File
@@ -214,9 +214,9 @@ customer find this out before paying (see the next section).
### When the build fails
The Testtag is what is billed, not the run. A **successful run** is one that built,
started and finished its test (a run stopped at its time limit, with what it found,
counts as finished).
The Testtag is what is billed, not the run. A run **counts** unless it failed through our
fault: a finished run (also one stopped at its time limit, with what it found) and a run
that failed on the customer's input both count.
| Cause | Example | Counts toward the 3 runs |
| --- | --- | --- |
@@ -224,9 +224,9 @@ counts as finished).
| The customer's input | The Dockerfile doesn't build, the health URL never answers, the Prüfprofil is missing or wrong | **yes**, as with t72's "failures on the customer's input count" |
| Probelauf | Only build and start, then a health check, with no test | **no**, and it books no Testtag, so the customer can fix their profile for free |
**A Testtag with no successful run is not charged**, whatever the cause. A customer whose
three runs all fail on their own Dockerfile has used up the day but pays nothing; the
Probelauf should have caught it first.
**A Testtag is charged unless all of its runs failed through our fault** (the user's
decision, 2026-11-07). A run that fails on the customer's input counts and makes the
Testtag chargeable; the free Probelauf is how a customer checks their build first.
The run's page shows which of these it was, with the build log, so the customer can fix
their side.
@@ -325,7 +325,8 @@ decides per tenant, as in t72:
still work.
- Usage events, counts only, never names:
- `testtag.booked`, key `testtag:{tenant}:{target}:{YYYY-MM-DD}`, with the number of
successful runs at the end of the day (0 means not charged);
runs that count at the end of the day (0, when every run failed through our fault,
means not charged);
- `probelauf.run`, a count only, with no ERP item.
- Recommendation: an active run does **not** count against the t72 Prüfung quota. It is
metered on its own.
@@ -358,7 +359,7 @@ ERP item codes follow the ERP scheme:
| Item | Contents | Suggestion |
| --- | --- | --- |
| `CRA-CSA-CLD-TST` (Testtag) | The Prüfumgebung for one target on one Berlin day, with up to 3 runs (DAST or automated pentest), so a customer can fix and test again the same day; charged only with at least one successful run | 24,99 € per Testtag |
| `CRA-CSA-CLD-TST` (Testtag) | The Prüfumgebung for one target on one Berlin day, with up to 3 runs (DAST or automated pentest), so a customer can fix and test again the same day; not charged when all of its runs failed through our fault | 24,99 € per Testtag |
| Probelauf | Build and start only, no test | free; no ERP item, counted by `probelauf.run` |
Only if live testing is decided later (codes reserved, prices to be set then; the earlier
@@ -380,7 +381,7 @@ and it fits how fixes really go: test, fix, test again.
2. **A repository with Compose:** an open-source app with a database in its Compose
file, to prove that several containers build and start.
3. **Probelauf:** for both, it passes; with a broken Dockerfile it fails visibly, as the
customer's fault, and is not charged.
customer's fault, books no Testtag and is not charged.
4. **Runs:** DAST and the automated pentest on both. The known vulnerabilities of
pw-target are the baseline; add a nightly fixture that compares against it.
5. **Graph steering:** the routes found in code match pw-target's real routes. A planted
@@ -391,8 +392,9 @@ and it fits how fixes really go: test, fix, test again.
7. **Entitlement and metering:**
- a tenant without the add-on is refused;
- a Testtag is booked once, by the first run started by hand, and allows 3 runs;
- a run that fails on our side doesn't use one of the 3; a Testtag with no
successful run is reported with 0 and not charged;
- a run that fails on our side doesn't use one of the 3; a Testtag whose runs all
failed on our side is reported with 0 and not charged;
- a run that fails on a broken Dockerfile counts, and its Testtag is charged;
- at the monthly cap, a run that would book a new Testtag is refused;
- the usage events carry counts only.
8. **Measure** minutes, CPU, memory and LLM tokens per run, for the price.
@@ -414,9 +416,9 @@ Production stays on `source_only` until the user gives the go.
Prüfprofil; PLC through the existing OpenPLC path; firmware later.
4. **Private package feeds:** not supported in phase 1 (recommended), or a separately
stored, write-only feed token used only during the build.
5. **Charging:** billed per Testtag; failures on our side don't use one of the 3 runs,
failures on the customer's input do; a Testtag with no successful run is not charged;
the Probelauf is free and books nothing.
5. **Charging** (decided 2026-11-07): billed per Testtag; failures on our side don't use
one of the 3 runs, failures on the customer's input do; a Testtag is charged unless
all of its runs failed through our fault; the Probelauf is free and books nothing.
6. **Price:** the Testtag (`CRA-CSA-CLD-TST`) at 24,99 €.
7. **Testtage in the plans:** none in Standard and Business in phase 1, Enterprise by
arrangement (suggestion); or N per month in Business.
@@ -439,7 +441,7 @@ Production stays on `source_only` until the user gives the go.
- The ERP item `CRA-CSA-CLD-TST` (Testtag). `CRA-CSA-CLD-LIV` and `CRA-CSA-CLD-LRN` are
reserved for a later live add-on. The Probelauf has no ERP item.
- A customer-set monthly Testtag cap in the portal, like `prueftag_cap`, none by default.
- The usage events `testtag.booked` (with the number of successful runs) and
- The usage events `testtag.booked` (with the number of runs that count) and
`probelauf.run`, counts only.
**For the AVV and TOM:** the runner host as a place of processing (Germany), and its
@@ -463,7 +465,8 @@ Abs. 3 for tenants who booked the add-on:
> Prüfobjekts an einem Kalendertag (Europe/Berlin) und wird nur gebucht, wenn der Kunde
> einen Prüflauf startet, nie automatisch. Ein Prüflauf, der aus Gründen fehlschlägt,
> die Breakpilot zu vertreten hat, wird nicht auf die drei Prüfläufe angerechnet. Ein
> Testtag ohne erfolgreichen Prüflauf wird nicht berechnet. Der Kunde kann im Portal
> Testtag wird nicht berechnet, wenn alle seine Prüfläufe aus Gründen fehlschlagen, die
> Breakpilot zu vertreten hat. Der Kunde kann im Portal
> eine monatliche Höchstzahl an Testtagen festlegen. Ein Probelauf (nur Aufbau und
> Start) ist kostenfrei. Die Prüfung ist automatisiert und ersetzt keinen manuellen
> Penetrationstest.