@jetrabbits/agentic 0.3.3 → 0.5.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.
Files changed (94) hide show
  1. package/AGENTS.md +8 -0
  2. package/CHANGELOG.md +18 -0
  3. package/Makefile +26 -5
  4. package/README.md +25 -6
  5. package/agentic +801 -66
  6. package/areas/devops/ci-cd/workflows/onboard-repo.md +29 -0
  7. package/areas/devops/ci-cd/workflows/pipeline-debug.md +26 -0
  8. package/areas/devops/ci-cd/workflows/release-pipeline.md +53 -0
  9. package/areas/devops/database-ops/workflows/backup-verify.md +27 -0
  10. package/areas/devops/database-ops/workflows/db-incident.md +30 -0
  11. package/areas/devops/devsecops/workflows/policy-onboard.md +34 -0
  12. package/areas/devops/devsecops/workflows/security-scan-pipeline.md +33 -0
  13. package/areas/devops/infrastructure/workflows/destroy-environment.md +31 -0
  14. package/areas/devops/infrastructure/workflows/drift-remediation.md +29 -0
  15. package/areas/devops/infrastructure/workflows/module-development.md +32 -0
  16. package/areas/devops/infrastructure/workflows/provision-environment.md +29 -0
  17. package/areas/devops/kubernetes/workflows/cluster-bootstrap.md +36 -0
  18. package/areas/devops/kubernetes/workflows/debug-workload.md +29 -0
  19. package/areas/devops/kubernetes/workflows/onboard-service.md +35 -0
  20. package/areas/devops/kubernetes/workflows/upgrade-cluster.md +30 -0
  21. package/areas/devops/networking/workflows/onboard-ingress.md +27 -0
  22. package/areas/devops/networking/workflows/service-mesh-onboard.md +27 -0
  23. package/areas/devops/observability/workflows/alert-investigation.md +29 -0
  24. package/areas/devops/observability/workflows/observability-stack-setup.md +33 -0
  25. package/areas/devops/observability/workflows/onboard-service-monitoring.md +31 -0
  26. package/areas/devops/sre/workflows/incident-response.md +48 -0
  27. package/areas/devops/sre/workflows/postmortem.md +32 -0
  28. package/areas/devops/sre/workflows/slo-review.md +35 -1
  29. package/areas/software/backend/workflows/add-migration.md +33 -0
  30. package/areas/software/backend/workflows/create-endpoint.md +40 -0
  31. package/areas/software/backend/workflows/debug-issue.md +31 -0
  32. package/areas/software/backend/workflows/develop-epic.md +37 -0
  33. package/areas/software/backend/workflows/develop-feature.md +44 -0
  34. package/areas/software/backend/workflows/refactor-module.md +35 -0
  35. package/areas/software/backend/workflows/test-feature.md +30 -0
  36. package/areas/software/data-engineering/workflows/backfill-data.md +25 -0
  37. package/areas/software/data-engineering/workflows/data-quality-incident.md +31 -0
  38. package/areas/software/data-engineering/workflows/lineage-trace.md +25 -0
  39. package/areas/software/data-engineering/workflows/new-model.md +30 -0
  40. package/areas/software/data-engineering/workflows/schema-migration.md +29 -0
  41. package/areas/software/frontend/workflows/a11y-fix.md +30 -0
  42. package/areas/software/frontend/workflows/bundle-analyze.md +28 -0
  43. package/areas/software/frontend/workflows/release-prep.md +33 -0
  44. package/areas/software/frontend/workflows/scaffold-component.md +32 -0
  45. package/areas/software/frontend/workflows/visual-regression.md +32 -0
  46. package/areas/software/full-stack/workflows/backend-project-full-cycle.md +47 -2
  47. package/areas/software/full-stack/workflows/debug-issue.md +29 -0
  48. package/areas/software/full-stack/workflows/develop-feature.md +38 -0
  49. package/areas/software/full-stack/workflows/feature-implementation-flow.md +38 -0
  50. package/areas/software/full-stack/workflows/testing-ci-pipeline.md +30 -0
  51. package/areas/software/general/workflows/code-review-workflow.md +31 -0
  52. package/areas/software/general/workflows/development-cycle-workflow.md +38 -0
  53. package/areas/software/general/workflows/project-setup-workflow.md +38 -0
  54. package/areas/software/mlops/workflows/champion-challenger.md +29 -0
  55. package/areas/software/mlops/workflows/deploy-endpoint.md +30 -0
  56. package/areas/software/mlops/workflows/evaluate-model.md +28 -0
  57. package/areas/software/mlops/workflows/model-incident.md +29 -0
  58. package/areas/software/mlops/workflows/train-experiment.md +25 -0
  59. package/areas/software/mobile/workflows/crash-triage.md +28 -0
  60. package/areas/software/mobile/workflows/device-testing.md +27 -0
  61. package/areas/software/mobile/workflows/ota-update.md +25 -0
  62. package/areas/software/mobile/workflows/release-build.md +30 -0
  63. package/areas/software/mobile/workflows/store-submission.md +29 -0
  64. package/areas/software/platform/workflows/cost-audit.md +28 -0
  65. package/areas/software/platform/workflows/deploy-production.md +30 -0
  66. package/areas/software/platform/workflows/drift-check.md +29 -0
  67. package/areas/software/platform/workflows/incident-response.md +33 -0
  68. package/areas/software/platform/workflows/provision-env.md +36 -0
  69. package/areas/software/qa/workflows/flakiness-investigation.md +30 -0
  70. package/areas/software/qa/workflows/performance-audit.md +29 -0
  71. package/areas/software/qa/workflows/regression-suite.md +28 -0
  72. package/areas/software/qa/workflows/smoke-test.md +31 -0
  73. package/areas/software/qa/workflows/test-coverage-report.md +28 -0
  74. package/areas/software/security/workflows/compliance-report.md +27 -0
  75. package/areas/software/security/workflows/pen-test-sim.md +28 -0
  76. package/areas/software/security/workflows/secret-rotation.md +33 -2
  77. package/areas/software/security/workflows/security-scan.md +29 -0
  78. package/areas/software/security/workflows/threat-model-review.md +30 -0
  79. package/docs/agentic-usage.md +19 -2
  80. package/docs/catalog.schema.json +5 -1
  81. package/docs/mcp/README.md +28 -0
  82. package/docs/opencode_setup.md +21 -1
  83. package/docs/site/README.md +15 -1
  84. package/docs/site/app.js +68 -0
  85. package/docs/site/catalog.json +74 -1
  86. package/docs/site/index.html +5 -1
  87. package/docs/site/styles.css +52 -4
  88. package/extensions/opencode/opencode.json +0 -1
  89. package/extensions/opencode/profiles/githubcopilot/opencode.json +87 -0
  90. package/extensions/opencode/profiles/openai/opencode.json +100 -0
  91. package/package.json +1 -1
  92. package/scripts/build_docs_catalog.py +13 -1
  93. package/scripts/sync_workflow_diagrams.py +199 -0
  94. package/extensions/opencode/plugins/sound-notification.ts +0 -13
