@cat-factory/contracts 0.322.0 → 0.323.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.
- package/dist/entities.d.ts +1 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/initiative.d.ts +5 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/primitives.d.ts +61 -2
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +24 -0
- package/dist/primitives.js.map +1 -1
- package/dist/public-task-types.d.ts.map +1 -1
- package/dist/public-task-types.js +6 -0
- package/dist/public-task-types.js.map +1 -1
- package/dist/requests.d.ts +26 -6
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/board.d.ts +39 -6
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +2 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +2 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/initiative.d.ts +17 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/skill-library.d.ts +2 -0
- package/dist/routes/skill-library.d.ts.map +1 -1
- package/dist/routes/tasks.d.ts +3 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +8 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/skill-library.d.ts +79 -2
- package/dist/skill-library.d.ts.map +1 -1
- package/dist/skill-library.js +89 -2
- package/dist/skill-library.js.map +1 -1
- package/dist/snapshot.d.ts +4 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/skill-library.js
CHANGED
|
@@ -7,6 +7,79 @@ import * as v from 'valibot';
|
|
|
7
7
|
// account-settings management UI (link/sync/status) and, later, the palette
|
|
8
8
|
// picker (slice 3) and the executable `skill` step (slice 2).
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
|
+
/**
|
|
11
|
+
* The GROUPS a skill declares itself into — the kind of work its playbook does, so a surface
|
|
12
|
+
* offering skills can offer only the ones that FIT it (the review-task queue offers `review`
|
|
13
|
+
* skills, and nothing else). Declared in `SKILL.md` frontmatter as `group: review`; a manifest
|
|
14
|
+
* that declares none, or declares a value this build does not know, reads as `other`.
|
|
15
|
+
*
|
|
16
|
+
* Closed, and deliberately COARSE: these are shelves in a picker, not a taxonomy. A team's
|
|
17
|
+
* "Performance Review" and "Security Review" playbooks both shelve under `review`; what
|
|
18
|
+
* distinguishes them is their name and description, which is what the picker shows.
|
|
19
|
+
*
|
|
20
|
+
* The vocabulary is PERSISTED (a synced row carries the value its manifest declared), so a
|
|
21
|
+
* reader must narrow with {@link isSkillGroup} rather than assume this build's members are the
|
|
22
|
+
* only ones a row can hold. Retiring a member therefore does NOT remove it from the database:
|
|
23
|
+
* {@link normalizeSkillGroup} lands such a row on `other` (the unclassified shelf), and the
|
|
24
|
+
* management surface states the declared value beside it, so an author sees what they wrote
|
|
25
|
+
* rather than silently losing a shelf.
|
|
26
|
+
*/
|
|
27
|
+
export const SKILL_GROUPS = [
|
|
28
|
+
'build',
|
|
29
|
+
'review',
|
|
30
|
+
'test',
|
|
31
|
+
'write',
|
|
32
|
+
'plan',
|
|
33
|
+
'operate',
|
|
34
|
+
'other',
|
|
35
|
+
];
|
|
36
|
+
export const skillGroupSchema = v.picklist(SKILL_GROUPS);
|
|
37
|
+
const SKILL_GROUP_SET = new Set(SKILL_GROUPS);
|
|
38
|
+
/**
|
|
39
|
+
* Whether a value is a group THIS BUILD knows, DERIVED from the picklist so it cannot drift from
|
|
40
|
+
* it the way a hand-written second list would (the `isAgentCategory` shape, for the same reason:
|
|
41
|
+
* the values reaching a reader are not this build's alone).
|
|
42
|
+
*/
|
|
43
|
+
export function isSkillGroup(value) {
|
|
44
|
+
return SKILL_GROUP_SET.has(value);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The shelf a raw declared group lands on: itself when this build knows it, `other` otherwise.
|
|
48
|
+
* Case- and whitespace-insensitive, because the value comes from hand-authored frontmatter.
|
|
49
|
+
*
|
|
50
|
+
* Never throws and never guesses a neighbour: `security` is not silently read as `review`,
|
|
51
|
+
* because nothing knows which shelf the author meant, and a wrong shelf is what would put a
|
|
52
|
+
* playbook in front of the wrong step.
|
|
53
|
+
*/
|
|
54
|
+
export function normalizeSkillGroup(raw) {
|
|
55
|
+
const value = (raw ?? '').trim().toLowerCase();
|
|
56
|
+
return isSkillGroup(value) ? value : 'other';
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Read a STORED group: the shelf it lands on, and the declared value when that is not a member
|
|
60
|
+
* this build knows. The two halves are answered together because they are one decision, and a
|
|
61
|
+
* reader that computed the shelf without the echo would reclassify in silence.
|
|
62
|
+
*
|
|
63
|
+
* Total over an ABSENT value, which is not defensive padding: the record crosses the
|
|
64
|
+
* `/internal/persistence` RPC in mothership mode, where a peer one build behind is the normal
|
|
65
|
+
* state of running one and simply does not send the field. `undefined` is the honest "declared
|
|
66
|
+
* nothing we can see", which is the `other` shelf with nothing to echo. Anything else would make
|
|
67
|
+
* the account's skill library 500 on a version skew it is designed to tolerate.
|
|
68
|
+
*/
|
|
69
|
+
export function describeSkillGroup(raw) {
|
|
70
|
+
const declared = (raw ?? '').trim().toLowerCase();
|
|
71
|
+
const group = normalizeSkillGroup(declared);
|
|
72
|
+
return declared && !isSkillGroup(declared) ? { group, declaredGroup: declared } : { group };
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* `error.details.reason` on the 422 a skill resolver raises for an id the account's catalog no
|
|
76
|
+
* longer holds (removed upstream, or its source unlinked). Machine-readable precisely so the
|
|
77
|
+
* layer that knows WHERE the id was picked can recognise this refusal and append the remedy
|
|
78
|
+
* naming that surface, while an infrastructure failure on the same call path (an unreachable
|
|
79
|
+
* store, a lost RPC) propagates as itself: an outage is not a misconfiguration, and telling an
|
|
80
|
+
* operator to go re-pick a skill because a database blinked sends them to fix nothing.
|
|
81
|
+
*/
|
|
82
|
+
export const SKILL_UNAVAILABLE_REASON = 'skill_unavailable';
|
|
10
83
|
/** One sibling resource file of a skill (manifest only — no body on the wire). */
|
|
11
84
|
export const skillResourceSchema = v.object({
|
|
12
85
|
path: v.string(),
|
|
@@ -22,6 +95,14 @@ export const accountSkillSchema = v.object({
|
|
|
22
95
|
/** The procedural instructions (the `SKILL.md` body). */
|
|
23
96
|
instructions: v.string(),
|
|
24
97
|
resources: v.array(skillResourceSchema),
|
|
98
|
+
/** The shelf this skill sits on, normalized from its manifest ({@link normalizeSkillGroup}). */
|
|
99
|
+
group: skillGroupSchema,
|
|
100
|
+
/**
|
|
101
|
+
* What the manifest actually declared, present ONLY when it is not a group this build knows
|
|
102
|
+
* (a typo, or a retired member still on the row). The management surface renders it beside the
|
|
103
|
+
* `other` shelf so the author sees the value they wrote instead of a silent reclassification.
|
|
104
|
+
*/
|
|
105
|
+
declaredGroup: v.optional(v.string()),
|
|
25
106
|
/** Provenance: the source + `SKILL.md` path + blob sha it was synced from. */
|
|
26
107
|
source: v.object({ sourceId: v.string(), path: v.string(), sha: v.string() }),
|
|
27
108
|
/** Head commit the skill was pinned to at the last sync; null if never synced. */
|
|
@@ -31,8 +112,8 @@ export const accountSkillSchema = v.object({
|
|
|
31
112
|
});
|
|
32
113
|
/**
|
|
33
114
|
* The lightweight per-skill projection carried in the workspace snapshot for the pipeline
|
|
34
|
-
* builder's skill picker (id + name + description
|
|
35
|
-
* manifest, which would bloat every board load). The account catalog is shared across the
|
|
115
|
+
* builder's skill picker and the review task's skill queue (id + name + description + group —
|
|
116
|
+
* NOT the full `instructions` / resource manifest, which would bloat every board load). The account catalog is shared across the
|
|
36
117
|
* account's workspaces, so this is the account's skills served through the catalog cache in one
|
|
37
118
|
* read (see ADR 0024 "No N+1"). The account-settings management surface
|
|
38
119
|
* fetches the full {@link AccountSkill} via `GET /accounts/:accountId/skills` instead.
|
|
@@ -41,6 +122,12 @@ export const skillSummarySchema = v.object({
|
|
|
41
122
|
id: v.string(),
|
|
42
123
|
name: v.string(),
|
|
43
124
|
description: v.string(),
|
|
125
|
+
/**
|
|
126
|
+
* The shelf the skill sits on, already normalized — so a surface offering a SUBSET of the
|
|
127
|
+
* catalog (the review task queues `review` skills) filters on a value it can compare directly
|
|
128
|
+
* rather than re-deriving the classification the backend already made.
|
|
129
|
+
*/
|
|
130
|
+
group: skillGroupSchema,
|
|
44
131
|
});
|
|
45
132
|
/** A repo directory an account links as a source of skill folders. */
|
|
46
133
|
export const skillSourceSchema = v.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-library.js","sourceRoot":"","sources":["../src/skill-library.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,4DAA4D;AAC5D,yDAAyD;AACzD,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,8DAA8D;AAC9D,8EAA8E;AAE9E,kFAAkF;AAClF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAA;AAGF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,8CAA8C;IAC9C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,yDAAyD;IACzD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;IACvC,8EAA8E;IAC9E,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EA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ist/snapshot.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
89
89
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
90
90
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
91
91
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
92
|
+
readonly reviewSkillIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 8, undefined>]>, undefined>;
|
|
92
93
|
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
93
94
|
}, undefined>, undefined>, undefined>;
|
|
94
95
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
@@ -2931,6 +2932,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2931
2932
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2932
2933
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2933
2934
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2935
|
+
readonly reviewSkillIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 8, undefined>]>, undefined>;
|
|
2934
2936
|
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
2935
2937
|
}, undefined>, undefined>, undefined>;
|
|
2936
2938
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
@@ -3662,6 +3664,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3662
3664
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
3663
3665
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
3664
3666
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3667
|
+
readonly reviewSkillIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 8, undefined>]>, undefined>;
|
|
3665
3668
|
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3666
3669
|
}, undefined>, undefined>;
|
|
3667
3670
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -3886,6 +3889,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3886
3889
|
readonly id: v.StringSchema<undefined>;
|
|
3887
3890
|
readonly name: v.StringSchema<undefined>;
|
|
3888
3891
|
readonly description: v.StringSchema<undefined>;
|
|
3892
|
+
readonly group: v.PicklistSchema<readonly ["build", "review", "test", "write", "plan", "operate", "other"], undefined>;
|
|
3889
3893
|
}, undefined>, undefined>, undefined>;
|
|
3890
3894
|
/**
|
|
3891
3895
|
* The signed-in caller's resolved workspace-RBAC access to this board — their effective
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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