devcontour-harness 0.1.0-alpha.27 → 0.1.0-alpha.28

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.
@@ -37,6 +37,21 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
37
37
  path: string;
38
38
  digest: string;
39
39
  }[];
40
+ artifactFiles?: {
41
+ dir: string;
42
+ files: {
43
+ path: string;
44
+ sha256: string;
45
+ bytes: number;
46
+ redacted?: true | undefined;
47
+ }[];
48
+ skipped: {
49
+ path: string;
50
+ reason: "missing" | "symlink" | "outside" | "not-regular" | "hardlink" | "secret" | "extension" | "file-limit" | "total-limit" | "count-limit" | "scan-limit" | "copy-failed";
51
+ detail?: string | undefined;
52
+ }[];
53
+ skippedMore?: number | undefined;
54
+ } | undefined;
40
55
  durationMs?: number | undefined;
41
56
  }[];
42
57
  token: string;
@@ -50,7 +65,7 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
50
65
  changed: string[];
51
66
  affected: string[];
52
67
  gateIds: string[];
53
- mode: "all" | "affected";
68
+ mode: "affected" | "all";
54
69
  reason: string;
55
70
  baseline?: string | undefined;
56
71
  } | undefined;
@@ -77,6 +92,21 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
77
92
  path: string;
78
93
  digest: string;
79
94
  }[];
95
+ artifactFiles?: {
96
+ dir: string;
97
+ files: {
98
+ path: string;
99
+ sha256: string;
100
+ bytes: number;
101
+ redacted?: true | undefined;
102
+ }[];
103
+ skipped: {
104
+ path: string;
105
+ reason: "missing" | "symlink" | "outside" | "not-regular" | "hardlink" | "secret" | "extension" | "file-limit" | "total-limit" | "count-limit" | "scan-limit" | "copy-failed";
106
+ detail?: string | undefined;
107
+ }[];
108
+ skippedMore?: number | undefined;
109
+ } | undefined;
80
110
  durationMs?: number | undefined;
81
111
  }[];
82
112
  token: string;
@@ -90,7 +120,7 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
90
120
  changed: string[];
91
121
  affected: string[];
92
122
  gateIds: string[];
93
- mode: "all" | "affected";
123
+ mode: "affected" | "all";
94
124
  reason: string;
95
125
  baseline?: string | undefined;
96
126
  } | undefined;
@@ -121,6 +151,21 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
121
151
  path: string;
122
152
  digest: string;
123
153
  }[];
154
+ artifactFiles?: {
155
+ dir: string;
156
+ files: {
157
+ path: string;
158
+ sha256: string;
159
+ bytes: number;
160
+ redacted?: true | undefined;
161
+ }[];
162
+ skipped: {
163
+ path: string;
164
+ reason: "missing" | "symlink" | "outside" | "not-regular" | "hardlink" | "secret" | "extension" | "file-limit" | "total-limit" | "count-limit" | "scan-limit" | "copy-failed";
165
+ detail?: string | undefined;
166
+ }[];
167
+ skippedMore?: number | undefined;
168
+ } | undefined;
124
169
  durationMs?: number | undefined;
125
170
  }[];
126
171
  token: string;
@@ -129,7 +174,7 @@ export declare function jointBudgetAttempts(view: ExecutionView, workIds: string
129
174
  changed: string[];
130
175
  affected: string[];
131
176
  gateIds: string[];
132
- mode: "all" | "affected";
177
+ mode: "affected" | "all";
133
178
  reason: string;
134
179
  baseline?: string | undefined;
135
180
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devcontour-harness",
3
- "version": "0.1.0-alpha.27",
3
+ "version": "0.1.0-alpha.28",
4
4
  "description": "Headless execution harness: work graph, isolated attempts, gates, independent reviews and accepted results.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -3013,6 +3013,99 @@
3013
3013
  ],
3014
3014
  "additionalProperties": false
3015
3015
  },