@@ -52,5 +52,30 @@ quality-gates:
52
52
  - **Output:** evaluation scorecard; comparison vs. top 3 previous runs
53
53
  - **Done when:** evaluation complete; recommendation produced (promote / continue tuning / investigate)
54
54
 
55
+ ## Agent Interaction Diagram
56
+
57
+ <!-- agent-diagram:start -->
58
+ ```mermaid
59
+ flowchart TD
60
+ start(["Start /train-experiment"])
61
+ role_1["developer"]
62
+ role_2["qa"]
63
+ step_1["1. Prerequisites Validation"]
64
+ step_2["2. Environment Snapshot"]
65
+ step_3["3. Training Run"]
66
+ step_4["4. Validation"]
67
+ exit(["Logged artifact + evaluation scorecard + champion comparison = experiment c..."])
68
+ start --> step_1
69
+ step_1 --> step_2
70
+ step_2 --> step_3
71
+ step_3 --> step_4
72
+ step_4 --> exit
73
+ role_1 -. owns .-> step_1
74
+ role_1 -. owns .-> step_2
75
+ role_1 -. owns .-> step_3
76
+ role_2 -. owns .-> step_4
77
+ ```
78
+ <!-- agent-diagram:end -->
79
+
55
80
  ## Exit
56
81
  Logged artifact + evaluation scorecard + champion comparison = experiment complete.
@@ -59,5 +59,33 @@ quality-gates:
59
59
  - **Output:** verification report with device results
60
60
  - **Done when:** crash resolved on all tested devices; crash-free rate confirmed
61
61
 
