process-gate
Skill4 starsChanged 15 days agoMITView on GitHub
Readiness check of one process or of every process in scope: a verdict per base practice and per process (PASS, CONCERNS, FAIL, NOT ASSESSED), built from the trace engine's observations by a fixed mapping plus a semantic sample of the evidence. Use before a baseline, a release, a delivery or an assessment, or to see what a process still lacks. It is a self-check by the team, not an assessment and not a rating.
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aspice-startSkill
- baselineSkill
- change-requestSkill
- component-qualificationSkill
- cybersecurity-conceptSkill
- cybersecurity-planSkill
- documentsSkill
- haraSkill
- import-inputsSkill
- mock-assessmentSkill
- next-stepSkill
- problem-resolutionSkill
- project-planSkill
- project-statusSkill
- quality-assuranceSkill
- releaseSkill
- reviewSkill
- risk-managementSkill
- safety-analysisSkill
- safety-conceptSkill
- safety-planSkill
- supplier-monitoringSkill
- sw-architectureSkill
- sw-detailed-designSkill
- sw-integration-testSkill
- sw-qualification-testSkill
- sw-requirementsSkill
- sw-unit-implementSkill
- sw-unit-verifySkill
- sys-architectureSkill
- sys-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 8 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If there is no project.yaml, stop: "This project has no scope yet.
- Very specific: line 29
Run python tools/traceability.py status and python tools/traceability.py check --all and read both.
- Very specific: line 40
If it answers "<PROCESS> is not in the scope of this project", stop: "<PROCESS>: NOT ASSESSED - out of scope." Do not gate a process the …
- Distinctive: line 45
Ask what the gate is for: a baseline (which purpose), a release (which one), a delivery, or the current state.
- Very specific: line 51
Keep the practices table and the summary line of check, both as printed.
- Very specific: line 56
Run python tools/traceability.py practices <PROCESS> --json as well: by names the item types, link roles and rules that feed each practice.
- Very specific: line 58
Read references/verdicts.md now.
- Very specific: line 60
If the gate is for a baseline that already exists, run python tools/traceability.py audit <BL-ID> and quote it: it lists every item that …
- Distinctive: line 78
Ask, practice by practice or grouped: "The toolkit holds no evidence for <practice>.
- Very specific: line 85
Read at least three of the items or records behind it, or all if there are fewer.
- Very specific: line 87
Read the row of the practice in aspice/3.1/notes/<PROCESS>.md and compare what it says must be true with what the sampled items contain.
- Distinctive: line 92
No concern: the practice is PASS, stated as "deterministic part by the engine, sample of N of M read".
- Very specific: line 102
Read aspice.target_level in project.yaml.
- Very specific: line 115
Ask: "May I save this report as reports/process-gate-<scope>-<date>.md?" It is a plain Markdown file, not an item: no front matter, no ID, …
- Very specific: line 123
Every base practice of every process gated has exactly one verdict, and the numbers in the report are those practices and check printed in …
- Distinctive: line 125
Every NOT ASSESSED names what was not assessed and why.
- Very specific: line 127
Every check line without a bracket is quoted and its consequence stated.
- Very specific: line 128
No item, record or status changed: run python tools/traceability.py check --all again and compare the summary line with the one from the …
- Distinctive: line 146
Do not rate: no N, P, L or F, no percentage of achievement, no capability level.
- Very specific: line 147
Do not turn a statement of the user into PASS, and do not let a clean check stand for practices the toolkit cannot see.
- Distinctive: line 149
Do not fix findings, change a status or write a record.
- Distinctive: line 150
Do not reuse numbers from an earlier run or from memory.
- Distinctive: line 151
Do not call the result an assessment, an audit or a release decision.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Process gate
Toolkit root:
${CLAUDE_PLUGIN_ROOT}- where this shows a placeholder instead of a folder, it is the repository you are in. Thetools/,schema/,aspice/,iso-26262/,iso-sae-21434/,examples/and.claude/docs/named here and in the references lie in the toolkit root; run its tools from the project folder aspython "<toolkit root>/tools/<script>.py".
Answers one question per process: is it ready, and if not, what stands against it. The
skill takes the observations of python tools/traceability.py practices and check,
maps each to a verdict by the table in references/verdicts.md, reads a sample of the
evidence against what each base practice expects, and reports both kinds of result
apart. This is a readiness check by the team itself. It is not an assessment, gives no
rating and no capability level.
| Base practice | What this skill does | Evidence it leaves |
| Every base practice of the process asked for | maps the engine's observation to a verdict and reads a sample of the evidence | none: the items and records are the evidence; the report, saved on request under reports/, is a plain file |
| Practices the schema has no evidence structure for | NOT ASSESSED by the toolkit; asks what evidence exists outside the repository | the answer, reported as the user's statement |
| GP 2.1.1 to GP 2.1.7 and GP 2.2.1 to GP 2.2.4, when the target level is 2 or higher | lists them as NOT ASSESSED by the toolkit, with what a person would look for | - |
| SUP.1.BP3 | not done here: a gate the team runs on its own work is not an independent check of process activities; /quality-assurance uses the report as input for the check of the person the quality assurance plan names | - |
Before you start
- If there is no
project.yaml, stop: "This project has no scope yet. Run/aspice-startfirst." - Run
python tools/traceability.py statusandpython tools/traceability.py check --alland read both. Every command of this skill takes--project <dir>right after the script name when the project is not the current directory. If the commands do not run, stop: every verdict is NOT ASSESSED, with the reason (for example PyYAML is missing). - With
26262or21434(optionally a part or clause:26262 6,21434 15) as argument, the gate runs per clause of that standard: readreferences/standards.mdand usepython tools/traceability.py safety [PART] --jsonorpython tools/traceability.py clauses [CLAUSE] --jsonin place ofpractices; the steps below apply to clauses as they do to base practices. With a process as argument runpython tools/traceability.py practices <PROCESS>. If it answers "<PROCESS>is not in the scope of this project", stop: "<PROCESS>: NOT ASSESSED - out of scope." Do not gate a process the project is not responsible for. Without an argument runpython tools/traceability.py practices. - Say before any result: "This is a readiness check by the team itself, not an assessment and not a rating."
- Ask what the gate is for: a baseline (which purpose), a release (which one), a delivery, or the current state. The answer decides how unfinished items count.
Steps
1. Collect the facts
- Keep the
practicestable and the summary line ofcheck, both as printed. - From the output of
check --allnote three things the states alone do not show: units without code (COV-10 ... designed but not implemented), items in draft or in review whose last review left findings open (COV-19 ... left findings open), and lines without a bracket. The report names all three. - Run
python tools/traceability.py practices <PROCESS> --jsonas well:bynames the item types, link roles and rules that feed each practice. - Read
references/verdicts.mdnow. It holds the mapping, what the states do not tell, and the rules for the sample. - If the gate is for a baseline that already exists, run
python tools/traceability.py audit <BL-ID>and quote it: it lists every item that differs from what the baseline recorded.
2. Map each practice to a verdict
A finding is counted for the process that produces the item it is on. Quote check
lines without a bracket separately; references/verdicts.md says what they mean.
State printed by practices | Verdict |
findings open | FAIL; quote the check lines behind it |
no evidence yet | FAIL; name the item types that would carry the evidence |
evidence not settled | FAIL when an unsettled item carries open review findings or belongs to what the gate is for; otherwise CONCERNS (references/verdicts.md) |
warnings open | CONCERNS; quote the warnings. Warnings marked pending on units without code: references/verdicts.md |
no evidence structure | NOT ASSESSED by the toolkit; go to step 3 |
evidence present | PASS for the deterministic part only; go to step 4 |
3. Practices without evidence structure
Ask, practice by practice or grouped: "The toolkit holds no evidence for <practice>.
What evidence exists outside this repository, and who can show it?" Report the answer
as "stated by <who answered>". The verdict stays NOT ASSESSED: a statement is not a
check. "Nothing exists" is reported as stated, too.
4. Sample the evidence
For each practice with evidence present:
- Read at least three of the items or records behind it, or all if there are fewer.
Choose as
references/verdicts.mdsays, not the three that look best. - Read the row of the practice in
aspice/3.1/notes/<PROCESS>.mdand compare what it says must be true with what the sampled items contain. Underaspice.version4.0 the notes are those of 3.1: read the rows of the practices itsmaps_tonames, and the intent of the 4.0 practice inaspice/4.0/processes/<PROCESS>.yaml. - Report what was read (IDs), what was looked for, and what was found, with the text.
- No concern: the practice is PASS, stated as "deterministic part by the engine, sample of N of M read". A concern: CONCERNS, as a proposal the user confirms or rejects. Sample not possible (notes or items cannot be read): NOT ASSESSED, with the reason.
5. Verdict per process
The process verdict is the worst verdict among its practices, in the order FAIL, NOT ASSESSED, CONCERNS, PASS. Always give the count per verdict next to it, so that a NOT ASSESSED does not hide the concerns beside it.
6. Capability level
Read aspice.target_level in project.yaml. If the key is absent or empty, ask the
user for the target level; do not assume level 1. For level 2 or higher
read references/level-2.md and list every generic practice of level 2 as NOT ASSESSED
by the toolkit, with what a person would look for. Say plainly: a result at level 1 is
not a result at level 2, whatever the verdicts above are.
7. Report
Build the report from references/output-format.md and show it. Then ask whether to
save it.
Writing
- Nothing is written unless the user asks for the report file.
- Ask: "May I save this report as
reports/process-gate-<scope>-<date>.md?" It is a plain Markdown file, not an item: no front matter, no ID, not in a folder listed underpaths.items. Ifreportsis listed there, ask for another folder. - The file starts with the sentence of step 4 of "Before you start" and names who asked for the gate and what it was for.
Checks before you finish
- Every base practice of every process gated has exactly one verdict, and the numbers
in the report are those
practicesandcheckprinted in this session. - Every NOT ASSESSED names what was not assessed and why; every PASS names what was read; every FAIL and CONCERNS quotes a line or a text.
- Every
checkline without a bracket is quoted and its consequence stated. - No item, record or status changed: run
python tools/traceability.py check --allagain and compare the summary line with the one from the start.
Hand-over
Report, in this order:
- The sentence that this is a self-check, what the gate was for, and the summary line
of
checkwith the number of active coverage rules and the processes in scope. - Per process: the practice table with engine state, deterministic result, sample result and verdict; then the process verdict with the count per verdict.
- Statements by people, each with who made it.
- The level 2 list, when the target level is 2 or higher.
- Next, by cause:
/reviewfor approvals and consistency; the authoring skill for missing or unsettled items;/baselinefor what was not communicated;/trace-checkfor an explanation of single findings.
Do not
- Do not rate: no N, P, L or F, no percentage of achievement, no capability level.
- Do not turn a statement of the user into PASS, and do not let a clean
checkstand for practices the toolkit cannot see. - Do not fix findings, change a status or write a record. This skill reads.
- Do not reuse numbers from an earlier run or from memory.
- Do not call the result an assessment, an audit or a release decision. People decide what happens with a FAIL or a CONCERNS.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

