@metasession.co/devaudit-cli 0.1.42 → 0.1.44
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/sdlc/files/_common/1-plan-requirement.md +23 -9
- package/sdlc/files/_common/Implementation_Plan_TEMPLATE.md +52 -25
- package/sdlc/files/_common/governance/risk-register.md.template +116 -0
- package/sdlc/files/_common/skills/adr-author/SKILL.md +266 -0
- package/sdlc/files/_common/skills/governance-doc-author/SKILL.md +30 -27
- package/sdlc/files/_common/skills/risk-register-keeper/SKILL.md +241 -0
- package/sdlc/files/_common/skills/sdlc-implementer/SKILL.md +40 -27
- package/sdlc/files/ci/compliance-evidence.yml.template +12 -0
- package/sdlc/files/sdlc-config.example.json +30 -1
|
@@ -71,7 +71,12 @@
|
|
|
71
71
|
"uat": {
|
|
72
72
|
"enabled": false,
|
|
73
73
|
"url": "",
|
|
74
|
-
"required_risk_classes": [
|
|
74
|
+
"required_risk_classes": [
|
|
75
|
+
"payment",
|
|
76
|
+
"destructive_migration",
|
|
77
|
+
"realtime",
|
|
78
|
+
"physical_ux"
|
|
79
|
+
]
|
|
75
80
|
},
|
|
76
81
|
|
|
77
82
|
"_comment_approval": "Four-eyes release approval policy (Stage 3 Step 11). dual_actor = DevAudit enforces approver ≠ release_creator. solo_with_gap = self-approval allowed with documented control gap in compliance/risk-register.md. auto_low_risk = LOW-risk auto-approved by CI, MEDIUM/HIGH require human.",
|
|
@@ -93,5 +98,29 @@
|
|
|
93
98
|
"block_on_stage_3": true,
|
|
94
99
|
"auto_file_followup_issue": false,
|
|
95
100
|
"ramp_up_runs": 5
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
"_comment_adr_author": "adr-author skill toggles (DevAudit-Installer#120, v0.1.43+). The skill applies a decision tree at Stage 1 plan APPROVAL to judge ADR-worthiness, drafts docs/ADR/ADR-NNN-<slug>.md when warranted, and drops compliance/evidence/REQ-XXX/architecture-decision.md at Stage 3. block_on_stage_1=false (default) means advisory-with-strong-recommend in v1; flip to true once the project's calibrated on the heuristic. block_on_stage_3=true means the per-REQ architecture-decision.md artefact is the hard gate. file_paths_signal_architecture lists path prefixes that should trigger an ADR-worthy verdict when touched — defaults cover lib/services/, lib/repositories/, prisma/schema.prisma, infra/; add project-specific load-bearing paths.",
|
|
104
|
+
"adr_author": {
|
|
105
|
+
"enabled": true,
|
|
106
|
+
"block_on_stage_1": false,
|
|
107
|
+
"block_on_stage_3": true,
|
|
108
|
+
"file_paths_signal_architecture": [
|
|
109
|
+
"lib/services/",
|
|
110
|
+
"lib/repositories/",
|
|
111
|
+
"prisma/schema.prisma",
|
|
112
|
+
"infra/"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
"_comment_risk_register_keeper": "risk-register-keeper skill toggles (DevAudit-Installer#121, v0.1.44+). The skill maintains compliance/risk-register.md as the project-spanning risk SoT. At Stage 1 (MEDIUM/HIGH risk classifications only by default — LOW skipped) it identifies risks the change introduces, allocates RISK-NNN per project, drafts canonical rows, and injects the reference list into the implementation plan. On incident close it drafts the residual-risk entry. At Stage 3 it drops compliance/evidence/REQ-XXX/risk-assessment.md. For solo_with_gap approval projects it enforces the documented control-gap entry. block_on_stage_1=false (default) means advisory in v1. block_on_stage_3=true means the per-REQ risk-assessment.md artefact is the hard gate. scoring='likelihood-impact' = default 3x3 matrix per 0-project-setup.md (CVSS deferred). stage_1_min_risk_class='MEDIUM' = LOW REQs skip the Stage-1 hook (orchestrator's classification already decided no register entry is warranted).",
|
|
117
|
+
"risk_register_keeper": {
|
|
118
|
+
"enabled": true,
|
|
119
|
+
"block_on_stage_1": false,
|
|
120
|
+
"block_on_stage_3": true,
|
|
121
|
+
"scoring": "likelihood-impact",
|
|
122
|
+
"auto_open_on_high_risk_req": true,
|
|
123
|
+
"auto_open_on_closed_incident": true,
|
|
124
|
+
"stage_1_min_risk_class": "MEDIUM"
|
|
96
125
|
}
|
|
97
126
|
}
|