62
+ ## Agent Interaction Diagram
63
+
64
+ <!-- agent-diagram:start -->
65
+ ```mermaid
66
+ flowchart TD
67
+ start(["Start /crash-triage"])
68
+ role_1["developer"]
69
+ role_2["qa"]
70
+ step_1["1. Gather & Symbolicate"]
71
+ step_2["2. Reproduce"]
72
+ step_3["3. Root Cause"]
73
+ step_4["4. Fix & Regression Test"]
74
+ step_5["5. Verification"]
75
+ exit(["Device-verified fix + passing regression test + crash-free rate restored =..."])
76
+ start --> step_1
77
+ step_1 --> step_2
78
+ step_2 --> step_3
79
+ step_3 --> step_4
80
+ step_4 --> step_5
81
+ step_5 --> exit
82
+ role_1 -. owns .-> step_1
83
+ role_2 -. owns .-> step_2
84
+ role_1 -. owns .-> step_3
85
+ role_1 -. owns .-> step_4
86
+ role_2 -. owns .-> step_5
87
+ ```
88
+ <!-- agent-diagram:end -->
89
+
62
90
  ## Exit
63
91
  Device-verified fix + passing regression test + crash-free rate restored = triage complete.
@@ -50,5 +50,32 @@ quality-gates:
50
50
  - **Output:** pass/fail matrix by device × test; failure screenshots with device context
51
51
  - **Done when:** all failures classified; release recommendation made
52
52
 
53
+ ## Agent Interaction Diagram
54
+
55
+ <!-- agent-diagram:start -->
56
+ ```mermaid
57
+ flowchart TD
58
+ start(["Start /device-testing"])
59
+ role_1["qa"]
60
+ role_2["developer"]
61
+ role_3["team-lead"]
62
+ step_1["1. Select Device Matrix"]
63
+ step_2["2. Upload Build"]
64
+ step_3["3. Execute Test Suite"]
65
+ step_4["4. Analyze Results"]
66
+ exit(["Device matrix report + explicit go/no-go = device testing complete."])
67
+ start --> step_1
68
+ step_1 --> step_2
69
+ step_2 --> step_3
70
+ step_3 --> step_4
71
+ step_4 --> exit
72
+ role_1 -. owns .-> step_1
73
+ role_2 -. owns .-> step_2
74
+ role_1 -. owns .-> step_3
75
+ role_1 -. owns .-> step_4
76
+ role_3 -. owns .-> step_4
77
+ ```
78
+ <!-- agent-diagram:end -->
79
+
53
80
  ## Exit
54
81
  Device matrix report + explicit go/no-go = device testing complete.
@@ -50,5 +50,30 @@ quality-gates:
50
50
  - **Output:** adoption report with timeline and error rate
51
51
  - **Done when:** full adoption reached; no error rate regression
52
52
 
53
+ ## Agent Interaction Diagram
54
+
55
+ <!-- agent-diagram:start -->
56
+ ```mermaid
57
+ flowchart TD
58
+ start(["Start /ota-update"])
59
+ role_1["developer"]
60
+ role_2["qa"]
61
+ step_1["1. Validate OTA Eligibility"]
62
+ step_2["2. Build Bundle"]
63
+ step_3["3. Staged Rollout"]
64
+ step_4["4. Monitor Adoption"]
65
+ exit(["100% adoption + stable error rate = OTA update complete."])
66
+ start --> step_1
67
+ step_1 --> step_2
68
+ step_2 --> step_3
69
+ step_3 --> step_4
70
+ step_4 --> exit
71
+ role_1 -. owns .-> step_1
72
+ role_1 -. owns .-> step_2
73
+ role_1 -. owns .-> step_3
74
+ role_2 -. owns .-> step_4
75
+ ```
76
+ <!-- agent-diagram:end -->
77
+
53
78
  ## Exit
54
79
  100% adoption + stable error rate = OTA update complete.
@@ -63,5 +63,35 @@ quality-gates:
63
63
  - **Output:** artifact uploaded; hash recorded; team notified
64
64
  - **Done when:** upload confirmed; team has TestFlight/App Distribution link
65
65
 
66
+ ## Agent Interaction Diagram
67
+
68
+ <!-- agent-diagram:start -->
69
+ ```mermaid
70
+ flowchart TD
71
+ start(["Start /release-build"])
72
+ role_1["developer"]
73
+ role_2["qa"]
74
+ role_3["team-lead"]
75
+ step_1["1. Version Validation"]
76
+ step_2["2. Environment Check"]
77
+ step_3["3. Build"]
78
+ step_4["4. Validate Build"]
79
+ step_5["5. Upload & Report"]
80
+ exit(["Signed artifact uploaded + smoke tests passed + @team-lead approval = relea..."])
81
+ start --> step_1
82
+ step_1 --> step_2
83
+ step_2 --> step_3
84
+ step_3 --> step_4
85
+ step_4 --> step_5
86
+ step_5 --> exit
87
+ role_1 -. owns .-> step_1
88
+ role_1 -. owns .-> step_2
89
+ role_1 -. owns .-> step_3
90
+ role_2 -. owns .-> step_4
91
+ role_1 -. owns .-> step_5
92
+ role_3 -. owns .-> step_5
93
+ ```
94
+ <!-- agent-diagram:end -->
95
+
66
96
  ## Exit
