@rasensio/aidlc-content 2.25.0 → 2.27.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/docs/hygiene-and-compliance.md +20 -4
- package/docs/lifecycle.md +11 -2
- package/docs/roadmap.md +6 -1
- package/package.json +1 -1
- package/packs/aspice/controls.yaml +561 -0
- package/packs/aspice/guidance/aspice-constraints.md +109 -0
- package/packs/aspice/pack.yaml +30 -0
- package/packs/gdpr/controls.yaml +287 -0
- package/packs/gdpr/guidance/gdpr-constraints.md +141 -0
- package/packs/gdpr/pack.yaml +24 -0
- package/packs/sox/controls.yaml +228 -0
- package/packs/sox/guidance/sox-constraints.md +99 -0
- package/packs/sox/pack.yaml +30 -0
- package/skills/20-requirements.md +3 -2
|
@@ -110,6 +110,12 @@ a project ready for a SOC 1 examination; it gives you a change-control trail to
|
|
|
110
110
|
control objectives you wrote ask for one. In `aidlc init` and `aidlc compliance list` the SOC 2
|
|
111
111
|
pack is shown as "also asked for as SOC 1, SSAE 16" for this reason.
|
|
112
112
|
|
|
113
|
+
When the request is for the SOX IT general controls themselves, use the `sox` pack instead. It names
|
|
114
|
+
the change-management controls directly — change request, authorization, testing, approval before
|
|
115
|
+
production, segregation of duties and separate environments — and lists the access and operations
|
|
116
|
+
controls as excluded, each with its reason. The `aidlc init` wizard offers it when the project's
|
|
117
|
+
industry is `financial-services`. It does not make a project ready for a SOX audit either.
|
|
118
|
+
|
|
113
119
|
## How to use it
|
|
114
120
|
|
|
115
121
|
```
|
|
@@ -209,9 +215,19 @@ entry's own recorded hash matches what is on disk. The record is tracked, so a c
|
|
|
209
215
|
it. The hash used to be looked up by file *basename*, so a second entry named `victim.md` could
|
|
210
216
|
vouch for `../../victim.md` and get a file outside the project deleted (security-review-findings).
|
|
211
217
|
|
|
212
|
-
`compliance list` shows packs available and installed.
|
|
213
|
-
|
|
214
|
-
|
|
218
|
+
`compliance list` shows packs available and installed. These ship with the framework:
|
|
219
|
+
|
|
220
|
+
- `soc2` — the SOC 2 Common Criteria.
|
|
221
|
+
- `iso27001` — ISO/IEC 27001:2022, Annex A only.
|
|
222
|
+
- `sox` — SOX ITGC, change management only.
|
|
223
|
+
- `gdpr` — GDPR Articles 25, 30, 32 and 35. Not legal advice.
|
|
224
|
+
- `aspice` — Automotive SPICE 4.0, SWE.1 to SWE.6 only.
|
|
225
|
+
|
|
226
|
+
`aspice` gives process evidence per change and rates no capability level: an assessor rates an
|
|
227
|
+
organisation's processes across its projects, and the trail is input to that rating.
|
|
228
|
+
|
|
229
|
+
`sox` and `aspice` are scoped to an industry, `financial-services` and `automotive`, so `aidlc init`
|
|
230
|
+
asks which industry a project serves and offers each only under its answer. `check` returns the controls applying to the current phase, each with its requirement, where to look, and its fail
|
|
215
231
|
condition.
|
|
216
232
|
|
|
217
233
|
Two rules for anyone acting on a `check`:
|
|
@@ -234,7 +250,7 @@ and read what it says the second time. Steady-state bugs are invisible on the fi
|
|
|
234
250
|
- `packages/cli/src/doctor` — the checks and repairs. `migrations` holds the one-off repairs, including
|
|
235
251
|
the nested-`.gitignore` coverage fix and the self-ignore line removal (`nested-gitignore.ts`).
|
|
236
252
|
- `packages/cli/src/compliance` — pack loading, control evaluation, and the evidence report.
|
|
237
|
-
- `packages/content/packs` — the shipped packs,
|
|
253
|
+
- `packages/content/packs` — the shipped packs, one directory each. A new directory there is a new
|
|
238
254
|
pack; nothing else registers it.
|
|
239
255
|
- `packages/content/skills/80-review.md` — where the compliance findings stream is specified, including
|
|
240
256
|
the two-places rule for every applicable control.
|
package/docs/lifecycle.md
CHANGED
|
@@ -124,8 +124,9 @@ line and the guard is the early warning. Every refusal, from either, is one line
|
|
|
124
124
|
|
|
125
125
|
Bare `aidlc`, or `aidlc menu`, opens the console if you would rather not remember the commands. On
|
|
126
126
|
a terminal of at least 60 × 20 it is a full-screen dashboard: a header (project, branch, autopilot
|
|
127
|
-
state, agent, session
|
|
128
|
-
by side from 100 columns, stacked below that.
|
|
127
|
+
state, agent, the session's tokens, version), a BUILDING panel across the top, then ROADMAP and SPEND —
|
|
128
|
+
side by side from 100 columns, stacked below that. SPEND shows the session's, today's and the week's
|
|
129
|
+
tokens with a bar a day; the console prints no dollar figure. BUILDING lists every running instance once: `◆` for one
|
|
129
130
|
autopilot builds, `●` for one a session holds the claim of, each drawn as the watch view draws it, with
|
|
130
131
|
unfinished instances nobody is working on in a dimmed `idle` group (`○`) below. Keys act on what is
|
|
131
132
|
selected: `1`–`3` or the arrows pick a panel, `j`/`k` a row, `v` switches BUILDING between cards,
|
|
@@ -177,6 +178,14 @@ that would leave a completed phase still citing a retired criterion, names each
|
|
|
177
178
|
`Reopens:` it would accept. `--impact` ends with the same verdict in one line. The walk still never
|
|
178
179
|
chooses what is reopened; it can only stop a write, never cause one.
|
|
179
180
|
|
|
181
|
+
Criterion ids are whole numbers, counted across the whole document. A sub-numbered id such as `AC-6.1`
|
|
182
|
+
in `Retires:` or `Issues:` is refused before the walk, with or without `--impact`, and nothing is
|
|
183
|
+
written (`--json` code `sub-numbered-criterion`). Before, the parser dropped it with a warning, the
|
|
184
|
+
amendment read `Issues: (none)`, the walk walked nothing, and the write recorded it as applied. Ids
|
|
185
|
+
are integers through the requirements parser, the traceability matrix and the walk, so supporting the
|
|
186
|
+
dotted shape would have changed all three; refusing it changed none. A range such as `AC-4..AC-6` is
|
|
187
|
+
still only warned about.
|
|
188
|
+
|
|
180
189
|
**What the system does today** lives in `.aidlc/specs/`, one file per capability. Each instance's
|
|
181
190
|
`requirements.md` describes a change; after enough of them, nobody can say what the system does without
|
|
182
191
|
replaying all of them. The corpus is that replay, done once per instance instead of by every reader.
|
package/docs/roadmap.md
CHANGED
|
@@ -152,7 +152,12 @@ a square jumps to that item; a sticky column shows the selected item's facts, wh
|
|
|
152
152
|
on it. **Shipped** groups done items by release — the first `v*` tag after the merge of the item's branch —
|
|
153
153
|
newest first, each heading with the version, date, item count and total true cost from `aidlc metrics`;
|
|
154
154
|
each card shows its plain summary, kind of work, days from idea to done, true cost, and a red mark when it
|
|
155
|
-
caused bugfixes.
|
|
155
|
+
caused bugfixes. With a compliance pack installed, each card whose instance has a state directory also
|
|
156
|
+
gets one line per pack — evidenced, pending review, failing and not covered — taken from the rows
|
|
157
|
+
`aidlc compliance report --instance <name>` builds, with a ⚠ on any pending or failing count above zero;
|
|
158
|
+
an instance the report leaves out of scope says why instead. The view calls the report's own row builder
|
|
159
|
+
rather than re-reading findings, so the card and the report cannot disagree; with no pack the page is
|
|
160
|
+
unchanged. **Usage** lists every done item, most tokens first, with one bar each for input, output,
|
|
156
161
|
cache read and cache write and each value printed beside its bar. Each type is scaled to its own largest
|
|
157
162
|
value on the tab, because cache reads are usually most of a feature's tokens and one shared scale would
|
|
158
163
|
leave the other three bars at nothing. Every cost on the page is tokens first, as `aidlc cost` prints them
|
package/package.json
CHANGED
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
# Automotive SPICE PAM 4.0 — software engineering processes SWE.1 to SWE.6 only.
|
|
2
|
+
#
|
|
3
|
+
# Ids are written SWE<p>.<o>: `SWE1.3` is outcome 3 of process SWE.1. The pack
|
|
4
|
+
# validator accepts that shape and rejects `SWE.1.3`. Excluded processes are written
|
|
5
|
+
# without the dot (`MAN3` for MAN.3, `SUP10` for SUP.10) and process attributes as
|
|
6
|
+
# `PA1.1`. None of these shapes meets the SOC 2 pack's CC ids or the ISO pack's A
|
|
7
|
+
# ids, which matters because `aidlc compliance check` keys agent outcomes by control
|
|
8
|
+
# id across all installed packs (automotive-spice-pack/AC-6, AC-21).
|
|
9
|
+
#
|
|
10
|
+
# The text below paraphrases the process assessment model in this pack's own words
|
|
11
|
+
# and cites process and outcome numbers only. The model is the VDA's text; obtain it
|
|
12
|
+
# from the VDA.
|
|
13
|
+
#
|
|
14
|
+
# `kind` says what the AIDLC artifact trail can establish:
|
|
15
|
+
#
|
|
16
|
+
# evidenced the trail genuinely demonstrates the outcome
|
|
17
|
+
# checked-only the outcome concerns a running system, so no document evidences
|
|
18
|
+
# it. No SWE outcome is one: each is about a work product — a
|
|
19
|
+
# specification, a design, recorded results, a trace — that the
|
|
20
|
+
# trail holds.
|
|
21
|
+
#
|
|
22
|
+
# Every control is `major`, none `critical`: with `compliance.enforce` on a critical
|
|
23
|
+
# finding blocks a transition, and an unreviewed reading of the model should not
|
|
24
|
+
# block anyone's work.
|
|
25
|
+
#
|
|
26
|
+
# Of the 33 outcomes of SWE.1 to SWE.6, 16 are controls and 17 are excluded below,
|
|
27
|
+
# each with a note saying what the trail cannot show. The 26 other processes of the
|
|
28
|
+
# process reference model and the nine process attributes are excluded too.
|
|
29
|
+
|
|
30
|
+
controls:
|
|
31
|
+
# -------------------------------------------------------------------------
|
|
32
|
+
# SWE.1 Software requirements analysis — evidenced by requirements.md.
|
|
33
|
+
# -------------------------------------------------------------------------
|
|
34
|
+
- id: SWE1.1
|
|
35
|
+
kind: evidenced
|
|
36
|
+
check_kind: agent
|
|
37
|
+
severity: major
|
|
38
|
+
phases:
|
|
39
|
+
- requirements
|
|
40
|
+
requires: >-
|
|
41
|
+
The software requirements for the change are written down, each one stated
|
|
42
|
+
so that it can be verified.
|
|
43
|
+
look_at: >-
|
|
44
|
+
requirements.md for its numbered acceptance criteria (AC-n), each a statement
|
|
45
|
+
a test could pass or fail.
|
|
46
|
+
fails_when: >-
|
|
47
|
+
requirements.md is absent, or states no numbered acceptance criteria (AC-n).
|
|
48
|
+
evidence_artifact: requirements.md
|
|
49
|
+
|
|
50
|
+
- id: SWE1.3
|
|
51
|
+
kind: evidenced
|
|
52
|
+
check_kind: agent
|
|
53
|
+
severity: major
|
|
54
|
+
phases:
|
|
55
|
+
- requirements
|
|
56
|
+
requires: >-
|
|
57
|
+
The software requirements are analysed for correctness and technical
|
|
58
|
+
feasibility against the system they change, before design starts.
|
|
59
|
+
look_at: >-
|
|
60
|
+
requirements.md for what was read from the existing system — the code or
|
|
61
|
+
interfaces the criteria depend on — and for its open questions, each resolved
|
|
62
|
+
or stated as none.
|
|
63
|
+
fails_when: >-
|
|
64
|
+
requirements.md records no analysis of the criteria against the existing
|
|
65
|
+
system: it names no part of the system it read, and neither resolves its open
|
|
66
|
+
questions nor states that there are none.
|
|
67
|
+
evidence_artifact: requirements.md
|
|
68
|
+
|
|
69
|
+
- id: SWE1.4
|
|
70
|
+
kind: evidenced
|
|
71
|
+
check_kind: agent
|
|
72
|
+
severity: major
|
|
73
|
+
phases:
|
|
74
|
+
- requirements
|
|
75
|
+
requires: >-
|
|
76
|
+
The effect of the software requirements on the environment the software runs
|
|
77
|
+
in is analysed: resources, compatibility, and the other parts it interacts
|
|
78
|
+
with.
|
|
79
|
+
look_at: >-
|
|
80
|
+
requirements.md for its non-functional section — compatibility, resources,
|
|
81
|
+
bounds, security — or an explicit statement that the change has no such
|
|
82
|
+
effect.
|
|
83
|
+
fails_when: >-
|
|
84
|
+
requirements.md names no effect of the change on the environment it runs in
|
|
85
|
+
(no non-functional section, no compatibility or resource statement) and does
|
|
86
|
+
not say that it has none.
|
|
87
|
+
evidence_artifact: requirements.md
|
|
88
|
+
|
|
89
|
+
- id: SWE1.5
|
|
90
|
+
kind: evidenced
|
|
91
|
+
check_kind: agent
|
|
92
|
+
severity: major
|
|
93
|
+
phases:
|
|
94
|
+
- requirements
|
|
95
|
+
requires: >-
|
|
96
|
+
Each software requirement traces back to the requirement above it, and that
|
|
97
|
+
source traces forward to it, so a link can be followed in both directions.
|
|
98
|
+
look_at: >-
|
|
99
|
+
requirements.md for the source it derives from — the roadmap item it names,
|
|
100
|
+
which records the instance it was promoted to, or the system or customer
|
|
101
|
+
requirement ids it cites — and for each criterion's place under that source.
|
|
102
|
+
fails_when: >-
|
|
103
|
+
requirements.md names no upstream source its criteria derive from (no roadmap
|
|
104
|
+
item, no system requirement ids, no customer requirement), or a criterion
|
|
105
|
+
traces to none of the sources it names.
|
|
106
|
+
evidence_artifact: requirements.md
|
|
107
|
+
|
|
108
|
+
# -------------------------------------------------------------------------
|
|
109
|
+
# SWE.2 Software architectural design — evidenced by design.md.
|
|
110
|
+
# -------------------------------------------------------------------------
|
|
111
|
+
- id: SWE2.1
|
|
112
|
+
kind: evidenced
|
|
113
|
+
check_kind: agent
|
|
114
|
+
severity: major
|
|
115
|
+
phases:
|
|
116
|
+
- design
|
|
117
|
+
requires: >-
|
|
118
|
+
A software architecture is designed for the change: its components with their
|
|
119
|
+
responsibilities, and how they interact — the static structure and the
|
|
120
|
+
dynamic behaviour.
|
|
121
|
+
look_at: >-
|
|
122
|
+
design.md for its components, what each is responsible for, and the
|
|
123
|
+
interactions or data flow between them.
|
|
124
|
+
fails_when: >-
|
|
125
|
+
design.md is absent, or describes no components with their responsibilities
|
|
126
|
+
and no interactions or data flow between them.
|
|
127
|
+
evidence_artifact: design.md
|
|
128
|
+
|
|
129
|
+
- id: SWE2.2
|
|
130
|
+
kind: evidenced
|
|
131
|
+
check_kind: agent
|
|
132
|
+
severity: major
|
|
133
|
+
phases:
|
|
134
|
+
- design
|
|
135
|
+
requires: >-
|
|
136
|
+
The architecture is analysed against stated criteria, so the choices it makes
|
|
137
|
+
are reasoned rather than incidental.
|
|
138
|
+
look_at: >-
|
|
139
|
+
design.md for its design decisions, each with the reason it was taken and the
|
|
140
|
+
alternative it rejected.
|
|
141
|
+
fails_when: >-
|
|
142
|
+
design.md records no design decision with its rationale and the alternative it
|
|
143
|
+
rejected.
|
|
144
|
+
evidence_artifact: design.md
|
|
145
|
+
|
|
146
|
+
- id: SWE2.3
|
|
147
|
+
kind: evidenced
|
|
148
|
+
check_kind: agent
|
|
149
|
+
severity: major
|
|
150
|
+
phases:
|
|
151
|
+
- design
|
|
152
|
+
requires: >-
|
|
153
|
+
The architecture traces both ways to the software requirements: every part of
|
|
154
|
+
the design names the requirements it serves, and every requirement is served
|
|
155
|
+
by some part.
|
|
156
|
+
look_at: >-
|
|
157
|
+
design.md for the acceptance criteria (AC-n) each section addresses, read
|
|
158
|
+
against the active criteria in requirements.md.
|
|
159
|
+
fails_when: >-
|
|
160
|
+
A section of design.md names no AC-n it addresses, or an active criterion in
|
|
161
|
+
requirements.md is addressed by no section of design.md.
|
|
162
|
+
evidence_artifact: design.md
|
|
163
|
+
|
|
164
|
+
# -------------------------------------------------------------------------
|
|
165
|
+
# SWE.3 Detailed design and unit construction — design.md and tasks.md.
|
|
166
|
+
# -------------------------------------------------------------------------
|
|
167
|
+
- id: SWE3.1
|
|
168
|
+
kind: evidenced
|
|
169
|
+
check_kind: agent
|
|
170
|
+
severity: major
|
|
171
|
+
phases:
|
|
172
|
+
- design
|
|
173
|
+
requires: >-
|
|
174
|
+
The detailed design of each software component the change touches is
|
|
175
|
+
specified: its interfaces and the shape of the data it handles.
|
|
176
|
+
look_at: >-
|
|
177
|
+
design.md for the interfaces of the components it changes — function
|
|
178
|
+
signatures, data shapes or file formats.
|
|
179
|
+
fails_when: >-
|
|
180
|
+
design.md specifies no interfaces (signatures, data shapes or file formats)
|
|
181
|
+
for the components the change adds or alters.
|
|
182
|
+
evidence_artifact: design.md
|
|
183
|
+
|
|
184
|
+
- id: SWE3.2
|
|
185
|
+
kind: evidenced
|
|
186
|
+
check_kind: agent
|
|
187
|
+
severity: major
|
|
188
|
+
phases:
|
|
189
|
+
- implementation
|
|
190
|
+
requires: >-
|
|
191
|
+
The software units are produced as the detailed design defines them, and the
|
|
192
|
+
record shows each planned unit of work was done.
|
|
193
|
+
look_at: >-
|
|
194
|
+
tasks.md for the task breakdown the design calls for, each task ticked as done
|
|
195
|
+
or deferred in place with a dated reason.
|
|
196
|
+
fails_when: >-
|
|
197
|
+
tasks.md is absent, or a task the design calls for is neither marked done nor
|
|
198
|
+
deferred with a reason.
|
|
199
|
+
evidence_artifact: tasks.md
|
|
200
|
+
|
|
201
|
+
- id: SWE3.3
|
|
202
|
+
kind: evidenced
|
|
203
|
+
check_kind: agent
|
|
204
|
+
severity: major
|
|
205
|
+
phases:
|
|
206
|
+
- design
|
|
207
|
+
- implementation
|
|
208
|
+
requires: >-
|
|
209
|
+
The detailed design and the units built from it trace both ways to the
|
|
210
|
+
requirements: each piece of work names the requirements it serves, and every
|
|
211
|
+
requirement is served by some piece of work.
|
|
212
|
+
look_at: >-
|
|
213
|
+
tasks.md for the acceptance criteria (AC-n) each task cites, read against the
|
|
214
|
+
active criteria in requirements.md, and the commits that carry each task's
|
|
215
|
+
trailer.
|
|
216
|
+
fails_when: >-
|
|
217
|
+
An active criterion in requirements.md is claimed by no task in tasks.md, or a
|
|
218
|
+
task neither cites a criterion nor is stated as a chore.
|
|
219
|
+
evidence_artifact: tasks.md
|
|
220
|
+
|
|
221
|
+
# -------------------------------------------------------------------------
|
|
222
|
+
# SWE.4 Software unit verification — evidenced by test-results.md.
|
|
223
|
+
# -------------------------------------------------------------------------
|
|
224
|
+
- id: SWE4.1
|
|
225
|
+
kind: evidenced
|
|
226
|
+
check_kind: agent
|
|
227
|
+
severity: major
|
|
228
|
+
phases:
|
|
229
|
+
- implementation
|
|
230
|
+
- testing
|
|
231
|
+
requires: >-
|
|
232
|
+
Verification measures are specified for the software units: what tests or
|
|
233
|
+
other checks will show each unit works as designed.
|
|
234
|
+
look_at: >-
|
|
235
|
+
test-results.md for the tests written or run for the units the change adds or
|
|
236
|
+
alters, and the test files the change adds.
|
|
237
|
+
fails_when: >-
|
|
238
|
+
test-results.md names no tests written or run for the units the change adds or
|
|
239
|
+
alters.
|
|
240
|
+
evidence_artifact: test-results.md
|
|
241
|
+
|
|
242
|
+
- id: SWE4.3
|
|
243
|
+
kind: evidenced
|
|
244
|
+
check_kind: agent
|
|
245
|
+
severity: major
|
|
246
|
+
phases:
|
|
247
|
+
- testing
|
|
248
|
+
requires: >-
|
|
249
|
+
The software units are verified with those measures and the results are
|
|
250
|
+
recorded.
|
|
251
|
+
look_at: >-
|
|
252
|
+
test-results.md for the outcome of the unit-level tests — passed, failed, or
|
|
253
|
+
skipped, with counts or names.
|
|
254
|
+
fails_when: >-
|
|
255
|
+
test-results.md is absent, or records no outcome for the unit-level tests.
|
|
256
|
+
evidence_artifact: test-results.md
|
|
257
|
+
|
|
258
|
+
# -------------------------------------------------------------------------
|
|
259
|
+
# SWE.5 Component and integration verification — test-results.md.
|
|
260
|
+
# -------------------------------------------------------------------------
|
|
261
|
+
- id: SWE5.6
|
|
262
|
+
kind: evidenced
|
|
263
|
+
check_kind: agent
|
|
264
|
+
severity: major
|
|
265
|
+
phases:
|
|
266
|
+
- testing
|
|
267
|
+
requires: >-
|
|
268
|
+
The integrated software is verified as a whole and the results are recorded,
|
|
269
|
+
not only the units on their own.
|
|
270
|
+
look_at: >-
|
|
271
|
+
test-results.md for a run of the whole test suite on the integrated change —
|
|
272
|
+
the command, the build it ran on, and its outcome.
|
|
273
|
+
fails_when: >-
|
|
274
|
+
test-results.md records no run of the whole suite on the integrated change, or
|
|
275
|
+
records one with no outcome.
|
|
276
|
+
evidence_artifact: test-results.md
|
|
277
|
+
|
|
278
|
+
# -------------------------------------------------------------------------
|
|
279
|
+
# SWE.6 Software verification — evidenced by test-results.md.
|
|
280
|
+
# -------------------------------------------------------------------------
|
|
281
|
+
- id: SWE6.1
|
|
282
|
+
kind: evidenced
|
|
283
|
+
check_kind: agent
|
|
284
|
+
severity: major
|
|
285
|
+
phases:
|
|
286
|
+
- testing
|
|
287
|
+
requires: >-
|
|
288
|
+
Verification measures are specified from the software requirements, so that
|
|
289
|
+
every requirement has a test that checks it.
|
|
290
|
+
look_at: >-
|
|
291
|
+
test-results.md and the test files it names, for a test naming each active
|
|
292
|
+
acceptance criterion in requirements.md.
|
|
293
|
+
fails_when: >-
|
|
294
|
+
An active criterion in requirements.md has no test that names it.
|
|
295
|
+
evidence_artifact: test-results.md
|
|
296
|
+
|
|
297
|
+
- id: SWE6.3
|
|
298
|
+
kind: evidenced
|
|
299
|
+
check_kind: agent
|
|
300
|
+
severity: major
|
|
301
|
+
phases:
|
|
302
|
+
- testing
|
|
303
|
+
requires: >-
|
|
304
|
+
The integrated software is verified against its requirements and the result
|
|
305
|
+
for each requirement is recorded.
|
|
306
|
+
look_at: >-
|
|
307
|
+
test-results.md for a result per acceptance criterion, and for the
|
|
308
|
+
explanation of any failure.
|
|
309
|
+
fails_when: >-
|
|
310
|
+
test-results.md records no result per criterion, or records a failing result
|
|
311
|
+
with no explanation.
|
|
312
|
+
evidence_artifact: test-results.md
|
|
313
|
+
|
|
314
|
+
- id: SWE6.4
|
|
315
|
+
kind: evidenced
|
|
316
|
+
check_kind: agent
|
|
317
|
+
severity: major
|
|
318
|
+
phases:
|
|
319
|
+
- testing
|
|
320
|
+
requires: >-
|
|
321
|
+
The verification measures trace both ways to the software requirements, and
|
|
322
|
+
each result traces to the measure that produced it.
|
|
323
|
+
look_at: >-
|
|
324
|
+
The criterion-to-test traceability matrix the testing gate builds
|
|
325
|
+
(packages/cli/src/traceability/matrix.ts in the AIDLC framework) and its record
|
|
326
|
+
in test-results.md.
|
|
327
|
+
fails_when: >-
|
|
328
|
+
test-results.md records no criterion-to-test traceability, or the record shows
|
|
329
|
+
a criterion with no test, or a test that cites no criterion.
|
|
330
|
+
evidence_artifact: test-results.md
|
|
331
|
+
|
|
332
|
+
excluded:
|
|
333
|
+
# -------------------------------------------------------------------------
|
|
334
|
+
# SWE outcomes the trail cannot show (automotive-spice-pack/AC-10).
|
|
335
|
+
# -------------------------------------------------------------------------
|
|
336
|
+
- id: SWE1.2
|
|
337
|
+
reason: not-yet-built
|
|
338
|
+
note: >-
|
|
339
|
+
Requirements are grouped under headings in requirements.md, but carry no
|
|
340
|
+
priority, so the trail does not show them prioritised.
|
|
341
|
+
- id: SWE1.6
|
|
342
|
+
reason: organizational
|
|
343
|
+
note: >-
|
|
344
|
+
The system architecture is a system-level work product kept outside the
|
|
345
|
+
per-change trail, so no link from software requirements to it is recorded.
|
|
346
|
+
- id: SWE1.7
|
|
347
|
+
reason: organizational
|
|
348
|
+
note: >-
|
|
349
|
+
The trail records a person's review at a phase boundary, not that the
|
|
350
|
+
requirements were agreed with and communicated to all affected parties.
|
|
351
|
+
- id: SWE2.4
|
|
352
|
+
reason: organizational
|
|
353
|
+
note: >-
|
|
354
|
+
The trail records a person's review at a phase boundary, not that the
|
|
355
|
+
architecture was agreed with and communicated to all affected parties.
|
|
356
|
+
- id: SWE3.4
|
|
357
|
+
reason: organizational
|
|
358
|
+
note: >-
|
|
359
|
+
The trail records a person's review at a phase boundary, not that the detailed
|
|
360
|
+
design and code were communicated to all affected parties.
|
|
361
|
+
- id: SWE4.2
|
|
362
|
+
reason: not-yet-built
|
|
363
|
+
note: >-
|
|
364
|
+
The trail records which tests ran, not the criteria that selected them for a
|
|
365
|
+
release, and no regression strategy.
|
|
366
|
+
- id: SWE4.4
|
|
367
|
+
reason: not-yet-built
|
|
368
|
+
note: >-
|
|
369
|
+
The traceability matrix links acceptance criteria to tests, not software units
|
|
370
|
+
to tests, so unit-level traceability is not shown.
|
|
371
|
+
- id: SWE4.5
|
|
372
|
+
reason: organizational
|
|
373
|
+
note: >-
|
|
374
|
+
test-results.md summarises the results, but the trail cannot show that they
|
|
375
|
+
reached all affected parties.
|
|
376
|
+
- id: SWE5.1
|
|
377
|
+
reason: not-yet-built
|
|
378
|
+
note: >-
|
|
379
|
+
Tests are not specified per element of the software architecture, so
|
|
380
|
+
integration verification measures are not shown.
|
|
381
|
+
- id: SWE5.2
|
|
382
|
+
reason: not-yet-built
|
|
383
|
+
note: >-
|
|
384
|
+
Tests are not specified per software component, so component verification
|
|
385
|
+
measures are not shown.
|
|
386
|
+
- id: SWE5.3
|
|
387
|
+
reason: not-yet-built
|
|
388
|
+
note: >-
|
|
389
|
+
The trail records the build the tests ran on, not a sequence in which software
|
|
390
|
+
elements were integrated.
|
|
391
|
+
- id: SWE5.4
|
|
392
|
+
reason: not-yet-built
|
|
393
|
+
note: >-
|
|
394
|
+
The trail records which tests ran, not the criteria that selected them for a
|
|
395
|
+
release.
|
|
396
|
+
- id: SWE5.5
|
|
397
|
+
reason: not-yet-built
|
|
398
|
+
note: >-
|
|
399
|
+
Component tests are not told apart from other tests in test-results.md, so
|
|
400
|
+
component verification results are not shown on their own.
|
|
401
|
+
- id: SWE5.7
|
|
402
|
+
reason: not-yet-built
|
|
403
|
+
note: >-
|
|
404
|
+
No link from tests to architecture elements is recorded, so this traceability
|
|
405
|
+
is not shown.
|
|
406
|
+
- id: SWE5.8
|
|
407
|
+
reason: organizational
|
|
408
|
+
note: >-
|
|
409
|
+
test-results.md summarises the results, but the trail cannot show that they
|
|
410
|
+
reached all affected parties.
|
|
411
|
+
- id: SWE6.2
|
|
412
|
+
reason: not-yet-built
|
|
413
|
+
note: >-
|
|
414
|
+
The trail records which tests ran, not the criteria that selected them for a
|
|
415
|
+
release, and no regression strategy.
|
|
416
|
+
- id: SWE6.5
|
|
417
|
+
reason: organizational
|
|
418
|
+
note: >-
|
|
419
|
+
test-results.md summarises the results, but the trail cannot show that they
|
|
420
|
+
reached all affected parties.
|
|
421
|
+
|
|
422
|
+
# -------------------------------------------------------------------------
|
|
423
|
+
# Every other process of the PAM 4.0 process reference model
|
|
424
|
+
# (automotive-spice-pack/AC-12). Written without the dot.
|
|
425
|
+
# -------------------------------------------------------------------------
|
|
426
|
+
# Acquisition and supply.
|
|
427
|
+
- id: ACQ4
|
|
428
|
+
reason: organizational
|
|
429
|
+
note: >-
|
|
430
|
+
Supplier monitoring is run by the organisation buying the software, outside a
|
|
431
|
+
software change.
|
|
432
|
+
- id: SPL2
|
|
433
|
+
reason: not-yet-built
|
|
434
|
+
note: >-
|
|
435
|
+
deployment-record.md records what shipped and how to roll it back, which is
|
|
436
|
+
input to product release, but this pack does not map it.
|
|
437
|
+
# System engineering.
|
|
438
|
+
- id: SYS1
|
|
439
|
+
reason: organizational
|
|
440
|
+
note: Requirements elicitation is done at system level, outside a software change.
|
|
441
|
+
- id: SYS2
|
|
442
|
+
reason: organizational
|
|
443
|
+
note: System requirements analysis is done at system level, outside a software change.
|
|
444
|
+
- id: SYS3
|
|
445
|
+
reason: organizational
|
|
446
|
+
note: System architectural design is done at system level, outside a software change.
|
|
447
|
+
- id: SYS4
|
|
448
|
+
reason: organizational
|
|
449
|
+
note: System integration is done at system level, outside a software change.
|
|
450
|
+
- id: SYS5
|
|
451
|
+
reason: organizational
|
|
452
|
+
note: System verification is done at system level, outside a software change.
|
|
453
|
+
# Validation.
|
|
454
|
+
- id: VAL1
|
|
455
|
+
reason: organizational
|
|
456
|
+
note: Validation is done on the vehicle or end product, outside a software change.
|
|
457
|
+
# Machine learning engineering.
|
|
458
|
+
- id: MLE1
|
|
459
|
+
reason: not-yet-built
|
|
460
|
+
note: The trail has no machine-learning artifacts, so ML requirements are not shown.
|
|
461
|
+
- id: MLE2
|
|
462
|
+
reason: not-yet-built
|
|
463
|
+
note: The trail has no machine-learning artifacts, so ML architecture is not shown.
|
|
464
|
+
- id: MLE3
|
|
465
|
+
reason: not-yet-built
|
|
466
|
+
note: The trail has no machine-learning artifacts, so ML training is not shown.
|
|
467
|
+
- id: MLE4
|
|
468
|
+
reason: not-yet-built
|
|
469
|
+
note: The trail has no machine-learning artifacts, so ML model testing is not shown.
|
|
470
|
+
# Hardware engineering.
|
|
471
|
+
- id: HWE1
|
|
472
|
+
reason: organizational
|
|
473
|
+
note: Hardware requirements are outside a software change.
|
|
474
|
+
- id: HWE2
|
|
475
|
+
reason: organizational
|
|
476
|
+
note: Hardware design is outside a software change.
|
|
477
|
+
- id: HWE3
|
|
478
|
+
reason: organizational
|
|
479
|
+
note: Hardware design verification is outside a software change.
|
|
480
|
+
- id: HWE4
|
|
481
|
+
reason: organizational
|
|
482
|
+
note: Hardware verification is outside a software change.
|
|
483
|
+
# Supporting processes.
|
|
484
|
+
- id: SUP1
|
|
485
|
+
reason: not-yet-built
|
|
486
|
+
note: >-
|
|
487
|
+
Phase gates and adversarial review are input to quality assurance, but this
|
|
488
|
+
pack does not map them.
|
|
489
|
+
- id: SUP8
|
|
490
|
+
reason: not-yet-built
|
|
491
|
+
note: >-
|
|
492
|
+
A branch and commits per change are input to configuration management, but
|
|
493
|
+
this pack does not map them.
|
|
494
|
+
- id: SUP9
|
|
495
|
+
reason: not-yet-built
|
|
496
|
+
note: >-
|
|
497
|
+
Bugfix instances and their caused_by link are input to problem resolution
|
|
498
|
+
management, but this pack does not map them.
|
|
499
|
+
- id: SUP10
|
|
500
|
+
reason: not-yet-built
|
|
501
|
+
note: >-
|
|
502
|
+
Roadmap items and requirement amendments are input to change request
|
|
503
|
+
management, but this pack does not map them.
|
|
504
|
+
- id: SUP11
|
|
505
|
+
reason: not-yet-built
|
|
506
|
+
note: The trail has no machine-learning artifacts, so ML data management is not shown.
|
|
507
|
+
# Management, process improvement and reuse.
|
|
508
|
+
- id: MAN3
|
|
509
|
+
reason: organizational
|
|
510
|
+
note: Project management is run by the organisation across changes.
|
|
511
|
+
- id: MAN5
|
|
512
|
+
reason: organizational
|
|
513
|
+
note: Risk management is run by the organisation across changes.
|
|
514
|
+
- id: MAN6
|
|
515
|
+
reason: organizational
|
|
516
|
+
note: >-
|
|
517
|
+
Measurement is run by the organisation; aidlc metrics is input to it, but this
|
|
518
|
+
pack does not map it.
|
|
519
|
+
- id: PIM3
|
|
520
|
+
reason: organizational
|
|
521
|
+
note: >-
|
|
522
|
+
Process improvement is run by the organisation; retrospectives are input to
|
|
523
|
+
it, but this pack does not map them.
|
|
524
|
+
- id: REU2
|
|
525
|
+
reason: organizational
|
|
526
|
+
note: Reuse program management is run by the organisation across products.
|
|
527
|
+
|
|
528
|
+
# -------------------------------------------------------------------------
|
|
529
|
+
# Process attributes (automotive-spice-pack/AC-13). An assessor rates these;
|
|
530
|
+
# this pack rates none. PA1.1's note is the statement the report prints.
|
|
531
|
+
# -------------------------------------------------------------------------
|
|
532
|
+
- id: PA1.1
|
|
533
|
+
reason: organizational
|
|
534
|
+
note: >-
|
|
535
|
+
Capability levels are rated by an assessor, from process attributes such as
|
|
536
|
+
this one, across an organisation's projects. This pack gives process evidence
|
|
537
|
+
per change and rates no capability level.
|
|
538
|
+
- id: PA2.1
|
|
539
|
+
reason: organizational
|
|
540
|
+
note: Process attribute for capability level 2; rated by an assessor, not by this pack.
|
|
541
|
+
- id: PA2.2
|
|
542
|
+
reason: organizational
|
|
543
|
+
note: Process attribute for capability level 2; rated by an assessor, not by this pack.
|
|
544
|
+
- id: PA3.1
|
|
545
|
+
reason: organizational
|
|
546
|
+
note: Process attribute for capability level 3; rated by an assessor, not by this pack.
|
|
547
|
+
- id: PA3.2
|
|
548
|
+
reason: organizational
|
|
549
|
+
note: Process attribute for capability level 3; rated by an assessor, not by this pack.
|
|
550
|
+
- id: PA4.1
|
|
551
|
+
reason: organizational
|
|
552
|
+
note: Process attribute for capability level 4; rated by an assessor, not by this pack.
|
|
553
|
+
- id: PA4.2
|
|
554
|
+
reason: organizational
|
|
555
|
+
note: Process attribute for capability level 4; rated by an assessor, not by this pack.
|
|
556
|
+
- id: PA5.1
|
|
557
|
+
reason: organizational
|
|
558
|
+
note: Process attribute for capability level 5; rated by an assessor, not by this pack.
|
|
559
|
+
- id: PA5.2
|
|
560
|
+
reason: organizational
|
|
561
|
+
note: Process attribute for capability level 5; rated by an assessor, not by this pack.
|