-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchecks.json
More file actions
1322 lines (1322 loc) · 63.5 KB
/
checks.json
File metadata and controls
1322 lines (1322 loc) · 63.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$id": "https://raw.githubusercontent.com/ThreeMoonsLab/agents-shipgate/main/docs/checks.json",
"checks": [
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "critical",
"description": "Action approval policy was removed.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-approval-removed",
"evidence_fields": [
"change"
],
"fires_when": "Base action approval.required was true and head no longer requires approval.",
"floor_severity": null,
"id": "SHIP-ACTION-APPROVAL-REMOVED",
"rationale": "Removing approval weakens the release boundary for an existing action.",
"recommendation": "Restore action_surface.actions[].approval.required: true or document the reviewed exception under action_surface.actions[].evidence.approval_ticket.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "Action declaration weakens an inherited approval or safeguard control.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-control-downgrade",
"evidence_fields": [
"action_id",
"path",
"inherited",
"declared"
],
"fires_when": "action_surface.actions.approval or safeguards sets an inherited true control to false.",
"floor_severity": null,
"id": "SHIP-ACTION-CONTROL-DOWNGRADE",
"rationale": "Manifest-wide approval and safeguard controls are governance requirements; per-action metadata should not silently weaken them.",
"recommendation": "Keep the inherited action_surface.actions[] approval/safeguard control enabled or remove the weakening declaration.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "critical",
"description": "New destructive action lacks approval or rollback controls.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-destructive-rollback-missing",
"evidence_fields": [
"action_id",
"missing"
],
"fires_when": "An added destructive action lacks approval.required or safeguards.rollback.",
"floor_severity": null,
"id": "SHIP-ACTION-DESTRUCTIVE-ROLLBACK-MISSING",
"rationale": "Destructive actions need explicit approval and rollback evidence before release.",
"recommendation": "Declare approval.required and safeguards.rollback or remove the destructive action.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "Action declaration weakens the inferred effect.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-effect-downgrade-declared",
"evidence_fields": [
"action_id",
"inferred_effect",
"declared_effect"
],
"fires_when": "action_surface.actions.effect is lower risk than the effect inferred from the loaded tool metadata.",
"floor_severity": null,
"id": "SHIP-ACTION-EFFECT-DOWNGRADE-DECLARED",
"rationale": "Per-action metadata should not be able to declare away a higher-risk operation inferred from the tool surface.",
"recommendation": "Set action_surface.actions[].effect to the inferred operation effect or remove the weaker declaration.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "critical",
"description": "Action effect escalated compared with the base surface.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-effect-escalated",
"evidence_fields": [
"change"
],
"fires_when": "An action changes to a higher-risk effect such as read to write or write to destructive.",
"floor_severity": null,
"id": "SHIP-ACTION-EFFECT-ESCALATED",
"rationale": "Effect escalation changes what the agent can do in the real world and needs explicit review.",
"recommendation": "Review action_surface.actions[].effect; restore the prior effect or document approval/evidence for the escalation.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "New external communication action lacks audit evidence.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-external-communication-audit-missing",
"evidence_fields": [
"action_id",
"missing"
],
"fires_when": "An added external_communication action lacks safeguards.audit_log.",
"floor_severity": null,
"id": "SHIP-ACTION-EXTERNAL-COMMUNICATION-AUDIT-MISSING",
"rationale": "External communication changes agent blast radius and should be auditable.",
"recommendation": "Declare safeguards.audit_log for the external communication action.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "critical",
"description": "New financial write action lacks required controls.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-financial-write-control-missing",
"evidence_fields": [
"action_id",
"missing"
],
"fires_when": "An added action is financial_write and lacks approval.required, safeguards.audit_log, or safeguards.idempotency.",
"floor_severity": null,
"id": "SHIP-ACTION-FINANCIAL-WRITE-CONTROL-MISSING",
"rationale": "Financial write actions need approval, audit, and idempotency evidence before release.",
"recommendation": "Declare approval.required, safeguards.audit_log, and safeguards.idempotency.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "An action-surface policy requirement is not satisfied.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-policy-violation",
"evidence_fields": [
"policy_id",
"action_id",
"missing"
],
"fires_when": "A user-declared action_surface.policies rule matches an action and one or more required dot-path values are absent or different.",
"floor_severity": null,
"id": "SHIP-ACTION-POLICY-VIOLATION",
"rationale": "Action Surface Diff policies are the reviewer-facing release boundary for external action capability.",
"recommendation": "Satisfy the action-surface policy requirements or remove/narrow the action.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "Action safeguard was removed.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-safeguard-removed",
"evidence_fields": [
"change"
],
"fires_when": "A previously true action safeguard is false or absent in the head surface.",
"floor_severity": null,
"id": "SHIP-ACTION-SAFEGUARD-REMOVED",
"rationale": "Removing audit, idempotency, rollback, or dry-run safeguards expands blast radius.",
"recommendation": "Restore the removed action_surface.actions[].safeguards field or document the reviewed exception under action_surface.actions[].evidence.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "high",
"description": "A loaded tool lacks explicit action-surface metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-undeclared",
"evidence_fields": [
"action_id",
"tool_name"
],
"fires_when": "action_surface.require_explicit_actions is true and a loaded tool has no matching action_surface.actions entry.",
"floor_severity": null,
"id": "SHIP-ACTION-UNDECLARED",
"rationale": "Action Surface Diff depends on reviewer-visible action metadata for release decisions.",
"recommendation": "Add action_surface.actions metadata for the tool or disable require_explicit_actions.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "action_surface",
"default_severity": "critical",
"description": "Action surface includes a wildcard or admin-like scope.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-action-wildcard-scope",
"evidence_fields": [
"action_id",
"scopes",
"change"
],
"fires_when": "An added action declares a broad scope, or a modified action expands into a broad scope.",
"floor_severity": null,
"id": "SHIP-ACTION-WILDCARD-SCOPE",
"rationale": "Wildcard scopes make action blast radius too broad for deterministic release review.",
"recommendation": "Replace action_surface.actions[].scopes with operation-specific scopes; remove wildcard/admin scopes.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "high",
"description": "Google ADK toolset cannot be statically enumerated.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-dynamic-toolset-not-enumerable",
"evidence_fields": [
"toolset",
"explicit_inventory"
],
"fires_when": "A Google ADK toolset is dynamic or unresolved and no explicit MCP/OpenAPI/tool inventory input is declared.",
"floor_severity": null,
"id": "SHIP-ADK-DYNAMIC-TOOLSET-NOT-ENUMERABLE",
"rationale": "Release review needs an explicit tool inventory; ADK MCP/OpenAPI toolsets may resolve tools dynamically at runtime.",
"recommendation": "Provide explicit MCP/OpenAPI/tool inventory inputs for dynamic ADK toolsets.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "medium",
"description": "Google ADK eval coverage is not declared.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-eval-coverage-missing",
"evidence_fields": [
"agent_count",
"eval_file_count"
],
"fires_when": "Google ADK inputs target production_like or production and no eval files are declared.",
"floor_severity": null,
"id": "SHIP-ADK-EVAL-COVERAGE-MISSING",
"rationale": "ADK releases should include response and tool-trajectory eval evidence before promotion.",
"recommendation": "Declare ADK eval files for expected responses and tool-use trajectories.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "medium",
"description": "Google ADK function tool lacks static metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-function-tool-metadata-missing",
"evidence_fields": [
"missing",
"source_type"
],
"fires_when": "A Google ADK function/config tool lacks description or parameter metadata.",
"floor_severity": null,
"id": "SHIP-ADK-FUNCTION-TOOL-METADATA-MISSING",
"rationale": "Static review depends on descriptions and parameter schemas because user ADK code is not imported.",
"recommendation": "Add docstrings, annotations, or explicit local inventory metadata.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "high",
"description": "High-risk Google ADK tools lack static guardrail evidence.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-guardrail-evidence-missing",
"evidence_fields": [
"tools"
],
"fires_when": "High-risk ADK tools are present without callbacks, plugins, or equivalent manifest policy evidence.",
"floor_severity": null,
"id": "SHIP-ADK-GUARDRAIL-EVIDENCE-MISSING",
"rationale": "Callbacks and plugins are the static ADK surface where release reviewers can see guardrail intent.",
"recommendation": "Attach ADK callbacks/plugins or manifest policies that document guardrails.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "high",
"description": "Google ADK long-running tool lacks an operation contract.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-longrunning-contract-missing",
"evidence_fields": [
"output_schema"
],
"fires_when": "A LongRunningFunctionTool lacks structured status/progress and operation id output evidence.",
"floor_severity": null,
"id": "SHIP-ADK-LONGRUNNING-CONTRACT-MISSING",
"rationale": "Long-running tools need explicit status and operation-id semantics for safe continuation.",
"recommendation": "Document operation id, status/progress fields, and completion behavior.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "adk",
"default_severity": "high",
"description": "Google ADK McpToolset lacks a static tool filter.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-adk-mcp-toolset-unfiltered",
"evidence_fields": [
"source_ref",
"agent_name",
"inventory_path"
],
"fires_when": "A Google ADK McpToolset has no static tool_filter.",
"floor_severity": null,
"id": "SHIP-ADK-MCP-TOOLSET-UNFILTERED",
"rationale": "Unfiltered MCP toolsets can expose more tools than reviewers expect.",
"recommendation": "Declare a tool_filter and provide a local MCP tool inventory.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "high",
"description": "OpenAI API function schema is not strict enough for reliable tool calls.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-function-schema-strictness",
"evidence_fields": [
"issues",
"risk_tags"
],
"fires_when": "An OpenAI API function lacks strict=true, object parameters, additionalProperties=false, complete required fields, or bounded risky fields.",
"floor_severity": null,
"id": "SHIP-API-FUNCTION-SCHEMA-STRICTNESS",
"rationale": "Strict schemas reduce ambiguous tool arguments and downstream side-effect risk.",
"recommendation": "Use strict function schemas with explicit required fields and constrained risky parameters.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "Deprecated compatibility alias for the v0.3 OpenAI API operational readiness bundle.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-operational-readiness",
"evidence_fields": [
"legacy_check_id"
],
"fires_when": "Not emitted by v0.4 scans; matching configuration expands to the v0.4 atomic OpenAI API operational readiness checks.",
"floor_severity": null,
"id": "SHIP-API-OPERATIONAL-READINESS",
"rationale": "v0.4 emits atomic OpenAI API readiness check IDs, but this ID remains available for existing suppressions, severity overrides, baselines, SARIF consumers, and explain/list-checks workflows during the deprecation window.",
"recommendation": "Migrate suppressions, severity overrides, and baselines to the specific v0.4 SHIP-API-* readiness check IDs.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "high",
"description": "Prompt scope contradicts enabled OpenAI API tools.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-prompt-tool-scope-mismatch",
"evidence_fields": [
"tools"
],
"fires_when": "Prompt text says read-only/advice-only while write tools are enabled, or high-risk tools lack approval/confirmation instructions.",
"floor_severity": null,
"id": "SHIP-API-PROMPT-TOOL-SCOPE-MISMATCH",
"rationale": "Prompt instructions should match the actual write/high-risk tool surface.",
"recommendation": "Align prompt scope with enabled tools and add approval/confirmation instructions.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API high-risk flow lacks retry policy metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-retry-policy-missing",
"evidence_fields": [
"high_risk_tools"
],
"fires_when": "High-risk OpenAI API tools exist and no retry_policy is declared.",
"floor_severity": null,
"id": "SHIP-API-RETRY-POLICY-MISSING",
"rationale": "Retries need explicit policy metadata so reviewers can reason about duplicate side effects.",
"recommendation": "Declare retry_policy in openai_api.policy_rules or model_config.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "high",
"description": "OpenAI API write tool may be retried without idempotency evidence.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-retry-without-idempotency",
"evidence_fields": [
"retry_policy",
"risk_tags"
],
"fires_when": "Retry policy is declared and a risky write tool lacks idempotency evidence.",
"floor_severity": null,
"id": "SHIP-API-RETRY-WITHOUT-IDEMPOTENCY",
"rationale": "Retries against non-idempotent writes can duplicate financial, destructive, or external side effects.",
"recommendation": "Add idempotency evidence for retried risky OpenAI API tools or avoid retrying those side effects.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API structured output schema is missing or under-specified.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-structured-output-readiness",
"evidence_fields": [
"path",
"issues",
"high_risk_tools"
],
"fires_when": "No response format exists, a response schema is too broad, decision/status fields lack enums, or refusal/needs_review/error modeling is absent.",
"floor_severity": null,
"id": "SHIP-API-STRUCTURED-OUTPUT-READINESS",
"rationale": "Downstream release decisions need explicit, structured success/refusal/review modeling.",
"recommendation": "Declare a strict response format with decision/status enums, needs_review/refusal/error fields, and critical fields.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API high-risk flow lacks test case metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-test-cases-missing",
"evidence_fields": [
"high_risk_tools"
],
"fires_when": "High-risk OpenAI API tools exist and no test cases are declared.",
"floor_severity": null,
"id": "SHIP-API-TEST-CASES-MISSING",
"rationale": "High-risk tool-call flows should have release evidence before promotion.",
"recommendation": "Add simple OpenAI API test cases for high-risk tool-call flows.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API high-risk flow lacks timeout metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-timeout-missing",
"evidence_fields": [
"high_risk_tools"
],
"fires_when": "High-risk OpenAI API tools exist and no timeout metadata is declared.",
"floor_severity": null,
"id": "SHIP-API-TIMEOUT-MISSING",
"rationale": "Timeouts define failure behavior and reduce ambiguous tool-call continuation.",
"recommendation": "Declare tool-call timeout metadata for high-risk OpenAI API flows.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API high-risk tool lacks success/failure output modeling.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-tool-output-schema-missing",
"evidence_fields": [
"tool_output_schemas"
],
"fires_when": "A high-risk OpenAI API tool lacks declared success/failure output schema metadata.",
"floor_severity": null,
"id": "SHIP-API-TOOL-OUTPUT-SCHEMA-MISSING",
"rationale": "Tool output schemas help release reviewers reason about downstream failure handling.",
"recommendation": "Declare success_fields and failure_fields for high-risk OpenAI API tools.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API trace sample shows a policy-controlled tool without approval.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-trace-approval-missing",
"evidence_fields": [
"tool_name",
"approved"
],
"fires_when": "A trace sample marks approved=false for a tool with approval policy evidence.",
"floor_severity": null,
"id": "SHIP-API-TRACE-APPROVAL-MISSING",
"rationale": "Trace samples should demonstrate approval behavior for tools that require approval.",
"recommendation": "Require approval before calling policy-controlled OpenAI API tools.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "api",
"default_severity": "medium",
"description": "OpenAI API trace sample shows a policy-controlled tool without confirmation.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-api-trace-confirmation-missing",
"evidence_fields": [
"tool_name",
"confirmed"
],
"fires_when": "A trace sample marks confirmed=false for a tool with confirmation policy evidence.",
"floor_severity": null,
"id": "SHIP-API-TRACE-CONFIRMATION-MISSING",
"rationale": "Trace samples should demonstrate explicit confirmation for tools that require confirmation.",
"recommendation": "Require explicit confirmation before calling policy-controlled OpenAI API tools.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "auth",
"default_severity": "high",
"description": "Manifest declares broad permission scopes.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-auth-manifest-broad-scope",
"evidence_fields": [
"scopes"
],
"fires_when": "permissions.scopes contains wildcard/admin-like scopes.",
"floor_severity": null,
"id": "SHIP-AUTH-MANIFEST-BROAD-SCOPE",
"rationale": "Broad manifest scopes weaken least-privilege review.",
"recommendation": "Replace with operation-specific scopes.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "auth",
"default_severity": "high",
"description": "Scope-requiring tool lacks declared auth scopes.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-auth-missing-scope",
"evidence_fields": [
"risk_tags"
],
"fires_when": "A write or sensitive-data tool has no auth scopes.",
"floor_severity": null,
"id": "SHIP-AUTH-MISSING-SCOPE",
"rationale": "Reviewers cannot assess least privilege without scope metadata.",
"recommendation": "Declare scopes in OpenAPI, MCP, or manifest metadata.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "auth",
"default_severity": "high",
"description": "Tool-required scopes are not covered by manifest permissions.scopes.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-auth-scope-coverage-missing",
"evidence_fields": [
"tool_scopes",
"manifest_scopes",
"missing_scopes"
],
"fires_when": "A tool scope is absent from permissions.scopes and not covered by a wildcard.",
"floor_severity": null,
"id": "SHIP-AUTH-SCOPE-COVERAGE-MISSING",
"rationale": "The manifest should describe the actual permissions needed by the release.",
"recommendation": "Add or reconcile required scopes.",
"requires_human_review": true,
"suggested_patch_kind": "append_pointer"
},
{
"autofix_safe": false,
"category": "auth",
"default_severity": "high",
"description": "Tool declares broad auth scopes.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-auth-tool-broad-scope",
"evidence_fields": [
"scopes"
],
"fires_when": "A tool auth scope is wildcard/admin-like.",
"floor_severity": null,
"id": "SHIP-AUTH-TOOL-BROAD-SCOPE",
"rationale": "Tool-level broad scopes may grant more power than the operation needs.",
"recommendation": "Use narrower tool scopes.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "medium",
"description": "Codex plugin app connector surface is not statically enumerable.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-app-surface-not-enumerable",
"evidence_fields": [
"plugin",
"app",
"connector_id",
"path"
],
"fires_when": "A Codex plugin declares an app connector without an explicit local enumerable tool surface.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-APP-SURFACE-NOT-ENUMERABLE",
"rationale": "Connector-backed app capabilities are externally mediated and cannot be proven from local plugin metadata alone.",
"recommendation": "Treat connector app capabilities as a review item or provide explicit local inventory/policy evidence.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "high",
"description": "Codex plugin component path cannot be loaded.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-component-path-missing",
"evidence_fields": [
"plugin",
"component",
"path",
"reason"
],
"fires_when": "A plugin component path is missing, outside the plugin root, or outside the manifest directory.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-COMPONENT-PATH-MISSING",
"rationale": "Release review cannot inspect declared skills, MCP servers, apps, or hooks when component paths are missing or escape the package.",
"recommendation": "Fix component paths so every declared plugin artifact resolves locally.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "medium",
"description": "Codex plugin marketplace entry lacks policy metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-marketplace-policy-missing",
"evidence_fields": [
"marketplace",
"plugin",
"missing"
],
"fires_when": "A marketplace plugin entry lacks policy.installation, policy.authentication, or category.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-MARKETPLACE-POLICY-MISSING",
"rationale": "Marketplace installation and authentication policy are part of the release surface coding agents need to review.",
"recommendation": "Add policy.installation, policy.authentication, and category to the marketplace entry.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "high",
"description": "Codex plugin MCP server is declared but not statically enumerable.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-mcp-server-not-enumerable",
"evidence_fields": [
"plugin",
"server",
"path",
"inventory_path"
],
"fires_when": "A Codex plugin declares an MCP server and no matching codex_plugins.mcp_tool_inventories entry loaded successfully.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-MCP-SERVER-NOT-ENUMERABLE",
"rationale": "Agents Shipgate does not execute MCP commands, so reviewer-visible tool metadata requires an explicit local inventory.",
"recommendation": "Provide a local MCP tool inventory for the plugin server.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "medium",
"description": "Codex plugin package metadata is incomplete or ambiguous.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-metadata-missing",
"evidence_fields": [
"plugin",
"source_id",
"manifest_path",
"issues"
],
"fires_when": "A Codex plugin manifest is missing required identity metadata, its name does not match the package root, or duplicate plugin names are present.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-METADATA-MISSING",
"rationale": "Plugin identity needs to be stable before publication or downstream agent adoption.",
"recommendation": "Fill required plugin metadata and make plugin names unambiguous.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "codex_plugin",
"default_severity": "medium",
"description": "Codex plugin skill metadata is missing or duplicated.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-codex-plugin-skill-metadata-missing",
"evidence_fields": [
"plugin",
"skill",
"path",
"missing_fields",
"duplicate"
],
"fires_when": "A SKILL.md lacks name or description frontmatter, or two skills in the same plugin share a name.",
"floor_severity": null,
"id": "SHIP-CODEX-PLUGIN-SKILL-METADATA-MISSING",
"rationale": "Skill frontmatter is the static routing surface agents use to decide whether a skill applies.",
"recommendation": "Give each skill a unique name and clear description frontmatter.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "crewai",
"default_severity": "high",
"description": "CrewAI tool surface cannot be statically enumerated.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-crewai-dynamic-tool-surface-not-enumerable",
"evidence_fields": [
"surface",
"explicit_inventory"
],
"fires_when": "A CrewAI agent tool binding is dynamic or unresolved and no explicit local inventory is declared.",
"floor_severity": null,
"id": "SHIP-CREWAI-DYNAMIC-TOOL-SURFACE-NOT-ENUMERABLE",
"rationale": "CrewAI exposes ad hoc agent-bound tool lists rather than a consistent toolset abstraction, so the check names the broader tool surface instead of ADK's toolset.",
"recommendation": "Provide explicit MCP-style tool inventory metadata for dynamic CrewAI tool lists.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "crewai",
"default_severity": "medium",
"description": "CrewAI function tool lacks static metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-crewai-function-tool-metadata-missing",
"evidence_fields": [
"missing",
"source_type"
],
"fires_when": "A CrewAI @tool or BaseTool class lacks description or parameter metadata.",
"floor_severity": null,
"id": "SHIP-CREWAI-FUNCTION-TOOL-METADATA-MISSING",
"rationale": "Static review depends on descriptions and parameter schemas because user CrewAI code is not imported.",
"recommendation": "Add docstrings, descriptions, type annotations, args_schema, or explicit local inventory metadata.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "security",
"default_severity": "medium",
"description": "Tool description contains instruction-override-like language.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-doc-injection-risk",
"evidence_fields": [
"matched"
],
"fires_when": "Description text matches instruction override patterns. Severity is high only when multiple patterns match on a write/high-risk tool.",
"floor_severity": null,
"id": "SHIP-DOC-INJECTION-RISK",
"rationale": "Tool metadata can be placed into model context and should not contain prompt-like directives.",
"recommendation": "Rewrite the description as neutral metadata.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "documentation",
"default_severity": "medium",
"description": "Tool description is missing or too short.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-doc-missing-description",
"evidence_fields": [
"description_length"
],
"fires_when": "A tool description is missing or shorter than the minimum.",
"floor_severity": null,
"id": "SHIP-DOC-MISSING-DESCRIPTION",
"rationale": "Poor tool descriptions increase wrong-tool and reviewer misunderstanding risk.",
"recommendation": "Add a clear capability description.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "security",
"default_severity": "medium",
"description": "Tool description contains a secret-like value.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-doc-secret-in-description",
"evidence_fields": [
"matched"
],
"fires_when": "Description contains known key formats or labeled secret-like values. Severity is high only when multiple patterns match on a write/high-risk tool.",
"floor_severity": null,
"id": "SHIP-DOC-SECRET-IN-DESCRIPTION",
"rationale": "Credentials in tool metadata can leak into reports, prompts, or logs.",
"recommendation": "Remove and rotate the exposed secret.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "evidence",
"default_severity": "high",
"description": "Local HITL approval trace evidence is missing or incomplete for an approval-required tool.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-evidence-approval-trace-missing",
"evidence_fields": [
"tool_name",
"required",
"reason",
"trace_files",
"approved_tools",
"source_provenance"
],
"fires_when": "validation.required_evidence.approval_trace_required is true and no loaded local approval trace shows approved=true for an approval-required tool.",
"floor_severity": null,
"id": "SHIP-EVIDENCE-APPROVAL-TRACE-MISSING",
"rationale": "Limited automation review depends on reviewer-visible local evidence that approval-controlled actions were approved before the tool call; absence of local evidence does not prove the runtime control is absent.",
"recommendation": "Add or fix local approval trace evidence, or change the validation review posture.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "evidence",
"default_severity": "high",
"description": "Local high-risk auto-approval exclusion evidence is missing or incomplete.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-evidence-high-risk-exclusion-missing",
"evidence_fields": [
"required",
"reason",
"risk_tags",
"exclusion_files",
"excluded_tools",
"source_provenance"
],
"fires_when": "validation.required_evidence.high_risk_auto_approval_exclusion_required is true and a high-risk tool with declared approval policy is not listed in loaded high_risk_auto_approval_exclusions.",
"floor_severity": null,
"id": "SHIP-EVIDENCE-HIGH-RISK-EXCLUSION-MISSING",
"rationale": "High-risk tools that already declare approval policy need separate local evidence that they are excluded from auto-approval review posture; absence of local evidence does not prove the runtime control is absent.",
"recommendation": "Document high-risk approval-controlled tools in local high_risk_auto_approval_exclusions with reasons.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "evidence",
"default_severity": "high",
"description": "Local HITL promotion criteria evidence is missing or incomplete.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-evidence-hitl-promotion-criteria-missing",
"evidence_fields": [
"target_review_posture",
"reason",
"criteria_files",
"manifest_flags_missing",
"criteria_flags_missing",
"source_provenance"
],
"fires_when": "validation.target_review_posture is limited_auto_approval and promotion criteria are absent, unloadable, or the canonical required-evidence flags are not true in the manifest and criteria file.",
"floor_severity": null,
"id": "SHIP-EVIDENCE-HITL-PROMOTION-CRITERIA-MISSING",
"rationale": "A limited auto-approval review posture needs local criteria evidence; Shipgate structures the missing evidence for reviewers but does not certify runtime enforcement.",
"recommendation": "Add or fix local promotion criteria evidence documenting the review posture and required evidence flags.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "evidence",
"default_severity": "high",
"description": "Local HITL override reason evidence is missing or incomplete.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-evidence-override-reason-missing",
"evidence_fields": [
"required",
"reason",
"override_log_files",
"events_missing_reason",
"source_provenance"
],
"fires_when": "validation.required_evidence.override_reason_required is true and override logs are absent, empty, unloadable, or contain events without non-empty reasons.",
"floor_severity": null,
"id": "SHIP-EVIDENCE-OVERRIDE-REASON-MISSING",
"rationale": "Override, bypass, and auto-approval events need reviewer-visible local reasons for governance review; absence of local evidence does not prove the runtime control is absent.",
"recommendation": "Record non-empty reasons in local override, bypass, and auto-approval evidence.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "inventory",
"default_severity": "high",
"description": "Production target includes low-confidence tool extraction.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-inventory-low-confidence-production-surface",
"evidence_fields": [
"tools"
],
"fires_when": "environment.target is production and tools include lower-confidence extraction.",
"floor_severity": null,
"id": "SHIP-INVENTORY-LOW-CONFIDENCE-PRODUCTION-SURFACE",
"rationale": "Production promotion should not depend primarily on best-effort SDK inference.",
"recommendation": "Declare those tools through manifest, MCP, or OpenAPI inputs.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "inventory",
"default_severity": "high",
"description": "Tool surface cannot be enumerated from declared inputs.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-inventory-not-enumerable",
"evidence_fields": [
"tool_sources"
],
"fires_when": "No tools are loaded from required manifest sources.",
"floor_severity": null,
"id": "SHIP-INVENTORY-NOT-ENUMERABLE",
"rationale": "A release gate must fail closed when it cannot see the agent's tools.",
"recommendation": "Declare at least one local MCP JSON or OpenAPI tool source.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "inventory",
"default_severity": "medium",
"description": "Tool surface exceeds the MVP review threshold.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-inventory-tool-surface-too-large",
"evidence_fields": [
"tool_count",
"threshold"
],
"fires_when": "The normalized tool count exceeds the built-in threshold.",
"floor_severity": null,
"id": "SHIP-INVENTORY-TOOL-SURFACE-TOO-LARGE",
"rationale": "Large tool surfaces are harder to reason about during promotion.",
"recommendation": "Split or reduce the tool surface before release.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "inventory",
"default_severity": "high",
"description": "Wildcard or all-tools exposure is declared.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-inventory-wildcard-tools",
"evidence_fields": [
"source_id",
"source_ref"
],
"fires_when": "A source declares all tools or wildcard exposure.",
"floor_severity": null,
"id": "SHIP-INVENTORY-WILDCARD-TOOLS",
"rationale": "Wildcard tools make review and least-privilege reasoning impossible.",
"recommendation": "Replace wildcard exposure with an explicit allowlist.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "langchain",
"default_severity": "high",
"description": "LangChain tool surface cannot be statically enumerated.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-langchain-dynamic-tool-surface-not-enumerable",
"evidence_fields": [
"surface",
"explicit_inventory"
],
"fires_when": "A LangChain or LangGraph tool binding is dynamic or unresolved and no explicit local inventory is declared.",
"floor_severity": null,
"id": "SHIP-LANGCHAIN-DYNAMIC-TOOL-SURFACE-NOT-ENUMERABLE",
"rationale": "LangChain and LangGraph expose ad hoc tool lists and agent-bound tools rather than a consistent toolset abstraction, so the check names the broader tool surface instead of ADK's toolset.",
"recommendation": "Provide explicit MCP-style tool inventory metadata for dynamic LangChain tool lists.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "langchain",
"default_severity": "medium",
"description": "LangChain function tool lacks static metadata.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-langchain-function-tool-metadata-missing",
"evidence_fields": [
"missing",
"source_type"
],
"fires_when": "A LangChain @tool or StructuredTool lacks description or parameter metadata.",
"floor_severity": null,
"id": "SHIP-LANGCHAIN-FUNCTION-TOOL-METADATA-MISSING",
"rationale": "Static review depends on descriptions and parameter schemas because user LangChain code is not imported.",
"recommendation": "Add docstrings, descriptions, type annotations, args_schema, or explicit local inventory metadata.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "manifest",
"default_severity": "high",
"description": "Production high-risk tool has no declared owner.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-manifest-high-risk-owner-missing",
"evidence_fields": [
"environment",
"risk_tags"
],
"fires_when": "environment.target is production_like or production and a high-risk tool lacks owner metadata.",
"floor_severity": null,
"id": "SHIP-MANIFEST-HIGH-RISK-OWNER-MISSING",
"rationale": "High-risk production tools need an accountable owning team for review and remediation.",
"recommendation": "Declare an owner for each high-risk production tool.",
"requires_human_review": true,
"suggested_patch_kind": "manual"
},
{
"autofix_safe": false,
"category": "manifest",
"default_severity": "medium",
"description": "A policy references a missing tool.",
"docs_url": "https://github.com/ThreeMoonsLab/agents-shipgate/blob/main/docs/checks.md#ship-manifest-stale-policy",
"evidence_fields": [
"policy",
"tool"