67
97
  Signed artifact uploaded + smoke tests passed + `@team-lead` approval = release build complete.
@@ -59,5 +59,34 @@ quality-gates:
59
59
  - **Output:** post-release monitoring report (48h window)
60
60
  - **Done when:** 48 hours stable; no new critical issues
61
61
 
62
+ ## Agent Interaction Diagram
63
+
64
+ <!-- agent-diagram:start -->
65
+ ```mermaid
66
+ flowchart TD
67
+ start(["Start /store-submission"])
68
+ role_1["qa"]
69
+ role_2["developer"]
70
+ role_3["team-lead"]
71
+ step_1["1. Validate Build"]
72
+ step_2["2. Prepare Metadata"]
73
+ step_3["3. Compliance Check"]
74
+ step_4["4. Submit"]
75
+ step_5["5. Monitor Post-Release"]
76
+ exit(["Submission live + stable 48h monitoring = release complete."])
77
+ start --> step_1
78
+ step_1 --> step_2
79
+ step_2 --> step_3
80
+ step_3 --> step_4
81
+ step_4 --> step_5
82
+ step_5 --> exit
83
+ role_1 -. owns .-> step_1
84
+ role_2 -. owns .-> step_2
85
+ role_3 -. owns .-> step_3
86
+ role_2 -. owns .-> step_4
87
+ role_1 -. owns .-> step_5
88
+ ```
89
+ <!-- agent-diagram:end -->
90
+
62
91
  ## Exit
63
92
  Submission live + stable 48h monitoring = release complete.
@@ -57,5 +57,33 @@ quality-gates:
57
57
  - **Output:** `cost_report.md`
58
58
  - **Done when:** report shared; owners assigned for top recommendations
59
59
 
60
+ ## Agent Interaction Diagram
61
+
62
+ <!-- agent-diagram:start -->
63
+ ```mermaid
64
+ flowchart TD
65
+ start(["Start /cost-audit"])
66
+ role_1["qa"]
67
+ role_2["team-lead"]
68
+ step_1["1. Fetch Billing Data"]
69
+ step_2["2. Analyze Spend Patterns"]
70
+ step_3["3. Detect Waste"]
71
+ step_4["4. Generate Recommendations"]
72
+ step_5["5. Report"]
73
+ exit(["Published report + owners assigned for top recommendations = audit complete."])
74
+ start --> step_1
75
+ step_1 --> step_2
76
+ step_2 --> step_3
77
+ step_3 --> step_4
78
+ step_4 --> step_5
79
+ step_5 --> exit
80
+ role_1 -. owns .-> step_1
81
+ role_1 -. owns .-> step_2
82
+ role_1 -. owns .-> step_3
83
+ role_2 -. owns .-> step_4
84
+ role_2 -. owns .-> step_5
85
+ ```
86
+ <!-- agent-diagram:end -->
87
+
60
88
  ## Exit
61
89
  Published report + owners assigned for top recommendations = audit complete.
@@ -63,5 +63,35 @@ quality-gates:
63
63
  - **Output:** `deployment_report.md`
64
64
  - **Done when:** team and stakeholders informed
65
65
 
66
+ ## Agent Interaction Diagram
67
+
68
+ <!-- agent-diagram:start -->
69
+ ```mermaid
70
+ flowchart TD
71
+ start(["Start /deploy-production"])
72
+ role_1["team-lead"]
73
+ role_2["developer"]
74
+ role_3["qa"]
75
+ role_4["pm"]
76
+ step_1["1. Pre-flight"]
77
+ step_2["2. Canary (10% traffic)"]
78
+ step_3["3. Progressive Rollout"]
79
+ step_4["4. Post-Deploy Validation"]
80
+ step_5["5. Complete"]
81
+ exit(["Green smoke tests + stable metrics + deployment report = release complete."])
82
+ start --> step_1
83
+ step_1 --> step_2
84
+ step_2 --> step_3
85
+ step_3 --> step_4
86
+ step_4 --> step_5
87
+ step_5 --> exit
88
+ role_1 -. owns .-> step_1
89
+ role_2 -. owns .-> step_2
90
+ role_2 -. owns .-> step_3
91
+ role_3 -. owns .-> step_4
92
+ role_4 -. owns .-> step_5
93
+ ```
94
+ <!-- agent-diagram:end -->
95
+
66
96
  ## Exit
