peer-ai-workflow 1.0.0-next.1 → 1.0.0-next.2
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/README.md +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.js +4 -0
- package/package.json +1 -1
- package/schemas/config-layer.schema.json +4 -0
- package/schemas/config.schema.json +4 -0
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Only `version`, `project.name` and `tracks` are required. This is a complete con
|
|
|
42
42
|
| `apis` | Each interface between parts, or to a third-party service: its kind, which track provides it, and where its contract comes from |
|
|
43
43
|
| `environments` | Such as staging and production |
|
|
44
44
|
| `repo`, `tracker`, `commands` | Git host, remote, branch naming, commit style, merge policy; the issue tracker; the verify command |
|
|
45
|
-
| `delivery` | Whether CI already exists. If it does, Peer AI extends it and never adds a second pipeline. |
|
|
45
|
+
| `delivery` | Whether CI already exists. If it does, Peer AI extends it and never adds a second pipeline. `gate`, true unless set to false, has `render` set up `peer-ai check` in CI (RFC 0009). |
|
|
46
46
|
| `standards` | Core principles on or off, stack profiles, the project's own standards documents, and which side wins a conflict |
|
|
47
47
|
| `standards.overrides` | A stack profile rule's default changed for this project, such as a larger size limit, with the reason |
|
|
48
48
|
| `standards.exceptions` | Rules the project sets aside, each with a reason, who decided, and an optional end date. `peer-ai doctor` lists them all, and warns when one has ended. |
|
package/dist/config.d.ts
CHANGED
|
@@ -167,6 +167,7 @@ export declare const ConfigSchema: z.ZodObject<{
|
|
|
167
167
|
none: "none";
|
|
168
168
|
}>;
|
|
169
169
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
170
|
+
gate: z.ZodOptional<z.ZodBoolean>;
|
|
170
171
|
}, z.core.$strict>>;
|
|
171
172
|
standards: z.ZodOptional<z.ZodObject<{
|
|
172
173
|
core: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -539,6 +540,7 @@ export declare const ConfigLayerSchema: z.ZodObject<{
|
|
|
539
540
|
none: "none";
|
|
540
541
|
}>;
|
|
541
542
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
543
|
+
gate: z.ZodOptional<z.ZodBoolean>;
|
|
542
544
|
}, z.core.$strict>>>;
|
|
543
545
|
standards: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
544
546
|
core: z.ZodOptional<z.ZodBoolean>;
|
package/dist/config.js
CHANGED
|
@@ -163,6 +163,10 @@ const Delivery = z.strictObject({
|
|
|
163
163
|
.enum(["none", "existing"])
|
|
164
164
|
.describe("existing: extend the project's pipeline. A second, parallel pipeline is never added."),
|
|
165
165
|
pipeline: Path.optional(),
|
|
166
|
+
gate: z
|
|
167
|
+
.boolean()
|
|
168
|
+
.optional()
|
|
169
|
+
.describe("Whether CI runs peer-ai check. render sets it up and peer-ai doctor asks for it unless this is false. Defaults to true."),
|
|
166
170
|
});
|
|
167
171
|
const StandardsDocument = z.strictObject({
|
|
168
172
|
path: Path,
|
package/package.json
CHANGED
|
@@ -488,6 +488,10 @@
|
|
|
488
488
|
"type": "string",
|
|
489
489
|
"minLength": 1,
|
|
490
490
|
"description": "A path relative to the project root, or a URL."
|
|
491
|
+
},
|
|
492
|
+
"gate": {
|
|
493
|
+
"description": "Whether CI runs peer-ai check. render sets it up and peer-ai doctor asks for it unless this is false. Defaults to true.",
|
|
494
|
+
"type": "boolean"
|
|
491
495
|
}
|
|
492
496
|
},
|
|
493
497
|
"required": [
|
|
@@ -488,6 +488,10 @@
|
|
|
488
488
|
"type": "string",
|
|
489
489
|
"minLength": 1,
|
|
490
490
|
"description": "A path relative to the project root, or a URL."
|
|
491
|
+
},
|
|
492
|
+
"gate": {
|
|
493
|
+
"description": "Whether CI runs peer-ai check. render sets it up and peer-ai doctor asks for it unless this is false. Defaults to true.",
|
|
494
|
+
"type": "boolean"
|
|
491
495
|
}
|
|
492
496
|
},
|
|
493
497
|
"required": [
|