3016
+ "artifactFiles": {
3017
+ "type": "object",
3018
+ "properties": {
3019
+ "dir": {
3020
+ "type": "string",
3021
+ "minLength": 1
3022
+ },
3023
+ "files": {
3024
+ "maxItems": 64,
3025
+ "type": "array",
3026
+ "items": {
3027
+ "type": "object",
3028
+ "properties": {
3029
+ "path": {
3030
+ "type": "string",
3031
+ "minLength": 1,
3032
+ "maxLength": 1000
3033
+ },
3034
+ "sha256": {
3035
+ "type": "string",
3036
+ "pattern": "^[a-f0-9]{64}$"
3037
+ },
3038
+ "bytes": {
3039
+ "type": "integer",
3040
+ "minimum": 0,
3041
+ "maximum": 9007199254740991
3042
+ },
3043
+ "redacted": {
3044
+ "type": "boolean",
3045
+ "const": true
3046
+ }
3047
+ },
3048
+ "required": [
3049
+ "path",
3050
+ "sha256",
3051
+ "bytes"
3052
+ ],
3053
+ "additionalProperties": false
3054
+ }
3055
+ },
3056
+ "skipped": {
3057
+ "maxItems": 100,
3058
+ "type": "array",
3059
+ "items": {
3060
+ "type": "object",
3061
+ "properties": {
3062
+ "path": {
3063
+ "type": "string",
3064
+ "minLength": 1,
3065
+ "maxLength": 1000
3066
+ },
3067
+ "reason": {
3068
+ "type": "string",
3069
+ "enum": [
3070
+ "missing",
3071
+ "symlink",
3072
+ "outside",
3073
+ "not-regular",
3074
+ "hardlink",
3075
+ "secret",
3076
+ "extension",
3077
+ "file-limit",
3078
+ "total-limit",
3079
+ "count-limit",
3080
+ "scan-limit",
3081
+ "copy-failed"
3082
+ ]
3083
+ },
3084
+ "detail": {
3085
+ "type": "string",
3086
+ "maxLength": 500
3087
+ }
3088
+ },
3089
+ "required": [
3090
+ "path",
3091
+ "reason"
3092
+ ],
3093
+ "additionalProperties": false
3094
+ }
3095
+ },
3096
+ "skippedMore": {
3097
+ "type": "integer",
3098
+ "exclusiveMinimum": 0,
3099
+ "maximum": 9007199254740991
3100
+ }
3101
+ },
3102
+ "required": [
3103
+ "dir",
3104
+ "files",
3105
+ "skipped"
3106
+ ],
3107
+ "additionalProperties": false
3108
+ },
3016
3109
  "checks": {
3017
3110
  "type": "string",
3018
3111
  "pattern": "^[a-f0-9]{64}$"
@@ -3281,6 +3374,99 @@
3281
3374
  "additionalProperties": false
3282
3375
  }
3283
3376
  },
3377
+ "artifactFiles": {
3378
+ "type": "object",
3379
+ "properties": {
3380
+ "dir": {
3381
+ "type": "string",
3382
+ "minLength": 1
3383
+ },
3384
+ "files": {
3385
+ "maxItems": 64,
3386
+ "type": "array",
3387
+ "items": {
3388
+ "type": "object",
3389
+ "properties": {
3390
+ "path": {
3391
+ "type": "string",
3392
+ "minLength": 1,
3393
+ "maxLength": 1000
3394
+ },
3395
+ "sha256": {
3396
+ "type": "string",
3397
+ "pattern": "^[a-f0-9]{64}$"
3398
+ },
3399
+ "bytes": {
3400
+ "type": "integer",
3401
+ "minimum": 0,
3402
+ "maximum": 9007199254740991
3403
+ },
3404
+ "redacted": {
3405
+ "type": "boolean",
3406
+ "const": true
3407
+ }
3408
+ },
3409
+ "required": [
3410
+ "path",
3411
+ "sha256",
3412
+ "bytes"
3413
+ ],
3414
+ "additionalProperties": false
3415
+ }
3416
+ },
3417
+ "skipped": {
3418
+ "maxItems": 100,
3419
+ "type": "array",
3420
+ "items": {
3421
+ "type": "object",
3422
+ "properties": {
3423
+ "path": {
3424
+ "type": "string",
3425
+ "minLength": 1,
3426
+ "maxLength": 1000
3427
+ },
3428
+ "reason": {
3429
+ "type": "string",
3430
+ "enum": [
3431
+ "missing",
3432
+ "symlink",
3433
+ "outside",
3434
+ "not-regular",
3435
+ "hardlink",
3436
+ "secret",
3437
+ "extension",
3438
+ "file-limit",
3439
+ "total-limit",
3440
+ "count-limit",
3441
+ "scan-limit",
3442
+ "copy-failed"
3443
+ ]
3444
+ },
3445
+ "detail": {
3446
+ "type": "string",
3447
+ "maxLength": 500
3448
+ }
3449
+ },
3450
+ "required": [
3451
+ "path",
3452
+ "reason"
3453
+ ],
3454
+ "additionalProperties": false
3455
+ }
3456
+ },
3457
+ "skippedMore": {
3458
+ "type": "integer",
3459
+ "exclusiveMinimum": 0,
3460
+ "maximum": 9007199254740991
3461
+ }
3462
+ },
3463
+ "required": [
3464
+ "dir",
3465
+ "files",
3466
+ "skipped"
3467
+ ],
3468
+ "additionalProperties": false
3469
+ },
3284
3470
  "durationMs": {
3285
3471
  "type": "number",
3286
3472
  "minimum": 0
@@ -3495,6 +3681,99 @@
3495
3681
  "additionalProperties": false
3496
3682
  }