67
97
  Green smoke tests + stable metrics + deployment report = release complete.
@@ -57,5 +57,34 @@ quality-gates:
57
57
  - **Output:** Category A drift resolved; issues created for B/C/D
58
58
  - **Done when:** Category A applied; B/C/D tracked in issues
59
59
 
60
+ ## Agent Interaction Diagram
61
+
62
+ <!-- agent-diagram:start -->
63
+ ```mermaid
64
+ flowchart TD
65
+ start(["Start /drift-check"])
66
+ role_1["qa"]
67
+ role_2["team-lead"]
68
+ role_3["developer"]
69
+ step_1["1. Fetch Live State"]
70
+ step_2["2. Compute Diff"]
71
+ step_3["3. Classify Drift"]
72
+ step_4["4. Report"]
73
+ step_5["5. Remediate"]
74
+ exit(["Drift report published + Category A resolved (if --fix) + B/C/D tracked = d..."])
75
+ start --> step_1
76
+ step_1 --> step_2
77
+ step_2 --> step_3
78
+ step_3 --> step_4
79
+ step_4 --> step_5
80
+ step_5 --> exit
81
+ role_1 -. owns .-> step_1
82
+ role_1 -. owns .-> step_2
83
+ role_2 -. owns .-> step_3
84
+ role_2 -. owns .-> step_4
85
+ role_3 -. owns .-> step_5
86
+ ```
87
+ <!-- agent-diagram:end -->
88
+
60
89
  ## Exit
61
90
  Drift report published + Category A resolved (if --fix) + B/C/D tracked = drift check complete.
@@ -65,5 +65,38 @@ quality-gates:
65
65
  - **Output:** stakeholders informed; status page updated
66
66
  - **Done when:** all affected parties notified
67
67
 
68
+ ## Agent Interaction Diagram
69
+
70
+ <!-- agent-diagram:start -->
71
+ ```mermaid
72
+ flowchart TD
73
+ start(["Start /incident-response"])
74
+ role_1["team-lead"]
75
+ role_2["developer"]
76
+ role_3["pm"]
77
+ step_1["1. Triage"]
78
+ step_2["2. Establish Incident Channel"]
79
+ step_3["3. Generate Hypothesis List"]
80
+ step_4["4. Execute Mitigation"]
81
+ step_5["5. Draft Postmortem"]
82
+ step_6["6. Communicate Resolution"]
83
+ exit(["Services healthy + postmortem scheduled + stakeholders notified = incident..."])
84
+ start --> step_1
85
+ step_1 --> step_2
86
+ step_2 --> step_3
87
+ step_3 --> step_4
88
+ step_4 --> step_5
89
+ step_5 --> step_6
90
+ step_6 --> exit
91
+ role_1 -. owns .-> step_1
92
+ role_1 -. owns .-> step_2
93
+ role_1 -. owns .-> step_3
94
+ role_2 -. owns .-> step_3
95
+ role_2 -. owns .-> step_4
96
+ role_1 -. owns .-> step_5
97
+ role_3 -. owns .-> step_6
98
+ ```
99
+ <!-- agent-diagram:end -->
100
+
68
101
  ## Exit
69
102
  Services healthy + postmortem scheduled + stakeholders notified = incident resolved.
@@ -73,5 +73,41 @@ quality-gates:
73
73
  - **Output:** environment URL published in PR
74
74
  - **Done when:** team has access and teardown instructions
75
75
 
76
+ ## Agent Interaction Diagram
77
+
78
+ <!-- agent-diagram:start -->
79
+ ```mermaid
80
+ flowchart TD
81
+ start(["Start /provision-env"])
82
+ role_1["team-lead"]
83
+ role_2["developer"]
84
+ role_3["qa"]
85
+ role_4["pm"]
86
+ step_1["1. Validate Prerequisites"]
87
+ step_2["2. Plan Infrastructure"]
88
+ step_3["3. Estimate Cost"]
89
+ step_4["4. Apply Infrastructure"]
90
+ step_5["5. Configure DNS & Ingress"]
91
+ step_6["6. Seed & Smoke Test"]
92
+ step_7["7. Report"]
93
+ exit(["Smoke tests green + URL published = environment ready for use."])
94
+ start --> step_1
95
+ step_1 --> step_2
96
+ step_2 --> step_3
97
+ step_3 --> step_4
98
+ step_4 --> step_5
99
+ step_5 --> step_6
100
+ step_6 --> step_7
101
+ step_7 --> exit
102
+ role_1 -. owns .-> step_1
103
+ role_2 -. owns .-> step_2
104
+ role_2 -. owns .-> step_3
105
+ role_2 -. owns .-> step_4
106
+ role_2 -. owns .-> step_5
107
+ role_3 -. owns .-> step_6
108
+ role_4 -. owns .-> step_7
109
+ ```
110
+ <!-- agent-diagram:end -->
111
+
76
112
  ## Exit
77
113
  Smoke tests green + URL published = environment ready for use.
@@ -59,5 +59,35 @@ quality-gates:
59
59
  - **Output:** closure note in flakiness log; systemic action item if needed
60
60
  - **Done when:** flakiness log updated; test unquarantined or deleted
61
61
 
62
+ ## Agent Interaction Diagram
63
+
64
+ <!-- agent-diagram:start -->
65
+ ```mermaid
66
+ flowchart TD
67
+ start(["Start /flakiness-investigation"])
68
+ role_1["qa"]
69
+ role_2["developer"]
70
+ role_3["team-lead"]
71
+ step_1["1. Collect Failure Signals & Patterns"]
72
+ step_2["2. Reproduce & Classify Root Cause"]
73
+ step_3["3. Stabilization Fix"]
74
+ step_4["4. Stress Re-run & Quarantine Decision"]
75
+ step_5["5. Policy Review & Closure"]
76
+ exit(["Stable test in CI + root cause documented + log updated = investigation clo..."])
77
+ start --> step_1
78
+ step_1 --> step_2
79
+ step_2 --> step_3
80
+ step_3 --> step_4
81
+ step_4 --> step_5
82
+ step_5 --> exit
83
+ role_1 -. owns .-> step_1
84
+ role_1 -. owns .-> step_2
85
+ role_2 -. owns .-> step_2
86
+ role_2 -. owns .-> step_3
87
+ role_1 -. owns .-> step_4
88
+ role_3 -. owns .-> step_5
89
+ ```
90
+ <!-- agent-diagram:end -->
91
+
62
92
  ## Exit
63
93
  Stable test in CI + root cause documented + log updated = investigation closed.
@@ -55,5 +55,34 @@ quality-gates:
55
55
  - **Output:** `performance_report.md`; remediation backlog items created
56
56
  - **Done when:** report complete; backlog items assigned
57
57
 
58
+ ## Agent Interaction Diagram
59
+
60
+ <!-- agent-diagram:start -->
61
+ ```mermaid
62
+ flowchart TD
63
+ start(["Start /performance-audit"])
64
+ role_1["qa"]
65
+ role_2["developer"]
66
+ role_3["team-lead"]
67
+ role_4["pm"]
68
+ step_1["1. Scenario Definition & Baseline Alignment"]
69
+ step_2["2. Load/Stress Execution & Monitoring Capture"]
70
+ step_3["3. Bottleneck Analysis & Fix Proposal"]
71
+ step_4["4. Prioritization & Delivery Planning"]
72
+ exit(["Published report + prioritized remediation plan + backlog items created = a..."])
73
+ start --> step_1
74
+ step_1 --> step_2
75
+ step_2 --> step_3
76
+ step_3 --> step_4
77
+ step_4 --> exit
78
+ role_1 -. owns .-> step_1
79
+ role_1 -. owns .-> step_2
80
+ role_2 -. owns .-> step_3
81
+ role_1 -. owns .-> step_3
82
+ role_3 -. owns .-> step_4
83
+ role_4 -. owns .-> step_4
84
+ ```
85
+ <!-- agent-diagram:end -->
86
+
58
87
  ## Exit
59
88
  Published report + prioritized remediation plan + backlog items created = audit complete.
@@ -55,5 +55,33 @@ quality-gates:
55
55
  - **Output:** `regression_report.md`; go/no-go decision
56
56
  - **Done when:** recommendation is explicit; stakeholders informed
57
57
 