3497
3683
  },
3684
+ "artifactFiles": {
3685
+ "type": "object",
3686
+ "properties": {
3687
+ "dir": {
3688
+ "type": "string",
3689
+ "minLength": 1
3690
+ },
3691
+ "files": {
3692
+ "maxItems": 64,
3693
+ "type": "array",
3694
+ "items": {
3695
+ "type": "object",
3696
+ "properties": {
3697
+ "path": {
3698
+ "type": "string",
3699
+ "minLength": 1,
3700
+ "maxLength": 1000
3701
+ },
3702
+ "sha256": {
3703
+ "type": "string",
3704
+ "pattern": "^[a-f0-9]{64}$"
3705
+ },
3706
+ "bytes": {
3707
+ "type": "integer",
3708
+ "minimum": 0,
3709
+ "maximum": 9007199254740991
3710
+ },
3711
+ "redacted": {
3712
+ "type": "boolean",
3713
+ "const": true
3714
+ }
3715
+ },
3716
+ "required": [
3717
+ "path",
3718
+ "sha256",
3719
+ "bytes"
3720
+ ],
3721
+ "additionalProperties": false
3722
+ }
3723
+ },
3724
+ "skipped": {
3725
+ "maxItems": 100,
3726
+ "type": "array",
3727
+ "items": {
3728
+ "type": "object",
3729
+ "properties": {
3730
+ "path": {
3731
+ "type": "string",
3732
+ "minLength": 1,
3733
+ "maxLength": 1000
3734
+ },
3735
+ "reason": {
3736
+ "type": "string",
3737
+ "enum": [
3738
+ "missing",
3739
+ "symlink",
3740
+ "outside",
3741
+ "not-regular",
3742
+ "hardlink",
3743
+ "secret",
3744
+ "extension",
3745
+ "file-limit",
3746
+ "total-limit",
3747
+ "count-limit",
3748
+ "scan-limit",
3749
+ "copy-failed"
3750
+ ]
3751
+ },
3752
+ "detail": {
3753
+ "type": "string",
3754
+ "maxLength": 500
3755
+ }
3756
+ },
3757
+ "required": [
3758
+ "path",
3759
+ "reason"
3760
+ ],
3761
+ "additionalProperties": false
3762
+ }
3763
+ },
3764
+ "skippedMore": {
3765
+ "type": "integer",
3766
+ "exclusiveMinimum": 0,
3767
+ "maximum": 9007199254740991
3768
+ }
3769
+ },
3770
+ "required": [
3771
+ "dir",
3772
+ "files",
3773
+ "skipped"
3774
+ ],
3775
+ "additionalProperties": false
3776
+ },
3498
3777
  "durationMs": {
3499
3778
  "type": "number",
3500
3779
  "minimum": 0
@@ -3720,6 +3999,99 @@
3720
3999
  "additionalProperties": false
3721
4000
  }