58
+ ## Agent Interaction Diagram
59
+
60
+ <!-- agent-diagram:start -->
61
+ ```mermaid
62
+ flowchart TD
63
+ start(["Start /regression-suite"])
64
+ role_1["qa"]
65
+ role_2["developer"]
66
+ role_3["team-lead"]
67
+ step_1["1. Scope Selection & Environment Readiness"]
68
+ step_2["2. Suite Execution & Evidence Capture"]
69
+ step_3["3. Failure Triage & Fixes"]
70
+ step_4["4. Risk Review & Release Recommendation"]
71
+ exit(["Go recommendation + regression report = release confidence confirmed."])
72
+ start --> step_1
73
+ step_1 --> step_2
74
+ step_2 --> step_3
75
+ step_3 --> step_4
76
+ step_4 --> exit
77
+ role_1 -. owns .-> step_1
78
+ role_1 -. owns .-> step_2
79
+ role_2 -. owns .-> step_3
80
+ role_1 -. owns .-> step_3
81
+ role_3 -. owns .-> step_4
82
+ role_1 -. owns .-> step_4
83
+ ```
84
+ <!-- agent-diagram:end -->
85
+
58
86
  ## Exit
59
87
  Go recommendation + regression report = release confidence confirmed.
@@ -60,5 +60,36 @@ quality-gates:
60
60
  - **Output:** `smoke_result_summary.md`; stakeholders informed
61
61
  - **Done when:** all parties notified; action taken if needed
62
62
 
63
+ ## Agent Interaction Diagram
64
+
65
+ <!-- agent-diagram:start -->
66
+ ```mermaid
67
+ flowchart TD
68
+ start(["Start /smoke-test"])
69
+ role_1["qa"]
70
+ role_2["developer"]
71
+ role_3["team-lead"]
72
+ role_4["pm"]
73
+ step_1["1. Prepare Environment & Test Data"]
74
+ step_2["2. Run Critical Smoke Scenarios"]
75
+ step_3["3. Defect Triage & Fix"]
76
+ step_4["4. Operational Risk Assessment"]
77
+ step_5["5. Communicate Go/No-Go"]
78
+ exit(["Go status + summary published = deployment validated. No-go + rollback trig..."])
79
+ start --> step_1
80
+ step_1 --> step_2
81
+ step_2 --> step_3
82
+ step_3 --> step_4
83
+ step_4 --> step_5
84
+ step_5 --> exit
85
+ role_1 -. owns .-> step_1
86
+ role_1 -. owns .-> step_2
87
+ role_2 -. owns .-> step_3
88
+ role_3 -. owns .-> step_4
89
+ role_4 -. owns .-> step_5
90
+ role_1 -. owns .-> step_5
91
+ ```
92
+ <!-- agent-diagram:end -->
93
+
63
94
  ## Exit
64
95
  Go status + summary published = deployment validated. No-go + rollback triggered = incident response starts.
@@ -53,5 +53,33 @@ quality-gates:
53
53
  - **Output:** `coverage_report.md`; next sprint coverage actions noted
54
54
  - **Done when:** report shared with team; action items logged
55
55
 
56
+ ## Agent Interaction Diagram
57
+
58
+ <!-- agent-diagram:start -->
59
+ ```mermaid
60
+ flowchart TD
61
+ start(["Start /test-coverage-report"])
62
+ role_1["qa"]
63
+ role_2["team-lead"]
64
+ role_3["developer"]
65
+ step_1["1. Collect & Compare Metrics"]
66
+ step_2["2. Identify High-Risk Gaps"]
67
+ step_3["3. Implement Targeted Tests & Fixes"]
68
+ step_4["4. Publish Trend & Action Plan"]
69
+ exit(["Critical paths at threshold + trend published + gaps assigned = coverage cy..."])
70
+ start --> step_1
71
+ step_1 --> step_2
72
+ step_2 --> step_3
73
+ step_3 --> step_4
74
+ step_4 --> exit
75
+ role_1 -. owns .-> step_1
76
+ role_1 -. owns .-> step_2
77
+ role_2 -. owns .-> step_2
78
+ role_3 -. owns .-> step_3
79
+ role_1 -. owns .-> step_3
80
+ role_1 -. owns .-> step_4
81
+ ```
82
+ <!-- agent-diagram:end -->
83
+
56
84
  ## Exit
57
85
  Critical paths at threshold + trend published + gaps assigned = coverage cycle complete.
@@ -53,5 +53,32 @@ quality-gates:
53
53
  - **Output:** compliance report document
54
54
  - **Done when:** report complete; human review flag set
55
55
 
56
+ ## Agent Interaction Diagram
57
+
58
+ <!-- agent-diagram:start -->
59
+ ```mermaid
60
+ flowchart TD
61
+ start(["Start /compliance-report"])
62
+ role_1["team-lead"]
63
+ role_2["developer"]
64
+ role_3["qa"]
65
+ step_1["1. Map Controls"]
66
+ step_2["2. Collect Evidence"]
67
+ step_3["3. Evaluate Compliance"]
68
+ step_4["4. Generate Report"]
69
+ exit(["Complete control matrix + gap analysis + human review flag = report ready f..."])
70
+ start --> step_1
71
+ step_1 --> step_2
72
+ step_2 --> step_3
73
+ step_3 --> step_4
74
+ step_4 --> exit
75
+ role_1 -. owns .-> step_1
76
+ role_2 -. owns .-> step_2
77
+ role_3 -. owns .-> step_2
78
+ role_1 -. owns .-> step_3
79
+ role_1 -. owns .-> step_4
80
+ ```
81
+ <!-- agent-diagram:end -->
82
+
56
83
  ## Exit
57
84
  Complete control matrix + gap analysis + human review flag = report ready for review.
@@ -59,5 +59,33 @@ quality-gates:
59
59
  - **Output:** `pentest_report_<date>.md`; remediation assignments
60
60
  - **Done when:** report reviewed; remediation owners assigned
61
61
 
62
+ ## Agent Interaction Diagram
63
+
64
+ <!-- agent-diagram:start -->
65
+ ```mermaid
66
+ flowchart TD
67
+ start(["Start /pen-test-sim"])
68
+ role_1["team-lead"]
69
+ role_2["qa"]
70
+ step_1["1. Scope Confirmation"]
71
+ step_2["2. Passive Recon"]
72
+ step_3["3. Active Scanning"]
73
+ step_4["4. Manual Checks"]
74
+ step_5["5. Report"]
75
+ exit(["Published report + Critical/High findings assigned = pen-test complete."])
76
+ start --> step_1
77
+ step_1 --> step_2
78
+ step_2 --> step_3
79
+ step_3 --> step_4
80
+ step_4 --> step_5
81
+ step_5 --> exit
82
+ role_1 -. owns .-> step_1
83
+ role_2 -. owns .-> step_2
84
+ role_2 -. owns .-> step_3
85
+ role_2 -. owns .-> step_4
86
+ role_1 -. owns .-> step_5
87
+ ```
88
+ <!-- agent-diagram:end -->
89
+
62
90
  ## Exit
63
91
  Published report + Critical/High findings assigned = pen-test complete.
@@ -16,9 +16,9 @@ execution:
16
16
  initiator: developer
17
17
  related-rules:
18
18
  - secrets-policy.md
19
- - security-posture.md
19
+ - secure-coding.md
20
20
  uses-skills:
21
- - secrets-management
21
+ - crypto-standards
22
22
  quality-gates:
23
23
  - old credential revoked only after zero auth errors confirmed
24
24
  - audit log entry created with rotation metadata
@@ -63,5 +63,36 @@ quality-gates:
63
63
  - **Output:** audit record updated
64
64
  - **Done when:** inventory current; next rotation scheduled
65
65
 
66
+ ## Agent Interaction Diagram
67
+
68
+ <!-- agent-diagram:start -->
69
+ ```mermaid
70
+ flowchart TD
71
+ start(["Start /secret-rotation"])
72
+ role_1["developer"]
73
+ role_2["team-lead"]
74
+ step_1["1. Prepare New Secret"]
75
+ step_2["2. Dual-Read Window"]
76
+ step_3["3. Deploy New Secret"]
77
+ step_4["4. Validate"]
78
+ step_5["5. Revoke Old Secret"]
79
+ step_6["6. Document"]
80
+ exit(["Old secret revoked + audit record updated = rotation complete."])
81
+ start --> step_1
82
+ step_1 --> step_2
83
+ step_2 --> step_3
84
+ step_3 --> step_4
85
+ step_4 --> step_5
86
+ step_5 --> step_6
87
+ step_6 --> exit
88
+ role_1 -. owns .-> step_1
89
+ role_1 -. owns .-> step_2
90
+ role_1 -. owns .-> step_3
91
+ role_2 -. owns .-> step_4
92
+ role_1 -. owns .-> step_5
93
+ role_1 -. owns .-> step_6
94
+ ```
95
+ <!-- agent-diagram:end -->
96
+
66
97
  ## Exit
67
98
  Old secret revoked + audit record updated = rotation complete.