3722
4001
  },
4002
+ "artifactFiles": {
4003
+ "type": "object",
4004
+ "properties": {
4005
+ "dir": {
4006
+ "type": "string",
4007
+ "minLength": 1
4008
+ },
4009
+ "files": {
4010
+ "maxItems": 64,
4011
+ "type": "array",
4012
+ "items": {
4013
+ "type": "object",
4014
+ "properties": {
4015
+ "path": {
4016
+ "type": "string",
4017
+ "minLength": 1,
4018
+ "maxLength": 1000
4019
+ },
4020
+ "sha256": {
4021
+ "type": "string",
4022
+ "pattern": "^[a-f0-9]{64}$"
4023
+ },
4024
+ "bytes": {
4025
+ "type": "integer",
4026
+ "minimum": 0,
4027
+ "maximum": 9007199254740991
4028
+ },
4029
+ "redacted": {
4030
+ "type": "boolean",
4031
+ "const": true
4032
+ }
4033
+ },
4034
+ "required": [
4035
+ "path",
4036
+ "sha256",
4037
+ "bytes"
4038
+ ],
4039
+ "additionalProperties": false
4040
+ }
4041
+ },
4042
+ "skipped": {
4043
+ "maxItems": 100,
4044
+ "type": "array",
4045
+ "items": {
4046
+ "type": "object",
4047
+ "properties": {
4048
+ "path": {
4049
+ "type": "string",
4050
+ "minLength": 1,
4051
+ "maxLength": 1000
4052
+ },
4053
+ "reason": {
4054
+ "type": "string",
4055
+ "enum": [
4056
+ "missing",
4057
+ "symlink",
4058
+ "outside",
4059
+ "not-regular",
4060
+ "hardlink",
4061
+ "secret",
4062
+ "extension",
4063
+ "file-limit",
4064
+ "total-limit",
4065
+ "count-limit",
4066
+ "scan-limit",
4067
+ "copy-failed"
4068
+ ]
4069
+ },
4070
+ "detail": {
4071
+ "type": "string",
4072
+ "maxLength": 500
4073
+ }
4074
+ },
4075
+ "required": [
4076
+ "path",
4077
+ "reason"
4078
+ ],
4079
+ "additionalProperties": false
4080
+ }
4081
+ },
4082
+ "skippedMore": {
4083
+ "type": "integer",
4084
+ "exclusiveMinimum": 0,
4085
+ "maximum": 9007199254740991
4086
+ }
4087
+ },
4088
+ "required": [
4089
+ "dir",
4090
+ "files",
4091
+ "skipped"
4092
+ ],
4093
+ "additionalProperties": false
4094
+ },
3723
4095
  "durationMs": {
3724
4096
  "type": "number",
3725
4097
  "minimum": 0
@@ -368,6 +368,17 @@
368
368
  "path"
369
369
  ],
370
370
  "additionalProperties": false
371
+ },
372
+ "artifacts": {
373
+ "minItems": 1,
374
+ "maxItems": 16,
375
+ "type": "array",
376
+ "items": {
377
+ "type": "string",
378
+ "minLength": 1,
379
+ "maxLength": 500,
380
+ "pattern": "^(?!\\/)(?!.*[\\\\:*?\\[\\]\\x00])(?!(?:.*\\/)?\\.{1,2}(?:\\/|$))(?=.{1,500}$).+$"
381
+ }
371
382
  }
372
383
  },
373
384
  "required": [
@@ -453,6 +464,17 @@
453
464
  "path"
454
465
  ],
455
466
  "additionalProperties": false
467
+ },
468
+ "artifacts": {
469
+ "minItems": 1,
470
+ "maxItems": 16,
471
+ "type": "array",
472
+ "items": {
473
+ "type": "string",
474
+ "minLength": 1,
475
+ "maxLength": 500,
476
+ "pattern": "^(?!\\/)(?!.*[\\\\:*?\\[\\]\\x00])(?!(?:.*\\/)?\\.{1,2}(?:\\/|$))(?=.{1,500}$).+$"
477
+ }
456
478
  }
457
479
  },
458
480
  "required": [